tests/shader_runner: Set "properties2.sType" in get_physical_device_info() in the Vulkan runner.

Found by the Vulkan validation layers.
This commit is contained in:
Henri Verbeet 2024-10-23 19:22:04 +02:00
parent aeae8322da
commit 5188883142
Notes: Henri Verbeet 2024-10-28 18:13:55 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1226

View File

@ -1531,6 +1531,7 @@ static void get_physical_device_info(struct vulkan_shader_runner *runner, struct
else else
VK_CALL(vkGetPhysicalDeviceFeatures(context->phys_device, &info->features2.features)); VK_CALL(vkGetPhysicalDeviceFeatures(context->phys_device, &info->features2.features));
info->properties2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2;
if (runner->driver_properties) if (runner->driver_properties)
{ {
void *list = info->properties2.pNext; void *list = info->properties2.pNext;