mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-08 20:06:29 +00:00
![John Kessenich](/assets/img/avatar_default.png)
Note this requires test-based piecing together of the preamble string, so it changed to being a std::string to make it easier to do. This closes issue #254.
10 lines
294 B
GLSL
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
|