Closed litherum closed 2 months ago
@litherum we have an internal MR raised separately that may address this and your other issue, but it will take a little while to verify that and get it signed off. @tobski may want to say more since the MRs are theirs.
(What does "MR" stand for? Merge Request?)
@litherum yes, we use Gitlab internally which has "Merge Request" instead of "Pull Request"
This should be fixed in the 1.3.290 spec update. If you do not agree, please reopen with additional context.
https://github.com/KhronosGroup/Vulkan-Docs/commit/7a319840243ea33aa4caa42cdce0143b150e02bb added the following text:
(Sure, so
x
,y
, andz
are in the unit of blocks. Sounds good.)It then goes on to say:
This
max()
seems particularly surprising.For example, consider if
blockWidth
is 1,imageWidth
is 4096, andx
is within range[4, 5)
. In this situation, this paragraph would seem to indicate that texels are accessed in the range[x, 4096)
, regardless of whatimageExtent
is set to. So this is saying that, ifimageOffset
andimageExtent
identify pixels on the left side of the image, pixels from that point all the way to the right edge of the image will be accessed. This doesn't seem right.(I'd guess the
max()
is probably trying to say that blocks straddling the edges of the image will be accessed in their entirety, but as it's written, the text doesn't seem to actually describe that.)