Skip to content

radv: enable DCC with signedness reinterpretation

It seems we can enable DCC if the possible formats differ in signedness and are otherwise compatible. We just need a fast-clear eliminate for certain clear colors.

Trine 4 uses typeless formats a lot, so this improves performance. I think RADV is still worse than pro because it probably enables DCC for DXGI_FORMAT_R32_TYPELESS and DXGI_FORMAT_R16G16B16A16_TYPELESS, which isn't safe because it can be interpreted as both an integer and floating point image.

Merge request reports