Module: Mesa
Branch: master
Commit: 44c38cae9aad40e958da2c1f6903523afb6d704a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=44c38cae9aad40e958da2c1f6903523afb6d704a

Author: Rohan Garg <[email protected]>
Date:   Wed Mar 10 16:42:08 2021 +0100

virgl: Support the ETC1_RGB8 format as virglrenderer supports it

Signed-off-by: Rohan Garg <[email protected]>
Reviewed-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9497>

---

 src/gallium/drivers/virgl/virgl_encode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/virgl/virgl_encode.c 
b/src/gallium/drivers/virgl/virgl_encode.c
index 3f110c518d4..4be37c4a78f 100644
--- a/src/gallium/drivers/virgl/virgl_encode.c
+++ b/src/gallium/drivers/virgl/virgl_encode.c
@@ -249,6 +249,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(ETC1_RGB8)
    CONV_FORMAT(ETC2_RGB8)
    CONV_FORMAT(ETC2_SRGB8)
    CONV_FORMAT(ETC2_RGB8A1)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to