diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/nonVulkan.frag')
-rw-r--r-- | chromium/third_party/glslang/src/Test/nonVulkan.frag | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/nonVulkan.frag b/chromium/third_party/glslang/src/Test/nonVulkan.frag new file mode 100644 index 00000000000..05c818d7ce5 --- /dev/null +++ b/chromium/third_party/glslang/src/Test/nonVulkan.frag @@ -0,0 +1,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 |