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:
John Kessenich 2015-04-29 10:16:56 +00:00
parent bcef333a78
commit 8b37b04ecc
130 changed files with 15103 additions and 15104 deletions

View file

@ -23,11 +23,11 @@ ERROR: 17 compilation errors. No code generated.
Shader version: 300
ERROR: node is still EOpNull!
0:6 Function Definition: main( (void)
0:6 Function Definition: main( (global void)
0:6 Function Parameters:
0:? Sequence
0:11 'f' (highp float)
0:14 'a' (2-element array of mediump int)
0:11 'f' (temp highp float)
0:14 'a' (temp 2-element array of mediump int)
0:17 'c' (uniform mediump int)
0:21 switch
0:21 condition
@ -43,17 +43,17 @@ ERROR: node is still EOpNull!
0:26 body
0:26 Sequence
0:28 Sequence
0:28 move second child to first child (highp float)
0:28 'f' (highp float)
0:28 sine (highp float)
0:28 move second child to first child (temp highp float)
0:28 'f' (temp highp float)
0:28 sine (global highp float)
0:28 'x' (smooth in highp float)
0:29 case: with expression
0:29 Constant:
0:29 2 (const int)
0:? Sequence
0:30 move second child to first child (highp float)
0:30 'f' (highp float)
0:30 cosine (highp float)
0:30 move second child to first child (temp highp float)
0:30 'f' (temp highp float)
0:30 cosine (global highp float)
0:30 'x' (smooth in highp float)
0:31 Branch: Break
0:34 switch
@ -68,25 +68,25 @@ ERROR: node is still EOpNull!
0:37 Constant:
0:37 1 (const int)
0:? Sequence
0:38 move second child to first child (highp float)
0:38 'f' (highp float)
0:38 sine (highp float)
0:38 move second child to first child (temp highp float)
0:38 'f' (temp highp float)
0:38 sine (global highp float)
0:38 'x' (smooth in highp float)
0:39 Branch: Break
0:40 case: with expression
0:40 Constant:
0:40 2 (const int)
0:? Sequence
0:41 move second child to first child (highp float)
0:41 'f' (highp float)
0:41 cosine (highp float)
0:41 move second child to first child (temp highp float)
0:41 'f' (temp highp float)
0:41 cosine (global highp float)
0:41 'x' (smooth in highp float)
0:42 Branch: Break
0:43 default:
0:? Sequence
0:44 move second child to first child (highp float)
0:44 'f' (highp float)
0:44 tangent (highp float)
0:44 move second child to first child (temp highp float)
0:44 'f' (temp highp float)
0:44 tangent (global highp float)
0:44 'x' (smooth in highp float)
0:47 switch
0:47 condition
@ -97,9 +97,9 @@ ERROR: node is still EOpNull!
0:48 Constant:
0:48 1 (const int)
0:? Sequence
0:49 move second child to first child (highp float)
0:49 'f' (highp float)
0:49 sine (highp float)
0:49 move second child to first child (temp highp float)
0:49 'f' (temp highp float)
0:49 sine (global highp float)
0:49 'x' (smooth in highp float)
0:50 Branch: Break
0:51 case: with expression
@ -115,10 +115,10 @@ ERROR: node is still EOpNull!
0:53 Constant:
0:53 1 (const int)
0:? Sequence
0:54 move second child to first child (highp float)
0:54 'f' (highp float)
0:54 component-wise multiply (highp float)
0:54 component-wise multiply (highp float)
0:54 move second child to first child (temp highp float)
0:54 'f' (temp highp float)
0:54 component-wise multiply (temp highp float)
0:54 component-wise multiply (temp highp float)
0:54 'x' (smooth in highp float)
0:54 'x' (smooth in highp float)
0:54 'x' (smooth in highp float)
@ -127,18 +127,18 @@ ERROR: node is still EOpNull!
0:56 Constant:
0:56 2 (const int)
0:? Sequence
0:57 move second child to first child (highp float)
0:57 'f' (highp float)
0:57 component-wise multiply (highp float)
0:57 move second child to first child (temp highp float)
0:57 'f' (temp highp float)
0:57 component-wise multiply (temp highp float)
0:57 'x' (smooth in highp float)
0:57 'x' (smooth in highp float)
0:58 Branch: Break
0:60 Branch: Break
0:61 default:
0:? Sequence
0:62 move second child to first child (highp float)
0:62 'f' (highp float)
0:62 tangent (highp float)
0:62 move second child to first child (temp highp float)
0:62 'f' (temp highp float)
0:62 tangent (global highp float)
0:62 'x' (smooth in highp float)
0:63 case: with expression
0:63 Constant:
@ -163,9 +163,9 @@ ERROR: node is still EOpNull!
0:72 Constant:
0:72 1 (const int)
0:? Sequence
0:73 move second child to first child (highp float)
0:73 'f' (highp float)
0:73 sine (highp float)
0:73 move second child to first child (temp highp float)
0:73 'f' (temp highp float)
0:73 sine (global highp float)
0:73 'x' (smooth in highp float)
0:74 Branch: Break
0:75 case: with expression
@ -181,10 +181,10 @@ ERROR: node is still EOpNull!
0:77 Constant:
0:77 1 (const int)
0:? Sequence
0:78 move second child to first child (highp float)
0:78 'f' (highp float)
0:78 component-wise multiply (highp float)
0:78 component-wise multiply (highp float)
0:78 move second child to first child (temp highp float)
0:78 'f' (temp highp float)
0:78 component-wise multiply (temp highp float)
0:78 component-wise multiply (temp highp float)
0:78 'x' (smooth in highp float)
0:78 'x' (smooth in highp float)
0:78 'x' (smooth in highp float)
@ -193,18 +193,18 @@ ERROR: node is still EOpNull!
0:80 Constant:
0:80 2 (const int)
0:? Sequence
0:81 move second child to first child (highp float)
0:81 'f' (highp float)
0:81 component-wise multiply (highp float)
0:81 move second child to first child (temp highp float)
0:81 'f' (temp highp float)
0:81 component-wise multiply (temp highp float)
0:81 'x' (smooth in highp float)
0:81 'x' (smooth in highp float)
0:82 Branch: Break
0:84 Branch: Break
0:85 default:
0:? Sequence
0:86 move second child to first child (highp float)
0:86 'f' (highp float)
0:86 tangent (highp float)
0:86 move second child to first child (temp highp float)
0:86 'f' (temp highp float)
0:86 tangent (global highp float)
0:86 'x' (smooth in highp float)
0:89 Branch: Break
0:91 switch
@ -216,9 +216,9 @@ ERROR: node is still EOpNull!
0:92 Constant:
0:92 1 (const int)
0:? Sequence
0:93 move second child to first child (highp float)
0:93 'f' (highp float)
0:93 sine (highp float)
0:93 move second child to first child (temp highp float)
0:93 'f' (temp highp float)
0:93 sine (global highp float)
0:93 'x' (smooth in highp float)
0:94 Branch: Break
0:95 case: with expression
@ -236,28 +236,28 @@ ERROR: node is still EOpNull!
0:? Sequence
0:? Sequence
0:100 Branch: Break
0:102 move second child to first child (highp float)
0:102 'f' (highp float)
0:102 component-wise multiply (highp float)
0:102 component-wise multiply (highp float)
0:102 move second child to first child (temp highp float)
0:102 'f' (temp highp float)
0:102 component-wise multiply (temp highp float)
0:102 component-wise multiply (temp highp float)
0:102 'x' (smooth in highp float)
0:102 'x' (smooth in highp float)
0:102 'x' (smooth in highp float)
0:103 Test condition and select (void)
0:103 Test condition and select (temp void)
0:103 Condition
0:103 Compare Less Than (bool)
0:103 Compare Less Than (temp bool)
0:103 'c' (uniform mediump int)
0:103 'd' (uniform mediump int)
0:103 true case
0:? Sequence
0:105 move second child to first child (highp float)
0:105 'f' (highp float)
0:105 component-wise multiply (highp float)
0:105 move second child to first child (temp highp float)
0:105 'f' (temp highp float)
0:105 component-wise multiply (temp highp float)
0:105 'x' (smooth in highp float)
0:105 'x' (smooth in highp float)
0:107 Test condition and select (void)
0:107 Test condition and select (temp void)
0:107 Condition
0:107 Compare Less Than (bool)
0:107 Compare Less Than (temp bool)
0:107 'd' (uniform mediump int)
0:107 'c' (uniform mediump int)
0:107 true case is null
@ -267,14 +267,14 @@ ERROR: node is still EOpNull!
0:112 Constant:
0:112 4 (const int)
0:? Sequence
0:113 move second child to first child (highp float)
0:113 'f' (highp float)
0:113 tangent (highp float)
0:113 move second child to first child (temp highp float)
0:113 'f' (temp highp float)
0:113 tangent (global highp float)
0:113 'x' (smooth in highp float)
0:114 Test condition and select (void)
0:114 Test condition and select (temp void)
0:114 Condition
0:114 Compare Less Than (bool)
0:114 'f' (highp float)
0:114 Compare Less Than (temp bool)
0:114 'f' (temp highp float)
0:114 Constant:
0:114 0.000000
0:114 true case is null
@ -288,11 +288,11 @@ ERROR: node is still EOpNull!
0:123 default:
0:? Sequence
0:124 Sequence
0:124 move second child to first child (mediump int)
0:124 'onlyInSwitch' (mediump int)
0:124 move second child to first child (temp mediump int)
0:124 'onlyInSwitch' (temp mediump int)
0:124 Constant:
0:124 0 (const int)
0:126 'onlyInSwitch' (float)
0:126 'onlyInSwitch' (temp float)
0:128 switch
0:128 condition
0:128 Constant:
@ -315,7 +315,7 @@ ERROR: node is still EOpNull!
0:139 Constant:
0:139 2 (const int)
0:? Sequence
0:140 'nestedX' (float)
0:140 'nestedX' (temp float)
0:143 Branch: Break
0:144 case: with expression
0:144 Constant:
@ -327,9 +327,9 @@ ERROR: node is still EOpNull!
0:147 4 (const int)
0:? Sequence
0:148 Sequence
0:148 move second child to first child (mediump int)
0:148 'linearY' (mediump int)
0:148 'linearZ' (mediump int)
0:148 move second child to first child (temp mediump int)
0:148 'linearY' (temp mediump int)
0:148 'linearZ' (temp mediump int)
0:149 Branch: Break
0:150 case: with expression
0:150 Constant:
@ -342,7 +342,7 @@ ERROR: node is still EOpNull!
0:? Sequence
0:154 Constant:
0:154 4 (const int)
0:156 'nestedZ' (float)
0:156 'nestedZ' (temp float)
0:? Linker Objects
0:? 'c' (uniform mediump int)
0:? 'd' (uniform mediump int)
@ -354,11 +354,11 @@ Linked fragment stage:
Shader version: 300
ERROR: node is still EOpNull!
0:6 Function Definition: main( (void)
0:6 Function Definition: main( (global void)
0:6 Function Parameters:
0:? Sequence
0:11 'f' (highp float)
0:14 'a' (2-element array of mediump int)
0:11 'f' (temp highp float)
0:14 'a' (temp 2-element array of mediump int)
0:17 'c' (uniform mediump int)
0:21 switch
0:21 condition
@ -374,17 +374,17 @@ ERROR: node is still EOpNull!
0:26 body
0:26 Sequence
0:28 Sequence
0:28 move second child to first child (highp float)
0:28 'f' (highp float)
0:28 sine (highp float)
0:28 move second child to first child (temp highp float)
0:28 'f' (temp highp float)
0:28 sine (global highp float)
0:28 'x' (smooth in highp float)
0:29 case: with expression
0:29 Constant:
0:29 2 (const int)
0:? Sequence
0:30 move second child to first child (highp float)
0:30 'f' (highp float)
0:30 cosine (highp float)
0:30 move second child to first child (temp highp float)
0:30 'f' (temp highp float)
0:30 cosine (global highp float)
0:30 'x' (smooth in highp float)
0:31 Branch: Break
0:34 switch
@ -399,25 +399,25 @@ ERROR: node is still EOpNull!
0:37 Constant:
0:37 1 (const int)
0:? Sequence
0:38 move second child to first child (highp float)
0:38 'f' (highp float)
0:38 sine (highp float)
0:38 move second child to first child (temp highp float)
0:38 'f' (temp highp float)
0:38 sine (global highp float)
0:38 'x' (smooth in highp float)
0:39 Branch: Break
0:40 case: with expression
0:40 Constant:
0:40 2 (const int)
0:? Sequence
0:41 move second child to first child (highp float)
0:41 'f' (highp float)
0:41 cosine (highp float)
0:41 move second child to first child (temp highp float)
0:41 'f' (temp highp float)
0:41 cosine (global highp float)
0:41 'x' (smooth in highp float)
0:42 Branch: Break
0:43 default:
0:? Sequence
0:44 move second child to first child (highp float)
0:44 'f' (highp float)
0:44 tangent (highp float)
0:44 move second child to first child (temp highp float)
0:44 'f' (temp highp float)
0:44 tangent (global highp float)
0:44 'x' (smooth in highp float)
0:47 switch
0:47 condition
@ -428,9 +428,9 @@ ERROR: node is still EOpNull!
0:48 Constant:
0:48 1 (const int)
0:? Sequence
0:49 move second child to first child (highp float)
0:49 'f' (highp float)
0:49 sine (highp float)
0:49 move second child to first child (temp highp float)
0:49 'f' (temp highp float)
0:49 sine (global highp float)
0:49 'x' (smooth in highp float)
0:50 Branch: Break
0:51 case: with expression
@ -446,10 +446,10 @@ ERROR: node is still EOpNull!
0:53 Constant:
0:53 1 (const int)
0:? Sequence
0:54 move second child to first child (highp float)
0:54 'f' (highp float)
0:54 component-wise multiply (highp float)
0:54 component-wise multiply (highp float)
0:54 move second child to first child (temp highp float)
0:54 'f' (temp highp float)
0:54 component-wise multiply (temp highp float)
0:54 component-wise multiply (temp highp float)
0:54 'x' (smooth in highp float)
0:54 'x' (smooth in highp float)
0:54 'x' (smooth in highp float)
@ -458,18 +458,18 @@ ERROR: node is still EOpNull!
0:56 Constant:
0:56 2 (const int)
0:? Sequence
0:57 move second child to first child (highp float)
0:57 'f' (highp float)
0:57 component-wise multiply (highp float)
0:57 move second child to first child (temp highp float)
0:57 'f' (temp highp float)
0:57 component-wise multiply (temp highp float)
0:57 'x' (smooth in highp float)
0:57 'x' (smooth in highp float)
0:58 Branch: Break
0:60 Branch: Break
0:61 default:
0:? Sequence
0:62 move second child to first child (highp float)
0:62 'f' (highp float)
0:62 tangent (highp float)
0:62 move second child to first child (temp highp float)
0:62 'f' (temp highp float)
0:62 tangent (global highp float)
0:62 'x' (smooth in highp float)
0:63 case: with expression
0:63 Constant:
@ -494,9 +494,9 @@ ERROR: node is still EOpNull!
0:72 Constant:
0:72 1 (const int)
0:? Sequence
0:73 move second child to first child (highp float)
0:73 'f' (highp float)
0:73 sine (highp float)
0:73 move second child to first child (temp highp float)
0:73 'f' (temp highp float)
0:73 sine (global highp float)
0:73 'x' (smooth in highp float)
0:74 Branch: Break
0:75 case: with expression
@ -512,10 +512,10 @@ ERROR: node is still EOpNull!
0:77 Constant:
0:77 1 (const int)
0:? Sequence
0:78 move second child to first child (highp float)
0:78 'f' (highp float)
0:78 component-wise multiply (highp float)
0:78 component-wise multiply (highp float)
0:78 move second child to first child (temp highp float)
0:78 'f' (temp highp float)
0:78 component-wise multiply (temp highp float)
0:78 component-wise multiply (temp highp float)
0:78 'x' (smooth in highp float)
0:78 'x' (smooth in highp float)
0:78 'x' (smooth in highp float)
@ -524,18 +524,18 @@ ERROR: node is still EOpNull!
0:80 Constant:
0:80 2 (const int)
0:? Sequence
0:81 move second child to first child (highp float)
0:81 'f' (highp float)
0:81 component-wise multiply (highp float)
0:81 move second child to first child (temp highp float)
0:81 'f' (temp highp float)
0:81 component-wise multiply (temp highp float)
0:81 'x' (smooth in highp float)
0:81 'x' (smooth in highp float)
0:82 Branch: Break
0:84 Branch: Break
0:85 default:
0:? Sequence
0:86 move second child to first child (highp float)
0:86 'f' (highp float)
0:86 tangent (highp float)
0:86 move second child to first child (temp highp float)
0:86 'f' (temp highp float)
0:86 tangent (global highp float)
0:86 'x' (smooth in highp float)
0:89 Branch: Break
0:91 switch
@ -547,9 +547,9 @@ ERROR: node is still EOpNull!
0:92 Constant:
0:92 1 (const int)
0:? Sequence
0:93 move second child to first child (highp float)
0:93 'f' (highp float)
0:93 sine (highp float)
0:93 move second child to first child (temp highp float)
0:93 'f' (temp highp float)
0:93 sine (global highp float)
0:93 'x' (smooth in highp float)
0:94 Branch: Break
0:95 case: with expression
@ -567,28 +567,28 @@ ERROR: node is still EOpNull!
0:? Sequence
0:? Sequence
0:100 Branch: Break
0:102 move second child to first child (highp float)
0:102 'f' (highp float)
0:102 component-wise multiply (highp float)
0:102 component-wise multiply (highp float)
0:102 move second child to first child (temp highp float)
0:102 'f' (temp highp float)
0:102 component-wise multiply (temp highp float)
0:102 component-wise multiply (temp highp float)
0:102 'x' (smooth in highp float)
0:102 'x' (smooth in highp float)
0:102 'x' (smooth in highp float)
0:103 Test condition and select (void)
0:103 Test condition and select (temp void)
0:103 Condition
0:103 Compare Less Than (bool)
0:103 Compare Less Than (temp bool)
0:103 'c' (uniform mediump int)
0:103 'd' (uniform mediump int)
0:103 true case
0:? Sequence
0:105 move second child to first child (highp float)
0:105 'f' (highp float)
0:105 component-wise multiply (highp float)
0:105 move second child to first child (temp highp float)
0:105 'f' (temp highp float)
0:105 component-wise multiply (temp highp float)
0:105 'x' (smooth in highp float)
0:105 'x' (smooth in highp float)
0:107 Test condition and select (void)
0:107 Test condition and select (temp void)
0:107 Condition
0:107 Compare Less Than (bool)
0:107 Compare Less Than (temp bool)
0:107 'd' (uniform mediump int)
0:107 'c' (uniform mediump int)
0:107 true case is null
@ -598,14 +598,14 @@ ERROR: node is still EOpNull!
0:112 Constant:
0:112 4 (const int)
0:? Sequence
0:113 move second child to first child (highp float)
0:113 'f' (highp float)
0:113 tangent (highp float)
0:113 move second child to first child (temp highp float)
0:113 'f' (temp highp float)
0:113 tangent (global highp float)
0:113 'x' (smooth in highp float)
0:114 Test condition and select (void)
0:114 Test condition and select (temp void)
0:114 Condition
0:114 Compare Less Than (bool)
0:114 'f' (highp float)
0:114 Compare Less Than (temp bool)
0:114 'f' (temp highp float)
0:114 Constant:
0:114 0.000000
0:114 true case is null
@ -619,11 +619,11 @@ ERROR: node is still EOpNull!
0:123 default:
0:? Sequence
0:124 Sequence
0:124 move second child to first child (mediump int)
0:124 'onlyInSwitch' (mediump int)
0:124 move second child to first child (temp mediump int)
0:124 'onlyInSwitch' (temp mediump int)
0:124 Constant:
0:124 0 (const int)
0:126 'onlyInSwitch' (float)
0:126 'onlyInSwitch' (temp float)
0:128 switch
0:128 condition
0:128 Constant:
@ -646,7 +646,7 @@ ERROR: node is still EOpNull!
0:139 Constant:
0:139 2 (const int)
0:? Sequence
0:140 'nestedX' (float)
0:140 'nestedX' (temp float)
0:143 Branch: Break
0:144 case: with expression
0:144 Constant:
@ -658,9 +658,9 @@ ERROR: node is still EOpNull!
0:147 4 (const int)
0:? Sequence
0:148 Sequence
0:148 move second child to first child (mediump int)
0:148 'linearY' (mediump int)
0:148 'linearZ' (mediump int)
0:148 move second child to first child (temp mediump int)
0:148 'linearY' (temp mediump int)
0:148 'linearZ' (temp mediump int)
0:149 Branch: Break
0:150 case: with expression
0:150 Constant:
@ -673,7 +673,7 @@ ERROR: node is still EOpNull!
0:? Sequence
0:154 Constant:
0:154 4 (const int)
0:156 'nestedZ' (float)
0:156 'nestedZ' (temp float)
0:? Linker Objects
0:? 'c' (uniform mediump int)
0:? 'd' (uniform mediump int)