Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify the check on buffer offset in buffer-texture copy with depth …
…stencil formats (gpuweb#1528) * Clarify the check on buffer offset in buffer-texture copy with depth stencil formats This patch intends to clarify the validation rules on the buffer offset in copyBufferToTexture() and copyTextureToBuffer() with depth stencil formats. (The buffer offset must be a multiple of 4 when the texture has a depth/stencil format). According to Vulkan SPEC (1.2.172, chapter 19.4): - VUID-vkCmdCopyBufferToImage-srcImage-04053 If dstImage has a depth/stencil format, the bufferOffset member of any element of pRegions must be a multiple of 4 - VUID-vkCmdCopyImageToBuffer-srcImage-04053 If srcImage has a depth/stencil format, the bufferOffset member of any element of pRegions must be a multiple of 4 * Small fix
- Loading branch information