-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
The validation layers throw lots of VKStructureType warnings at me when using different structs.
Here is an example:
vkCreateDescriptorSetLayout: pCreateInfo->pNext chain includes a structure with unexpected VkStructureType VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO; Allowed structures are [VkDescriptorSetLayoutBindingFlagsCreateInfo].
The unexpected type differs between calls and usually does not make any sense.
Looking at the code generate by SharpVk my guess is that for some structures SType is not set at all, but I am not sure if I am just missing the line where it's set.
One example is DescriptorSetLayoutBindingFlagsCreateInfo. While other MarshalTo methods set SType correctly, here SType is not set at all.
Metadata
Metadata
Assignees
Labels
No labels