summaryrefslogtreecommitdiff
path: root/tools/null_state_gen/intel_batchbuffer.h
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@intel.com>2014-09-08 10:49:59 +0300
committerMika Kuoppala <mika.kuoppala@intel.com>2014-10-09 19:47:51 +0300
commit0e8ac72d5d608d82a91bb5232badfb872589ac14 (patch)
treed4a515e7787b51fb5e691508bbda2a9cba00f273 /tools/null_state_gen/intel_batchbuffer.h
parentb69659c3f5ed285bd218350deeff52761aec3d10 (diff)
tools/null_state_gen: Add Gen8 golden state
Previously we didn't have a clear understanding what is necessary for a pipeline state to be properly initialized. So we had to improvise and use a stripped out render copy. Now we have a more clear understanding so switch out render copy based frankenstate to state we can call golden state. v2: - export intel_batch_state_offset - add 3DSTATE_RASTER (Bradley Volkin) Cc: Volkin, Bradley D <bradley.d.volkin@intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'tools/null_state_gen/intel_batchbuffer.h')
-rw-r--r--tools/null_state_gen/intel_batchbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/null_state_gen/intel_batchbuffer.h b/tools/null_state_gen/intel_batchbuffer.h
index f85f31db..8b87c020 100644
--- a/tools/null_state_gen/intel_batchbuffer.h
+++ b/tools/null_state_gen/intel_batchbuffer.h
@@ -84,7 +84,7 @@ uint32_t intel_batch_state_copy(struct intel_batchbuffer *batch, void *d, unsign
const char *name);
uint32_t intel_batch_state_alloc(struct intel_batchbuffer *batch, unsigned bytes, unsigned align,
const char *name);
-
+uint32_t intel_batch_state_offset(struct intel_batchbuffer *batch, unsigned align);
unsigned intel_batch_num_cmds(struct intel_batchbuffer *batch);
struct bb_item *intel_batch_cmd_get(struct intel_batchbuffer *batch, unsigned i);