freedreno/a2xx: formats update

For render formats, update fd2_pipe2color to only work with HW supported
render formats, and remove the format whitelist is_format_supported. This
patch enables float render formats (which work).

For vertex/texture formats, use a generic function which translates using
the bitsize of the channels. Since we fake support for some vertex formats,
check for these in is_format_supported to avoid enabling them as sampler

Signed-off-by: Jonathan Marek <>
Reviewed-by: Rob Clark <>
22 jobs for !1882 with a2xx in 36 minutes and 5 seconds (queued for 1 minute and 21 seconds)
merge request