Advertisement

Vulkan buffer alignment

Started by September 18, 2020 04:31 PM
0 comments, last by _void_ 4 years, 4 months ago

Hey guys!

What are the requirements for offset alignment of vertex, index and indirect buffers when you suballocate them from a big buffer? They do not seem to be explicitly specified in VkPhysicalDeviceLimits.

Edit: I guess, you can always create VkBuffer of the above type and then use VkGetBufferMemoryRequirments and alignment field in VkMemoryRequirements to fetch this info. Is there a simpler way?

Thanks!

This topic is closed to new replies.

Advertisement