From b18d6575fee00ed9db3c89b4e8c0756cc52d53e0 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Tue, 11 Feb 2020 21:13:38 -0500 Subject: [PATCH] turnip: remove unecessary MRT_CONTROL fill Hardware won't use MRT_CONTROL after mrt_count Signed-off-by: Jonathan Marek Reviewed-by: Eric Anholt Part-of: --- src/freedreno/vulkan/tu_pipeline.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index 37cecfbf1a5..eb920ec9172 100644 --- a/src/freedreno/vulkan/tu_pipeline.c +++ b/src/freedreno/vulkan/tu_pipeline.c @@ -1464,12 +1464,6 @@ tu6_emit_rb_mrt_controls(struct tu_cs *cs, tu_cs_emit(cs, rb_mrt_control); tu_cs_emit(cs, rb_mrt_blend_control); } - - for (uint32_t i = blend_info->attachmentCount; i < MAX_RTS; i++) { - tu_cs_emit_pkt4(cs, REG_A6XX_RB_MRT_CONTROL(i), 2); - tu_cs_emit(cs, 0); - tu_cs_emit(cs, 0); - } } static void -- 2.30.2