mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 00:00:12 +01:00
isl: program 3DSTATE_HIER_DEPTH_BUFFER_BODY::TiledMode as documented
Since this value is 0, it doesn't change anything, but it's just good practice like we did for Gfx12.5 right above. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23620>
This commit is contained in:
parent
3e9f366b70
commit
298e8dee61
1 changed files with 13 additions and 0 deletions
|
|
@ -299,6 +299,19 @@ isl_genX(emit_depth_stencil_hiz_s)(const struct isl_device *dev, void *batch,
|
|||
*/
|
||||
assert(info->hiz_surf->tiling == ISL_TILING_HIZ);
|
||||
hiz.TiledMode = TILE4;
|
||||
#elif GFX_VERx10 >= 120
|
||||
/* From 3DSTATE_HIER_DEPTH_BUFFER_BODY::TiledMode,
|
||||
*
|
||||
* HZ buffer only supports Tile Y mode.
|
||||
*
|
||||
* and
|
||||
*
|
||||
* Value | Name
|
||||
* ----------------------------------------
|
||||
* 0h | No tiled resource (Tile Y Mode).
|
||||
*/
|
||||
assert(info->hiz_surf->tiling == ISL_TILING_HIZ);
|
||||
hiz.TiledMode = NONE;
|
||||
#endif
|
||||
|
||||
#if GFX_VER >= 12
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue