freedreno/a4xx: add missing SNORM formats to help tests pass

Otherwise some of these fall back to RGBA_SNORM, which can screw up
blend factors.

Fixes spec@ext_texture_snorm@fbo-blending-formats.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13904>
This commit is contained in:
Ilia Mirkin 2021-11-21 13:38:00 -05:00 committed by Marge Bot
parent c6ca2d1929
commit 5a69f34aeb

View file

@ -78,7 +78,9 @@ static struct fd4_format formats[PIPE_FORMAT_COUNT] = {
_T(A8_UNORM, 8_UNORM, A8_UNORM, WZYX),
_T(L8_UNORM, 8_UNORM, R8_UNORM, WZYX),
_T(L8_SNORM, 8_SNORM, R8_SNORM, WZYX),
_T(I8_UNORM, 8_UNORM, NONE, WZYX),
_T(I8_SNORM, 8_SNORM, NONE, WZYX),
_T(A8_UINT, 8_UINT, NONE, WZYX),
_T(A8_SINT, 8_SINT, NONE, WZYX),