From 51888831426d61883324f82aabc7d7192c793200 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 23 Oct 2024 19:22:04 +0200 Subject: [PATCH] tests/shader_runner: Set "properties2.sType" in get_physical_device_info() in the Vulkan runner. Found by the Vulkan validation layers. --- tests/shader_runner_vulkan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/shader_runner_vulkan.c b/tests/shader_runner_vulkan.c index a99705b2..c9fddce3 100644 --- a/tests/shader_runner_vulkan.c +++ b/tests/shader_runner_vulkan.c @@ -1531,6 +1531,7 @@ static void get_physical_device_info(struct vulkan_shader_runner *runner, struct else VK_CALL(vkGetPhysicalDeviceFeatures(context->phys_device, &info->features2.features)); + info->properties2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; if (runner->driver_properties) { void *list = info->properties2.pNext;