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:
@@ -32,7 +32,7 @@ ERROR: node is still EOpNull!
|
||||
0:13 add second child into first child (temp int)
|
||||
0:13 'id' (temp int)
|
||||
0:13 direct index (temp int)
|
||||
0:13 Function Call: texelFetch(isB1;i1; (global 4-component vector of int)
|
||||
0:13 textureFetch (global 4-component vector of int)
|
||||
0:13 'sbuf' (uniform isamplerBuffer)
|
||||
0:13 Constant:
|
||||
0:13 8 (const int)
|
||||
@@ -57,7 +57,7 @@ ERROR: node is still EOpNull!
|
||||
0:50 Sequence
|
||||
0:50 move second child to first child (temp 4-component vector of float)
|
||||
0:50 'v' (temp 4-component vector of float)
|
||||
0:50 Function Call: texelFetch(sR21;vi2; (global 4-component vector of float)
|
||||
0:50 textureFetch (global 4-component vector of float)
|
||||
0:50 's2dr' (uniform sampler2DRect)
|
||||
0:50 'itloc2' (in 2-component vector of int)
|
||||
0:51 add second child into first child (temp 4-component vector of float)
|
||||
@@ -66,7 +66,7 @@ ERROR: node is still EOpNull!
|
||||
0:51 0.000000
|
||||
0:52 add second child into first child (temp 4-component vector of float)
|
||||
0:52 'v' (temp 4-component vector of float)
|
||||
0:52 Function Call: texture(sR21;vf2; (global 4-component vector of float)
|
||||
0:52 texture (global 4-component vector of float)
|
||||
0:52 's2dr' (uniform sampler2DRect)
|
||||
0:52 'tloc2' (in 2-component vector of float)
|
||||
0:53 add second child into first child (temp 4-component vector of float)
|
||||
@@ -75,22 +75,22 @@ ERROR: node is still EOpNull!
|
||||
0:53 0.000000
|
||||
0:54 add second child into first child (temp 4-component vector of float)
|
||||
0:54 'v' (temp 4-component vector of float)
|
||||
0:54 Function Call: texture(sSR21;vf3; (global float)
|
||||
0:54 texture (global float)
|
||||
0:54 's2drs' (uniform sampler2DRectShadow)
|
||||
0:54 'tloc3' (in 3-component vector of float)
|
||||
0:55 add second child into first child (temp 4-component vector of float)
|
||||
0:55 'v' (temp 4-component vector of float)
|
||||
0:55 Function Call: textureProj(sR21;vf3; (global 4-component vector of float)
|
||||
0:55 textureProj (global 4-component vector of float)
|
||||
0:55 's2dr' (uniform sampler2DRect)
|
||||
0:55 'tloc3' (in 3-component vector of float)
|
||||
0:56 add second child into first child (temp 4-component vector of float)
|
||||
0:56 'v' (temp 4-component vector of float)
|
||||
0:56 Function Call: textureProj(sR21;vf4; (global 4-component vector of float)
|
||||
0:56 textureProj (global 4-component vector of float)
|
||||
0:56 's2dr' (uniform sampler2DRect)
|
||||
0:56 'tloc4' (in 4-component vector of float)
|
||||
0:57 add second child into first child (temp 4-component vector of float)
|
||||
0:57 'v' (temp 4-component vector of float)
|
||||
0:57 Function Call: textureProjGradOffset(sR21;vf4;vf2;vf2;vi2; (global 4-component vector of float)
|
||||
0:57 textureProjGradOffset (global 4-component vector of float)
|
||||
0:57 's2dr' (uniform sampler2DRect)
|
||||
0:57 'tloc4' (in 4-component vector of float)
|
||||
0:57 Constant:
|
||||
@@ -104,7 +104,7 @@ ERROR: node is still EOpNull!
|
||||
0:57 2 (const int)
|
||||
0:58 add second child into first child (temp 4-component vector of float)
|
||||
0:58 'v' (temp 4-component vector of float)
|
||||
0:58 Function Call: textureProjGradOffset(sSR21;vf4;vf2;vf2;vi2; (global float)
|
||||
0:58 textureProjGradOffset (global float)
|
||||
0:58 's2drs' (uniform sampler2DRectShadow)
|
||||
0:58 'tloc4' (in 4-component vector of float)
|
||||
0:58 Constant:
|
||||
@@ -162,7 +162,7 @@ ERROR: node is still EOpNull!
|
||||
0:13 add second child into first child (temp int)
|
||||
0:13 'id' (temp int)
|
||||
0:13 direct index (temp int)
|
||||
0:13 Function Call: texelFetch(isB1;i1; (global 4-component vector of int)
|
||||
0:13 textureFetch (global 4-component vector of int)
|
||||
0:13 'sbuf' (uniform isamplerBuffer)
|
||||
0:13 Constant:
|
||||
0:13 8 (const int)
|
||||
@@ -187,7 +187,7 @@ ERROR: node is still EOpNull!
|
||||
0:50 Sequence
|
||||
0:50 move second child to first child (temp 4-component vector of float)
|
||||
0:50 'v' (temp 4-component vector of float)
|
||||
0:50 Function Call: texelFetch(sR21;vi2; (global 4-component vector of float)
|
||||
0:50 textureFetch (global 4-component vector of float)
|
||||
0:50 's2dr' (uniform sampler2DRect)
|
||||
0:50 'itloc2' (in 2-component vector of int)
|
||||
0:51 add second child into first child (temp 4-component vector of float)
|
||||
@@ -196,7 +196,7 @@ ERROR: node is still EOpNull!
|
||||
0:51 0.000000
|
||||
0:52 add second child into first child (temp 4-component vector of float)
|
||||
0:52 'v' (temp 4-component vector of float)
|
||||
0:52 Function Call: texture(sR21;vf2; (global 4-component vector of float)
|
||||
0:52 texture (global 4-component vector of float)
|
||||
0:52 's2dr' (uniform sampler2DRect)
|
||||
0:52 'tloc2' (in 2-component vector of float)
|
||||
0:53 add second child into first child (temp 4-component vector of float)
|
||||
@@ -205,22 +205,22 @@ ERROR: node is still EOpNull!
|
||||
0:53 0.000000
|
||||
0:54 add second child into first child (temp 4-component vector of float)
|
||||
0:54 'v' (temp 4-component vector of float)
|
||||
0:54 Function Call: texture(sSR21;vf3; (global float)
|
||||
0:54 texture (global float)
|
||||
0:54 's2drs' (uniform sampler2DRectShadow)
|
||||
0:54 'tloc3' (in 3-component vector of float)
|
||||
0:55 add second child into first child (temp 4-component vector of float)
|
||||
0:55 'v' (temp 4-component vector of float)
|
||||
0:55 Function Call: textureProj(sR21;vf3; (global 4-component vector of float)
|
||||
0:55 textureProj (global 4-component vector of float)
|
||||
0:55 's2dr' (uniform sampler2DRect)
|
||||
0:55 'tloc3' (in 3-component vector of float)
|
||||
0:56 add second child into first child (temp 4-component vector of float)
|
||||
0:56 'v' (temp 4-component vector of float)
|
||||
0:56 Function Call: textureProj(sR21;vf4; (global 4-component vector of float)
|
||||
0:56 textureProj (global 4-component vector of float)
|
||||
0:56 's2dr' (uniform sampler2DRect)
|
||||
0:56 'tloc4' (in 4-component vector of float)
|
||||
0:57 add second child into first child (temp 4-component vector of float)
|
||||
0:57 'v' (temp 4-component vector of float)
|
||||
0:57 Function Call: textureProjGradOffset(sR21;vf4;vf2;vf2;vi2; (global 4-component vector of float)
|
||||
0:57 textureProjGradOffset (global 4-component vector of float)
|
||||
0:57 's2dr' (uniform sampler2DRect)
|
||||
0:57 'tloc4' (in 4-component vector of float)
|
||||
0:57 Constant:
|
||||
@@ -234,7 +234,7 @@ ERROR: node is still EOpNull!
|
||||
0:57 2 (const int)
|
||||
0:58 add second child into first child (temp 4-component vector of float)
|
||||
0:58 'v' (temp 4-component vector of float)
|
||||
0:58 Function Call: textureProjGradOffset(sSR21;vf4;vf2;vf2;vi2; (global float)
|
||||
0:58 textureProjGradOffset (global float)
|
||||
0:58 's2drs' (uniform sampler2DRectShadow)
|
||||
0:58 'tloc4' (in 4-component vector of float)
|
||||
0:58 Constant:
|
||||
|
||||
Reference in New Issue
Block a user