Fix xfb stride limit issue (#2088)
* Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. * Add negative test for xfb limit * update case result * Fix compile information issue Fix compile information issue and test comment issue. * remove es profile condition, use profileRequires to limit. * Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. Add negative test for xfb limit * Move es profile check out of version number check * Adjust error information and related cases remove the new version check, refine original version check. * Revert condition for vulkan, and remove redundant test code.
This commit is contained in:
parent
8111268575
commit
08328fea5a
15 changed files with 294 additions and 8 deletions
51
Test/baseResults/glsl.es300.layoutOffset.error.vert.out
Normal file
51
Test/baseResults/glsl.es300.layoutOffset.error.vert.out
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
glsl.es300.layoutOffset.error.vert
|
||||
ERROR: 0:3: 'binding' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:3: 'offset' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:3: 'offset' : only applies to block members, not blocks
|
||||
ERROR: 3 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 300
|
||||
ERROR: node is still EOpNull!
|
||||
0:11 Function Definition: main( ( global void)
|
||||
0:11 Function Parameters:
|
||||
0:13 Sequence
|
||||
0:13 move second child to first child ( temp highp 4-component vector of float)
|
||||
0:13 'out_vs' ( smooth out highp 4-component vector of float)
|
||||
0:13 add ( temp highp 4-component vector of float)
|
||||
0:13 'in_vs' ( in highp 4-component vector of float)
|
||||
0:13 a: direct index for structure (layout( column_major shared) uniform highp 4-component vector of float)
|
||||
0:13 'anon@0' (layout( binding=0 column_major shared offset=0) uniform block{layout( column_major shared) uniform highp 4-component vector of float a})
|
||||
0:13 Constant:
|
||||
0:13 0 (const uint)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( binding=0 column_major shared offset=0) uniform block{layout( column_major shared) uniform highp 4-component vector of float a})
|
||||
0:? 'in_vs' ( in highp 4-component vector of float)
|
||||
0:? 'out_vs' ( smooth out highp 4-component vector of float)
|
||||
0:? 'gl_VertexID' ( gl_VertexId highp int VertexId)
|
||||
0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId)
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
||||
|
||||
Shader version: 300
|
||||
ERROR: node is still EOpNull!
|
||||
0:11 Function Definition: main( ( global void)
|
||||
0:11 Function Parameters:
|
||||
0:13 Sequence
|
||||
0:13 move second child to first child ( temp highp 4-component vector of float)
|
||||
0:13 'out_vs' ( smooth out highp 4-component vector of float)
|
||||
0:13 add ( temp highp 4-component vector of float)
|
||||
0:13 'in_vs' ( in highp 4-component vector of float)
|
||||
0:13 a: direct index for structure (layout( column_major shared) uniform highp 4-component vector of float)
|
||||
0:13 'anon@0' (layout( binding=0 column_major shared offset=0) uniform block{layout( column_major shared) uniform highp 4-component vector of float a})
|
||||
0:13 Constant:
|
||||
0:13 0 (const uint)
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (layout( binding=0 column_major shared offset=0) uniform block{layout( column_major shared) uniform highp 4-component vector of float a})
|
||||
0:? 'in_vs' ( in highp 4-component vector of float)
|
||||
0:? 'out_vs' ( smooth out highp 4-component vector of float)
|
||||
0:? 'gl_VertexID' ( gl_VertexId highp int VertexId)
|
||||
0:? 'gl_InstanceID' ( gl_InstanceId highp int InstanceId)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue