mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
zink: add missing guards around have_{ext}
Signed-off-by: Eric Engestrom <eric@igalia.com> Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17466>
This commit is contained in:
parent
672df4d0fe
commit
f7f74a984b
1 changed files with 2 additions and 0 deletions
|
|
@ -578,6 +578,7 @@ zink_verify_device_extensions(struct zink_screen *screen)
|
|||
{
|
||||
%for ext in extensions:
|
||||
%if registry.in_registry(ext.name):
|
||||
<%helpers:guard ext="${ext}">
|
||||
if (screen->info.have_${ext.name_with_vendor()}) {
|
||||
%for cmd in registry.get_registry_entry(ext.name).device_commands:
|
||||
%if cmd.find("win32"):
|
||||
|
|
@ -595,6 +596,7 @@ zink_verify_device_extensions(struct zink_screen *screen)
|
|||
%endif
|
||||
%endfor
|
||||
}
|
||||
</%helpers:guard>
|
||||
%endif
|
||||
%endfor
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue