intel: Use 3DSTATE_DEPTH_BUFFER::ControlSurfaceEnable
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -1584,6 +1584,7 @@
|
||||
<field name="Command SubType" start="27" end="28" type="uint" default="3"/>
|
||||
<field name="Command Type" start="29" end="31" type="uint" default="3"/>
|
||||
<field name="Surface Pitch" start="32" end="49" type="uint"/>
|
||||
<field name="Control Surface Enable" start="51" end="51" type="bool"/>
|
||||
<field name="Depth Buffer Compression Enable" start="53" end="53" type="bool"/>
|
||||
<field name="Hierarchical Depth Buffer Enable" start="54" end="54" type="bool"/>
|
||||
<field name="Corner Texel Mode" start="55" end="55" type="bool"/>
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user