mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
v3d: YUV formats at is_dmabuf_modifier_supported are external_only
This fixes Issue https://github.com/Igalia/meta-webkit/issues/185
"Issue Raspberry 4-64 + Mesa VC4 driver + Gstreamer = red Label on video"
Fixes: 6ee10ab3de "gallium: Add pipe_screen::is_dmabuf_modifier_supported"
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10524>
This commit is contained in:
parent
af00c92586
commit
3d7b378980
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ v3d_screen_is_dmabuf_modifier_supported(struct pipe_screen *pscreen,
|
|||
for (i = 0; i < ARRAY_SIZE(v3d_available_modifiers) - 1; i++) {
|
||||
if (v3d_available_modifiers[i] == modifier) {
|
||||
if (external_only)
|
||||
*external_only = false;
|
||||
*external_only = util_format_is_yuv(format);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue