From 26b75daef57c0ab7bde8dabf2a169bd755df51c3 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Wed, 8 Jul 2020 20:53:46 -0400 Subject: [PATCH] turnip: fix active_desc_sets not being set for compute pipeline This resulted in the load state being always empty. Its an optimization, so it didn't result in any failures. Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/vulkan/tu_pipeline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index 4a21a1514ee..4596dcd9be1 100644 --- a/src/freedreno/vulkan/tu_pipeline.c +++ b/src/freedreno/vulkan/tu_pipeline.c @@ -2592,6 +2592,8 @@ tu_compute_pipeline_create(VkDevice device, goto fail; } + pipeline->active_desc_sets = shader->active_desc_sets; + bool created; struct ir3_shader_variant *v = ir3_shader_get_variant(shader->ir3_shader, &key, false, &created); -- 2.30.2