diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-05-15 16:24:45 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-22 18:05:14 +0000 |
commit | 569ca93751d2bebbfbd3cf673c8da447b1f2f295 (patch) | |
tree | ddc466b97455c78c63bfa1746fa5c65601c89edc | |
parent | d8c16200e9730e4f4f56dc1478dc72dccce26203 (diff) |
pan/mdg: Allow DCE on ld_color_buffer masks
Helps with blend shader register pressure.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5153>
-rw-r--r-- | src/panfrost/midgard/midgard_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/midgard_ops.c b/src/panfrost/midgard/midgard_ops.c index 5e3debec9a7..916cf4488df 100644 --- a/src/panfrost/midgard/midgard_ops.c +++ b/src/panfrost/midgard/midgard_ops.c @@ -226,8 +226,8 @@ struct mir_ldst_op_props load_store_opcode_props[256] = { [midgard_op_ld_vary_32i] = {"ld_vary_32i", M32}, [midgard_op_ld_vary_32u] = {"ld_vary_32u", M32}, - [midgard_op_ld_color_buffer_32u] = {"ld_color_buffer_32u", M32 | LDST_SPECIAL_MASK}, - [midgard_op_ld_color_buffer_u8_as_fp16] = {"ld_color_buffer_u8_as_fp16", M16 | LDST_SPECIAL_MASK}, + [midgard_op_ld_color_buffer_32u] = {"ld_color_buffer_32u", M32}, + [midgard_op_ld_color_buffer_u8_as_fp16] = {"ld_color_buffer_u8_as_fp16", M16}, [midgard_op_ld_color_buffer_u8_as_fp16_old] = {"ld_color_buffer_u8_as_fp16_old", M16 | LDST_SPECIAL_MASK}, [midgard_op_ld_ubo_char] = {"ld_ubo_char", M32}, |