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:
parent
a32d8f620d
commit
fc51d284aa
41 changed files with 1092 additions and 967 deletions
|
|
@ -14,7 +14,7 @@ Shader version: 100
|
|||
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 Function Call: texture2D(s21;vf2; (global lowp 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
|
||||
|
|
@ -50,7 +50,7 @@ Shader version: 100
|
|||
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 Function Call: texture2D(s21;vf2; (global lowp 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue