mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-10 00:31:00 +00:00
Remove OpName for removed types in postvs SPIR-V patching
This commit is contained in:
@@ -427,6 +427,10 @@ static void ConvertToMeshOutputCompute(const ShaderReflection &refl, const SPIRV
|
||||
// remove any OpName for the old entry points
|
||||
if(entries.find(name.target) != entries.end())
|
||||
editor.Remove(it);
|
||||
|
||||
// remove any OpName for deleted types
|
||||
if(typeReplacements.find(name.target) != typeReplacements.end())
|
||||
editor.Remove(it);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user