Module: Mesa
Branch: main
Commit: 3ee35b769a32187d6003d2e7d89bafcbaa09b458
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ee35b769a32187d6003d2e7d89bafcbaa09b458

Author: Hoe Hao Cheng <[email protected]>
Date:   Fri Sep 24 03:02:46 2021 +0800

zink/codegen: do not enable extensions based on vulkan version

Reviewed-By: Mike Blumenkrantz <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13004>

---

 src/gallium/drivers/zink/zink_device_info.py | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_device_info.py 
b/src/gallium/drivers/zink/zink_device_info.py
index 0c5971d94a0..211d38959cc 100644
--- a/src/gallium/drivers/zink/zink_device_info.py
+++ b/src/gallium/drivers/zink/zink_device_info.py
@@ -361,22 +361,6 @@ zink_get_physical_device_info(struct zink_screen *screen)
       }
    }
 
-   %for version in versions:
-   if (${version.version()} <= screen->vk_version) {
-   %for ext in extensions:
-   %if ext.core_since and ext.core_since.struct_version == 
version.struct_version:
-   <%helpers:guard ext="${ext}">
-   %if not (ext.has_features or ext.has_properties):
-       info->have_${ext.name_with_vendor()} = true;
-   %else:
-       support_${ext.name_with_vendor()} = true;
-   %endif
-   </%helpers:guard>
-   %endif
-   %endfor
-   }
-   %endfor
-
    // get device features
    if (screen->vk.GetPhysicalDeviceFeatures2) {
       // check for device extension features

Reply via email to