summaryrefslogtreecommitdiff
path: root/chromium/third_party/glslang/src/Test/nonVulkan.frag
blob: 05c818d7ce55c962a24e02eedebe0588de369bed (plain)
1
2
3
4
5
6
7
8
9
#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