arcady-lunarg

Results 86 comments of arcady-lunarg

Could you attach a complete example of a shader that triggers this issue?

I'll take a look at this today. Given it's triggered only by -Os, I would suspect this is a SPIRV-Tools bug though.

Actually, this is a bug in glslang's generation of debuginfo for buffer references, with a debug build and no -Os, I get an assertion failure. ``` glslangValidator: /home/arcady/glslang/SPIRV/SpvBuilder.cpp:990: spv::Id spv::Builder::makeMemberDebugType(const...

In fact, I think the actual bug here is that no debug info is emitted for the buffer reference pointer type at all, so when a struct has a buffer...

There is going to be a more comprehensive solution to this soon, but it requires a new SPIR-V extension which is currently making its way through the approval process. I...

This is unfortunately a longstanding issue with the parser in glslang. By the time some errors are generated, some of the column information has already been lost. This is definitely...

To help us with prioritizing this issue, does this result in incorrect SPIR-V being generated in some case? Does it result in a valid shader being rejected, or an invalid...

@corporateshark I think that is a somewhat different issue, could you open a new issue for your problem? Also, could you confirm that you're using the most recent version of...

Here is a reduced version of the shader that still exhibits the issue. [reduced.frag.txt](https://github.com/KhronosGroup/glslang/files/11568937/reduced.frag.txt)