bgfx/3rdparty/glslang/Test/nonVulkan.frag
Branimir Karadžić f46d6a5803 Added glslang.
2016-12-15 14:19:54 -08:00

10 lines
294 B
GLSL

#version 450
layout(constant_id = 17) const int arraySize = 12; // ERROR
layout(input_attachment_index = 1) int foo; // ERROR
layout(push_constant) uniform ubn { int a; } ubi; // ERROR
#ifdef VULKAN
#error VULKAN should not be defined
#endif