[From LunarXchange]
Operating System | Win 10 Graphics Card | any Driver | any SDK Version 2.141.0
There could be an issue with VL when copying from uncompressed (UINT) formats to comrpessed (DXT), or I'm doing something wrong there. :/ (There are some problems with lower mipmaps, size less than 4x4). Here...
Validation Error: [ VUID-VkImageCopy-dstOffset-00150 ] Object 0: handle = 0x22931790, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x5c912440 | vkCmdCopyImage(): Dest image pRegion 0 x-dimension offset [0] + extent [4] exceeds subResource width [2]. The Vulkan spec states: dstOffset.x and (extent.width + dstOffset.x) must both be greater than or equal to 0 and less than or equal to the destination image subresource width (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkImageCopy-dstOffset-00150)
Validation Error: [ VUID-VkImageCopy-dstOffset-00151 ] Object 0: handle = 0x22931790, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0xb73b73ad | vkCmdCopyImage(): Dest image pRegion 0 y-dimension offset [0] + extent [4] exceeds subResource height [2]. The Vulkan spec states: dstOffset.y and (extent.height + dstOffset.y) must both be greater than or equal to 0 and less than or equal to the destination image subresource height (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkImageCopy-dstOffset-00151)
[From LunarXchange] Operating System | Win 10 Graphics Card | any Driver | any SDK Version 2.141.0
There could be an issue with VL when copying from uncompressed (UINT) formats to comrpessed (DXT), or I'm doing something wrong there. :/ (There are some problems with lower mipmaps, size less than 4x4). Here...
pvkCmdCopyImage( vkCmdBuf, vkSrcImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, vkDstImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, 1, &vkImgCopy);
vkSrcImage cration info:
Type VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO (14) VkStructureType pNext 0x0000000000000000 const void * flags 0 unsigned int imageType VK_IMAGE_TYPE_2D (1) VkImageType format VK_FORMAT_R16G16B16A16_UINT (95) VkFormat
vkDstImage cration info:
sType VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO (14) VkStructureType pNext 0x0000000063b2f238 const void * flags 8 unsigned int imageType VK_IMAGE_TYPE_2D (1) VkImageType format VK_FORMAT_BC1_RGB_UNORM_BLOCK (131) VkFormat