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:
@@ -134,23 +134,23 @@ ERROR: node is still EOpNull!
|
||||
0:86 'i' (temp highp int)
|
||||
0:86 Constant:
|
||||
0:86 4 (const int)
|
||||
0:87 Function Call: imageAtomicCompSwap(iI21;vi2;i1;i1; (global highp int)
|
||||
0:87 imageAtomicCompSwap (global highp int)
|
||||
0:87 'iimg2D' (layout(r32i ) uniform highp iimage2D)
|
||||
0:87 Construct ivec2 (temp 2-component vector of int)
|
||||
0:87 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:88 Function Call: imageAtomicAdd(uI21;vi2;u1; (global highp uint)
|
||||
0:88 imageAtomicAdd (global highp uint)
|
||||
0:88 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
|
||||
0:88 Construct ivec2 (temp 2-component vector of int)
|
||||
0:88 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:88 'i' (temp highp int)
|
||||
0:88 'i' (temp highp int)
|
||||
0:88 Convert int to uint (temp uint)
|
||||
0:88 Convert int to uint (temp highp uint)
|
||||
0:88 'i' (temp highp int)
|
||||
0:89 Function Call: imageAtomicMin(iI21;vi2;i1; (global highp int)
|
||||
0:89 imageAtomicMin (global highp int)
|
||||
0:89 'iimg2Drgba' (layout(rgba32i ) readonly uniform highp iimage2D)
|
||||
0:89 Construct ivec2 (temp 2-component vector of int)
|
||||
0:89 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:89 'i' (temp highp int)
|
||||
0:89 'i' (temp highp int)
|
||||
0:89 'i' (temp highp int)
|
||||
@@ -159,12 +159,12 @@ ERROR: node is still EOpNull!
|
||||
0:91 Sequence
|
||||
0:91 move second child to first child (temp highp 4-component vector of int)
|
||||
0:91 'pos' (temp highp 4-component vector of int)
|
||||
0:91 Function Call: imageLoad(iI21;vi2; (global highp 4-component vector of int)
|
||||
0:91 imageLoad (global highp 4-component vector of int)
|
||||
0:91 'iimg2D' (layout(r32i ) uniform highp iimage2D)
|
||||
0:91 Construct ivec2 (temp 2-component vector of int)
|
||||
0:91 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:91 'i' (temp highp int)
|
||||
0:91 'i' (temp highp int)
|
||||
0:92 Function Call: imageStore(iIA21;vi3;vi4; (global highp void)
|
||||
0:92 imageStore (global highp void)
|
||||
0:92 'ii2da' (writeonly uniform highp iimage2DArray)
|
||||
0:92 Construct ivec3 (temp 3-component vector of int)
|
||||
0:92 'i' (temp highp int)
|
||||
@@ -175,14 +175,14 @@ ERROR: node is still EOpNull!
|
||||
0:92 0 (const int)
|
||||
0:92 0 (const int)
|
||||
0:92 0 (const int)
|
||||
0:93 Function Call: imageLoad(I21;vi2; (global highp 4-component vector of float)
|
||||
0:93 imageLoad (global highp 4-component vector of float)
|
||||
0:93 'img2Drgba' (layout(rgba32f ) readonly uniform lowp image2D)
|
||||
0:93 Construct ivec2 (temp 2-component vector of int)
|
||||
0:93 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:93 'i' (temp highp int)
|
||||
0:93 'i' (temp highp int)
|
||||
0:94 Function Call: imageLoad(iIA21;vi3; (global highp 4-component vector of int)
|
||||
0:94 imageLoad (global highp 4-component vector of int)
|
||||
0:94 'ii2da' (writeonly uniform highp iimage2DArray)
|
||||
0:94 Construct ivec3 (temp 3-component vector of int)
|
||||
0:94 Construct ivec3 (temp highp 3-component vector of int)
|
||||
0:94 'i' (temp highp int)
|
||||
0:94 'i' (temp highp int)
|
||||
0:94 'i' (temp highp int)
|
||||
@@ -560,23 +560,23 @@ ERROR: node is still EOpNull!
|
||||
0:86 'i' (temp highp int)
|
||||
0:86 Constant:
|
||||
0:86 4 (const int)
|
||||
0:87 Function Call: imageAtomicCompSwap(iI21;vi2;i1;i1; (global highp int)
|
||||
0:87 imageAtomicCompSwap (global highp int)
|
||||
0:87 'iimg2D' (layout(r32i ) uniform highp iimage2D)
|
||||
0:87 Construct ivec2 (temp 2-component vector of int)
|
||||
0:87 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:87 'i' (temp highp int)
|
||||
0:88 Function Call: imageAtomicAdd(uI21;vi2;u1; (global highp uint)
|
||||
0:88 imageAtomicAdd (global highp uint)
|
||||
0:88 'uimg2D' (layout(r32ui ) uniform highp uimage2D)
|
||||
0:88 Construct ivec2 (temp 2-component vector of int)
|
||||
0:88 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:88 'i' (temp highp int)
|
||||
0:88 'i' (temp highp int)
|
||||
0:88 Convert int to uint (temp uint)
|
||||
0:88 Convert int to uint (temp highp uint)
|
||||
0:88 'i' (temp highp int)
|
||||
0:89 Function Call: imageAtomicMin(iI21;vi2;i1; (global highp int)
|
||||
0:89 imageAtomicMin (global highp int)
|
||||
0:89 'iimg2Drgba' (layout(rgba32i ) readonly uniform highp iimage2D)
|
||||
0:89 Construct ivec2 (temp 2-component vector of int)
|
||||
0:89 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:89 'i' (temp highp int)
|
||||
0:89 'i' (temp highp int)
|
||||
0:89 'i' (temp highp int)
|
||||
@@ -585,12 +585,12 @@ ERROR: node is still EOpNull!
|
||||
0:91 Sequence
|
||||
0:91 move second child to first child (temp highp 4-component vector of int)
|
||||
0:91 'pos' (temp highp 4-component vector of int)
|
||||
0:91 Function Call: imageLoad(iI21;vi2; (global highp 4-component vector of int)
|
||||
0:91 imageLoad (global highp 4-component vector of int)
|
||||
0:91 'iimg2D' (layout(r32i ) uniform highp iimage2D)
|
||||
0:91 Construct ivec2 (temp 2-component vector of int)
|
||||
0:91 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:91 'i' (temp highp int)
|
||||
0:91 'i' (temp highp int)
|
||||
0:92 Function Call: imageStore(iIA21;vi3;vi4; (global highp void)
|
||||
0:92 imageStore (global highp void)
|
||||
0:92 'ii2da' (writeonly uniform highp iimage2DArray)
|
||||
0:92 Construct ivec3 (temp 3-component vector of int)
|
||||
0:92 'i' (temp highp int)
|
||||
@@ -601,14 +601,14 @@ ERROR: node is still EOpNull!
|
||||
0:92 0 (const int)
|
||||
0:92 0 (const int)
|
||||
0:92 0 (const int)
|
||||
0:93 Function Call: imageLoad(I21;vi2; (global highp 4-component vector of float)
|
||||
0:93 imageLoad (global highp 4-component vector of float)
|
||||
0:93 'img2Drgba' (layout(rgba32f ) readonly uniform lowp image2D)
|
||||
0:93 Construct ivec2 (temp 2-component vector of int)
|
||||
0:93 Construct ivec2 (temp highp 2-component vector of int)
|
||||
0:93 'i' (temp highp int)
|
||||
0:93 'i' (temp highp int)
|
||||
0:94 Function Call: imageLoad(iIA21;vi3; (global highp 4-component vector of int)
|
||||
0:94 imageLoad (global highp 4-component vector of int)
|
||||
0:94 'ii2da' (writeonly uniform highp iimage2DArray)
|
||||
0:94 Construct ivec3 (temp 3-component vector of int)
|
||||
0:94 Construct ivec3 (temp highp 3-component vector of int)
|
||||
0:94 'i' (temp highp int)
|
||||
0:94 'i' (temp highp int)
|
||||
0:94 'i' (temp highp int)
|
||||
|
||||
Reference in New Issue
Block a user