From 9db5816e02b23054453ccd7a1fa99a99fa5c5995 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 21 Apr 2019 04:09:10 +0000 Subject: panfrost/midgard: imul can only run on *mul This restriction makes sense logically. Not sure why it wasn't obeyed before. In conjunction with previous commit's disclaimer, fixes dEQP-GLES2.functional.shaders.loop.for_dynamic_iterations.* Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/midgard/helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src/gallium/drivers/panfrost/midgard/helpers.h index 4c2be223186..4cd488af9df 100644 --- a/src/gallium/drivers/panfrost/midgard/helpers.h +++ b/src/gallium/drivers/panfrost/midgard/helpers.h @@ -215,7 +215,7 @@ static unsigned alu_opcode_props[256] = { [midgard_alu_op_iadd] = UNITS_MOST, [midgard_alu_op_iabs] = UNITS_MOST, [midgard_alu_op_isub] = UNITS_MOST, - [midgard_alu_op_imul] = UNITS_MOST, + [midgard_alu_op_imul] = UNITS_MUL, [midgard_alu_op_imov] = UNITS_MOST | QUIRK_FLIPPED_R24, /* For vector comparisons, use ball etc */ -- cgit v1.2.3