From c35247ab2046bf3e013c51a0db19b7636854adbf Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 31 Jan 2024 17:21:43 +0000 Subject: [PATCH] vk/util: fix 'beta' check for physical device properties `--beta` is a string, not a bool (although really it should be, but that's a bigger change). Fixes: 083793a39dd9fb421bb8 ("vulkan: Allow beta extensions for physical device properties") Part-of: --- src/vulkan/util/vk_physical_device_properties_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/util/vk_physical_device_properties_gen.py b/src/vulkan/util/vk_physical_device_properties_gen.py index 4b74047618c..11cde09c384 100644 --- a/src/vulkan/util/vk_physical_device_properties_gen.py +++ b/src/vulkan/util/vk_physical_device_properties_gen.py @@ -223,7 +223,7 @@ def get_property_structs(doc, api, beta): # Skip extensions with a define for now guard = required[full_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