From 076f52285c9f481210f6da5cfe0cddc156d932a6 Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Wed, 5 Mar 2025 13:29:27 -0500 Subject: [PATCH] tu: Remove useless prim_order state merging We already merged it below, when the library has both fragment output interface and fragment shader state (which is when we'd compute it anyway). Setting it twice is probably harmless but also confusing and useless. Part-of: --- src/freedreno/vulkan/tu_pipeline.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/freedreno/vulkan/tu_pipeline.cc b/src/freedreno/vulkan/tu_pipeline.cc index 488f7af64bc..269b37ee536 100644 --- a/src/freedreno/vulkan/tu_pipeline.cc +++ b/src/freedreno/vulkan/tu_pipeline.cc @@ -2099,7 +2099,6 @@ tu_pipeline_builder_parse_libraries(struct tu_pipeline_builder *builder, pipeline->output = library->base.output; pipeline->lrz_blend.reads_dest |= library->base.lrz_blend.reads_dest; pipeline->lrz_blend.valid |= library->base.lrz_blend.valid; - pipeline->prim_order = library->base.prim_order; } if ((library->state &