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

Problem with UBO alignment in Lucid #32

Open
nadult opened this issue Oct 20, 2024 · 0 comments
Open

Problem with UBO alignment in Lucid #32

nadult opened this issue Oct 20, 2024 · 0 comments
Assignees

Comments

@nadult
Copy link
Owner

nadult commented Oct 20, 2024

Following error happens in Lucid when rendering Conference in PBRRenderer.

Vulkan debug: Validation Error: [ VUID-VkWriteDescriptorSet-descriptorType-00327 ] | MessageID = 0xfdcfe89e |   
vkUpdateDescriptorSets(): pDescriptorWrites[0].pBufferInfo[0].offset (176) must be a multiple of device limit   
minUniformBufferOffsetAlignment 64 when descriptor type is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER. The Vulkan spec 
states: If descriptorType is VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER or VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, 
the offset member of each element of pBufferInfo must be a multiple of 
VkPhysicalDeviceLimits::minUniformBufferOffsetAlignment (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-
extensions/vkspec.html#VUID-VkWriteDescriptorSet-descriptorType-00327)
@nadult nadult self-assigned this Oct 20, 2024
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

1 participant