🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Vulkan buffer alignment

Started by
0 comments, last by _void_ 3 years, 9 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