mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
vulkan: Allow beta extensions for physical device features
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
32ad8baa05
commit
a7141a6f8a
1 changed files with 2 additions and 1 deletions
|
|
@ -366,7 +366,8 @@ def get_feature_structs(doc, api, beta):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Skip extensions with a define for now
|
# Skip extensions with a define for now
|
||||||
if required[_type.attrib['name']].guard is not None:
|
guard = required[_type.attrib['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