mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-24 04:04:58 +00:00
cf0206c341
r26245: Remove "not yet complete" warning for versions 130 and 140, after tidying up a bit and adding tests. Token pasting is the only known missing feature, and gives its own message now on use. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26226 e7fa87d3-cd2b-0410-9028-fcbf551c1848
184 lines
6.3 KiB
Plaintext
184 lines
6.3 KiB
Plaintext
../../LunarGLASS/test/functionCall.frag
|
|
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
|
|
|
Shader version: 130
|
|
0:? Sequence
|
|
0:7 Sequence
|
|
0:7 move second child to first child (float)
|
|
0:7 'h' (float)
|
|
0:7 Constant:
|
|
0:7 0.000000
|
|
0:9 Function Definition: foo(vf4; (float)
|
|
0:9 Function Parameters:
|
|
0:9 'bar' (in 4-component vector of float)
|
|
0:11 Sequence
|
|
0:11 Branch: Return with expression
|
|
0:11 add (float)
|
|
0:11 direct index (float)
|
|
0:11 'bar' (in 4-component vector of float)
|
|
0:11 Constant:
|
|
0:11 0 (const int)
|
|
0:11 direct index (float)
|
|
0:11 'bar' (in 4-component vector of float)
|
|
0:11 Constant:
|
|
0:11 1 (const int)
|
|
0:14 Function Definition: bar( (void)
|
|
0:14 Function Parameters:
|
|
0:18 Function Definition: unreachableReturn( (float)
|
|
0:18 Function Parameters:
|
|
0:20 Sequence
|
|
0:20 Test condition and select (void)
|
|
0:20 Condition
|
|
0:20 Compare Less Than (bool)
|
|
0:20 'd' (uniform float)
|
|
0:20 Constant:
|
|
0:20 4.200000
|
|
0:20 true case
|
|
0:21 Branch: Return with expression
|
|
0:21 Constant:
|
|
0:21 1.200000
|
|
0:20 false case
|
|
0:23 Branch: Return with expression
|
|
0:23 Constant:
|
|
0:23 4.500000
|
|
0:27 Function Definition: missingReturn( (float)
|
|
0:27 Function Parameters:
|
|
0:29 Sequence
|
|
0:29 Test condition and select (void)
|
|
0:29 Condition
|
|
0:29 Compare Less Than (bool)
|
|
0:29 'd' (uniform float)
|
|
0:29 Constant:
|
|
0:29 4.500000
|
|
0:29 true case
|
|
0:30 Sequence
|
|
0:30 move second child to first child (float)
|
|
0:30 'h' (float)
|
|
0:30 'd' (uniform float)
|
|
0:31 Branch: Return with expression
|
|
0:31 Constant:
|
|
0:31 3.900000
|
|
0:35 Function Definition: main( (void)
|
|
0:35 Function Parameters:
|
|
0:37 Sequence
|
|
0:37 Sequence
|
|
0:37 move second child to first child (4-component vector of float)
|
|
0:37 'color' (4-component vector of float)
|
|
0:37 Construct vec4 (4-component vector of float)
|
|
0:37 Function Call: foo(vf4; (float)
|
|
0:37 'BaseColor' (smooth in 4-component vector of float)
|
|
0:39 Function Call: bar( (void)
|
|
0:40 Sequence
|
|
0:40 move second child to first child (float)
|
|
0:40 'f' (float)
|
|
0:40 Function Call: unreachableReturn( (float)
|
|
0:41 Sequence
|
|
0:41 move second child to first child (float)
|
|
0:41 'g' (float)
|
|
0:41 Function Call: missingReturn( (float)
|
|
0:43 move second child to first child (4-component vector of float)
|
|
0:43 'gl_FragColor' (fragColor 4-component vector of float)
|
|
0:43 vector-scale (4-component vector of float)
|
|
0:43 vector-scale (4-component vector of float)
|
|
0:43 'color' (4-component vector of float)
|
|
0:43 'f' (float)
|
|
0:43 'h' (float)
|
|
0:? Linker Objects
|
|
0:? 'bigColor' (uniform 4-component vector of float)
|
|
0:? 'BaseColor' (smooth in 4-component vector of float)
|
|
0:? 'd' (uniform float)
|
|
0:? 'h' (float)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 130
|
|
0:? Sequence
|
|
0:7 Sequence
|
|
0:7 move second child to first child (float)
|
|
0:7 'h' (float)
|
|
0:7 Constant:
|
|
0:7 0.000000
|
|
0:9 Function Definition: foo(vf4; (float)
|
|
0:9 Function Parameters:
|
|
0:9 'bar' (in 4-component vector of float)
|
|
0:11 Sequence
|
|
0:11 Branch: Return with expression
|
|
0:11 add (float)
|
|
0:11 direct index (float)
|
|
0:11 'bar' (in 4-component vector of float)
|
|
0:11 Constant:
|
|
0:11 0 (const int)
|
|
0:11 direct index (float)
|
|
0:11 'bar' (in 4-component vector of float)
|
|
0:11 Constant:
|
|
0:11 1 (const int)
|
|
0:14 Function Definition: bar( (void)
|
|
0:14 Function Parameters:
|
|
0:18 Function Definition: unreachableReturn( (float)
|
|
0:18 Function Parameters:
|
|
0:20 Sequence
|
|
0:20 Test condition and select (void)
|
|
0:20 Condition
|
|
0:20 Compare Less Than (bool)
|
|
0:20 'd' (uniform float)
|
|
0:20 Constant:
|
|
0:20 4.200000
|
|
0:20 true case
|
|
0:21 Branch: Return with expression
|
|
0:21 Constant:
|
|
0:21 1.200000
|
|
0:20 false case
|
|
0:23 Branch: Return with expression
|
|
0:23 Constant:
|
|
0:23 4.500000
|
|
0:27 Function Definition: missingReturn( (float)
|
|
0:27 Function Parameters:
|
|
0:29 Sequence
|
|
0:29 Test condition and select (void)
|
|
0:29 Condition
|
|
0:29 Compare Less Than (bool)
|
|
0:29 'd' (uniform float)
|
|
0:29 Constant:
|
|
0:29 4.500000
|
|
0:29 true case
|
|
0:30 Sequence
|
|
0:30 move second child to first child (float)
|
|
0:30 'h' (float)
|
|
0:30 'd' (uniform float)
|
|
0:31 Branch: Return with expression
|
|
0:31 Constant:
|
|
0:31 3.900000
|
|
0:35 Function Definition: main( (void)
|
|
0:35 Function Parameters:
|
|
0:37 Sequence
|
|
0:37 Sequence
|
|
0:37 move second child to first child (4-component vector of float)
|
|
0:37 'color' (4-component vector of float)
|
|
0:37 Construct vec4 (4-component vector of float)
|
|
0:37 Function Call: foo(vf4; (float)
|
|
0:37 'BaseColor' (smooth in 4-component vector of float)
|
|
0:39 Function Call: bar( (void)
|
|
0:40 Sequence
|
|
0:40 move second child to first child (float)
|
|
0:40 'f' (float)
|
|
0:40 Function Call: unreachableReturn( (float)
|
|
0:41 Sequence
|
|
0:41 move second child to first child (float)
|
|
0:41 'g' (float)
|
|
0:41 Function Call: missingReturn( (float)
|
|
0:43 move second child to first child (4-component vector of float)
|
|
0:43 'gl_FragColor' (fragColor 4-component vector of float)
|
|
0:43 vector-scale (4-component vector of float)
|
|
0:43 vector-scale (4-component vector of float)
|
|
0:43 'color' (4-component vector of float)
|
|
0:43 'f' (float)
|
|
0:43 'h' (float)
|
|
0:? Linker Objects
|
|
0:? 'bigColor' (uniform 4-component vector of float)
|
|
0:? 'BaseColor' (smooth in 4-component vector of float)
|
|
0:? 'd' (uniform float)
|
|
0:? 'h' (float)
|
|
|