Blame SOURCES/0001-intel-blorp-Use-mocs.tex-for-depth-stencil.patch

dddc06
From d284bd93e387019b34796b6d8e7a985d60590157 Mon Sep 17 00:00:00 2001
dddc06
From: Jason Ekstrand <jason.ekstrand@intel.com>
dddc06
Date: Fri, 3 Nov 2017 14:31:51 -0700
dddc06
Subject: [PATCH 1/5] intel/blorp: Use mocs.tex for depth stencil
dddc06
dddc06
Cc: "17.3" <mesa-stable@lists.freedesktop.org>
dddc06
Tested-by: Lyude Paul <lyude@redhat.com>
dddc06
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
dddc06
Signed-off-by: Lyude <lyude@redhat.com>
dddc06
---
dddc06
 src/intel/blorp/blorp_genX_exec.h | 6 +-----
dddc06
 1 file changed, 1 insertion(+), 5 deletions(-)
dddc06
dddc06
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
dddc06
index 93534169ef..565acca929 100644
dddc06
--- a/src/intel/blorp/blorp_genX_exec.h
dddc06
+++ b/src/intel/blorp/blorp_genX_exec.h
dddc06
@@ -1364,11 +1364,7 @@ blorp_emit_depth_stencil_config(struct blorp_batch *batch,
dddc06
       return;
dddc06
 
dddc06
    struct isl_depth_stencil_hiz_emit_info info = {
dddc06
-#if GEN_GEN >= 7
dddc06
-      .mocs = 1, /* GEN7_MOCS_L3 */
dddc06
-#else
dddc06
-      .mocs = 0,
dddc06
-#endif
dddc06
+      .mocs = batch->blorp->mocs.tex,
dddc06
    };
dddc06
 
dddc06
    if (params->depth.enabled) {
dddc06
-- 
dddc06
2.14.3
dddc06