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>
*/
/* 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 */