glsl: Pass IR::Inst& to Emit functions

This commit is contained in:
ameerj
2021-05-21 19:28:03 -04:00
parent 78f5eb90d7
commit 115c162b9a
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