mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
anv/sparse: enable MSAA for Sparse when applicable
The newer platforms can't support 8x and 16x since Tile64's shape for them is not a standard block shape (and claiming standard block shapes is higher priority than supporting things without it). The TileYs platforms are fine. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27306>
This commit is contained in:
parent
4e5979b5a2
commit
7ef3d652b2
1 changed files with 6 additions and 4 deletions
|
|
@ -509,10 +509,12 @@ get_features(const struct anv_physical_device *pdevice,
|
|||
.sparseResidencyBuffer = has_sparse_or_fake,
|
||||
.sparseResidencyImage2D = has_sparse_or_fake,
|
||||
.sparseResidencyImage3D = has_sparse_or_fake,
|
||||
.sparseResidency2Samples = false,
|
||||
.sparseResidency4Samples = false,
|
||||
.sparseResidency8Samples = false,
|
||||
.sparseResidency16Samples = false,
|
||||
.sparseResidency2Samples = has_sparse_or_fake,
|
||||
.sparseResidency4Samples = has_sparse_or_fake,
|
||||
.sparseResidency8Samples = has_sparse_or_fake &&
|
||||
pdevice->info.verx10 != 125,
|
||||
.sparseResidency16Samples = has_sparse_or_fake &&
|
||||
pdevice->info.verx10 != 125,
|
||||
.variableMultisampleRate = true,
|
||||
.inheritedQueries = true,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue