rendercopy/bdw: Fix the 3DSTATE_HIER_DEPTH_BUFFER instruction length
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 22 Nov 2013 18:12:35 +0000 (18:12 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Thu, 28 Nov 2013 14:33:37 +0000 (14:33 +0000)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/rendercopy_gen8.c

index 4f748f3..408fcf5 100644 (file)
@@ -784,7 +784,9 @@ gen8_emit_depth(struct intel_batchbuffer *batch) {
        OUT_BATCH(0);
        OUT_BATCH(0);
 
-       OUT_BATCH(GEN7_3DSTATE_HIER_DEPTH_BUFFER | (3-2));
+       OUT_BATCH(GEN7_3DSTATE_HIER_DEPTH_BUFFER | (5 - 2));
+       OUT_BATCH(0);
+       OUT_BATCH(0);
        OUT_BATCH(0);
        OUT_BATCH(0);