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:

committed by
Marge Bot

parent
32ad8baa05
commit
a7141a6f8a
@@ -366,7 +366,8 @@ def get_feature_structs(doc, api, beta):
|
||||
continue
|
||||
|
||||
# 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
|
||||
|
||||
# find Vulkan structure type
|
||||
|
Reference in New Issue
Block a user