commit | 6d3a980f38d849e9eac22180dce12f4c2e16794c | [log] [tgz] |
---|---|---|
author | John Asper <agentx1994@gmail.com> | Sun Mar 21 12:29:24 2021 -0400 |
committer | ocornut <omarcornut@gmail.com> | Mon Mar 22 12:41:45 2021 +0100 |
tree | bff0dff88372753e8f035e0a44214180a01815ce | |
parent | 59da01901ed71a53e5578c34d90d631757c3870d [diff] |
Backends: Vulkan: Fix mapped memory validation error when buffer sizes are not multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize. (#3957) If using Vulkan backend and either vertex_size or index_size is not aligned to VkPhysicalDeviceLimits::nonCoherentAtomSize, then the call to vkFlushMappedMemoryRanges in ImGui_ImplVulkan_RenderDrawData will result to validation error.