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
|
|
@ -13,21 +13,21 @@ ERROR: node is still EOpNull!
|
|||
0:20 Sequence
|
||||
0:20 move second child to first child (temp highp 4-component vector of float)
|
||||
0:20 't' (temp highp 4-component vector of float)
|
||||
0:20 Function Call: texture(s21;vf2; (global highp 4-component vector of float)
|
||||
0:20 texture (global highp 4-component vector of float)
|
||||
0:20 's2D' (uniform lowp sampler2D)
|
||||
0:20 Constant:
|
||||
0:20 0.100000
|
||||
0:20 0.200000
|
||||
0:21 add second child into first child (temp highp 4-component vector of float)
|
||||
0:21 't' (temp highp 4-component vector of float)
|
||||
0:21 Function Call: texture(s21;vf2; (global highp 4-component vector of float)
|
||||
0:21 texture (global highp 4-component vector of float)
|
||||
0:21 's2Dhigh' (uniform highp sampler2D)
|
||||
0:21 Constant:
|
||||
0:21 0.100000
|
||||
0:21 0.200000
|
||||
0:22 add second child into first child (temp highp 4-component vector of float)
|
||||
0:22 't' (temp highp 4-component vector of float)
|
||||
0:22 Function Call: texture(sAS21;vf4; (global highp float)
|
||||
0:22 texture (global highp float)
|
||||
0:22 's2dAS' (uniform mediump sampler2DArrayShadow)
|
||||
0:22 Constant:
|
||||
0:22 0.500000
|
||||
|
|
@ -61,21 +61,21 @@ ERROR: node is still EOpNull!
|
|||
0:20 Sequence
|
||||
0:20 move second child to first child (temp highp 4-component vector of float)
|
||||
0:20 't' (temp highp 4-component vector of float)
|
||||
0:20 Function Call: texture(s21;vf2; (global highp 4-component vector of float)
|
||||
0:20 texture (global highp 4-component vector of float)
|
||||
0:20 's2D' (uniform lowp sampler2D)
|
||||
0:20 Constant:
|
||||
0:20 0.100000
|
||||
0:20 0.200000
|
||||
0:21 add second child into first child (temp highp 4-component vector of float)
|
||||
0:21 't' (temp highp 4-component vector of float)
|
||||
0:21 Function Call: texture(s21;vf2; (global highp 4-component vector of float)
|
||||
0:21 texture (global highp 4-component vector of float)
|
||||
0:21 's2Dhigh' (uniform highp sampler2D)
|
||||
0:21 Constant:
|
||||
0:21 0.100000
|
||||
0:21 0.200000
|
||||
0:22 add second child into first child (temp highp 4-component vector of float)
|
||||
0:22 't' (temp highp 4-component vector of float)
|
||||
0:22 Function Call: texture(sAS21;vf4; (global highp float)
|
||||
0:22 texture (global highp float)
|
||||
0:22 's2dAS' (uniform mediump sampler2DArrayShadow)
|
||||
0:22 Constant:
|
||||
0:22 0.500000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue