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

31
externals/glslang/Test/hlsl.-D-U.frag vendored Normal file
View File

@@ -0,0 +1,31 @@
#define IN_SHADER
static float4 color;
void main()
{
#if FOO==200
color = 1.0;
#else
#error expected FOO 200
#endif
#ifdef FOO
color -= 5.0;
#else
#error expected FOO 200
#endif
#ifdef IN_SHADER
color++;
#else
#error IN_SHADER was undef
#endif
#ifdef UNDEFED
#error UNDEFED defined
#else
color *= 3.0;
#endif
}