From e9edae3ecb1030f4b9a9e58f7962c5ab4abaf440 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Date: Sat, 28 Sep 2019 09:48:27 -0400 Subject: pan/midgard: Don't double check SCALAR units Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> --- src/panfrost/midgard/midgard_schedule.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/panfrost') diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index ecc4f4696b5..64359729cc0 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -188,10 +188,6 @@ is_single_component_mask(unsigned mask) static bool mir_is_scalar(midgard_instruction *ains) { - /* Does the op support scalar units? */ - if (!(alu_opcode_props[ains->alu.op].props & UNITS_SCALAR)) - return false; - /* Do we try to use it as a vector op? */ if (!is_single_component_mask(ains->mask)) return false; -- cgit v1.2.3