nouveau/winsys: Add an info to nouveau_ws_device
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:

committed by
Marge Bot

parent
0d25483101
commit
87f946730f
@@ -37,7 +37,7 @@ nvk_get_image_format_features(struct nvk_physical_device *pdevice,
|
||||
|
||||
if (nil_format_supports_filtering(pdevice->dev, p_format)) {
|
||||
features |= VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_LINEAR_BIT;
|
||||
if (pdevice->dev->cls_eng3d >= MAXWELL_B)
|
||||
if (pdevice->info.cls_eng3d >= MAXWELL_B)
|
||||
features |= VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_FILTER_MINMAX_BIT;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user