summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-11-22 17:36:54 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2013-11-28 14:33:37 +0000
commitffff68f08a63cb27fb558b54c7240b9bc4571f96 (patch)
tree257e65ab9f2b00c2a6ad91b8254e376be1f368d9 /lib
parentb333d23e3ae1ee3d971446464bd02c4a8f1695da (diff)
rendercopy/bdw: Fix the STATE_SIP instruction length
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/rendercopy_gen8.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c
index 70896760..30f5ff50 100644
--- a/lib/rendercopy_gen8.c
+++ b/lib/rendercopy_gen8.c
@@ -471,8 +471,9 @@ gen6_create_scissor_rect(struct intel_batchbuffer *batch)
}
static void
-gen6_emit_sip(struct intel_batchbuffer *batch) {
- OUT_BATCH(GEN6_STATE_SIP | 0);
+gen8_emit_sip(struct intel_batchbuffer *batch) {
+ OUT_BATCH(GEN6_STATE_SIP | (3 - 2));
+ OUT_BATCH(0);
OUT_BATCH(0);
}
@@ -889,7 +890,7 @@ void gen8_render_copyfunc(struct intel_batchbuffer *batch,
* order */
OUT_BATCH(GEN6_PIPELINE_SELECT | PIPELINE_SELECT_3D);
- gen6_emit_sip(batch);
+ gen8_emit_sip(batch);
gen7_emit_push_constants(batch);