From: Alyssa Rosenzweig Date: Fri, 15 May 2020 20:24:45 +0000 (-0400) Subject: pan/mdg: Allow DCE on ld_color_buffer masks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=569ca93751d2bebbfbd3cf673c8da447b1f2f295;p=mesa.git pan/mdg: Allow DCE on ld_color_buffer masks Helps with blend shader register pressure. Signed-off-by: Alyssa Rosenzweig Part-of: --- 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},