From 3e1b93ec4fa31014c322b970f7d8a057fdec04fe Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Tue, 28 Apr 2020 19:54:06 -0400 Subject: [PATCH] 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 Part-of: --- 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,