#vkGetPhysicalDeviceProperties2 segmentation fault

2 messages · Page 1 of 1 (latest)

lofty harness
#

The vkGetPhysicalDeviceProperties2(gpu, &gpuProperties); at the start of the for loop at the end causes a segmentation fault.

I am using vulkan version 1.3.204.
Using version 1 of the functions fixes it but I want to know why this happens.

median tapir
#

What happens if you set appInfo.apiVersion to VK_API_VERSION_1_1 (or higher)?