intel: define meta ops
Meta ops include copy, clear, and resolve. We need a meta shader for each of
the meta ops, and the shaders should be created with intel_dev to avoid
recompilation and locking.
This commit creates only dummy meta shaders. They should be replaced by real
ones when the compiler or assembler is ready.
diff --git a/icd/intel/pipeline.h b/icd/intel/pipeline.h
index 3c9826c..93cb928 100644
--- a/icd/intel/pipeline.h
+++ b/icd/intel/pipeline.h
@@ -188,6 +188,10 @@
return intel_pipeline_from_base(&obj->base);
}
+struct intel_pipeline_shader *intel_pipeline_shader_create_meta(struct intel_dev *dev,
+ enum intel_dev_meta_shader id);
+void intel_pipeline_shader_destroy(struct intel_pipeline_shader *sh);
+
XGL_RESULT XGLAPI intelCreateGraphicsPipeline(
XGL_DEVICE device,
const XGL_GRAPHICS_PIPELINE_CREATE_INFO* pCreateInfo,