[Mesa-dev] [PATCH 2/3] anv/pipeline: Enable non-dynamic state copies to see active shader stages
Nanley Chery
nanleychery at gmail.com
Fri Jun 10 23:12:37 UTC 2016
From: Nanley Chery <nanley.g.chery at intel.com>
This is useful for the next commit which will use this information.
Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
Cc: "12.0" <mesa-stable at 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
More information about the mesa-dev
mailing list