
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.
121 lines
6.3 KiB
Plaintext
121 lines
6.3 KiB
Plaintext
varyingArray.frag
|
|
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
|
WARNING: 0:6: varying deprecated in version 130; may be removed in future release
|
|
WARNING: 0:8: varying deprecated in version 130; may be removed in future release
|
|
|
|
Shader version: 130
|
|
0:? Sequence
|
|
0:10 Function Definition: main( (global void)
|
|
0:10 Function Parameters:
|
|
0:12 Sequence
|
|
0:12 Sequence
|
|
0:12 move second child to first child (temp 4-component vector of float)
|
|
0:12 'texColor' (temp 4-component vector of float)
|
|
0:12 texture (global 4-component vector of float)
|
|
0:12 'texSampler2D' (uniform sampler2D)
|
|
0:12 Construct vec2 (temp 2-component vector of float)
|
|
0:12 add (temp 4-component vector of float)
|
|
0:12 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:12 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:12 Constant:
|
|
0:12 4 (const int)
|
|
0:12 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:12 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:12 Constant:
|
|
0:12 5 (const int)
|
|
0:14 add second child into first child (temp 4-component vector of float)
|
|
0:14 'texColor' (temp 4-component vector of float)
|
|
0:14 'color' (smooth in 4-component vector of float)
|
|
0:16 move second child to first child (temp float)
|
|
0:16 direct index (temp float)
|
|
0:16 'texColor' (temp 4-component vector of float)
|
|
0:16 Constant:
|
|
0:16 3 (const int)
|
|
0:16 'alpha' (smooth in float)
|
|
0:18 move second child to first child (temp 4-component vector of float)
|
|
0:18 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
|
0:18 add (temp 4-component vector of float)
|
|
0:18 add (temp 4-component vector of float)
|
|
0:18 add (temp 4-component vector of float)
|
|
0:18 direct index (smooth temp 4-component vector of float)
|
|
0:18 'foo' (smooth in 3-element array of 4-component vector of float)
|
|
0:18 Constant:
|
|
0:18 1 (const int)
|
|
0:18 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:18 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:18 Constant:
|
|
0:18 0 (const int)
|
|
0:18 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:18 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:18 Constant:
|
|
0:18 4 (const int)
|
|
0:18 'texColor' (temp 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'texSampler2D' (uniform sampler2D)
|
|
0:? 'color' (smooth in 4-component vector of float)
|
|
0:? 'alpha' (smooth in float)
|
|
0:? 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:? 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:? 'foo' (smooth in 3-element array of 4-component vector of float)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 130
|
|
0:? Sequence
|
|
0:10 Function Definition: main( (global void)
|
|
0:10 Function Parameters:
|
|
0:12 Sequence
|
|
0:12 Sequence
|
|
0:12 move second child to first child (temp 4-component vector of float)
|
|
0:12 'texColor' (temp 4-component vector of float)
|
|
0:12 texture (global 4-component vector of float)
|
|
0:12 'texSampler2D' (uniform sampler2D)
|
|
0:12 Construct vec2 (temp 2-component vector of float)
|
|
0:12 add (temp 4-component vector of float)
|
|
0:12 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:12 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:12 Constant:
|
|
0:12 4 (const int)
|
|
0:12 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:12 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:12 Constant:
|
|
0:12 5 (const int)
|
|
0:14 add second child into first child (temp 4-component vector of float)
|
|
0:14 'texColor' (temp 4-component vector of float)
|
|
0:14 'color' (smooth in 4-component vector of float)
|
|
0:16 move second child to first child (temp float)
|
|
0:16 direct index (temp float)
|
|
0:16 'texColor' (temp 4-component vector of float)
|
|
0:16 Constant:
|
|
0:16 3 (const int)
|
|
0:16 'alpha' (smooth in float)
|
|
0:18 move second child to first child (temp 4-component vector of float)
|
|
0:18 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
|
0:18 add (temp 4-component vector of float)
|
|
0:18 add (temp 4-component vector of float)
|
|
0:18 add (temp 4-component vector of float)
|
|
0:18 direct index (smooth temp 4-component vector of float)
|
|
0:18 'foo' (smooth in 3-element array of 4-component vector of float)
|
|
0:18 Constant:
|
|
0:18 1 (const int)
|
|
0:18 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:18 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:18 Constant:
|
|
0:18 0 (const int)
|
|
0:18 direct index (smooth temp 4-component vector of float TexCoord)
|
|
0:18 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:18 Constant:
|
|
0:18 4 (const int)
|
|
0:18 'texColor' (temp 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'texSampler2D' (uniform sampler2D)
|
|
0:? 'color' (smooth in 4-component vector of float)
|
|
0:? 'alpha' (smooth in float)
|
|
0:? 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:? 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float TexCoord)
|
|
0:? 'foo' (smooth in 3-element array of 4-component vector of float)
|
|
|