mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-12 21:20:06 +00:00
deec1933e9
Saved about 21K, size down to 380K of MSVC x86 code. Fixed one bug that needs to be looked at on the master branch: The test for needing a Vulkan binding has a bug in it, "!layoutAttachment" which does not mean "no layoutAttachment", because that is non-zero. This is why some test and test results changed.
16 lines
796 B
Plaintext
16 lines
796 B
Plaintext
glspv.vert
|
|
ERROR: 0:3: 'push_constant' : only allowed when using GLSL for Vulkan
|
|
ERROR: 0:6: 'descriptor set' : only allowed when using GLSL for Vulkan
|
|
ERROR: 0:8: 'shared' : not allowed when generating SPIR-V
|
|
ERROR: 0:8: 'binding' : uniform/buffer blocks require layout(binding=X)
|
|
ERROR: 0:9: 'packed' : not allowed when generating SPIR-V
|
|
ERROR: 0:9: 'binding' : uniform/buffer blocks require layout(binding=X)
|
|
ERROR: 0:13: 'gl_VertexIndex' : undeclared identifier
|
|
ERROR: 0:14: 'gl_InstanceIndex' : undeclared identifier
|
|
ERROR: 0:17: 'gl_DepthRangeParameters' : undeclared identifier
|
|
ERROR: 0:20: '' : syntax error, unexpected IDENTIFIER, expecting LEFT_BRACE or COMMA or SEMICOLON
|
|
ERROR: 10 compilation errors. No code generated.
|
|
|
|
|
|
SPIR-V is not generated for failed compile or link
|