yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
e1cc1e2e
main
1#version 450 2 3#ifdef GL_SPIRV 4#error GL_SPIRV is set (correct ,not an error ) 5#if GL_SPIRV == 100 6#error GL_SPIR is 100 7#endif 8#endif 9 10void main () 11{ 12} 13 14uniform float f ;// ERROR, no location 15layout (location = 2 )uniform float g ; 16uniform sampler2D s1 ;// ERROR, no binding 17layout (location = 3 )uniform sampler2D s2 ;// ERROR, no binding 18 19void noise () 20{ 21noise1 (vec4 (1 )); 22noise2 (4.0 ); 23noise3 (vec2 (3 )); 24noise4 (1 ); 25} 26 27uniform atomic_uint atomic ;// ERROR, no binding 28layout (input_attachment_index = 1 )uniform subpassInput sub ;// ERROR, no inputs