You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The screenshot example isn't working on some MacOS.
I works on my mac but not @MacTuitui
He is getting this validation error:
VUID-VkMappedMemoryRange-size-01390(ERROR / SPEC): msgNum: 0 - vkInvalidateMappedMemoryRanges: Size in pMemRanges[0] is 0x107ac0, which is not a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize (0x100). The Vulkan spec states: If size is not equal to VK_WHOLE_SIZE, size must either be a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize, or offset plus size must equal the size of memory. (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkMappedMemoryRange-size-01390)
Objects: 1
[0] 0x2d, type: 8, name: NULL
VUID-VkMappedMemoryRange-size-01390(ERROR / SPEC): msgNum: 0 - vkFlushMappedMemoryRanges: Size in pMemRanges[0] is 0x107ac0, which is not a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize (0x100). The Vulkan spec states: If size is not equal to VK_WHOLE_SIZE, size must either be a multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize, or offset plus size must equal the size of memory. (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkMappedMemoryRange-size-01390)
Objects: 1
[0] 0x2d, type: 8, name: NULL
I'm not sure if this is related but it's worth ruling out.
It's probably the buffer size which is based on the screen dimensions that is causing this.
Figure out what VkPhysicalDeviceLimits::nonCoherentAtomSize is on that machine
See if running with dimensions that are a multiple of this number fixes the issue.
Might be worth doing an api dump.
The text was updated successfully, but these errors were encountered:
freesig
changed the title
Scrrenshot example doesn't work on some MacOS
Screenshot example doesn't work on some MacOS
Jun 20, 2019
The screenshot example isn't working on some MacOS.
I works on my mac but not @MacTuitui
He is getting this validation error:
I'm not sure if this is related but it's worth ruling out.
It's probably the buffer size which is based on the screen dimensions that is causing this.
VkPhysicalDeviceLimits::nonCoherentAtomSize
is on that machineMight be worth doing an api dump.
The text was updated successfully, but these errors were encountered: