Malcolm Bechard
Malcolm Bechard
You can use glslang as a .lib without any changes. The API is fully exposed, you can copy usage examples from the .exe's workflow and use it in your own...
Can you elaborate on the issue you are looking to fix?
seems likely correct. Any chance you can post your example case so I can trace through the code?
Sorry, no chance to look at it yet. I have a list of a few things I want to look at soon in GLSLang
@lance-loong are you sure your example exhibits the problem? I just tried your code and DefaultUniformBlock_0 is correctly using set 0 and DefaultUniformBlock_1 is correctly using set 1 in the...
I'm using the code you pasted. Can you paste the human readable SPIR-V you get from the original example? For the new example you pasted, it actually crashes for me...
If I'm understanding the issue correctly, the problem is that `globalUniformBlockName` in the vertex shader is ending up on set 1, correct? Offhand this isn't necessarily wrong since if `globalUniformBlockName`...
I think even more correctly this should result in an error, since trying to remap the same block to two sets/bindings isn't really correct.
If they have different names then I think they can be independent between stages (not sure if this workflow is well tested). However if they have the same name they...
oh interesting, can you point me to the spec what allows for that?