zink/codegen: do not automatically consider extensions promoted
authorHoe Hao Cheng <haochengho12907@gmail.com>
Sun, 1 May 2022 10:03:52 +0000 (18:03 +0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 3 Jun 2022 13:06:34 +0000 (13:06 +0000)
commit687fd6755707ca871e5c28589aa81d9646d8cfb9
tree79890af6b6de91a4fcadfb76c152528b9ef46a81
parent07565e8852970777ffe552f20444de4cd8e2f4c8
zink/codegen: do not automatically consider extensions promoted

...until an entry is added to VERSIONS in zink_device_info.py.

Now that we stop obtaining feature structs of promoted extensions when the VK
impl is new enough, it's possible for things to break when someone updates
vk.xml, and extensions get promoted but the codegen is not updated to include
e.g. info->feats13 and info->props13 (or newer) in zink_device_info

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16265>
src/gallium/drivers/zink/zink_device_info.py