intel: improve XGL_PIPELINE_IA_STATE_CREATE_INFO handling
Make intel_pipeline smaller, and handle disableVertexReuse and
XGL_TOPOLOGY_PATCH.
diff --git a/icd/intel/cmd_pipeline.c b/icd/intel/cmd_pipeline.c
index a21ebb5..50f6c53 100644
--- a/icd/intel/cmd_pipeline.c
+++ b/icd/intel/cmd_pipeline.c
@@ -1580,6 +1580,9 @@
else
dw5 |= (max_threads - 1) << GEN6_VS_DW5_MAX_THREADS__SHIFT;
+ if (pipeline->disable_vs_cache)
+ dw5 |= GEN6_VS_DW5_CACHE_DISABLE;
+
cmd_batch_reserve(cmd, cmd_len);
cmd_batch_write(cmd, dw0);
cmd_batch_write(cmd, cmd->bind.vs.kernel_pos);