../../LunarGLASS/test/forLoop.frag\r
\r
-Shader version: 120\r
+Shader version: 130\r
0:? Sequence\r
-0:8 Function Definition: main( (void)\r
-0:8 Function Parameters: \r
-0:10 Sequence\r
-0:10 Sequence\r
-0:10 move second child to first child (4-component vector of float)\r
-0:10 'color' (4-component vector of float)\r
-0:10 'BaseColor' (smooth in 4-component vector of float)\r
-0:12 Sequence\r
-0:12 Sequence\r
-0:12 move second child to first child (int)\r
-0:12 'i' (int)\r
-0:12 Constant:\r
-0:12 0 (const int)\r
-0:12 Loop with condition tested first\r
-0:12 Loop Condition\r
-0:12 Compare Less Than (bool)\r
-0:12 'i' (int)\r
-0:12 'Count' (uniform int)\r
-0:12 Loop Body\r
-0:13 Sequence\r
-0:13 add second child into first child (4-component vector of float)\r
-0:13 'color' (4-component vector of float)\r
-0:13 'bigColor' (uniform 4-component vector of float)\r
-0:12 Loop Terminal Expression\r
-0:12 Pre-Increment (int)\r
-0:12 'i' (int)\r
-0:16 move second child to first child (4-component vector of float)\r
-0:16 'gl_FragColor' (fragColor 4-component vector of float)\r
-0:16 'color' (4-component vector of float)\r
+0:9 Function Definition: main( (void)\r
+0:9 Function Parameters: \r
+0:11 Sequence\r
+0:11 Sequence\r
+0:11 move second child to first child (4-component vector of float)\r
+0:11 'color' (4-component vector of float)\r
+0:11 'BaseColor' (smooth in 4-component vector of float)\r
+0:13 Sequence\r
+0:13 Sequence\r
+0:13 move second child to first child (int)\r
+0:13 'i' (int)\r
+0:13 Constant:\r
+0:13 0 (const int)\r
+0:13 Loop with condition tested first\r
+0:13 Loop Condition\r
+0:13 Compare Less Than (bool)\r
+0:13 'i' (int)\r
+0:13 'Count' (uniform int)\r
+0:13 Loop Body\r
+0:14 Sequence\r
+0:14 add second child into first child (4-component vector of float)\r
+0:14 'color' (4-component vector of float)\r
+0:14 'bigColor' (uniform 4-component vector of float)\r
+0:13 Loop Terminal Expression\r
+0:13 Pre-Increment (int)\r
+0:13 'i' (int)\r
+0:17 move second child to first child (4-component vector of float)\r
+0:17 'gl_FragColor' (fragColor 4-component vector of float)\r
+0:17 'color' (4-component vector of float)\r
+0:19 Sequence\r
+0:19 move second child to first child (float)\r
+0:19 'sum' (float)\r
+0:19 Constant:\r
+0:19 0.000000\r
+0:20 Sequence\r
+0:20 Sequence\r
+0:20 move second child to first child (int)\r
+0:20 'i' (int)\r
+0:20 Constant:\r
+0:20 0 (const int)\r
+0:20 Loop with condition tested first\r
+0:20 Loop Condition\r
+0:20 Compare Less Than (bool)\r
+0:20 'i' (int)\r
+0:20 Constant:\r
+0:20 4 (const int)\r
+0:20 Loop Body\r
+0:21 add second child into first child (float)\r
+0:21 'sum' (float)\r
+0:21 Convert uint to float (float)\r
+0:21 indirect index (uint)\r
+0:21 'v4' (uniform 4-component vector of uint)\r
+0:21 'i' (int)\r
+0:20 Loop Terminal Expression\r
+0:20 Pre-Increment (int)\r
+0:20 'i' (int)\r
+0:25 Sequence\r
+0:25 Sequence\r
+0:25 move second child to first child (int)\r
+0:25 'i' (int)\r
+0:25 Constant:\r
+0:25 0 (const int)\r
+0:25 Loop with condition tested first\r
+0:25 Loop Condition\r
+0:25 Compare Less Than (bool)\r
+0:25 'i' (int)\r
+0:25 Constant:\r
+0:25 4 (const int)\r
+0:25 Loop Body\r
+0:26 move second child to first child (float)\r
+0:26 indirect index (float)\r
+0:26 'tv4' (4-component vector of float)\r
+0:26 'i' (int)\r
+0:26 Convert uint to float (float)\r
+0:26 component-wise multiply (uint)\r
+0:26 indirect index (uint)\r
+0:26 'v4' (uniform 4-component vector of uint)\r
+0:26 'i' (int)\r
+0:26 Constant:\r
+0:26 4 (const uint)\r
+0:25 Loop Terminal Expression\r
+0:25 Pre-Increment (int)\r
+0:25 'i' (int)\r
+0:28 add second child into first child (4-component vector of float)\r
+0:28 'gl_FragColor' (fragColor 4-component vector of float)\r
+0:28 add (4-component vector of float)\r
+0:28 Construct vec4 (4-component vector of float)\r
+0:28 'sum' (float)\r
+0:28 'tv4' (4-component vector of float)\r
0:? Linker Objects\r
0:? 'bigColor' (uniform 4-component vector of float)\r
0:? 'BaseColor' (smooth in 4-component vector of float)\r
0:? 'Count' (uniform int)\r
+0:? 'v4' (uniform 4-component vector of uint)\r
\r
\r
Linked fragment stage:\r
\r
\r
-Shader version: 120\r
+Shader version: 130\r
0:? Sequence\r
-0:8 Function Definition: main( (void)\r
-0:8 Function Parameters: \r
-0:10 Sequence\r
-0:10 Sequence\r
-0:10 move second child to first child (4-component vector of float)\r
-0:10 'color' (4-component vector of float)\r
-0:10 'BaseColor' (smooth in 4-component vector of float)\r
-0:12 Sequence\r
-0:12 Sequence\r
-0:12 move second child to first child (int)\r
-0:12 'i' (int)\r
-0:12 Constant:\r
-0:12 0 (const int)\r
-0:12 Loop with condition tested first\r
-0:12 Loop Condition\r
-0:12 Compare Less Than (bool)\r
-0:12 'i' (int)\r
-0:12 'Count' (uniform int)\r
-0:12 Loop Body\r
-0:13 Sequence\r
-0:13 add second child into first child (4-component vector of float)\r
-0:13 'color' (4-component vector of float)\r
-0:13 'bigColor' (uniform 4-component vector of float)\r
-0:12 Loop Terminal Expression\r
-0:12 Pre-Increment (int)\r
-0:12 'i' (int)\r
-0:16 move second child to first child (4-component vector of float)\r
-0:16 'gl_FragColor' (fragColor 4-component vector of float)\r
-0:16 'color' (4-component vector of float)\r
+0:9 Function Definition: main( (void)\r
+0:9 Function Parameters: \r
+0:11 Sequence\r
+0:11 Sequence\r
+0:11 move second child to first child (4-component vector of float)\r
+0:11 'color' (4-component vector of float)\r
+0:11 'BaseColor' (smooth in 4-component vector of float)\r
+0:13 Sequence\r
+0:13 Sequence\r
+0:13 move second child to first child (int)\r
+0:13 'i' (int)\r
+0:13 Constant:\r
+0:13 0 (const int)\r
+0:13 Loop with condition tested first\r
+0:13 Loop Condition\r
+0:13 Compare Less Than (bool)\r
+0:13 'i' (int)\r
+0:13 'Count' (uniform int)\r
+0:13 Loop Body\r
+0:14 Sequence\r
+0:14 add second child into first child (4-component vector of float)\r
+0:14 'color' (4-component vector of float)\r
+0:14 'bigColor' (uniform 4-component vector of float)\r
+0:13 Loop Terminal Expression\r
+0:13 Pre-Increment (int)\r
+0:13 'i' (int)\r
+0:17 move second child to first child (4-component vector of float)\r
+0:17 'gl_FragColor' (fragColor 4-component vector of float)\r
+0:17 'color' (4-component vector of float)\r
+0:19 Sequence\r
+0:19 move second child to first child (float)\r
+0:19 'sum' (float)\r
+0:19 Constant:\r
+0:19 0.000000\r
+0:20 Sequence\r
+0:20 Sequence\r
+0:20 move second child to first child (int)\r
+0:20 'i' (int)\r
+0:20 Constant:\r
+0:20 0 (const int)\r
+0:20 Loop with condition tested first\r
+0:20 Loop Condition\r
+0:20 Compare Less Than (bool)\r
+0:20 'i' (int)\r
+0:20 Constant:\r
+0:20 4 (const int)\r
+0:20 Loop Body\r
+0:21 add second child into first child (float)\r
+0:21 'sum' (float)\r
+0:21 Convert uint to float (float)\r
+0:21 indirect index (uint)\r
+0:21 'v4' (uniform 4-component vector of uint)\r
+0:21 'i' (int)\r
+0:20 Loop Terminal Expression\r
+0:20 Pre-Increment (int)\r
+0:20 'i' (int)\r
+0:25 Sequence\r
+0:25 Sequence\r
+0:25 move second child to first child (int)\r
+0:25 'i' (int)\r
+0:25 Constant:\r
+0:25 0 (const int)\r
+0:25 Loop with condition tested first\r
+0:25 Loop Condition\r
+0:25 Compare Less Than (bool)\r
+0:25 'i' (int)\r
+0:25 Constant:\r
+0:25 4 (const int)\r
+0:25 Loop Body\r
+0:26 move second child to first child (float)\r
+0:26 indirect index (float)\r
+0:26 'tv4' (4-component vector of float)\r
+0:26 'i' (int)\r
+0:26 Convert uint to float (float)\r
+0:26 component-wise multiply (uint)\r
+0:26 indirect index (uint)\r
+0:26 'v4' (uniform 4-component vector of uint)\r
+0:26 'i' (int)\r
+0:26 Constant:\r
+0:26 4 (const uint)\r
+0:25 Loop Terminal Expression\r
+0:25 Pre-Increment (int)\r
+0:25 'i' (int)\r
+0:28 add second child into first child (4-component vector of float)\r
+0:28 'gl_FragColor' (fragColor 4-component vector of float)\r
+0:28 add (4-component vector of float)\r
+0:28 Construct vec4 (4-component vector of float)\r
+0:28 'sum' (float)\r
+0:28 'tv4' (4-component vector of float)\r
0:? Linker Objects\r
0:? 'bigColor' (uniform 4-component vector of float)\r
0:? 'BaseColor' (smooth in 4-component vector of float)\r
0:? 'Count' (uniform int)\r
+0:? 'v4' (uniform 4-component vector of uint)\r
\r