GLSL/SPV: Fix #1196: Require resources to have layout(binding=X).
This commit is contained in:
parent
2d9973de0e
commit
9c9c4e90df
20 changed files with 114 additions and 64 deletions
|
|
@ -1,4 +1,11 @@
|
|||
vulkan.frag
|
||||
ERROR: 0:3: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:4: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:5: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:6: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:8: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:9: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:10: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:14: 'sampler2D' : sampler-constructor requires two arguments
|
||||
ERROR: 0:15: 'sampler2D' : sampler-constructor first argument must be a scalar textureXXX type
|
||||
ERROR: 0:16: 'sampler2D' : sampler-constructor first argument must be a scalar textureXXX type
|
||||
|
|
@ -14,13 +21,19 @@ ERROR: 0:28: 'sampler2D' : sampler/image types can only be used in uniform varia
|
|||
ERROR: 0:29: 'sampler3D' : sampler-constructor cannot make an array of samplers
|
||||
ERROR: 0:29: 'sampler3D' : sampler/image types can only be used in uniform variables or function parameters: s3d
|
||||
ERROR: 0:29: '=' : cannot convert from ' const float' to ' global 4-element array of highp sampler3D'
|
||||
ERROR: 0:31: 'location' : SPIR-V requires location for user input/output
|
||||
ERROR: 0:39: 'push_constant' : can only be used with a uniform
|
||||
ERROR: 0:43: 'non-opaque uniforms outside a block' : not allowed when using GLSL for Vulkan
|
||||
ERROR: 0:43: 'push_constant' : can only be used with a block
|
||||
ERROR: 0:45: 'push_constant' : cannot declare a default, can only be used on a block
|
||||
ERROR: 0:51: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:52: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:52: 'input_attachment_index' : can only be used with a subpass
|
||||
ERROR: 0:53: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:53: 'input_attachment_index' : can only be used with a subpass
|
||||
ERROR: 0:54: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:54: 'subpass' : requires an input_attachment_index layout qualifier
|
||||
ERROR: 0:55: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:60: 'subpassLoadMS' : no matching overloaded function found
|
||||
ERROR: 0:61: 'subpassLoad' : no matching overloaded function found
|
||||
ERROR: 0:63: 'subpassLoadMS' : no matching overloaded function found
|
||||
|
|
@ -43,7 +56,7 @@ ERROR: 0:101: 'noise1' : no matching overloaded function found
|
|||
ERROR: 0:102: 'noise2' : no matching overloaded function found
|
||||
ERROR: 0:103: 'noise3' : no matching overloaded function found
|
||||
ERROR: 0:104: 'noise4' : no matching overloaded function found
|
||||
ERROR: 42 compilation errors. No code generated.
|
||||
ERROR: 55 compilation errors. No code generated.
|
||||
|
||||
|
||||
ERROR: Linking fragment stage: Only one push_constant block is allowed per stage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue