bgfx/3rdparty/glslang/Test/glspv.frag

15 lines
248 B
GLSL
Raw Normal View History

2016-12-16 01:19:54 +03:00
#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