intel: upload viewport states separately
So that the item types are correctly set and enable the decoder to decode
them.
diff --git a/icd/intel/state.h b/icd/intel/state.h
index 080f00f..373940c 100644
--- a/icd/intel/state.h
+++ b/icd/intel/state.h
@@ -41,10 +41,9 @@
/* SF_CLIP_VIEWPORTs, CC_VIEWPORTs, and SCISSOR_RECTs */
uint32_t *cmd;
XGL_UINT cmd_len;
- XGL_UINT cmd_align;
- XGL_UINT cmd_clip_offset;
- XGL_UINT cmd_cc_offset;
- XGL_UINT cmd_scissor_rect_offset;
+ XGL_UINT cmd_clip_pos;
+ XGL_UINT cmd_cc_pos;
+ XGL_UINT cmd_scissor_rect_pos;
};
struct intel_raster_state {