From: Nanley Chery <nanley.g.ch...@intel.com>
This is useful for the next commit which will use this information.
Signed-off-by: Nanley Chery <nanley.g.ch...@intel.com>
Cc: "12.0" <mesa-sta...@lists.freedesktop.org>
---
src/intel/vulkan/anv_pipeline.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
index ae03787..d5a3a21 100644
--- a/src/intel/vulkan/anv_pipeline.c
+++ b/src/intel/vulkan/anv_pipeline.c
@@ -1135,8 +1135,6 @@ anv_pipeline_init(struct anv_pipeline *pipeline,
pipeline->batch.end = pipeline->batch.start + sizeof(pipeline->batch_data);
pipeline->batch.relocs = &pipeline->batch_relocs;
- copy_non_dynamic_state(pipeline, pCreateInfo);
-
pipeline->use_repclear = extra && extra->use_repclear;
pipeline->needs_data_cache = false;
@@ -1193,6 +1191,8 @@ anv_pipeline_init(struct anv_pipeline *pipeline,
assert(extra->disable_vs);
}
+ copy_non_dynamic_state(pipeline, pCreateInfo);
+
anv_setup_pipeline_l3_config(pipeline);
anv_compute_urb_partition(pipeline);
--
2.8.3
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev