zink: remove duplicate format-mapping on little-endian

Doing *both* of thse ends up rewriting the previous mapping. Since this
doesn't seem to have lead to issues, it seems like the new mapping works
just as well.

Fixes: a22a1c0324 ("zink: Fix VK_FORMAT_A8B8G8R8_SRGB_PACK32 mapping on big-endian")
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11417>
This commit is contained in:
Erik Faye-Lund 2021-06-16 13:00:57 +02:00 committed by Marge Bot
parent b2252de03e
commit 4efbeafa44

View file

@ -77,7 +77,6 @@ static const VkFormat formats[PIPE_FORMAT_COUNT] = {
MAP_FORMAT_NORM(R8G8B8A8)
MAP_FORMAT_SCALED(R8G8B8A8)
MAP_FORMAT_INT(R8G8B8A8)
MAP_FORMAT_SRGB(R8G8B8A8)
MAP_FORMAT_NORM(B8G8R8A8)
MAP_FORMAT_SCALED(B8G8R8A8)
MAP_FORMAT_INT(B8G8R8A8)