diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-09-28 09:48:27 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-09-30 08:40:13 -0400 |
commit | e9edae3ecb1030f4b9a9e58f7962c5ab4abaf440 (patch) | |
tree | 8d07fd33c47117af9a637f7b6ea60d88a5324a3a /src | |
parent | d3b3daa9d3f02f4a4d3db91653b04014b67a3666 (diff) |
pan/midgard: Don't double check SCALAR units
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/midgard/midgard_schedule.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; |