Skip to content

radv: Remove custom format tables

Instead use the util_format stuff.

The first patch actually fixes how we do swizzling and has some format implications (we can render to the fixed formats now :) ), but I'm not confident enough to backport.

Other than that the output of vulkaninfo --show-formats is identical before and after the series. Tested CTS on navi21 and tonga GPUs. In a release build the libvulkan_radeon.so size drops by ~40 KiB.

Merge request reports