Module: Mesa Branch: master Commit: b18d6575fee00ed9db3c89b4e8c0756cc52d53e0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b18d6575fee00ed9db3c89b4e8c0756cc52d53e0
Author: Jonathan Marek <[email protected]> Date: Tue Feb 11 21:13:38 2020 -0500 turnip: remove unecessary MRT_CONTROL fill Hardware won't use MRT_CONTROL after mrt_count Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3979> --- 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
