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.
This commit is contained in:
@@ -71,7 +71,7 @@ Shader version: 130
|
||||
0:29 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
||||
0:29 vector-scale (temp 4-component vector of float)
|
||||
0:29 'scale' (temp float)
|
||||
0:29 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:29 texture (global 4-component vector of float)
|
||||
0:29 'sampler' (uniform sampler2D)
|
||||
0:29 'coord' (smooth in 2-component vector of float)
|
||||
0:? Linker Objects
|
||||
@@ -154,7 +154,7 @@ Shader version: 130
|
||||
0:29 'gl_FragColor' (fragColor 4-component vector of float FragColor)
|
||||
0:29 vector-scale (temp 4-component vector of float)
|
||||
0:29 'scale' (temp float)
|
||||
0:29 Function Call: texture2D(s21;vf2; (global 4-component vector of float)
|
||||
0:29 texture (global 4-component vector of float)
|
||||
0:29 'sampler' (uniform sampler2D)
|
||||
0:29 'coord' (smooth in 2-component vector of float)
|
||||
0:? Linker Objects
|
||||
|
||||
Reference in New Issue
Block a user