aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-11-05 09:06:41 -0500
committerAlyssa Rosenzweig <[email protected]>2019-11-15 20:08:46 +0000
commitea232c7cfd492fffb1dcf3ba07459c159e8bc112 (patch)
tree75ac8210b2e63aceb163de37933adcc82d66f000 /src/panfrost
parent4c182a6d118e2d9e4a8cb8494068a0d0248b19f4 (diff)
pan/midgard: Use generic constant packing for 8/64-bit
Eventually, we will want to combine constants across types, but for now let's not break the world. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost')
-rw-r--r--src/panfrost/midgard/midgard_schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c
index 2e794687e66..418589a6192 100644
--- a/src/panfrost/midgard/midgard_schedule.c
+++ b/src/panfrost/midgard/midgard_schedule.c
@@ -369,7 +369,7 @@ mir_adjust_constants(midgard_instruction *ins,
if (!ins->has_constants)
return true;
- if (ins->alu.reg_mode == midgard_reg_mode_16) {
+ if (ins->alu.reg_mode != midgard_reg_mode_32) {
/* TODO: 16-bit constant combining */
if (pred->constant_count)
return false;