vulkan: Allow beta extensions for physical device properties

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24512>
This commit is contained in:
Konstantin Seurer 2023-08-14 18:26:49 +02:00 committed by Marge Bot
parent a7141a6f8a
commit 083793a39d

View file

@ -185,7 +185,8 @@ def get_property_structs(doc, api, beta):
continue continue
# Skip extensions with a define for now # Skip extensions with a define for now
if required[full_name].guard is not None: guard = required[full_name].guard
if guard is not None and (guard != "VK_ENABLE_BETA_EXTENSIONS" or not beta):
continue continue
# find Vulkan structure type # find Vulkan structure type