You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clear the image with color {1.0, 0.0, 0.0, 0.0} using vkCmdClearColorImage
(Optional) Render something on the image created above
Create an image view with swizzle (VkImageViewCreateInfo.components) equals to {VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_R}. That is, the R channel is being used as Alpha when being sampled.
Create an image with B8G8R8A8_UNORM format as framebuffer
Render onto the framebuffer by sampling from the image view created in step 3
The result is either complete black or contains many small black blocks (image corruption), and sometimes the driver even freezes.
Note:
RADV driver does not have the issue.
It only happens with R8_UNORM format. Use RGBA format with the same swizzle pattern does not have the issue.
Tested on RX6700XT but it is likely an issue with the RX5xxx gen as well.
The text was updated successfully, but these errors were encountered:
New feature and improvement
* Enable extension: VK_EXT_extended_dynamic_state2
* Enable extension: VK_KHR_copy_commands2
* Enable implicit external synchronization for all GPUs
* Add Pal setting: dumpCmdBufPerFrame
Issue fix
* Issue #243: Swizzled image view on R8_UNORM is not sampled correctly
* Hang, crash or corruption issue for a couple of DXVK games
Steps to reproduce:
The result is either complete black or contains many small black blocks (image corruption), and sometimes the driver even freezes.
Note:
Tested on RX6700XT but it is likely an issue with the RX5xxx gen as well.
The text was updated successfully, but these errors were encountered: