summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/midgard/helpers.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-04-05 05:16:54 +0000
committerAlyssa Rosenzweig <[email protected]>2019-04-07 15:59:05 +0000
commit2e7555b14b0e8136b3890ed7c2f6eb0918a9d844 (patch)
tree3e877c91d2b3148e265f623f4defb37f65f5655a /src/gallium/drivers/panfrost/midgard/helpers.h
parentd84ee4902750c1363507af5b3d65b0d6012d7d24 (diff)
panfrost/midgard: Add umin/umax opcodes
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/midgard/helpers.h')
-rw-r--r--src/gallium/drivers/panfrost/midgard/helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src/gallium/drivers/panfrost/midgard/helpers.h
index 54960c7e599..0ef5dac51d4 100644
--- a/src/gallium/drivers/panfrost/midgard/helpers.h
+++ b/src/gallium/drivers/panfrost/midgard/helpers.h
@@ -196,6 +196,8 @@ static unsigned alu_opcode_props[256] = {
[midgard_alu_op_fmax] = UNITS_MUL | UNITS_ADD,
[midgard_alu_op_imin] = UNITS_MOST,
[midgard_alu_op_imax] = UNITS_MOST,
+ [midgard_alu_op_umin] = UNITS_MOST,
+ [midgard_alu_op_umax] = UNITS_MOST,
[midgard_alu_op_fmov] = UNITS_ALL | QUIRK_FLIPPED_R24,
[midgard_alu_op_fround] = UNITS_ADD,
[midgard_alu_op_froundeven] = UNITS_ADD,