Add more TOperator: fma/frexp/ldexp, AddCarry/SubBorrow/MulExtended/Bit*/Find*, (un)pack4x8/2x32, ftransform.

Also corrects some existing ones missing the "Op" part of their name.
This commit is contained in:
John Kessenich 2015-08-18 17:00:37 -06:00
parent f5b2c06b32
commit e88217b7d8
11 changed files with 326 additions and 241 deletions

View file

@ -107,29 +107,29 @@ ERROR: node is still EOpNull!
0:? Sequence
0:15 move second child to first child (temp highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:15 Function Call: uaddCarry(vu2;vu2;vu2; (global highp 2-component vector of uint)
0:15 addCarry (global highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:17 move second child to first child (temp highp uint)
0:17 'u1' (temp highp uint)
0:17 Function Call: usubBorrow(u1;u1;u1; (global highp uint)
0:17 subBorrow (global highp uint)
0:17 'u1' (temp highp uint)
0:17 'u1' (temp highp uint)
0:17 'u1' (temp highp uint)
0:19 Function Call: umulExtended(vu4;vu4;vu4;vu4; (global void)
0:19 uMulExtended (global void)
0:19 'u4' (temp highp 4-component vector of uint)
0:19 'u4' (temp highp 4-component vector of uint)
0:19 'u4' (temp highp 4-component vector of uint)
0:19 'u4' (temp highp 4-component vector of uint)
0:21 Function Call: imulExtended(vi4;vi4;vi4;vi4; (global void)
0:21 iMulExtended (global void)
0:21 'i4' (temp highp 4-component vector of int)
0:21 'i4' (temp highp 4-component vector of int)
0:21 'i4' (temp highp 4-component vector of int)
0:21 'i4' (temp highp 4-component vector of int)
0:23 move second child to first child (temp highp int)
0:23 'i1' (temp highp int)
0:23 Function Call: bitfieldExtract(i1;i1;i1; (global highp int)
0:23 bitfieldExtract (global highp int)
0:23 'i1' (temp highp int)
0:23 Constant:
0:23 4 (const int)
@ -137,7 +137,7 @@ ERROR: node is still EOpNull!
0:23 5 (const int)
0:25 move second child to first child (temp highp 3-component vector of uint)
0:25 'u3' (temp highp 3-component vector of uint)
0:25 Function Call: bitfieldExtract(vu3;i1;i1; (global highp 3-component vector of uint)
0:25 bitfieldExtract (global highp 3-component vector of uint)
0:25 'u3' (temp highp 3-component vector of uint)
0:25 Constant:
0:25 4 (const int)
@ -145,7 +145,7 @@ ERROR: node is still EOpNull!
0:25 5 (const int)
0:27 move second child to first child (temp highp 3-component vector of int)
0:27 'i3' (temp highp 3-component vector of int)
0:27 Function Call: bitfieldInsert(vi3;vi3;i1;i1; (global highp 3-component vector of int)
0:27 bitfieldInsert (global highp 3-component vector of int)
0:27 'i3' (temp highp 3-component vector of int)
0:27 'i3' (temp highp 3-component vector of int)
0:27 Constant:
@ -154,7 +154,7 @@ ERROR: node is still EOpNull!
0:27 5 (const int)
0:28 move second child to first child (temp highp uint)
0:28 'u1' (temp highp uint)
0:28 Function Call: bitfieldInsert(u1;u1;i1;i1; (global highp uint)
0:28 bitfieldInsert (global highp uint)
0:28 'u1' (temp highp uint)
0:28 'u1' (temp highp uint)
0:28 Constant:
@ -163,61 +163,61 @@ ERROR: node is still EOpNull!
0:28 5 (const int)
0:30 move second child to first child (temp highp 2-component vector of int)
0:30 'i2' (temp highp 2-component vector of int)
0:30 Function Call: bitfieldReverse(vi2; (global highp 2-component vector of int)
0:30 bitFieldReverse (global highp 2-component vector of int)
0:30 'i2' (temp highp 2-component vector of int)
0:31 move second child to first child (temp highp 4-component vector of uint)
0:31 'u4' (temp highp 4-component vector of uint)
0:31 Function Call: bitfieldReverse(vu4; (global highp 4-component vector of uint)
0:31 bitFieldReverse (global highp 4-component vector of uint)
0:31 'u4' (temp highp 4-component vector of uint)
0:32 move second child to first child (temp highp int)
0:32 'i1' (temp highp int)
0:32 Function Call: bitCount(i1; (global highp int)
0:32 bitCount (global highp int)
0:32 'i1' (temp highp int)
0:33 move second child to first child (temp highp 3-component vector of int)
0:33 'i3' (temp highp 3-component vector of int)
0:33 Function Call: bitCount(vu3; (global highp 3-component vector of int)
0:33 bitCount (global highp 3-component vector of int)
0:33 'u3' (temp highp 3-component vector of uint)
0:34 move second child to first child (temp highp 2-component vector of int)
0:34 'i2' (temp highp 2-component vector of int)
0:34 Function Call: findLSB(vi2; (global highp 2-component vector of int)
0:34 findLSB (global highp 2-component vector of int)
0:34 'i2' (temp highp 2-component vector of int)
0:35 move second child to first child (temp highp 4-component vector of int)
0:35 'i4' (temp highp 4-component vector of int)
0:35 Function Call: findLSB(vu4; (global highp 4-component vector of int)
0:35 findLSB (global highp 4-component vector of int)
0:35 'u4' (temp highp 4-component vector of uint)
0:36 move second child to first child (temp highp int)
0:36 'i1' (temp highp int)
0:36 Function Call: findMSB(i1; (global highp int)
0:36 findMSB (global highp int)
0:36 'i1' (temp highp int)
0:37 move second child to first child (temp highp 2-component vector of int)
0:37 'i2' (temp highp 2-component vector of int)
0:37 Function Call: findMSB(vu2; (global highp 2-component vector of int)
0:37 findMSB (global highp 2-component vector of int)
0:37 'u2' (temp highp 2-component vector of uint)
0:40 move second child to first child (temp highp 3-component vector of float)
0:40 'v3' (temp highp 3-component vector of float)
0:40 Function Call: frexp(vf3;vi3; (global highp 3-component vector of float)
0:40 frexp (global highp 3-component vector of float)
0:40 'v3' (temp highp 3-component vector of float)
0:40 'i3' (temp highp 3-component vector of int)
0:42 move second child to first child (temp highp 2-component vector of float)
0:42 'v2' (temp highp 2-component vector of float)
0:42 Function Call: ldexp(vf2;vi2; (global highp 2-component vector of float)
0:42 ldexp (global highp 2-component vector of float)
0:42 'v2' (temp highp 2-component vector of float)
0:42 'i2' (temp highp 2-component vector of int)
0:45 move second child to first child (temp highp uint)
0:45 'u1' (temp highp uint)
0:45 Function Call: packUnorm4x8(vf4; (global highp uint)
0:45 PackUnorm4x8 (global highp uint)
0:45 'v4' (temp mediump 4-component vector of float)
0:46 move second child to first child (temp highp uint)
0:46 'u1' (temp highp uint)
0:46 Function Call: packSnorm4x8(vf4; (global highp uint)
0:46 PackSnorm4x8 (global highp uint)
0:46 'v4' (temp mediump 4-component vector of float)
0:47 move second child to first child (temp mediump 4-component vector of float)
0:47 'v4' (temp mediump 4-component vector of float)
0:47 Function Call: unpackUnorm4x8(u1; (global mediump 4-component vector of float)
0:47 UnpackUnorm4x8 (global mediump 4-component vector of float)
0:47 'u1' (temp highp uint)
0:48 move second child to first child (temp mediump 4-component vector of float)
0:48 'v4' (temp mediump 4-component vector of float)
0:48 Function Call: unpackSnorm4x8(u1; (global mediump 4-component vector of float)
0:48 UnpackSnorm4x8 (global mediump 4-component vector of float)
0:48 'u1' (temp highp uint)
0:60 Function Definition: foo( (global void)
0:60 Function Parameters:
@ -276,7 +276,7 @@ ERROR: node is still EOpNull!
0:? Sequence
0:156 move second child to first child (temp highp 2-component vector of float)
0:156 'h' (temp highp 2-component vector of float)
0:156 Function Call: fma(vf2;vf2;vf2; (global highp 2-component vector of float)
0:156 fma (global highp 2-component vector of float)
0:156 'inf' (in highp 2-component vector of float)
0:156 'ing' (in highp 2-component vector of float)
0:156 'h' (temp highp 2-component vector of float)
@ -351,7 +351,7 @@ ERROR: node is still EOpNull!
0:? Sequence
0:174 move second child to first child (temp highp 2-component vector of float)
0:174 'h' (temp highp 2-component vector of float)
0:174 Function Call: fma(vf2;vf2;vf2; (global highp 2-component vector of float)
0:174 fma (global highp 2-component vector of float)
0:174 'inf' (in highp 2-component vector of float)
0:174 'ing' (in highp 2-component vector of float)
0:174 'h' (temp highp 2-component vector of float)
@ -974,29 +974,29 @@ ERROR: node is still EOpNull!
0:? Sequence
0:15 move second child to first child (temp highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:15 Function Call: uaddCarry(vu2;vu2;vu2; (global highp 2-component vector of uint)
0:15 addCarry (global highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:15 'u2' (temp highp 2-component vector of uint)
0:17 move second child to first child (temp highp uint)
0:17 'u1' (temp highp uint)
0:17 Function Call: usubBorrow(u1;u1;u1; (global highp uint)
0:17 subBorrow (global highp uint)
0:17 'u1' (temp highp uint)
0:17 'u1' (temp highp uint)
0:17 'u1' (temp highp uint)
0:19 Function Call: umulExtended(vu4;vu4;vu4;vu4; (global void)
0:19 uMulExtended (global void)
0:19 'u4' (temp highp 4-component vector of uint)
0:19 'u4' (temp highp 4-component vector of uint)
0:19 'u4' (temp highp 4-component vector of uint)
0:19 'u4' (temp highp 4-component vector of uint)
0:21 Function Call: imulExtended(vi4;vi4;vi4;vi4; (global void)
0:21 iMulExtended (global void)
0:21 'i4' (temp highp 4-component vector of int)
0:21 'i4' (temp highp 4-component vector of int)
0:21 'i4' (temp highp 4-component vector of int)
0:21 'i4' (temp highp 4-component vector of int)
0:23 move second child to first child (temp highp int)
0:23 'i1' (temp highp int)
0:23 Function Call: bitfieldExtract(i1;i1;i1; (global highp int)
0:23 bitfieldExtract (global highp int)
0:23 'i1' (temp highp int)
0:23 Constant:
0:23 4 (const int)
@ -1004,7 +1004,7 @@ ERROR: node is still EOpNull!
0:23 5 (const int)
0:25 move second child to first child (temp highp 3-component vector of uint)
0:25 'u3' (temp highp 3-component vector of uint)
0:25 Function Call: bitfieldExtract(vu3;i1;i1; (global highp 3-component vector of uint)
0:25 bitfieldExtract (global highp 3-component vector of uint)
0:25 'u3' (temp highp 3-component vector of uint)
0:25 Constant:
0:25 4 (const int)
@ -1012,7 +1012,7 @@ ERROR: node is still EOpNull!
0:25 5 (const int)
0:27 move second child to first child (temp highp 3-component vector of int)
0:27 'i3' (temp highp 3-component vector of int)
0:27 Function Call: bitfieldInsert(vi3;vi3;i1;i1; (global highp 3-component vector of int)
0:27 bitfieldInsert (global highp 3-component vector of int)
0:27 'i3' (temp highp 3-component vector of int)
0:27 'i3' (temp highp 3-component vector of int)
0:27 Constant:
@ -1021,7 +1021,7 @@ ERROR: node is still EOpNull!
0:27 5 (const int)
0:28 move second child to first child (temp highp uint)
0:28 'u1' (temp highp uint)
0:28 Function Call: bitfieldInsert(u1;u1;i1;i1; (global highp uint)
0:28 bitfieldInsert (global highp uint)
0:28 'u1' (temp highp uint)
0:28 'u1' (temp highp uint)
0:28 Constant:
@ -1030,61 +1030,61 @@ ERROR: node is still EOpNull!
0:28 5 (const int)
0:30 move second child to first child (temp highp 2-component vector of int)
0:30 'i2' (temp highp 2-component vector of int)
0:30 Function Call: bitfieldReverse(vi2; (global highp 2-component vector of int)
0:30 bitFieldReverse (global highp 2-component vector of int)
0:30 'i2' (temp highp 2-component vector of int)
0:31 move second child to first child (temp highp 4-component vector of uint)
0:31 'u4' (temp highp 4-component vector of uint)
0:31 Function Call: bitfieldReverse(vu4; (global highp 4-component vector of uint)
0:31 bitFieldReverse (global highp 4-component vector of uint)
0:31 'u4' (temp highp 4-component vector of uint)
0:32 move second child to first child (temp highp int)
0:32 'i1' (temp highp int)
0:32 Function Call: bitCount(i1; (global highp int)
0:32 bitCount (global highp int)
0:32 'i1' (temp highp int)
0:33 move second child to first child (temp highp 3-component vector of int)
0:33 'i3' (temp highp 3-component vector of int)
0:33 Function Call: bitCount(vu3; (global highp 3-component vector of int)
0:33 bitCount (global highp 3-component vector of int)
0:33 'u3' (temp highp 3-component vector of uint)
0:34 move second child to first child (temp highp 2-component vector of int)
0:34 'i2' (temp highp 2-component vector of int)
0:34 Function Call: findLSB(vi2; (global highp 2-component vector of int)
0:34 findLSB (global highp 2-component vector of int)
0:34 'i2' (temp highp 2-component vector of int)
0:35 move second child to first child (temp highp 4-component vector of int)
0:35 'i4' (temp highp 4-component vector of int)
0:35 Function Call: findLSB(vu4; (global highp 4-component vector of int)
0:35 findLSB (global highp 4-component vector of int)
0:35 'u4' (temp highp 4-component vector of uint)
0:36 move second child to first child (temp highp int)
0:36 'i1' (temp highp int)
0:36 Function Call: findMSB(i1; (global highp int)
0:36 findMSB (global highp int)
0:36 'i1' (temp highp int)
0:37 move second child to first child (temp highp 2-component vector of int)
0:37 'i2' (temp highp 2-component vector of int)
0:37 Function Call: findMSB(vu2; (global highp 2-component vector of int)
0:37 findMSB (global highp 2-component vector of int)
0:37 'u2' (temp highp 2-component vector of uint)
0:40 move second child to first child (temp highp 3-component vector of float)
0:40 'v3' (temp highp 3-component vector of float)
0:40 Function Call: frexp(vf3;vi3; (global highp 3-component vector of float)
0:40 frexp (global highp 3-component vector of float)
0:40 'v3' (temp highp 3-component vector of float)
0:40 'i3' (temp highp 3-component vector of int)
0:42 move second child to first child (temp highp 2-component vector of float)
0:42 'v2' (temp highp 2-component vector of float)
0:42 Function Call: ldexp(vf2;vi2; (global highp 2-component vector of float)
0:42 ldexp (global highp 2-component vector of float)
0:42 'v2' (temp highp 2-component vector of float)
0:42 'i2' (temp highp 2-component vector of int)
0:45 move second child to first child (temp highp uint)
0:45 'u1' (temp highp uint)
0:45 Function Call: packUnorm4x8(vf4; (global highp uint)
0:45 PackUnorm4x8 (global highp uint)
0:45 'v4' (temp mediump 4-component vector of float)
0:46 move second child to first child (temp highp uint)
0:46 'u1' (temp highp uint)
0:46 Function Call: packSnorm4x8(vf4; (global highp uint)
0:46 PackSnorm4x8 (global highp uint)
0:46 'v4' (temp mediump 4-component vector of float)
0:47 move second child to first child (temp mediump 4-component vector of float)
0:47 'v4' (temp mediump 4-component vector of float)
0:47 Function Call: unpackUnorm4x8(u1; (global mediump 4-component vector of float)
0:47 UnpackUnorm4x8 (global mediump 4-component vector of float)
0:47 'u1' (temp highp uint)
0:48 move second child to first child (temp mediump 4-component vector of float)
0:48 'v4' (temp mediump 4-component vector of float)
0:48 Function Call: unpackSnorm4x8(u1; (global mediump 4-component vector of float)
0:48 UnpackSnorm4x8 (global mediump 4-component vector of float)
0:48 'u1' (temp highp uint)
0:60 Function Definition: foo( (global void)
0:60 Function Parameters:
@ -1143,7 +1143,7 @@ ERROR: node is still EOpNull!
0:? Sequence
0:156 move second child to first child (temp highp 2-component vector of float)
0:156 'h' (temp highp 2-component vector of float)
0:156 Function Call: fma(vf2;vf2;vf2; (global highp 2-component vector of float)
0:156 fma (global highp 2-component vector of float)
0:156 'inf' (in highp 2-component vector of float)
0:156 'ing' (in highp 2-component vector of float)
0:156 'h' (temp highp 2-component vector of float)
@ -1218,7 +1218,7 @@ ERROR: node is still EOpNull!
0:? Sequence
0:174 move second child to first child (temp highp 2-component vector of float)
0:174 'h' (temp highp 2-component vector of float)
0:174 Function Call: fma(vf2;vf2;vf2; (global highp 2-component vector of float)
0:174 fma (global highp 2-component vector of float)
0:174 'inf' (in highp 2-component vector of float)
0:174 'ing' (in highp 2-component vector of float)
0:174 'h' (temp highp 2-component vector of float)