diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-01 19:57:49 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-10 06:12:05 -0700 |
commit | 3dbedb26f571497a6bfcd58f7e48a32ec4bd58f8 (patch) | |
tree | 44cb27be5a0a9258a2968b18224e80ff96b725fb /src/gallium/drivers/panfrost | |
parent | 64df54d8944276687685d6d1261dd5448608b0f3 (diff) |
panfrost/midgard: Eliminate redundant type convert
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r-- | src/gallium/drivers/panfrost/midgard/midgard_nir_algebraic.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/midgard_nir_algebraic.py b/src/gallium/drivers/panfrost/midgard/midgard_nir_algebraic.py index 871195b48ca..951b4b23241 100644 --- a/src/gallium/drivers/panfrost/midgard/midgard_nir_algebraic.py +++ b/src/gallium/drivers/panfrost/midgard/midgard_nir_algebraic.py @@ -57,6 +57,9 @@ converts = [ (('f2i32', 'a@16'), ('f2i32', ('f2f32', a))), (('f2u32', 'a@16'), ('f2u32', ('f2f32', a))), + + # Totally redundant + (('~f2f16', ('f2f32', 'a@16')), a), ] # Midgard scales fsin/fcos arguments by pi. |