mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 12:40:09 +01:00
zink/codegen: do not enable extensions based on vulkan version
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13004>
This commit is contained in:
parent
0e997d42a2
commit
3ee35b769a
1 changed files with 0 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue