vk/util: fix 'beta' check for physical device features

`--beta` is a string, not a bool (although really it should be, but that's a bigger change).

Fixes: a7141a6f8a ("vulkan: Allow beta extensions for physical device features")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27394>
This commit is contained in:
Eric Engestrom
2024-01-31 17:21:43 +00:00
committed by Marge Bot
parent 253968fc60
commit 794ec7f0a1
@@ -367,7 +367,7 @@ def get_feature_structs(doc, api, beta):
# Skip extensions with a define for now
guard = required[_type.attrib['name']].guard
if guard is not None and (guard != "VK_ENABLE_BETA_EXTENSIONS" or not beta):
if guard is not None and (guard != "VK_ENABLE_BETA_EXTENSIONS" or beta != "true"):
continue
# find Vulkan structure type