projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33b2db5
)
turnip: remove unecessary MRT_CONTROL fill
author
Jonathan Marek
<jonathan@marek.ca>
Wed, 12 Feb 2020 02:13:38 +0000
(21:13 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 28 Feb 2020 14:04:20 +0000
(14:04 +0000)
Hardware won't use MRT_CONTROL after mrt_count
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3979>
src/freedreno/vulkan/tu_pipeline.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_pipeline.c
b/src/freedreno/vulkan/tu_pipeline.c
index 37cecfbf1a5e336c923a04989b95b54498202574..eb920ec91724c1db532da073f16e22e245906ac8 100644
(file)
--- 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