GLSL: validation of early_fragment_tests, others, on an object.
Some layout qualifiers must not be on an object and had a TBD for testing them: early_fragment_tests, cw/ccw, points, point_mode, and fractional_even_spacing/fractional_odd_spacing/equal_spacing.
This commit is contained in:
parent
89f8d1e64f
commit
89400ea73e
7 changed files with 56 additions and 11 deletions
|
|
@ -1,6 +1,7 @@
|
|||
450.frag
|
||||
ERROR: 0:63: 'location' : cannot use in a block array where new locations are needed for each block element
|
||||
ERROR: 1 compilation errors. No code generated.
|
||||
ERROR: 0:68: 'early_fragment_tests' : can only apply to a standalone qualifier
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 450
|
||||
|
|
@ -164,6 +165,7 @@ ERROR: node is still EOpNull!
|
|||
0:? 'i2dmsa' (layout( rgba32f) uniform image2DMSArray)
|
||||
0:? 'bInst1' ( in block{layout( location=6) in float f, layout( location=7) in float g, layout( location=8) in 4X4 matrix of float m})
|
||||
0:? 'bInst2' ( in 3-element array of block{layout( location=12) in float f, layout( location=13) in float g})
|
||||
0:? 'f' ( smooth in float)
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
|
@ -279,4 +281,5 @@ ERROR: node is still EOpNull!
|
|||
0:? 'i2dmsa' (layout( rgba32f) uniform image2DMSArray)
|
||||
0:? 'bInst1' ( in block{layout( location=6) in float f, layout( location=7) in float g, layout( location=8) in 4X4 matrix of float m})
|
||||
0:? 'bInst2' ( in 3-element array of block{layout( location=12) in float f, layout( location=13) in float g})
|
||||
0:? 'f' ( smooth in float)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue