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:
@@ -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* */
|
||||
|
||||
Reference in New Issue
Block a user