mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Strip index decorations in vulkan postvs when patching to compute
This commit is contained in:
@@ -188,6 +188,11 @@ static void ConvertToMeshOutputCompute(const ShaderReflection &refl,
|
||||
{
|
||||
editor.Remove(it);
|
||||
}
|
||||
// remove all index decorations
|
||||
else if(decorate.decoration == rdcspv::Decoration::Index)
|
||||
{
|
||||
editor.Remove(it);
|
||||
}
|
||||
// same with flat/noperspective
|
||||
else if(decorate.decoration == rdcspv::Decoration::Flat ||
|
||||
decorate.decoration == rdcspv::Decoration::NoPerspective)
|
||||
|
||||
Reference in New Issue
Block a user