From: Nanley Chery Date: Sat, 10 Aug 2019 00:18:48 +0000 (-0700) Subject: intel: Use 3DSTATE_DEPTH_BUFFER::ControlSurfaceEnable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f93bc14618ae22a3d3b8030be6ba58d589f0bab8;p=mesa.git intel: Use 3DSTATE_DEPTH_BUFFER::ControlSurfaceEnable Reviewed-by: Kenneth Graunke --- diff --git a/src/intel/genxml/gen12.xml b/src/intel/genxml/gen12.xml index 1e8c0908851..8970ddf51a8 100644 --- a/src/intel/genxml/gen12.xml +++ b/src/intel/genxml/gen12.xml @@ -1584,6 +1584,7 @@ + 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 }