shaderc
shaderc copied to clipboard
Uniform names are wiped for OpenGL usage
I am currently working on a project in OpenGL, and I decided to use shaderc to compile HLSL into SPIR-V for usage in OpenGL, and I discovered that when I try to set a uniform, the names are not included with the shader program!
RenderDoc seems to be able to put something together, but it is barely usable, so I am wondering, is there some form of reflection available, or do I just have to manually bind and document uniforms?
It might be worth noting that I use Vortice.ShaderCompiler
for bindings, as shaderc.net
presented a ton of issues for me.
Any help is much appreciated!
This seems like an issue for Glslang which actually compiles the code. https://github.com/KhronosGroup/glslang
As you can see, I opened the same(ish) issue in the glslang repo. direct link
Great. We depend on Glslang for the functionality.