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>
This commit is contained in:
Emma Anholt
2021-09-24 14:21:07 -07:00
committed by Marge Bot
parent 1573af4138
commit d275184ed2
+1 -1
View File
@@ -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),