intel: do not emit 3DSTATE_SBE on Gen6
The commands in intel_pipeline are copied into the batch buffer directly. We
should not have 3DSTATE_SBE in it on Gen6.
diff --git a/icd/intel/pipeline.h b/icd/intel/pipeline.h
index f3c643e..b1f4c14 100644
--- a/icd/intel/pipeline.h
+++ b/icd/intel/pipeline.h
@@ -211,7 +211,6 @@
uint32_t cmds[INTEL_PSO_CMD_ENTRIES];
uint32_t cmd_len;
- uint32_t cmd_sbe_body_offset;
/* The following are only partial HW commands that will need
* more processing before sending to the HW
@@ -227,6 +226,8 @@
uint32_t cmd_cb[2 * INTEL_MAX_RENDER_TARGETS];
uint32_t sample_count;
uint32_t cmd_sample_mask;
+
+ uint32_t cmd_3dstate_sbe[14];
};
static inline struct intel_pipeline *intel_pipeline(XGL_PIPELINE pipeline)