summaryrefslogtreecommitdiff
path: root/src/i965_render.h
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2013-12-17 17:00:03 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-02-27 10:26:17 +0800
commiteb640239c0e85649f37daf994083ccebcb297c2c (patch)
tree7d2faad624af43e6b4e10b09b4dc814db723ec51 /src/i965_render.h
parenta556c2f777d2c313f03e52b05fe97beb15a771ee (diff)
downloadlibva-intel-driver-eb640239c0e85649f37daf994083ccebcb297c2c.tar.gz
libva-intel-driver-eb640239c0e85649f37daf994083ccebcb297c2c.tar.bz2
libva-intel-driver-eb640239c0e85649f37daf994083ccebcb297c2c.zip
Follow the spec to make the 3D pipeline work in 48-bit addressing mode
Signed-off-by: Xiang Haihao <haihao.xiang@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/i965_render.h')
-rw-r--r--src/i965_render.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/i965_render.h b/src/i965_render.h
index 6904645..132e785 100644
--- a/src/i965_render.h
+++ b/src/i965_render.h
@@ -80,6 +80,44 @@ struct i965_render_state
struct i965_kernel render_kernels[3];
int max_wm_threads;
+
+ struct {
+ dri_bo *bo;
+ int bo_size;
+ unsigned int end_offset;
+ } instruction_state;
+
+ struct {
+ dri_bo *bo;
+ } indirect_state;
+
+ struct {
+ dri_bo *bo;
+ int bo_size;
+ unsigned int end_offset;
+ } dynamic_state;
+
+ unsigned int curbe_offset;
+ int curbe_size;
+
+ unsigned int sampler_offset;
+ int sampler_size;
+
+ unsigned int cc_viewport_offset;
+ int cc_viewport_size;
+
+ unsigned int cc_state_offset;
+ int cc_state_size;
+
+ unsigned int blend_state_offset;
+ int blend_state_size;
+
+ unsigned int sf_clip_offset;
+ int sf_clip_size;
+
+ unsigned int scissor_offset;
+ int scissor_size;
+
};
bool i965_render_init(VADriverContextP ctx);