mirror of
https://github.com/RPCS3/glslang.git
synced 2025-01-01 16:08:23 +00:00
fc51d284aa
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.
116 lines
5.0 KiB
Plaintext
116 lines
5.0 KiB
Plaintext
test.frag
|
|
Shader version: 110
|
|
0:? Sequence
|
|
0:13 Function Definition: main( (global void)
|
|
0:13 Function Parameters:
|
|
0:15 Sequence
|
|
0:15 Sequence
|
|
0:15 move second child to first child (temp float)
|
|
0:15 'blendscale' (temp float)
|
|
0:15 Constant:
|
|
0:15 1.789000
|
|
0:17 Sequence
|
|
0:17 move second child to first child (temp 4-component vector of float)
|
|
0:17 'v' (temp 4-component vector of float)
|
|
0:17 vector swizzle (temp 4-component vector of float)
|
|
0:17 texture (global 4-component vector of float)
|
|
0:17 'texSampler2D' (uniform sampler2D)
|
|
0:17 divide (temp 2-component vector of float)
|
|
0:17 add (temp 2-component vector of float)
|
|
0:17 't' (smooth in 2-component vector of float)
|
|
0:17 'scale' (uniform 2-component vector of float)
|
|
0:17 'scale' (uniform 2-component vector of float)
|
|
0:17 Sequence
|
|
0:17 Constant:
|
|
0:17 3 (const int)
|
|
0:17 Constant:
|
|
0:17 2 (const int)
|
|
0:17 Constant:
|
|
0:17 1 (const int)
|
|
0:17 Constant:
|
|
0:17 0 (const int)
|
|
0:19 Sequence
|
|
0:19 move second child to first child (temp 4-component vector of float)
|
|
0:19 'w' (temp 4-component vector of float)
|
|
0:19 add (temp 4-component vector of float)
|
|
0:19 texture (global 4-component vector of float)
|
|
0:19 'texSampler3D' (uniform sampler3D)
|
|
0:19 'coords' (smooth in 3-component vector of float)
|
|
0:19 'v' (temp 4-component vector of float)
|
|
0:21 move second child to first child (temp 4-component vector of float)
|
|
0:21 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
|
0:21 mix (global 4-component vector of float)
|
|
0:21 'w' (temp 4-component vector of float)
|
|
0:21 'u' (uniform 4-component vector of float)
|
|
0:21 component-wise multiply (temp float)
|
|
0:21 'blend' (uniform float)
|
|
0:21 'blendscale' (temp float)
|
|
0:? Linker Objects
|
|
0:? 'texSampler2D' (uniform sampler2D)
|
|
0:? 'texSampler3D' (uniform sampler3D)
|
|
0:? 'blend' (uniform float)
|
|
0:? 'scale' (uniform 2-component vector of float)
|
|
0:? 'u' (uniform 4-component vector of float)
|
|
0:? 't' (smooth in 2-component vector of float)
|
|
0:? 'coords' (smooth in 3-component vector of float)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 110
|
|
0:? Sequence
|
|
0:13 Function Definition: main( (global void)
|
|
0:13 Function Parameters:
|
|
0:15 Sequence
|
|
0:15 Sequence
|
|
0:15 move second child to first child (temp float)
|
|
0:15 'blendscale' (temp float)
|
|
0:15 Constant:
|
|
0:15 1.789000
|
|
0:17 Sequence
|
|
0:17 move second child to first child (temp 4-component vector of float)
|
|
0:17 'v' (temp 4-component vector of float)
|
|
0:17 vector swizzle (temp 4-component vector of float)
|
|
0:17 texture (global 4-component vector of float)
|
|
0:17 'texSampler2D' (uniform sampler2D)
|
|
0:17 divide (temp 2-component vector of float)
|
|
0:17 add (temp 2-component vector of float)
|
|
0:17 't' (smooth in 2-component vector of float)
|
|
0:17 'scale' (uniform 2-component vector of float)
|
|
0:17 'scale' (uniform 2-component vector of float)
|
|
0:17 Sequence
|
|
0:17 Constant:
|
|
0:17 3 (const int)
|
|
0:17 Constant:
|
|
0:17 2 (const int)
|
|
0:17 Constant:
|
|
0:17 1 (const int)
|
|
0:17 Constant:
|
|
0:17 0 (const int)
|
|
0:19 Sequence
|
|
0:19 move second child to first child (temp 4-component vector of float)
|
|
0:19 'w' (temp 4-component vector of float)
|
|
0:19 add (temp 4-component vector of float)
|
|
0:19 texture (global 4-component vector of float)
|
|
0:19 'texSampler3D' (uniform sampler3D)
|
|
0:19 'coords' (smooth in 3-component vector of float)
|
|
0:19 'v' (temp 4-component vector of float)
|
|
0:21 move second child to first child (temp 4-component vector of float)
|
|
0:21 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
|
0:21 mix (global 4-component vector of float)
|
|
0:21 'w' (temp 4-component vector of float)
|
|
0:21 'u' (uniform 4-component vector of float)
|
|
0:21 component-wise multiply (temp float)
|
|
0:21 'blend' (uniform float)
|
|
0:21 'blendscale' (temp float)
|
|
0:? Linker Objects
|
|
0:? 'texSampler2D' (uniform sampler2D)
|
|
0:? 'texSampler3D' (uniform sampler3D)
|
|
0:? 'blend' (uniform float)
|
|
0:? 'scale' (uniform 2-component vector of float)
|
|
0:? 'u' (uniform 4-component vector of float)
|
|
0:? 't' (smooth in 2-component vector of float)
|
|
0:? 'coords' (smooth in 3-component vector of float)
|
|
|