mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 23:55:45 +00:00
glsl: Fix "reg" allocing
based on glasm with some tweaks
This commit is contained in:
parent
fda83fe3c5
commit
3355c467e0
10 changed files with 938 additions and 898 deletions
|
@ -29,6 +29,12 @@ public:
|
|||
|
||||
std::string Consume(const IR::Value& value);
|
||||
|
||||
/// Returns true if the instruction is expected to be aliased to another
|
||||
static bool IsAliased(const IR::Inst& inst);
|
||||
|
||||
/// Returns the underlying value out of an alias sequence
|
||||
static IR::Inst& AliasInst(IR::Inst& inst);
|
||||
|
||||
private:
|
||||
static constexpr size_t NUM_REGS = 4096;
|
||||
static constexpr size_t NUM_ELEMENTS = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue