xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/nonVulkan.frag (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1#version 450
2
3layout(constant_id = 17) const int arraySize = 12;            // ERROR
4layout(input_attachment_index = 1) int foo;                   // ERROR
5layout(push_constant) uniform ubn { int a; } ubi;             // ERROR
6
7#ifdef VULKAN
8#error VULKAN should not be defined
9#endif
10