mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
frontends/va: Use ARGB as default fourcc for RGB32 RT format
This matches Intel driver and is what Chromium expects. Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34001>
This commit is contained in:
parent
f87d72152c
commit
47a9312a5d
1 changed files with 1 additions and 1 deletions
|
|
@ -1064,7 +1064,7 @@ rt_format_to_fourcc(uint32_t format)
|
|||
case VA_RT_FORMAT_RGBP:
|
||||
return VA_FOURCC_RGBP;
|
||||
case VA_RT_FORMAT_RGB32:
|
||||
return VA_FOURCC_BGRA;
|
||||
return VA_FOURCC_ARGB;
|
||||
case VA_RT_FORMAT_RGB32_10:
|
||||
return VA_FOURCC_X2R10G10B10;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue