[Intel-gfx] [PATCH 3/4] rendercopy/bdw: Fix the 3DSTATE_HIER_DEPTH_BUFFER instruction length

Damien Lespiau damien.lespiau at intel.com
Fri Nov 22 19:26:01 CET 2013


Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 lib/rendercopy_gen8.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/rendercopy_gen8.c b/lib/rendercopy_gen8.c
index 8bcf2bb..0eeb179 100644
--- a/lib/rendercopy_gen8.c
+++ b/lib/rendercopy_gen8.c
@@ -783,7 +783,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);
 
-- 
1.8.3.1




More information about the Intel-gfx mailing list