From: Zhao Yakui <yakui.z...@intel.com> Reviewed-by: Damien Lespiau <damien.lesp...@intel.com> Signed-off-by: Zhao Yakui <yakui.z...@intel.com> Signed-off-by: Ben Widawsky <benjamin.widaw...@intel.com> Signed-off-by: Damien Lespiau <damien.lesp...@intel.com> --- lib/rendercopy_gen9.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c index f98019e..1aacaa2 100644 --- a/lib/rendercopy_gen9.c +++ b/lib/rendercopy_gen9.c @@ -683,7 +683,7 @@ gen8_emit_gs(struct intel_batchbuffer *batch) { } static void -gen8_emit_ds(struct intel_batchbuffer *batch) { +gen9_emit_ds(struct intel_batchbuffer *batch) { OUT_BATCH(GEN7_3DSTATE_CONSTANT_DS | (11-2)); OUT_BATCH(0); OUT_BATCH(0); @@ -696,7 +696,9 @@ gen8_emit_ds(struct intel_batchbuffer *batch) { OUT_BATCH(0); OUT_BATCH(0); - OUT_BATCH(GEN7_3DSTATE_DS | (9-2)); + OUT_BATCH(GEN7_3DSTATE_DS | (11-2)); + OUT_BATCH(0); + OUT_BATCH(0); OUT_BATCH(0); OUT_BATCH(0); OUT_BATCH(0); @@ -721,7 +723,7 @@ gen8_emit_null_state(struct intel_batchbuffer *batch) { OUT_BATCH(0); OUT_BATCH(0); gen8_emit_gs(batch); - gen8_emit_ds(batch); + gen9_emit_ds(batch); gen8_emit_vs(batch); } -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx