summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-03 14:31:51 -0700
committerEmil Velikov <[email protected]>2017-11-17 19:24:29 +0000
commit9180ce378411e3486966b9ef10fb2be1157b9bf5 (patch)
treea874626e90edb4165b9a74801117fd52e3678a7b /src/intel/blorp
parentadef4109a08a42db50c9f05b6ba324ec4bf6b3e1 (diff)
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]> (cherry picked from commit 4639cc716e89c69da41c7b54fa938457000fbd4c)
Diffstat (limited to 'src/intel/blorp')
-rw-r--r--src/intel/blorp/blorp_genX_exec.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 53892620986..ccbfe5199f7 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) {