summaryrefslogtreecommitdiff
path: root/lib/rendercopy_gen8.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-11-22 18:14:26 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2013-11-28 14:33:37 +0000
commit34f104aed7c14313c473bb7dafcda43f8b473903 (patch)
treede8fe140e806fa6910ed4ba722e34596911df46e /lib/rendercopy_gen8.c
parent09f144b649176bd80e31ccab65c9206931e6150f (diff)
rendercopy/bdw: Fix the 3DSTATE_STENCIL_BUFFER instruction length
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib/rendercopy_gen8.c')
-rw-r--r--lib/rendercopy_gen8.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c
index 408fcf52..43e962ce 100644
--- a/lib/rendercopy_gen8.c
+++ b/lib/rendercopy_gen8.c
@@ -790,7 +790,9 @@ gen8_emit_depth(struct intel_batchbuffer *batch) {
OUT_BATCH(0);
OUT_BATCH(0);
- OUT_BATCH(GEN7_3DSTATE_STENCIL_BUFFER | (3-2));
+ OUT_BATCH(GEN7_3DSTATE_STENCIL_BUFFER | (5 - 2));
+ OUT_BATCH(0);
+ OUT_BATCH(0);
OUT_BATCH(0);
OUT_BATCH(0);
}