freedreno/a6xx: Add int/scaled/snorm vertex formats to match turnip.
Noticed because the vertex formats didn't match up between the two. GL doesn't actually look for these vertex formats, though. Having these marked as supporting texture or color could theoretically change things I think. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13046>
This commit is contained in:
@@ -170,6 +170,11 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = {
|
||||
_TC(B8G8R8X8_UNORM, 8_8_8_8_UNORM, WXYZ),
|
||||
VTC(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),
|
||||
VTC(B8G8R8A8_SINT, 8_8_8_8_SINT, WXYZ),
|
||||
V__(B8G8R8A8_USCALED, 8_8_8_8_UINT, WXYZ),
|
||||
V__(B8G8R8A8_SSCALED, 8_8_8_8_SINT, WXYZ),
|
||||
|
||||
VTC(A8B8G8R8_UNORM, 8_8_8_8_UNORM, XYZW),
|
||||
_TC(X8B8G8R8_UNORM, 8_8_8_8_UNORM, XYZW),
|
||||
@@ -187,7 +192,9 @@ static struct fd6_format formats[PIPE_FORMAT_COUNT] = {
|
||||
V__(R10G10B10A2_SNORM, 10_10_10_2_SNORM, WZYX),
|
||||
V__(B10G10R10A2_SNORM, 10_10_10_2_SNORM, WXYZ),
|
||||
VTC(R10G10B10A2_UINT, 10_10_10_2_UINT, WZYX),
|
||||
V__(R10G10B10A2_SINT, 10_10_10_2_SINT, WZYX),
|
||||
VTC(B10G10R10A2_UINT, 10_10_10_2_UINT, WXYZ),
|
||||
V__(B10G10R10A2_SINT, 10_10_10_2_SINT, WXYZ),
|
||||
V__(R10G10B10A2_USCALED, 10_10_10_2_UINT, WZYX),
|
||||
V__(B10G10R10A2_USCALED, 10_10_10_2_UINT, WXYZ),
|
||||
V__(R10G10B10A2_SSCALED, 10_10_10_2_SINT, WZYX),
|
||||
|
||||
Reference in New Issue
Block a user