mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +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> (cherry picked from commit3d7b378980)
This commit is contained in:
parent
4496db61e9
commit
e633a4a3a8
2 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@
|
|||
"description": "v3d: YUV formats at is_dmabuf_modifier_supported are external_only",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "6ee10ab3de8664011a6c75e2357faba1ec95c094"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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