mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
isl: Enable compression with multisampled Tile64
We haven't tested the single-sampled case, so this doesn't enable any more uses of standalone CCS. This does however, allow multisampled surfaces with MCS or HIZ to get upgraded to MCS_CCS and HIZ_CCS, respectively. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14431>
This commit is contained in:
parent
792e294572
commit
749b82238b
1 changed files with 6 additions and 1 deletions
|
|
@ -2204,7 +2204,12 @@ isl_surf_supports_ccs(const struct isl_device *dev,
|
|||
*/
|
||||
|
||||
/* TODO: Handle the other tiling formats */
|
||||
if (surf->tiling != ISL_TILING_Y0 && surf->tiling != ISL_TILING_4)
|
||||
if (surf->tiling != ISL_TILING_Y0 && surf->tiling != ISL_TILING_4 &&
|
||||
surf->tiling != ISL_TILING_64)
|
||||
return false;
|
||||
|
||||
/* TODO: Handle single-sampled Tile64. */
|
||||
if (surf->samples == 1 && surf->tiling == ISL_TILING_64)
|
||||
return false;
|
||||
} else {
|
||||
/* ISL_GFX_VER(dev) < 12 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue