diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-03-25 02:49:04 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-03-26 23:35:36 +0000 |
commit | effe6fb08d9bfda2b5991e67ade3b3126bc30697 (patch) | |
tree | b871e07b4e43e5ad60a6f2f5ce162e5ce4627197 /src/gallium/auxiliary | |
parent | 3208c9d9a2a5800521bd123d699bdbf2c52855a9 (diff) |
panfrost/midgard: Lower source modifiers for ints
On Midgard, float ops support standard source modifiers (abs/neg) and
destination modifiers (sat/pos/round). Integer ops do not support these,
however. To cope, we use native NIR source modifiers for floats, but
lower them away to iabs/ineg for integers, implementing those ops
simultaneously to avoid regressions.
Fixes the integer tests in
dEQP-GLES2.functional.shaders.operator.unary_operator.minus.*
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
0 files changed, 0 insertions, 0 deletions