From: Alyssa Rosenzweig Date: Sat, 28 Sep 2019 13:48:27 +0000 (-0400) Subject: pan/midgard: Don't double check SCALAR units X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9edae3ecb1030f4b9a9e58f7962c5ab4abaf440;p=mesa.git pan/midgard: Don't double check SCALAR units Signed-off-by: Alyssa Rosenzweig --- 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;