glslang/Test/baseResults/pointCoord.frag.out
John Kessenich fc51d284aa Backward incompatible: Turn on PureOperatorBuiltins: use only enum-based built-in functions in the AST.
If this breaks your AST consumer, best is to modify it to test
against the enum values instead of doing string comparisons on
built-in function names.  This is the reason the change was made.

If you need the old behavior, you should be able to get it back by changing
PureOperatorBuiltins to be false instead of true.  This path will work for
a while, but is marked deprecated.

Also, the old behavior is tagged as release 2.4.
2015-08-19 13:43:25 -06:00

70 lines
2.8 KiB
Plaintext

pointCoord.frag
Shader version: 100
0:? Sequence
0:5 Function Definition: main( (global void)
0:5 Function Parameters:
0:? Sequence
0:9 Test condition and select (temp void)
0:9 Condition
0:9 Compare Less Than (temp bool)
0:9 length (global mediump float)
0:9 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float PointCoord)
0:9 Constant:
0:9 0.300000
0:9 true case
0:10 move second child to first child (temp highp 4-component vector of float)
0:10 'color' (temp highp 4-component vector of float)
0:10 texture (global lowp 4-component vector of float)
0:10 'sampler' (uniform lowp sampler2D)
0:10 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float PointCoord)
0:9 false case
0:12 move second child to first child (temp highp 4-component vector of float)
0:12 'color' (temp highp 4-component vector of float)
0:12 Constant:
0:12 0.000000
0:12 0.000000
0:12 0.000000
0:12 0.000000
0:14 move second child to first child (temp highp 4-component vector of float)
0:14 'gl_FragColor' (fragColor mediump 4-component vector of float FragColor)
0:14 'color' (temp highp 4-component vector of float)
0:? Linker Objects
0:? 'sampler' (uniform lowp sampler2D)
Linked fragment stage:
Shader version: 100
0:? Sequence
0:5 Function Definition: main( (global void)
0:5 Function Parameters:
0:? Sequence
0:9 Test condition and select (temp void)
0:9 Condition
0:9 Compare Less Than (temp bool)
0:9 length (global mediump float)
0:9 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float PointCoord)
0:9 Constant:
0:9 0.300000
0:9 true case
0:10 move second child to first child (temp highp 4-component vector of float)
0:10 'color' (temp highp 4-component vector of float)
0:10 texture (global lowp 4-component vector of float)
0:10 'sampler' (uniform lowp sampler2D)
0:10 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float PointCoord)
0:9 false case
0:12 move second child to first child (temp highp 4-component vector of float)
0:12 'color' (temp highp 4-component vector of float)
0:12 Constant:
0:12 0.000000
0:12 0.000000
0:12 0.000000
0:12 0.000000
0:14 move second child to first child (temp highp 4-component vector of float)
0:14 'gl_FragColor' (fragColor mediump 4-component vector of float FragColor)
0:14 'color' (temp highp 4-component vector of float)
0:? Linker Objects
0:? 'sampler' (uniform lowp sampler2D)