-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Context:
- Zig: 0.15.1
- vulkan-zig commit: bef498b (latest as of writing)
- Vulkan headers: v1.4.328 (latest as of writing)
- Instance was created targeting vulkan API v1.2
Calling any of the below functions on an instance proxy results in validation errors:
getPhysicalDeviceQueueFamilyProperties2Alloc errors on every element. I've copied only the first:
vkGetPhysicalDeviceQueueFamilyProperties2(): pQueueFamilyProperties[0].sType must be VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2.
The Vulkan spec states: sType must be VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 (https://docs.vulkan.org/spec/latest/chapters/devsandqueues.html#VUID-VkQueueFamilyProperties2-sType-sType)
getPhysicalDeviceMemoryProperties2 leads to:
vkGetPhysicalDeviceMemoryProperties2(): pMemoryProperties->sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2.
The Vulkan spec states: sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 (https://docs.vulkan.org/spec/latest/chapters/memory.html#VUID-VkPhysicalDeviceMemoryProperties2-sType-sType)
getPhysicalDeviceProperties2 leads to:
vkGetPhysicalDeviceProperties2(): pProperties->sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2.
The Vulkan spec states: sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 (https://docs.vulkan.org/spec/latest/chapters/devsandqueues.html#VUID-VkPhysicalDeviceProperties2-sType-sType)
Each of these functions are part of core since Vulkan 1.1, and are recommended against their 1.0 counterparts. These are the only functions with a 2 in the name that I've tried. I imagine this problem exists on other functions as well.
pierrick-martin-dev
Metadata
Metadata
Assignees
Labels
No labels