Signed-off-by: Damien Lespiau <[email protected]>
---
 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

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to