glslang parser: Arrays-of-arrays name-mangling and error messages (lots of A-of-A stuff to come a bit later). This patch from Google, David Neto <dneto@google.com>.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31137 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
f75276ba5c
commit
af9ab5f743
12 changed files with 102 additions and 22 deletions
59
Test/baseResults/310AofA.vert.out
Normal file
59
Test/baseResults/310AofA.vert.out
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
310mangle.vert
|
||||
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||
|
||||
Shader version: 310
|
||||
0:? Sequence
|
||||
0:8 Function Definition: f(b1;f1;u1[4];i1[3][2]; (global void)
|
||||
0:8 Function Parameters:
|
||||
0:8 'a' (in bool)
|
||||
0:8 'b' (in highp float)
|
||||
0:8 'c' (in 4-element array of highp uint)
|
||||
0:8 'd' (in 3-element array of 2-element array of highp int)
|
||||
0:11 Function Definition: main( (global void)
|
||||
0:11 Function Parameters:
|
||||
0:? Sequence
|
||||
0:13 Function Call: f(b1;f1;u1[4];i1[3][2]; (global void)
|
||||
0:13 Constant:
|
||||
0:13 false (const bool)
|
||||
0:13 Constant:
|
||||
0:13 12.100000
|
||||
0:13 Constant:
|
||||
0:13 0 (const uint)
|
||||
0:13 1 (const uint)
|
||||
0:13 1 (const uint)
|
||||
0:13 2 (const uint)
|
||||
0:13 'd' (temp 3-element array of 2-element array of highp int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_VertexID' (gl_VertexId highp int)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId highp int)
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
|
||||
|
||||
Shader version: 310
|
||||
0:? Sequence
|
||||
0:8 Function Definition: f(b1;f1;u1[4];i1[3][2]; (global void)
|
||||
0:8 Function Parameters:
|
||||
0:8 'a' (in bool)
|
||||
0:8 'b' (in highp float)
|
||||
0:8 'c' (in 4-element array of highp uint)
|
||||
0:8 'd' (in 3-element array of 2-element array of highp int)
|
||||
0:11 Function Definition: main( (global void)
|
||||
0:11 Function Parameters:
|
||||
0:? Sequence
|
||||
0:13 Function Call: f(b1;f1;u1[4];i1[3][2]; (global void)
|
||||
0:13 Constant:
|
||||
0:13 false (const bool)
|
||||
0:13 Constant:
|
||||
0:13 12.100000
|
||||
0:13 Constant:
|
||||
0:13 0 (const uint)
|
||||
0:13 1 (const uint)
|
||||
0:13 1 (const uint)
|
||||
0:13 2 (const uint)
|
||||
0:13 'd' (temp 3-element array of 2-element array of highp int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_VertexID' (gl_VertexId highp int)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId highp int)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue