glslang AST output: include global vs. temp (local) in the printed output. This only effects test results, but a future check-in is going to fix some globals.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30973 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
bcef333a78
commit
8b37b04ecc
130 changed files with 15103 additions and 15104 deletions
|
|
@ -1,17 +1,17 @@
|
|||
420.tese
|
||||
Warning, version 420 is not yet complete; most version-specific features are present, but some are missing.
|
||||
ERROR: 0:7: '=' : cannot convert from '3-element array of float' to '2-element array of float'
|
||||
ERROR: 0:8: 'initializer list' : wrong vector size (or rows in a matrix column): 2-component vector of float
|
||||
ERROR: 0:9: 'initializer list' : wrong number of matrix columns: 3X3 matrix of float
|
||||
ERROR: 0:10: 'initializer list' : wrong number of matrix columns: 2X2 matrix of float
|
||||
ERROR: 0:7: '=' : cannot convert from 'global 3-element array of float' to 'global 2-element array of float'
|
||||
ERROR: 0:8: 'initializer list' : wrong vector size (or rows in a matrix column): global 2-component vector of float
|
||||
ERROR: 0:9: 'initializer list' : wrong number of matrix columns: global 3X3 matrix of float
|
||||
ERROR: 0:10: 'initializer list' : wrong number of matrix columns: global 2X2 matrix of float
|
||||
ERROR: 0:25: 'initializer list' : wrong number of structure members
|
||||
ERROR: 0:27: '=' : cannot convert from 'const bool' to 'int'
|
||||
ERROR: 0:28: 'constructor' : cannot convert parameter 2 from 'const float' to '4-component vector of float'
|
||||
ERROR: 0:27: '=' : cannot convert from 'const bool' to 'global int'
|
||||
ERROR: 0:28: 'constructor' : cannot convert parameter 2 from 'const float' to 'global 4-component vector of float'
|
||||
ERROR: 0:29: 'constructor' : cannot convert parameter 2 from 'const 2X2 matrix of float' to 'const 4-component vector of float'
|
||||
ERROR: 0:29: 'const 2-element array of 4-component vector of float' : cannot construct with these arguments
|
||||
ERROR: 0:29: '=' : cannot convert from 'const float' to '2-element array of 4-component vector of float'
|
||||
ERROR: 0:30: 'initializer list' : wrong number of matrix columns: 4X2 matrix of float
|
||||
ERROR: 0:40: 'constructor' : cannot convert parameter 1 from 'float' to 'structure{float s, float t}'
|
||||
ERROR: 0:29: '=' : cannot convert from 'const float' to 'global 2-element array of 4-component vector of float'
|
||||
ERROR: 0:30: 'initializer list' : wrong number of matrix columns: global 4X2 matrix of float
|
||||
ERROR: 0:40: 'constructor' : cannot convert parameter 1 from 'temp float' to 'global structure{global float s, global float t}'
|
||||
ERROR: 0:58: 'initializer list' : wrong number of structure members
|
||||
ERROR: 13 compilation errors. No code generated.
|
||||
|
||||
|
|
@ -22,28 +22,28 @@ vertex spacing = none
|
|||
triangle order = none
|
||||
ERROR: node is still EOpNull!
|
||||
0:4 Sequence
|
||||
0:4 move second child to first child (2X2 matrix of float)
|
||||
0:4 'b' (2X2 matrix of float)
|
||||
0:4 move second child to first child (temp 2X2 matrix of float)
|
||||
0:4 'b' (global 2X2 matrix of float)
|
||||
0:4 Constant:
|
||||
0:4 1.000000
|
||||
0:4 0.000000
|
||||
0:4 0.000000
|
||||
0:4 1.000000
|
||||
0:15 Sequence
|
||||
0:15 move second child to first child (structure{float a, int b})
|
||||
0:15 'e' (structure{float a, int b})
|
||||
0:15 move second child to first child (temp structure{global float a, global int b})
|
||||
0:15 'e' (global structure{global float a, global int b})
|
||||
0:15 Constant:
|
||||
0:15 1.200000
|
||||
0:15 2 (const int)
|
||||
0:20 Sequence
|
||||
0:20 move second child to first child (structure{float a, int b})
|
||||
0:20 'e2' (structure{float a, int b})
|
||||
0:20 move second child to first child (temp structure{global float a, global int b})
|
||||
0:20 'e2' (global structure{global float a, global int b})
|
||||
0:20 Constant:
|
||||
0:20 1.000000
|
||||
0:20 3 (const int)
|
||||
0:42 Sequence
|
||||
0:42 move second child to first child (5-element array of float)
|
||||
0:42 'b5' (5-element array of float)
|
||||
0:42 move second child to first child (temp 5-element array of float)
|
||||
0:42 'b5' (global 5-element array of float)
|
||||
0:42 Constant:
|
||||
0:42 3.400000
|
||||
0:42 4.200000
|
||||
|
|
@ -51,26 +51,26 @@ ERROR: node is still EOpNull!
|
|||
0:42 5.200000
|
||||
0:42 1.100000
|
||||
0:67 Sequence
|
||||
0:67 move second child to first child (3-component vector of float)
|
||||
0:67 'av3' (3-component vector of float)
|
||||
0:67 Construct vec3 (3-component vector of float)
|
||||
0:67 'vc1' (float)
|
||||
0:67 'vc2' (float)
|
||||
0:67 'vc3' (float)
|
||||
0:67 move second child to first child (temp 3-component vector of float)
|
||||
0:67 'av3' (global 3-component vector of float)
|
||||
0:67 Construct vec3 (global 3-component vector of float)
|
||||
0:67 'vc1' (global float)
|
||||
0:67 'vc2' (global float)
|
||||
0:67 'vc3' (global float)
|
||||
0:68 Sequence
|
||||
0:68 move second child to first child (3-component vector of float)
|
||||
0:68 'bv3' (3-component vector of float)
|
||||
0:68 Construct vec3 (3-component vector of float)
|
||||
0:68 'vc1' (float)
|
||||
0:68 'vc2' (float)
|
||||
0:68 'vc3' (float)
|
||||
0:70 Function Definition: main( (void)
|
||||
0:68 move second child to first child (temp 3-component vector of float)
|
||||
0:68 'bv3' (global 3-component vector of float)
|
||||
0:68 Construct vec3 (global 3-component vector of float)
|
||||
0:68 'vc1' (global float)
|
||||
0:68 'vc2' (global float)
|
||||
0:68 'vc3' (global float)
|
||||
0:70 Function Definition: main( (global void)
|
||||
0:70 Function Parameters:
|
||||
0:72 Sequence
|
||||
0:72 MemoryBarrier (void)
|
||||
0:74 Test condition and select (void)
|
||||
0:72 MemoryBarrier (global void)
|
||||
0:74 Test condition and select (temp void)
|
||||
0:74 Condition
|
||||
0:74 Compare Equal (bool)
|
||||
0:74 Compare Equal (temp bool)
|
||||
0:74 Constant:
|
||||
0:74 1 (const uint)
|
||||
0:74 2 (const uint)
|
||||
|
|
@ -88,9 +88,9 @@ ERROR: node is still EOpNull!
|
|||
0:74 0.000000
|
||||
0:74 6.000000
|
||||
0:74 0.000000
|
||||
0:74 'curlybad1' (structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:74 'curlybad1' (temp structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:74 true case is null
|
||||
0:76 Test condition and select (void)
|
||||
0:76 Test condition and select (temp void)
|
||||
0:76 Condition
|
||||
0:76 Constant:
|
||||
0:76 true (const bool)
|
||||
|
|
@ -101,26 +101,26 @@ ERROR: node is still EOpNull!
|
|||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 1.000000
|
||||
0:? 'b' (2X2 matrix of float)
|
||||
0:? 'b' (global 2X2 matrix of float)
|
||||
0:? 'c' (const 2X2 matrix of float)
|
||||
0:? 1.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 1.000000
|
||||
0:? 'a2' (2-element array of float)
|
||||
0:? 'b2' (2-component vector of float)
|
||||
0:? 'c2' (3X3 matrix of float)
|
||||
0:? 'd' (2X2 matrix of float)
|
||||
0:? 'e' (structure{float a, int b})
|
||||
0:? 'e2' (structure{float a, int b})
|
||||
0:? 'e3' (structure{float a, int b})
|
||||
0:? 'a3' (int)
|
||||
0:? 'b3' (2-element array of 4-component vector of float)
|
||||
0:? 'b4' (2-element array of 4-component vector of float)
|
||||
0:? 'c3' (4X2 matrix of float)
|
||||
0:? 'd2' (implicitly-sized array of structure{float s, float t})
|
||||
0:? 'b5' (5-element array of float)
|
||||
0:? 'constructed' (const structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:? 'a2' (global 2-element array of float)
|
||||
0:? 'b2' (global 2-component vector of float)
|
||||
0:? 'c2' (global 3X3 matrix of float)
|
||||
0:? 'd' (global 2X2 matrix of float)
|
||||
0:? 'e' (global structure{global float a, global int b})
|
||||
0:? 'e2' (global structure{global float a, global int b})
|
||||
0:? 'e3' (global structure{global float a, global int b})
|
||||
0:? 'a3' (global int)
|
||||
0:? 'b3' (global 2-element array of 4-component vector of float)
|
||||
0:? 'b4' (global 2-element array of 4-component vector of float)
|
||||
0:? 'c3' (global 4X2 matrix of float)
|
||||
0:? 'd2' (global implicitly-sized array of structure{global float s, global float t})
|
||||
0:? 'b5' (global 5-element array of float)
|
||||
0:? 'constructed' (const structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:? 1 (const uint)
|
||||
0:? 2 (const uint)
|
||||
0:? 3.000000
|
||||
|
|
@ -137,8 +137,8 @@ ERROR: node is still EOpNull!
|
|||
0:? 0.000000
|
||||
0:? 6.000000
|
||||
0:? 0.000000
|
||||
0:? 'curlybad1' (structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:? 'curlyInit' (const structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:? 'curlybad1' (temp structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:? 'curlyInit' (const structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:? 1 (const uint)
|
||||
0:? 2 (const uint)
|
||||
0:? 3.000000
|
||||
|
|
@ -155,11 +155,11 @@ ERROR: node is still EOpNull!
|
|||
0:? 0.000000
|
||||
0:? 6.000000
|
||||
0:? 0.000000
|
||||
0:? 'vc1' (float)
|
||||
0:? 'vc2' (float)
|
||||
0:? 'vc3' (float)
|
||||
0:? 'av3' (3-component vector of float)
|
||||
0:? 'bv3' (3-component vector of float)
|
||||
0:? 'vc1' (global float)
|
||||
0:? 'vc2' (global float)
|
||||
0:? 'vc3' (global float)
|
||||
0:? 'av3' (global 3-component vector of float)
|
||||
0:? 'bv3' (global 3-component vector of float)
|
||||
|
||||
|
||||
Linked tessellation evaluation stage:
|
||||
|
|
@ -172,28 +172,28 @@ vertex spacing = equal_spacing
|
|||
triangle order = ccw
|
||||
ERROR: node is still EOpNull!
|
||||
0:4 Sequence
|
||||
0:4 move second child to first child (2X2 matrix of float)
|
||||
0:4 'b' (2X2 matrix of float)
|
||||
0:4 move second child to first child (temp 2X2 matrix of float)
|
||||
0:4 'b' (global 2X2 matrix of float)
|
||||
0:4 Constant:
|
||||
0:4 1.000000
|
||||
0:4 0.000000
|
||||
0:4 0.000000
|
||||
0:4 1.000000
|
||||
0:15 Sequence
|
||||
0:15 move second child to first child (structure{float a, int b})
|
||||
0:15 'e' (structure{float a, int b})
|
||||
0:15 move second child to first child (temp structure{global float a, global int b})
|
||||
0:15 'e' (global structure{global float a, global int b})
|
||||
0:15 Constant:
|
||||
0:15 1.200000
|
||||
0:15 2 (const int)
|
||||
0:20 Sequence
|
||||
0:20 move second child to first child (structure{float a, int b})
|
||||
0:20 'e2' (structure{float a, int b})
|
||||
0:20 move second child to first child (temp structure{global float a, global int b})
|
||||
0:20 'e2' (global structure{global float a, global int b})
|
||||
0:20 Constant:
|
||||
0:20 1.000000
|
||||
0:20 3 (const int)
|
||||
0:42 Sequence
|
||||
0:42 move second child to first child (5-element array of float)
|
||||
0:42 'b5' (5-element array of float)
|
||||
0:42 move second child to first child (temp 5-element array of float)
|
||||
0:42 'b5' (global 5-element array of float)
|
||||
0:42 Constant:
|
||||
0:42 3.400000
|
||||
0:42 4.200000
|
||||
|
|
@ -201,26 +201,26 @@ ERROR: node is still EOpNull!
|
|||
0:42 5.200000
|
||||
0:42 1.100000
|
||||
0:67 Sequence
|
||||
0:67 move second child to first child (3-component vector of float)
|
||||
0:67 'av3' (3-component vector of float)
|
||||
0:67 Construct vec3 (3-component vector of float)
|
||||
0:67 'vc1' (float)
|
||||
0:67 'vc2' (float)
|
||||
0:67 'vc3' (float)
|
||||
0:67 move second child to first child (temp 3-component vector of float)
|
||||
0:67 'av3' (global 3-component vector of float)
|
||||
0:67 Construct vec3 (global 3-component vector of float)
|
||||
0:67 'vc1' (global float)
|
||||
0:67 'vc2' (global float)
|
||||
0:67 'vc3' (global float)
|
||||
0:68 Sequence
|
||||
0:68 move second child to first child (3-component vector of float)
|
||||
0:68 'bv3' (3-component vector of float)
|
||||
0:68 Construct vec3 (3-component vector of float)
|
||||
0:68 'vc1' (float)
|
||||
0:68 'vc2' (float)
|
||||
0:68 'vc3' (float)
|
||||
0:70 Function Definition: main( (void)
|
||||
0:68 move second child to first child (temp 3-component vector of float)
|
||||
0:68 'bv3' (global 3-component vector of float)
|
||||
0:68 Construct vec3 (global 3-component vector of float)
|
||||
0:68 'vc1' (global float)
|
||||
0:68 'vc2' (global float)
|
||||
0:68 'vc3' (global float)
|
||||
0:70 Function Definition: main( (global void)
|
||||
0:70 Function Parameters:
|
||||
0:72 Sequence
|
||||
0:72 MemoryBarrier (void)
|
||||
0:74 Test condition and select (void)
|
||||
0:72 MemoryBarrier (global void)
|
||||
0:74 Test condition and select (temp void)
|
||||
0:74 Condition
|
||||
0:74 Compare Equal (bool)
|
||||
0:74 Compare Equal (temp bool)
|
||||
0:74 Constant:
|
||||
0:74 1 (const uint)
|
||||
0:74 2 (const uint)
|
||||
|
|
@ -238,9 +238,9 @@ ERROR: node is still EOpNull!
|
|||
0:74 0.000000
|
||||
0:74 6.000000
|
||||
0:74 0.000000
|
||||
0:74 'curlybad1' (structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:74 'curlybad1' (temp structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:74 true case is null
|
||||
0:76 Test condition and select (void)
|
||||
0:76 Test condition and select (temp void)
|
||||
0:76 Condition
|
||||
0:76 Constant:
|
||||
0:76 true (const bool)
|
||||
|
|
@ -251,26 +251,26 @@ ERROR: node is still EOpNull!
|
|||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 1.000000
|
||||
0:? 'b' (2X2 matrix of float)
|
||||
0:? 'b' (global 2X2 matrix of float)
|
||||
0:? 'c' (const 2X2 matrix of float)
|
||||
0:? 1.000000
|
||||
0:? 0.000000
|
||||
0:? 0.000000
|
||||
0:? 1.000000
|
||||
0:? 'a2' (2-element array of float)
|
||||
0:? 'b2' (2-component vector of float)
|
||||
0:? 'c2' (3X3 matrix of float)
|
||||
0:? 'd' (2X2 matrix of float)
|
||||
0:? 'e' (structure{float a, int b})
|
||||
0:? 'e2' (structure{float a, int b})
|
||||
0:? 'e3' (structure{float a, int b})
|
||||
0:? 'a3' (int)
|
||||
0:? 'b3' (2-element array of 4-component vector of float)
|
||||
0:? 'b4' (2-element array of 4-component vector of float)
|
||||
0:? 'c3' (4X2 matrix of float)
|
||||
0:? 'd2' (1-element array of structure{float s, float t})
|
||||
0:? 'b5' (5-element array of float)
|
||||
0:? 'constructed' (const structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:? 'a2' (global 2-element array of float)
|
||||
0:? 'b2' (global 2-component vector of float)
|
||||
0:? 'c2' (global 3X3 matrix of float)
|
||||
0:? 'd' (global 2X2 matrix of float)
|
||||
0:? 'e' (global structure{global float a, global int b})
|
||||
0:? 'e2' (global structure{global float a, global int b})
|
||||
0:? 'e3' (global structure{global float a, global int b})
|
||||
0:? 'a3' (global int)
|
||||
0:? 'b3' (global 2-element array of 4-component vector of float)
|
||||
0:? 'b4' (global 2-element array of 4-component vector of float)
|
||||
0:? 'c3' (global 4X2 matrix of float)
|
||||
0:? 'd2' (global 1-element array of structure{global float s, global float t})
|
||||
0:? 'b5' (global 5-element array of float)
|
||||
0:? 'constructed' (const structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:? 1 (const uint)
|
||||
0:? 2 (const uint)
|
||||
0:? 3.000000
|
||||
|
|
@ -287,8 +287,8 @@ ERROR: node is still EOpNull!
|
|||
0:? 0.000000
|
||||
0:? 6.000000
|
||||
0:? 0.000000
|
||||
0:? 'curlybad1' (structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:? 'curlyInit' (const structure{2-component vector of uint uv2, 2-element array of structure{float f, 2X3 matrix of float m23} s})
|
||||
0:? 'curlybad1' (temp structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:? 'curlyInit' (const structure{global 2-component vector of uint uv2, global 2-element array of structure{global float f, global 2X3 matrix of float m23} s})
|
||||
0:? 1 (const uint)
|
||||
0:? 2 (const uint)
|
||||
0:? 3.000000
|
||||
|
|
@ -305,9 +305,9 @@ ERROR: node is still EOpNull!
|
|||
0:? 0.000000
|
||||
0:? 6.000000
|
||||
0:? 0.000000
|
||||
0:? 'vc1' (float)
|
||||
0:? 'vc2' (float)
|
||||
0:? 'vc3' (float)
|
||||
0:? 'av3' (3-component vector of float)
|
||||
0:? 'bv3' (3-component vector of float)
|
||||
0:? 'vc1' (global float)
|
||||
0:? 'vc2' (global float)
|
||||
0:? 'vc3' (global float)
|
||||
0:? 'av3' (global 3-component vector of float)
|
||||
0:? 'bv3' (global 3-component vector of float)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue