#Get uniform info from spirv shader binary?

4 messages · Page 1 of 1 (latest)

neat reef
#

I have a binary file with spirv data bytes for a shader. How do I get information about the uniforms from the shader? I heard about spirv-reflect, but can anyone provide an example? I would prefeer C++.

neat reef
neat reef
#

In the case of opengl, what are the uniform IDs?