shader: Fix dependency on identity removal pass
This commit is contained in:
parent
5f22cd89e2
commit
f1dd743731
2 changed files with 8 additions and 3 deletions
|
@ -114,7 +114,7 @@ EmitContext::~EmitContext() = default;
|
|||
|
||||
Id EmitContext::Def(const IR::Value& value) {
|
||||
if (!value.IsImmediate()) {
|
||||
return value.Inst()->Definition<Id>();
|
||||
return value.InstRecursive()->Definition<Id>();
|
||||
}
|
||||
switch (value.Type()) {
|
||||
case IR::Type::Void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue