Mesa (master): turnip: fix wrong substream size in parse_multisample_and_color_blend
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 29 20:34:23 UTC 2020
Module: Mesa
Branch: master
Commit: 3e1b93ec4fa31014c322b970f7d8a057fdec04fe
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e1b93ec4fa31014c322b970f7d8a057fdec04fe
Author: Jonathan Marek <jonathan at marek.ca>
Date: Tue Apr 28 19:54:06 2020 -0400
turnip: fix wrong substream size in parse_multisample_and_color_blend
Missed updating this when adding tu6_emit_sample_locations
Fixes: a92d2e11095 ("turnip: implement VK_EXT_sample_locations")
Signed-off-by: Jonathan Marek <jonathan at marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4795>
---
src/freedreno/vulkan/tu_pipeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c
index ff1fb9a16b8..965cb5af264 100644
--- a/src/freedreno/vulkan/tu_pipeline.c
+++ b/src/freedreno/vulkan/tu_pipeline.c
@@ -2457,7 +2457,7 @@ tu_pipeline_builder_parse_multisample_and_color_blend(
: &dummy_blend_info;
struct tu_cs blend_cs;
- tu_cs_begin_sub_stream(&pipeline->cs, MAX_RTS * 3 + 9, &blend_cs);
+ tu_cs_begin_sub_stream(&pipeline->cs, MAX_RTS * 3 + 18, &blend_cs);
uint32_t blend_enable_mask;
tu6_emit_rb_mrt_controls(&blend_cs, blend_info,
More information about the mesa-commit
mailing list