zink: fix format-mapping
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 7 Dec 2020 19:51:45 +0000 (20:51 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Dec 2020 20:51:33 +0000 (20:51 +0000)
commitd788a1d6f4ef07f75eaa761ae715ec4d5c852885
tree44cab50c6be81d6ddc968b53c4de6d6bcb2c97c6
parent123f3d0d647eb870f76fb018909ce7f1cb562ca6
zink: fix format-mapping

These formats are incorrectly mapped, and should be reversed.

Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7982>
src/gallium/drivers/zink/zink_format.c