mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 16:30:10 +01:00
zink/codegen: init properties struct fully for double-loaded extensions
Fixes: 4d1768aec5
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35608>
This commit is contained in:
parent
1fb0e76233
commit
412d97e667
1 changed files with 1 additions and 0 deletions
|
|
@ -715,6 +715,7 @@ zink_get_physical_device_info(struct zink_screen *screen)
|
|||
%for ext in extensions:
|
||||
%if ext.needs_double_load:
|
||||
if (screen->info.have_${ext.name_with_vendor()}) {
|
||||
screen->info.${ext.field("props")}.sType = ${ext.stype("PROPERTIES")};
|
||||
screen->info.${ext.field("props")}.pNext = second_load_props.pNext;
|
||||
second_load_props.pNext = &screen->info.${ext.field("props")};
|
||||
%for field in registry.get_registry_entry(ext.name).properties_fields:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue