From 9b02e5c023ba580e8d22a3b5a8978dfcd8f277cc Mon Sep 17 00:00:00 2001 From: Sathishkumar S Date: Tue, 1 Nov 2022 20:15:56 +0530 Subject: [PATCH] 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 Reviewed-by: Leo Liu Part-of: (cherry picked from commit f1ea0bc18aa6dd62554d7c556c087640dbc8a168) --- .pick_status.json | 2 +- src/gallium/auxiliary/vl/vl_video_buffer.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index c2cf26f..9e18dee 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 be3aae2..42479c6 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: -- 2.7.4