1 #version 450
2
3 layout(constant_id = 17) const int arraySize = 12; // ERROR
4 layout(input_attachment_index = 1) int foo; // ERROR
5 layout(push_constant) uniform ubn { int a; } ubi; // ERROR
6
7 #ifdef VULKAN
8 #error VULKAN should not be defined
9 #endif
10