intel: track current cmd buffer shader info
Added intel_cmd_shader structs for each of the shader types
so that we know the offsets to each shader kernel.
diff --git a/icd/intel/cmd.h b/icd/intel/cmd.h
index 5cd803c..d224d97 100644
--- a/icd/intel/cmd.h
+++ b/icd/intel/cmd.h
@@ -58,6 +58,18 @@
const struct intel_pipeline_delta *compute_delta;
} pipeline;
+ /*
+ * Currently active shaders for this command buffer.
+ * Provides data only available after shaders are bound to
+ * a command buffer, such as the kernel position in the kernel BO
+ */
+ struct intel_cmd_shader vs;
+ struct intel_cmd_shader fs;
+ struct intel_cmd_shader gs;
+ struct intel_cmd_shader tess_control;
+ struct intel_cmd_shader tess_eval;
+ struct intel_cmd_shader compute;
+
struct {
XGL_UINT count;
XGL_UINT used;