Handle OpExecutionModeId in SPIR-V reflection

This commit is contained in:
baldurk
2023-07-31 15:03:24 +01:00
parent 4087a46d87
commit 9c553bbfb1
@@ -554,6 +554,19 @@ void Processor::RegisterOp(Iter it)
}
}
}
else if(opdata.op == Op::ExecutionModeId)
{
OpExecutionModeId decoded(it);
for(auto entryIt = entries.begin(); entryIt != entries.end(); ++entryIt)
{
if(entryIt->id == decoded.entryPoint)
{
entryIt->executionModes.Register(decoded);
break;
}
}
}
else if(opdata.op == Op::Variable)
{
OpVariable decoded(it);