mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 18:05:46 +00:00
glsl: textures wip
This commit is contained in:
parent
32328acc39
commit
2328b0b2a8
9 changed files with 139 additions and 75 deletions
|
@ -15,7 +15,7 @@ static void Alias(IR::Inst& inst, const IR::Value& value) {
|
|||
if (value.IsImmediate()) {
|
||||
return;
|
||||
}
|
||||
IR::Inst& value_inst{RegAlloc::AliasInst(*value.Inst())};
|
||||
IR::Inst& value_inst{*value.InstRecursive()};
|
||||
value_inst.DestructiveAddUsage(inst.UseCount());
|
||||
value_inst.DestructiveRemoveUsage();
|
||||
inst.SetDefinition(value_inst.Definition<Id>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue