mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
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
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user