mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-28 05:30:33 +00:00
91e4aa5900
Includes adding test cases to verify the differences.
15 lines
248 B
GLSL
15 lines
248 B
GLSL
#version 330
|
|
|
|
#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()
|
|
{
|
|
}
|
|
|
|
layout(input_attachment_index = 1) uniform subpassInput sub; // ERROR, no inputs
|