Skip to content

radv: implement VK_EXT_image_compression_control

There is currently no other way to force a Vulkan driver to disable compression, except through this semi-recent extension.

We will use that to workaround game bugs in vkd3d-proton by disabling DCC per image. For example, one use case would be https://github.com/HansKristian-Work/vkd3d-proton/blob/master/libs/vkd3d/resource.c#L601 which disables DCC by forcing mutable with 0 formats. Note that on RDNA3, all formats are DCC compatible and this workaround won't work if we skip that check at some point.

This will also help for fixing #8662 (closed) without disabling DCC entirely (game bug).

Merge request reports