nvk: disable shaderResourceMinLod on pre-sm70

The hardware's TEX instruction doesn't support this when using indirect
texture access, which we're currently using for everything.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27733>
This commit is contained in:
Benjamin Lee 2024-02-21 10:30:10 -08:00 committed by Marge Bot
parent a7166386db
commit 944ef1771e

View file

@ -263,7 +263,7 @@ nvk_get_device_features(const struct nv_device_info *info,
.shaderInt64 = true,
.shaderInt16 = true,
/* TODO: shaderResourceResidency */
.shaderResourceMinLod = true,
.shaderResourceMinLod = info->cls_eng3d >= VOLTA_A,
.sparseBinding = true,
.sparseResidencyBuffer = info->cls_eng3d >= MAXWELL_A,
/* TODO: sparseResidency* */