mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965: support UYVY for external import only
It is similar with YUYV Fixes:165e704719("i965/i915: Add UYVY as the supported format") Signed-off-by: Haihao Xiang <haihao.xiang@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit8ead5bebdb)
This commit is contained in:
parent
62daf3cde2
commit
ce97d04f38
1 changed files with 2 additions and 1 deletions
|
|
@ -1363,7 +1363,8 @@ intel_query_dma_buf_modifiers(__DRIscreen *_screen, int fourcc, int max,
|
|||
for (i = 0; i < num_mods && i < max; i++) {
|
||||
if (f->components == __DRI_IMAGE_COMPONENTS_Y_U_V ||
|
||||
f->components == __DRI_IMAGE_COMPONENTS_Y_UV ||
|
||||
f->components == __DRI_IMAGE_COMPONENTS_Y_XUXV) {
|
||||
f->components == __DRI_IMAGE_COMPONENTS_Y_XUXV ||
|
||||
f->components == __DRI_IMAGE_COMPONENTS_Y_UXVX) {
|
||||
external_only[i] = GL_TRUE;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue