mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
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:
parent
274e1d5a39
commit
2d738803b5
2 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -110,6 +110,7 @@ struct vk_device {
|
|||
bool robustBufferAccess2;
|
||||
bool robustImageAccess;
|
||||
bool robustImageAccess2;
|
||||
bool nullDescriptor;
|
||||
} enabled_features;
|
||||
|
||||
/** Device-level dispatch table */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue