Module: Mesa
Branch: master
Commit: 4639cc716e89c69da41c7b54fa938457000fbd4c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4639cc716e89c69da41c7b54fa938457000fbd4c

Author: Jason Ekstrand <[email protected]>
Date:   Fri Nov  3 14:31:51 2017 -0700

intel/blorp: Use mocs.tex for depth stencil

Cc: "17.3" <[email protected]>
Tested-by: Lyude Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>

---

 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 5389262098..ccbfe5199f 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) {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to