From: Gurchetan Singh Date: Fri, 14 Jun 2019 00:00:36 +0000 (-0700) Subject: virgl_hw: add YUV support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2daf3d8215bfdb9fd9e4a4c93bfeb1a542a6c821;p=mesa.git virgl_hw: add YUV support Add corresponding entries from p_format.h Reviewed-by: Emil Velikov --- diff --git a/src/gallium/drivers/virgl/virgl_hw.h b/src/gallium/drivers/virgl/virgl_hw.h index 7a8aa12d084..7f300e5cd15 100644 --- a/src/gallium/drivers/virgl/virgl_hw.h +++ b/src/gallium/drivers/virgl/virgl_hw.h @@ -138,6 +138,12 @@ enum virgl_formats { VIRGL_FORMAT_L32_FLOAT = 160, VIRGL_FORMAT_L32A32_FLOAT = 161, + VIRGL_FORMAT_YV12 = 163, + VIRGL_FORMAT_YV16 = 164, + VIRGL_FORMAT_IYUV = 165, /**< aka I420 */ + VIRGL_FORMAT_NV12 = 166, + VIRGL_FORMAT_NV21 = 167, + VIRGL_FORMAT_R8_UINT = 177, VIRGL_FORMAT_R8G8_UINT = 178, VIRGL_FORMAT_R8G8B8_UINT = 179,