commit | 7b566a42d1fbe36b76c83c570fb9195a3519baf5 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Fri Aug 22 10:58:57 2014 +0800 |
committer | Chia-I Wu <olvaffe@gmail.com> | Fri Aug 22 10:59:16 2014 +0800 |
tree | adcfa4f0d0c8c85cbfa9c02b27d6979ae7017567 | |
parent | ce9f11f8d42e12d1d1d31f01063d7b9aac15564a [diff] [blame] |
intel: fix intel_viewport_state Correctly align and build the hardware states.
diff --git a/icd/intel/state.h b/icd/intel/state.h index 2f7572f..567fcb1 100644 --- a/icd/intel/state.h +++ b/icd/intel/state.h
@@ -36,7 +36,11 @@ bool scissor_enable; /* SF_CLIP_VIEWPORTs, CC_VIEWPORTs, and SCISSOR_RECTs */ uint32_t *cmd; - XGL_SIZE size; + XGL_UINT cmd_len; + XGL_UINT cmd_align; + XGL_UINT cmd_clip_offset; + XGL_UINT cmd_cc_offset; + XGL_UINT cmd_scissor_rect_offset; }; struct intel_raster_state {