Non-functional, infrastructure: Be more explicit about "implicit array sizes", improving the infrastructure for handling them. Also fix some output that was too big for its buffer.

There is more upcoming functionality for link-time sizing of implicitly-sized arrays that will use this.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26176 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2014-04-02 02:27:26 +00:00
parent b4ef9e0d56
commit f2d042a1fe
25 changed files with 237 additions and 237 deletions

View File

@@ -3,7 +3,7 @@ Warning, version 130 is not yet complete; most features are present, but a few a
ERROR: 0:21: '[' : array index out of range '2'
ERROR: 0:27: '[' : array must be redeclared with a size before being indexed with a variable
ERROR: 0:30: 'assign' : cannot convert from '4-element array of float' to '5-element array of float'
ERROR: 0:31: 'assign' : cannot convert from '4-element array of float' to 'unsized array of float'
ERROR: 0:31: 'assign' : cannot convert from '4-element array of float' to 'implicitly-sized array of float'
ERROR: 0:33: 'foo' : no matching overloaded function found
ERROR: 0:42: '[' : array index out of range '5'
ERROR: 0:45: '[' : array index out of range '1000'
@@ -60,21 +60,21 @@ ERROR: node is still EOpNull!
0:21 4.000000
0:24 move second child to first child (float)
0:24 direct index (float)
0:24 'gu' (unsized array of float)
0:24 'gu' (implicitly-sized array of float)
0:24 Constant:
0:24 2 (const int)
0:24 Constant:
0:24 4.000000
0:26 move second child to first child (float)
0:26 direct index (float)
0:26 'gu' (unsized array of float)
0:26 'gu' (implicitly-sized array of float)
0:26 Constant:
0:26 3 (const int)
0:26 Constant:
0:26 3.000000
0:27 move second child to first child (float)
0:27 indirect index (float)
0:27 'gu' (unsized array of float)
0:27 'gu' (implicitly-sized array of float)
0:27 'a' (uniform int)
0:27 Constant:
0:27 5.000000
@@ -83,7 +83,7 @@ ERROR: node is still EOpNull!
0:29 Function Call: foo(f1[5]; (4-element array of float)
0:29 'g5' (5-element array of float)
0:30 'g5' (5-element array of float)
0:31 'gu' (unsized array of float)
0:31 'gu' (implicitly-sized array of float)
0:33 Constant:
0:33 0.000000
0:34 Function Call: bar(f1[5]; (void)
@@ -100,7 +100,7 @@ ERROR: node is still EOpNull!
0:36 true case
0:37 move second child to first child (float)
0:37 direct index (float)
0:37 'gu' (unsized array of float)
0:37 'gu' (implicitly-sized array of float)
0:37 Constant:
0:37 0 (const int)
0:37 Constant:
@@ -187,7 +187,7 @@ ERROR: node is still EOpNull!
0:58 Constant:
0:58 4 (const int)
0:? Linker Objects
0:? 'gu' (unsized array of float)
0:? 'gu' (implicitly-sized array of float)
0:? 'g4' (4-element array of float)
0:? 'g5' (5-element array of float)
0:? 'a' (uniform int)