KhronosGroup / SPIRV-Cross

SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.
Apache License 2.0
1.98k stars 555 forks source link

Support for SPV_NV_shader_invocation_reorder #2106

Open dominikwodniokgritworld opened 1 year ago

dominikwodniokgritworld commented 1 year ago

Hi,

We have SPIR-V modules which are translated via glslang from GLSL code that uses GL_NV_shader_invocation_reorder. We mainly use spirv-cross for reflection. For testing purposes of the extension it was sufficient to modify spirv-cross to at least successfully parse the modules with the unsupported instructions. As the performance gains from the extension were quite nice we wanted to ask whether there are already plans to support at least SPV_NV_shader_invocation_reorder.

Naotha commented 6 months ago

Hi,

I came across the same issue on parsing SPIR-V modules with GL_NV_shader_invocation_reorder using SPIRV-Cross.

While the issue is being worked on, I was wondering if by any chance could you @dominikwodniokgritworld share the tweaks you made to SPIRV-Cross that enabled you to parse the modules? It would be super helpful for us.

Thanks a bunch!

oscarbg commented 4 months ago

+1