summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-05-03 03:27:18 +0000
committerAlyssa Rosenzweig <[email protected]>2019-05-04 19:08:51 +0000
commit68238732462bb044282ffbeb6cb08b96c7ff7805 (patch)
tree890a72cb43970b14beab3bdf1a7061602b476a19 /src/gallium/drivers/panfrost
parentcdd9189aadb621b27b8f0cfc020cb61a4ead6baa (diff)
panfrost/midgard: iabs cannot run on mul
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r--src/gallium/drivers/panfrost/midgard/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src/gallium/drivers/panfrost/midgard/helpers.h
index 2be192a363b..be2a45cd19d 100644
--- a/src/gallium/drivers/panfrost/midgard/helpers.h
+++ b/src/gallium/drivers/panfrost/midgard/helpers.h
@@ -178,7 +178,7 @@ static struct {
/* Incredibly, iadd can run on vmul, etc */
[midgard_alu_op_iadd] = {"iadd", UNITS_MOST | OP_COMMUTES},
- [midgard_alu_op_iabs] = {"iabs", UNITS_MOST},
+ [midgard_alu_op_iabs] = {"iabs", UNITS_ADD},
[midgard_alu_op_isub] = {"isub", UNITS_MOST},
[midgard_alu_op_imul] = {"imul", UNITS_MUL | OP_COMMUTES},
[midgard_alu_op_imov] = {"imov", UNITS_MOST | QUIRK_FLIPPED_R24},