mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 02:40:11 +01:00
virgl: add more formats to conv table
Adding UYVY, YUYV, P010 to formats_conv_table. Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21250>
This commit is contained in:
parent
20584e04e3
commit
c660cef599
1 changed files with 3 additions and 0 deletions
|
|
@ -63,6 +63,8 @@ static const enum virgl_formats virgl_formats_conv_table[PIPE_FORMAT_COUNT] = {
|
|||
CONV_FORMAT(I8_UNORM)
|
||||
CONV_FORMAT(L8A8_UNORM)
|
||||
CONV_FORMAT(L16_UNORM)
|
||||
CONV_FORMAT(UYVY)
|
||||
CONV_FORMAT(YUYV)
|
||||
CONV_FORMAT(Z16_UNORM)
|
||||
CONV_FORMAT(Z32_UNORM)
|
||||
CONV_FORMAT(Z32_FLOAT)
|
||||
|
|
@ -270,6 +272,7 @@ static const enum virgl_formats virgl_formats_conv_table[PIPE_FORMAT_COUNT] = {
|
|||
CONV_FORMAT(A4B4G4R4_UNORM)
|
||||
CONV_FORMAT(R8_SRGB)
|
||||
CONV_FORMAT(R8G8_SRGB)
|
||||
CONV_FORMAT(P010)
|
||||
CONV_FORMAT(ETC1_RGB8)
|
||||
CONV_FORMAT(ETC2_RGB8)
|
||||
CONV_FORMAT(ETC2_SRGB8)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue