mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
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> (cherry picked from commit794ec7f0a1)
This commit is contained in:
parent
e79ec6621b
commit
8c6de60c54
2 changed files with 2 additions and 2 deletions
|
|
@ -2304,7 +2304,7 @@
|
|||
"description": "vk/util: fix 'beta' check for physical device features",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "a7141a6f8a1112575c73281428fda0f8a798c857",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue