[Mesa-dev] [PATCH 1/4] intel/blorp: Use mocs.tex for depth stencil

Jason Ekstrand jason at jlekstrand.net
Fri Nov 3 23:17:31 UTC 2017


---
 src/intel/blorp/blorp_genX_exec.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 5389262..ccbfe51 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -1364,11 +1364,7 @@ blorp_emit_depth_stencil_config(struct blorp_batch *batch,
       return;
 
    struct isl_depth_stencil_hiz_emit_info info = {
-#if GEN_GEN >= 7
-      .mocs = 1, /* GEN7_MOCS_L3 */
-#else
-      .mocs = 0,
-#endif
+      .mocs = batch->blorp->mocs.tex,
    };
 
    if (params->depth.enabled) {
-- 
2.5.0.400.gff86faf



More information about the mesa-dev mailing list