mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 16:36:31 +00:00
Handle OpExecutionModeId in SPIR-V reflection
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user