aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl_emit_depth_stencil.c
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2019-08-09 17:18:48 -0700
committerNanley Chery <[email protected]>2019-10-28 10:47:05 -0700
commitf93bc14618ae22a3d3b8030be6ba58d589f0bab8 (patch)
tree4c836de5b41e8911ca4404c3a68bf878df747b30 /src/intel/isl/isl_emit_depth_stencil.c
parentab994ecae68511f5f08f5ab0b5d4da624de3f7d9 (diff)
intel: Use 3DSTATE_DEPTH_BUFFER::ControlSurfaceEnable
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_emit_depth_stencil.c')
-rw-r--r--src/intel/isl/isl_emit_depth_stencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/isl/isl_emit_depth_stencil.c b/src/intel/isl/isl_emit_depth_stencil.c
index e28ec836255..c3815a6ac56 100644
--- a/src/intel/isl/isl_emit_depth_stencil.c
+++ b/src/intel/isl/isl_emit_depth_stencil.c
@@ -111,7 +111,7 @@ isl_genX(emit_depth_stencil_hiz_s)(const struct isl_device *dev, void *batch,
#endif
#if GEN_GEN >= 12
- db.DepthBufferCompressionEnable =
+ db.ControlSurfaceEnable = db.DepthBufferCompressionEnable =
info->hiz_usage == ISL_AUX_USAGE_HIZ_CCS;
#endif
}