July 2, 2021 11:14 PM, "Henri Verbeet" hverbeet@gmail.com wrote:
It doesn't need to be smaller or have a different alignment. Creating two resources with the same properties at the same heap offset should work. If these share the same heap allocation, modifications to one should be visible in the other (after the appropriate barriers, etc.), if they get separate allocations modifications wouldn't be visible.
How should the 'ok' line be marked before the problem is patched? I see no way of using todo_if() because the Vulkan alignment requirement is unknown.