Let us assume that if the limittype contains min for limit alpha then: device->alpha >= limit->alpha (similar holds for max)
As for:
minMemoryMapAlignment is min,pot then device->minMemoryMapAlignment >= limit
minStorageBufferOffsetAlignment is also min,pot so device->minStorageBufferOffsetAlignment >= limit
But as minMemoryMapAlignment restricts the device (the higher the limit the better), but minStorageBufferOffsetAlignment restricts the user (the lower the better) maybe (even if it sounds unintuitive) the limits that are restricting the user should have reversed limittypes.
Then we would have minMemoryMapAlignment: min,pot, but minStorageBufferOffsetAlignment would be max,pot, but that would align with the device/user restriction reasoning.
Originally posted by @qbojj in KhronosGroup/Vulkan-Profiles#703 (comment)
Let us assume that if the limittype contains min for limit alpha then:
device->alpha >= limit->alpha(similar holds for max)As for:
minMemoryMapAlignmentismin,potthendevice->minMemoryMapAlignment >= limitminStorageBufferOffsetAlignmentis alsomin,potsodevice->minStorageBufferOffsetAlignment >= limitBut as
minMemoryMapAlignmentrestricts the device (the higher the limit the better), butminStorageBufferOffsetAlignmentrestricts the user (the lower the better) maybe (even if it sounds unintuitive) the limits that are restricting the user should have reversed limittypes.Then we would have
minMemoryMapAlignment:min,pot, butminStorageBufferOffsetAlignmentwould bemax,pot, but that would align with the device/user restriction reasoning.Originally posted by @qbojj in KhronosGroup/Vulkan-Profiles#703 (comment)