glsl: Pass IR::Inst& to Emit functions

This commit is contained in:
ameerj 2021-05-21 19:28:03 -04:00
parent c01220d25a
commit b2cd8e4588
6 changed files with 169 additions and 171 deletions

View file

@ -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