summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2019-06-13 17:00:36 -0700
committerGurchetan Singh <[email protected]>2019-06-18 09:18:58 -0700
commit2daf3d8215bfdb9fd9e4a4c93bfeb1a542a6c821 (patch)
treebd50c86ccdf52beecbae5074ece5481559cd55f2 /src
parent2480ce802ad4673cc84dcc78f7cb3c6b3c531865 (diff)
virgl_hw: add YUV support
Add corresponding entries from p_format.h Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/virgl/virgl_hw.h6
1 files changed, 6 insertions, 0 deletions
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,