gallium/vl: Add opaque rgb pixel formats

Signed-off-by: Andri Yngvason <andri@yngvason.is>
Reviewed-by: Simon Ser <contact@emersion.fr>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18959>
(cherry picked from commit 9fc4cb8067)
This commit is contained in:
Andri Yngvason
2022-10-04 20:33:01 +00:00
committed by Dylan Baker
parent 9ef9b9e6c2
commit a6fcc62545
2 changed files with 3 additions and 1 deletions

View File

@@ -283,7 +283,7 @@
"description": "gallium/vl: Add opaque rgb pixel formats",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View File

@@ -77,7 +77,9 @@ vl_video_buffer_plane_order(enum pipe_format format)
case PIPE_FORMAT_NV12:
case PIPE_FORMAT_R8G8B8A8_UNORM:
case PIPE_FORMAT_R8G8B8X8_UNORM:
case PIPE_FORMAT_B8G8R8A8_UNORM:
case PIPE_FORMAT_B8G8R8X8_UNORM:
case PIPE_FORMAT_YUYV:
case PIPE_FORMAT_UYVY:
case PIPE_FORMAT_P010: