First Commit

This commit is contained in:
2025-02-06 22:24:29 +08:00
parent ed7df4c81e
commit 7539e6a53c
18116 changed files with 6181499 additions and 0 deletions

28
externals/glslang/Test/glspv.frag vendored Normal file
View File

@@ -0,0 +1,28 @@
#version 450
#ifdef GL_SPIRV
#error GL_SPIRV is set ( correct, not an error )
#if GL_SPIRV == 100
#error GL_SPIR is 100
#endif
#endif
void main()
{
}
uniform float f; // ERROR, no location
layout(location = 2) uniform float g;
uniform sampler2D s1; // ERROR, no binding
layout(location = 3) uniform sampler2D s2; // ERROR, no binding
void noise()
{
noise1(vec4(1));
noise2(4.0);
noise3(vec2(3));
noise4(1);
}
uniform atomic_uint atomic; // ERROR, no binding
layout(input_attachment_index = 1) uniform subpassInput sub; // ERROR, no inputs