diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-04-21 04:09:10 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-04-24 02:22:31 +0000 |
commit | 9db5816e02b23054453ccd7a1fa99a99fa5c5995 (patch) | |
tree | fe7e86ede195c73488666ac1626d96c6dfe9186f /src/gallium/drivers/panfrost/midgard/helpers.h | |
parent | a1aaf72915cef87dec738646d0a40f1d0e44a876 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/midgard/helpers.h')
-rw-r--r-- | src/gallium/drivers/panfrost/midgard/helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |