vulkan: Track the nullDescriptor feature

Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20539>
This commit is contained in:
Konstantin Seurer 2023-01-05 17:42:23 +01:00 committed by Marge Bot
parent 274e1d5a39
commit 2d738803b5
2 changed files with 3 additions and 0 deletions

View file

@ -106,6 +106,8 @@ collect_enabled_features(struct vk_device *device,
device->enabled_features.robustBufferAccess2 = true;
if (features->robustImageAccess2)
device->enabled_features.robustImageAccess2 = true;
if (features->nullDescriptor)
device->enabled_features.nullDescriptor = true;
break;
}

View file

@ -110,6 +110,7 @@ struct vk_device {
bool robustBufferAccess2;
bool robustImageAccess;
bool robustImageAccess2;
bool nullDescriptor;
} enabled_features;
/** Device-level dispatch table */