mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 16:55:46 +00:00
glsl: Pass IR::Inst& to Emit functions
This commit is contained in:
parent
c01220d25a
commit
b2cd8e4588
6 changed files with 169 additions and 171 deletions
|
@ -22,7 +22,7 @@ static void Alias(IR::Inst& inst, const IR::Value& value) {
|
|||
}
|
||||
} // namespace
|
||||
|
||||
void EmitIdentity(EmitContext&, IR::Inst* inst, const IR::Value& value) {
|
||||
Alias(*inst, value);
|
||||
void EmitIdentity(EmitContext&, IR::Inst& inst, const IR::Value& value) {
|
||||
Alias(inst, value);
|
||||
}
|
||||
} // namespace Shader::Backend::GLSL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue