Mesa (main): zink: remove duplicate format-mapping on little-endian
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 13 08:23:21 UTC 2021
Module: Mesa
Branch: main
Commit: 4efbeafa446962cc1a393fa2c0d01f83feaa42db
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4efbeafa446962cc1a393fa2c0d01f83feaa42db
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Wed Jun 16 13:00:57 2021 +0200
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: a22a1c0324e ("zink: Fix VK_FORMAT_A8B8G8R8_SRGB_PACK32 mapping on big-endian")
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11417>
---
src/gallium/drivers/zink/zink_format.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/zink/zink_format.c b/src/gallium/drivers/zink/zink_format.c
index 35b2f4e88ea..3e1bea65725 100644
--- a/src/gallium/drivers/zink/zink_format.c
+++ b/src/gallium/drivers/zink/zink_format.c
@@ -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)
More information about the mesa-commit
mailing list