turnip: fix active_desc_sets not being set for compute pipeline
authorJonathan Marek <jonathan@marek.ca>
Thu, 9 Jul 2020 00:53:46 +0000 (20:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Jul 2020 10:27:35 +0000 (10:27 +0000)
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 <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5816>

src/freedreno/vulkan/tu_pipeline.c

index 4a21a1514eed63234c32a9997d9e6daeb12352b1..4596dcd9be1ca79beb4380a15f56d0595e5d6fa5 100644 (file)
@@ -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);