Closed jeroenbakker-atmind closed 1 week ago
so something I found is it very legal to go
layout(set = 0, binding = 2) uniform sampler3D tex3d[];
layout(set = 0, binding = 2) uniform sampler2D tex[];
in GLSL, so I will only be adding the variable name if I can detect a single variable name
Current Message:
Proposal:
Would it be possible to extract a name from SPIR-V (when compiled with debug information) of this binding. This message can be raised by a Draw or dispatch call and a shader module should be present.
Nice to have:
Benefit:
Currently we are refactoring our EEVEE engine. When running using the (in development) vulkan backend we came across several of these messages which are of course a developer error. Our OpenGL backend didn't complain and perhaps was using the previous binding which most likely was the missing resource.
The improvement of the message would make it easier to find the missing resource without finding the missing call in a debug tool or in logs.