gallium/vl: Fix plane order for IYUV format
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32605>
This commit is contained in:
@@ -73,7 +73,6 @@ vl_video_buffer_plane_order(enum pipe_format format)
|
||||
{
|
||||
switch(format) {
|
||||
case PIPE_FORMAT_YV12:
|
||||
case PIPE_FORMAT_IYUV:
|
||||
return const_resource_plane_order_YVU;
|
||||
|
||||
case PIPE_FORMAT_NV12:
|
||||
@@ -94,6 +93,7 @@ vl_video_buffer_plane_order(enum pipe_format format)
|
||||
case PIPE_FORMAT_P012:
|
||||
case PIPE_FORMAT_P016:
|
||||
case PIPE_FORMAT_Y8_400_UNORM:
|
||||
case PIPE_FORMAT_IYUV:
|
||||
return const_resource_plane_order_YUV;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user