Skip to content

Inconsistant limittype specification #2461

@qbojj

Description

@qbojj

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions