zink: allow X32 -> A32
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 11 Aug 2022 10:32:16 +0000 (12:32 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 08:36:47 +0000 (08:36 +0000)
commit1961022e1a701b89ded008bf30b27e162d910301
treec8867944f19530c2e3f726af13a1e39e07870edc
parente4ff42684b95cfbc9c7b088a1f133bd0555b11e1
zink: allow X32 -> A32

The 32-bit per component pipe_formats are a bit different than the 8 and
16 bit formats, in that there's no UNORM or SNORM variants of them. So
let's just omit those variants.

While we're at it, update a comment that was already out-of-date anyway.

Acked-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Soroush Kashani <soroush.kashani@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18012>
src/gallium/drivers/zink/zink_format.c
src/gallium/drivers/zink/zink_screen.c