Mesa (master): turnip: remove unecessary MRT_CONTROL fill
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Feb 28 14:28:09 UTC 2020
Module: Mesa
Branch: master
Commit: b18d6575fee00ed9db3c89b4e8c0756cc52d53e0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b18d6575fee00ed9db3c89b4e8c0756cc52d53e0
Author: Jonathan Marek <jonathan at marek.ca>
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 <jonathan at marek.ca>
Reviewed-by: Eric Anholt <eric at anholt.net>
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
More information about the mesa-commit
mailing list