Correct precision qualification on built-in functions.
This is a replacement commit for pull request #238. This is a design change, followed by implementation change that A) fixes the changes caused by the design change, and B) fixes some cases that were originally incorrect. The design change is to not give built-in functions default precision qualification. This is to allow the rule that the precision of some built-in functions adopt their precision qualification from the calling arguments. This is A above. A consequence of this design change is that all built-ins that are supposed to have an explicit precision qualifier must now be declared that way. So, a lot more built-in declarations now have precision qualifiers, just to keep things the same. This is B above.
This commit is contained in:
parent
f88a5c756e
commit
af459216a1
13 changed files with 213 additions and 199 deletions
|
|
@ -193,7 +193,7 @@ ERROR: node is still EOpNull!
|
|||
0:124 Sequence
|
||||
0:124 move second child to first child (temp highp 4-component vector of float)
|
||||
0:124 'x4' (temp highp 4-component vector of float)
|
||||
0:124 texture (global highp 4-component vector of float)
|
||||
0:124 texture (global lowp 4-component vector of float)
|
||||
0:124 's2D' (uniform lowp sampler2D)
|
||||
0:124 'c2D' (in highp 2-component vector of float)
|
||||
0:125 Constant:
|
||||
|
|
@ -201,7 +201,7 @@ ERROR: node is still EOpNull!
|
|||
0:126 Sequence
|
||||
0:126 move second child to first child (temp highp 4-component vector of float)
|
||||
0:126 'x5' (temp highp 4-component vector of float)
|
||||
0:126 textureProjOffset (global highp 4-component vector of float)
|
||||
0:126 textureProjOffset (global lowp 4-component vector of float)
|
||||
0:126 's3D' (uniform lowp sampler3D)
|
||||
0:126 Constant:
|
||||
0:126 0.200000
|
||||
|
|
@ -217,7 +217,7 @@ ERROR: node is still EOpNull!
|
|||
0:128 Sequence
|
||||
0:128 move second child to first child (temp highp float)
|
||||
0:128 'x6' (temp highp float)
|
||||
0:128 textureProjGradOffset (global highp float)
|
||||
0:128 textureProjGradOffset (global lowp float)
|
||||
0:128 's2DS' (uniform lowp sampler2DShadow)
|
||||
0:128 'invIn' (invariant in highp 4-component vector of float)
|
||||
0:128 Constant:
|
||||
|
|
@ -477,7 +477,7 @@ ERROR: node is still EOpNull!
|
|||
0:124 Sequence
|
||||
0:124 move second child to first child (temp highp 4-component vector of float)
|
||||
0:124 'x4' (temp highp 4-component vector of float)
|
||||
0:124 texture (global highp 4-component vector of float)
|
||||
0:124 texture (global lowp 4-component vector of float)
|
||||
0:124 's2D' (uniform lowp sampler2D)
|
||||
0:124 'c2D' (in highp 2-component vector of float)
|
||||
0:125 Constant:
|
||||
|
|
@ -485,7 +485,7 @@ ERROR: node is still EOpNull!
|
|||
0:126 Sequence
|
||||
0:126 move second child to first child (temp highp 4-component vector of float)
|
||||
0:126 'x5' (temp highp 4-component vector of float)
|
||||
0:126 textureProjOffset (global highp 4-component vector of float)
|
||||
0:126 textureProjOffset (global lowp 4-component vector of float)
|
||||
0:126 's3D' (uniform lowp sampler3D)
|
||||
0:126 Constant:
|
||||
0:126 0.200000
|
||||
|
|
@ -501,7 +501,7 @@ ERROR: node is still EOpNull!
|
|||
0:128 Sequence
|
||||
0:128 move second child to first child (temp highp float)
|
||||
0:128 'x6' (temp highp float)
|
||||
0:128 textureProjGradOffset (global highp float)
|
||||
0:128 textureProjGradOffset (global lowp float)
|
||||
0:128 's2DS' (uniform lowp sampler2DShadow)
|
||||
0:128 'invIn' (invariant in highp 4-component vector of float)
|
||||
0:128 Constant:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue