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,12 +1,20 @@
|
|||
vulkan.vert
|
||||
ERROR: 0:3: 'subpass input' : not supported in this stage: vertex
|
||||
ERROR: 0:3: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:4: 'subpass input' : not supported in this stage: vertex
|
||||
ERROR: 0:4: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:5: 'subpass input' : not supported in this stage: vertex
|
||||
ERROR: 0:5: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:6: 'subpass input' : not supported in this stage: vertex
|
||||
ERROR: 0:6: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:7: 'subpass input' : not supported in this stage: vertex
|
||||
ERROR: 0:7: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:8: 'subpass input' : not supported in this stage: vertex
|
||||
ERROR: 0:8: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:10: 'location' : SPIR-V requires location for user input/output
|
||||
ERROR: 0:12: 'constant_id' : can only be applied to a scalar
|
||||
ERROR: 0:13: 'constant_id' : specialization-constant id already used
|
||||
ERROR: 0:13: 'binding' : sampler/texture/image requires layout(binding=X)
|
||||
ERROR: 0:13: 'constant_id' : can only be applied to 'const'-qualified scalar
|
||||
ERROR: 0:13: 'constant_id' : cannot be applied to this type
|
||||
ERROR: 0:14: 'constant_id' : specialization-constant id is too large
|
||||
|
|
@ -26,7 +34,9 @@ ERROR: 0:49: '[]' : only outermost dimension of an array of arrays can be a spec
|
|||
ERROR: 0:50: '[]' : only outermost dimension of an array of arrays can be a specialization constant
|
||||
ERROR: 0:51: '[]' : only outermost dimension of an array of arrays can be a specialization constant
|
||||
ERROR: 0:54: '[]' : only outermost dimension of an array of arrays can be a specialization constant
|
||||
ERROR: 27 compilation errors. No code generated.
|
||||
ERROR: 0:54: 'location' : SPIR-V requires location for user input/output
|
||||
ERROR: 0:58: 'location' : SPIR-V requires location for user input/output
|
||||
ERROR: 37 compilation errors. No code generated.
|
||||
|
||||
|
||||
SPIR-V is not generated for failed compile or link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue