Mesa (main): freedreno/a6xx: disable vertex fetch support flag for b8g8r8a8_srgb.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Oct 5 20:44:49 UTC 2021


Module: Mesa
Branch: main
Commit: d275184ed2a839331afc161652808e22bd61da25
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d275184ed2a839331afc161652808e22bd61da25

Author: Emma Anholt <emma at anholt.net>
Date:   Fri Sep 24 14:21:07 2021 -0700

freedreno/a6xx: disable vertex fetch support flag for b8g8r8a8_srgb.

We don't have an srgb decode flag on vertex fetch, r8g8b8a8_srgb isn't
supported either, and GL doesn't ask for vertex fetch for this anyway.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13046>

---

 src/freedreno/fdl/fd6_format_table.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedreno/fdl/fd6_format_table.c b/src/freedreno/fdl/fd6_format_table.c
index 1b080b58506..83c2b0a3a73 100644
--- a/src/freedreno/fdl/fd6_format_table.c
+++ b/src/freedreno/fdl/fd6_format_table.c
@@ -168,7 +168,7 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = {
 
    VTC(B8G8R8A8_UNORM,   8_8_8_8_UNORM,         WXYZ),
    _TC(B8G8R8X8_UNORM,   8_8_8_8_UNORM,         WXYZ),
-   VTC(B8G8R8A8_SRGB,    8_8_8_8_UNORM,         WXYZ),
+   _TC(B8G8R8A8_SRGB,    8_8_8_8_UNORM,         WXYZ),
    _TC(B8G8R8X8_SRGB,    8_8_8_8_UNORM,         WXYZ),
    VTC(B8G8R8A8_SNORM,   8_8_8_8_SNORM,         WXYZ),
    VTC(B8G8R8A8_UINT,    8_8_8_8_UINT,          WXYZ),



More information about the mesa-commit mailing list