Search Issue Tracker

Fixed

Fixed in 2021.3.31f1, 2022.2.19f1, 2023.1.0b16, 2023.2.0a12

Votes

0

Found in

2020.3.36f1

2023.2.0a1

2023.3.0a3

Issue ID

UUM-15079

Regression

No

[Graphics, Vulkan] Copying Texture2D to Texture2D array with incomplete MIP chain source causes crash and validation errors

-

How to reproduce:

  1. Open and run the user attached build
  2. Observe the crash

Reproducible with: 2020.3.36f1

Reproduced on: Windows 10 (Intel)

Note: When the debug validation layers are active they show multiple errors

VULKAN DEBUG: ERROR: \Validation, 0]: Validation Error: \[ VUID-VkImageMemoryBarrier-subresourceRange-01724 ] Object 0: handle = 0x76f3e50000000194, type = VK_OBJECT_TYPE_IMAGE; )

VULKAN DEBUG: ERROR: \Validation, 0]: Validation Error: \[ VUID-vkCmdCopyImage-dstImage-01732 ] Object 0: handle = 0x7bb5800000000191, type = VK_OBJECT_TYPE_IMAGE; dst_copy_extent width (2) must be a multiple of the blocked texture block width (4), or when added to dstOffset.x (0) must equal the image subresource width (4). The Vulkan spec states: If dstImage is a blocked image, then for each element of pRegions, extent.width must be a multiple of the compressed texel block width or (extent.width + dstOffset.x) must equal the width of the specified dstSubresource of dstImage (https://vulkan.lunarg.com/doc/view/1.3.204.1/windows/1.3-extensions/vkspec.html#VUID-vkCmdCopyImage-dstImage-01732 )

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.