Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VkWriteDescriptorSet-descriptorType-00322 contradicts section 14.2.8. Push Descriptor Updates #1686

Closed
conor42 opened this issue Nov 15, 2021 · 1 comment
Assignees

Comments

@conor42
Copy link

conor42 commented Nov 15, 2021

14.2.8 states:

To push an immutable sampler, use a VkWriteDescriptorSet with dstBinding and dstArrayElement selecting the immutable sampler’s binding. If the descriptor type is VK_DESCRIPTOR_TYPE_SAMPLER, the pImageInfo parameter is ignored and the immutable sampler is taken from the push descriptor set layout in the pipeline layout.

While VkWriteDescriptorSet-descriptorType-00322 states:

pImageInfo must be a valid pointer to an array of descriptorCount valid VkDescriptorImageInfo structures

@oddhack
Copy link
Contributor

oddhack commented Dec 20, 2021

This should be fixed in the 1.2.203 spec update. 00322 was split and moved up into the commands to which VkWriteDescriptorSet is passed, with changes for vkCmdPushDescriptorSetKHR.

@oddhack oddhack closed this as completed Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants