mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
panfrost: Drop the R and T flags on SCALED formats
Sampling from SCALED textures / rendering to SCALED FBOs is a bit tricky (requires extra int <-> float conversions in a few places). mesa/st only use SCALED formats as vertex formats, and those formats are optional in Vulkan, so let's drop the RENDER/TEXTURE flags to keep things simple. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Suggested-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12508>
This commit is contained in:
parent
bab84c62d5
commit
b1172540f3
1 changed files with 4 additions and 4 deletions
|
|
@ -247,12 +247,12 @@ const struct panfrost_format GENX(panfrost_pipe_format)[PIPE_FORMAT_COUNT] = {
|
|||
#endif
|
||||
FMT(R10G10B10A2_UINT, RGB10_A2UI, RGBA, L, VTR_),
|
||||
FMT(B10G10R10A2_UINT, RGB10_A2UI, BGRA, L, VTR_),
|
||||
FMT(R10G10B10A2_USCALED, RGB10_A2UI, RGBA, L, VTR_),
|
||||
FMT(B10G10R10A2_USCALED, RGB10_A2UI, BGRA, L, VTR_),
|
||||
FMT(R10G10B10A2_USCALED, RGB10_A2UI, RGBA, L, V___),
|
||||
FMT(B10G10R10A2_USCALED, RGB10_A2UI, BGRA, L, V___),
|
||||
FMT(R10G10B10A2_SINT, RGB10_A2I, RGBA, L, VTR_),
|
||||
FMT(B10G10R10A2_SINT, RGB10_A2I, BGRA, L, VTR_),
|
||||
FMT(R10G10B10A2_SSCALED, RGB10_A2I, RGBA, L, VTR_),
|
||||
FMT(B10G10R10A2_SSCALED, RGB10_A2I, BGRA, L, VTR_),
|
||||
FMT(R10G10B10A2_SSCALED, RGB10_A2I, RGBA, L, V___),
|
||||
FMT(B10G10R10A2_SSCALED, RGB10_A2I, BGRA, L, V___),
|
||||
FMT(R8_SSCALED, R8I, R001, L, V___),
|
||||
FMT(R8G8_SSCALED, RG8I, RG01, L, V___),
|
||||
FMT(R8G8B8_SSCALED, RGB8I, RGB1, L, V___),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue