ES check for vertex out or fragment in containing any of
• An array of arrays • An array of structures • A structure containing an array • A structure containing a structure git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28745 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
ad54b24fba
commit
b07957cf22
9 changed files with 163 additions and 6 deletions
|
|
@ -1,8 +1,12 @@
|
|||
450.vert
|
||||
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 0:12: 'out' : cannot be bool
|
||||
ERROR: 0:13: 'sampler2D' : sampler/image types can only be used in uniform variables or function parameters: outo
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 450
|
||||
0:? Sequence
|
||||
ERROR: node is still EOpNull!
|
||||
0:7 Function Definition: main( (void)
|
||||
0:7 Function Parameters:
|
||||
0:9 Sequence
|
||||
|
|
@ -18,6 +22,15 @@ Shader version: 450
|
|||
0:9 4.500000
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (out block{out implicitly-sized array of float gl_CullDistance})
|
||||
0:? 'outb' (smooth out bool)
|
||||
0:? 'outo' (smooth out sampler2D)
|
||||
0:? 'outa' (smooth out 4-element array of float)
|
||||
0:? 'outaa' (smooth out 4-element array of float)
|
||||
0:? 'outs' (smooth out structure{float f})
|
||||
0:? 'outasa' (smooth out 4-element array of structure{float f})
|
||||
0:? 'outsa' (smooth out 4-element array of structure{float f})
|
||||
0:? 'outSA' (smooth out structure{4-element array of float f})
|
||||
0:? 'outSS' (smooth out structure{float f, structure{float f} s})
|
||||
0:? 'gl_VertexID' (gl_VertexId int)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId int)
|
||||
|
||||
|
|
@ -26,7 +39,7 @@ Linked vertex stage:
|
|||
|
||||
|
||||
Shader version: 450
|
||||
0:? Sequence
|
||||
ERROR: node is still EOpNull!
|
||||
0:7 Function Definition: main( (void)
|
||||
0:7 Function Parameters:
|
||||
0:9 Sequence
|
||||
|
|
@ -42,6 +55,15 @@ Shader version: 450
|
|||
0:9 4.500000
|
||||
0:? Linker Objects
|
||||
0:? 'anon@0' (out block{out 3-element array of float gl_CullDistance})
|
||||
0:? 'outb' (smooth out bool)
|
||||
0:? 'outo' (smooth out sampler2D)
|
||||
0:? 'outa' (smooth out 4-element array of float)
|
||||
0:? 'outaa' (smooth out 4-element array of float)
|
||||
0:? 'outs' (smooth out structure{float f})
|
||||
0:? 'outasa' (smooth out 4-element array of structure{float f})
|
||||
0:? 'outsa' (smooth out 4-element array of structure{float f})
|
||||
0:? 'outSA' (smooth out structure{4-element array of float f})
|
||||
0:? 'outSS' (smooth out structure{float f, structure{float f} s})
|
||||
0:? 'gl_VertexID' (gl_VertexId int)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId int)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue