panfrost: Get rid of the Pixel Format descriptor
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 12 Nov 2020 15:08:31 +0000 (16:08 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Fri, 13 Nov 2020 13:35:17 +0000 (14:35 +0100)
commit0dd093a89fea15303e98ef70b0de8370d7e39fb5
treed6aa8e62d077abf626f363997c92c36d2009d1da
parent6e069d1c3febebb7996240ad5ce76b352ea2fe8d
panfrost: Get rid of the Pixel Format descriptor

We use opaque uint to encode formats everywhere else, so let's make
things consistent and convert the only user to an opaque int too.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7530>
src/gallium/drivers/panfrost/pan_blend_shaders.c
src/gallium/drivers/panfrost/pan_cmdstream.c
src/panfrost/lib/midgard.xml
src/panfrost/lib/pan_blit.c
src/panfrost/lib/pan_format.c
src/panfrost/lib/pan_texture.h