Consider GL_EXT_scalar_block_layout when validating SPIR-V
If GL_EXT_scalar_block_layout is requested by the shader, set the option to allow scalar blocks in the SPIR-V validator. Fix the existing tests using scalar layout to not expect "Validation failed". Fixes #2400.
This commit is contained in:
parent
f7c43377f0
commit
a38df83d3e
4 changed files with 9 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
spv.scalarlayout.frag
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000a
|
||||
// Id's are bound by 20
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
spv.scalarlayoutfloat16.frag
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000a
|
||||
// Id's are bound by 18
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue