diff --git a/src/vulkan/util/vk_physical_device_features_gen.py b/src/vulkan/util/vk_physical_device_features_gen.py index f0d15fc3c16..27673ca3c0c 100644 --- a/src/vulkan/util/vk_physical_device_features_gen.py +++ b/src/vulkan/util/vk_physical_device_features_gen.py @@ -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