summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSathishkumar S <sathishkumar.sundararaju@amd.com>2022-11-01 20:15:56 +0530
committerEric Engestrom <eric@engestrom.ch>2022-12-14 20:56:55 +0000
commit9b02e5c023ba580e8d22a3b5a8978dfcd8f277cc (patch)
treedc2cc2ef063bb431c8f6fc5759eef1c67b845b8f
parentcdbba253c2ce97bd16701840d9c3893a8c992eeb (diff)
downloadmesa-9b02e5c023ba580e8d22a3b5a8978dfcd8f277cc.tar.gz
gallium/vl: return the buffer plane order for yuv444p format
plane order is expected when trying to render yuv surfaces, update it for yuv444p Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19445> (cherry picked from commit f1ea0bc18aa6dd62554d7c556c087640dbc8a168)
-rw-r--r--.pick_status.json2
-rw-r--r--src/gallium/auxiliary/vl/vl_video_buffer.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/.pick_status.json b/.pick_status.json
index c2cf26fad20..9e18dee16b6 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -16438,7 +16438,7 @@
"description": "gallium/vl: return the buffer plane order for yuv444p format",
"nominated": false,
"nomination_type": null,
- "resolution": 4,
+ "resolution": 1,
"main_sha": null,
"because_sha": null
},
diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium/auxiliary/vl/vl_video_buffer.c
index be3aae2c18e..42479c6de2e 100644
--- a/src/gallium/auxiliary/vl/vl_video_buffer.c
+++ b/src/gallium/auxiliary/vl/vl_video_buffer.c
@@ -76,6 +76,7 @@ vl_video_buffer_plane_order(enum pipe_format format)
return const_resource_plane_order_YVU;
case PIPE_FORMAT_NV12:
+ case PIPE_FORMAT_Y8_U8_V8_444_UNORM:
case PIPE_FORMAT_R8G8B8A8_UNORM:
case PIPE_FORMAT_R8G8B8X8_UNORM:
case PIPE_FORMAT_B8G8R8A8_UNORM: