mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 13:40:16 +01:00
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:
parent
a7141a6f8a
commit
083793a39d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue