nvk: Don't advertise sparse residency on Maxwell A

Fixes: 48803ac53d ("nvk: enable sparse residency features")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30281>
(cherry picked from commit d2177f4764)
This commit is contained in:
Faith Ekstrand 2024-07-12 14:53:58 -05:00 committed by Eric Engestrom
parent 6773865b7c
commit f759e3b01a
2 changed files with 8 additions and 8 deletions

View file

@ -164,7 +164,7 @@
"description": "nvk: Don't advertise sparse residency on Maxwell A",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "48803ac53db8daf26af70c9d2b68802d29e1128b",
"notes": null

View file

@ -299,13 +299,13 @@ nvk_get_device_features(const struct nv_device_info *info,
.shaderResourceResidency = info->cls_eng3d >= VOLTA_A,
.shaderResourceMinLod = info->cls_eng3d >= VOLTA_A,
.sparseBinding = true,
.sparseResidency2Samples = info->cls_eng3d >= MAXWELL_A,
.sparseResidency4Samples = info->cls_eng3d >= MAXWELL_A,
.sparseResidency8Samples = info->cls_eng3d >= MAXWELL_A,
.sparseResidencyAliased = info->cls_eng3d >= MAXWELL_A,
.sparseResidencyBuffer = info->cls_eng3d >= MAXWELL_A,
.sparseResidencyImage2D = info->cls_eng3d >= MAXWELL_A,
.sparseResidencyImage3D = info->cls_eng3d >= MAXWELL_A,
.sparseResidency2Samples = info->cls_eng3d >= MAXWELL_B,
.sparseResidency4Samples = info->cls_eng3d >= MAXWELL_B,
.sparseResidency8Samples = info->cls_eng3d >= MAXWELL_B,
.sparseResidencyAliased = info->cls_eng3d >= MAXWELL_B,
.sparseResidencyBuffer = info->cls_eng3d >= MAXWELL_B,
.sparseResidencyImage2D = info->cls_eng3d >= MAXWELL_B,
.sparseResidencyImage3D = info->cls_eng3d >= MAXWELL_B,
.variableMultisampleRate = true,
.inheritedQueries = true,