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:
committed by
Marge Bot
parent
274e1d5a39
commit
2d738803b5
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user