mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 12:30:09 +01:00
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:
parent
8a20e634ce
commit
df8ee11dc6
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue