intel/blorp: Use mocs.tex for depth stencil

Cc: "17.3" <mesa-stable@lists.freedesktop.org>
Tested-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Jason Ekstrand
2017-11-03 14:31:51 -07:00
parent 866158b4b6
commit 4639cc716e

View File

@@ -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) {