Skip to content
Snippets Groups Projects
Commit fa59ef37 authored by Haihao Xiang's avatar Haihao Xiang Committed by Dylan Baker
Browse files

i965: support AYUV/XYUV for external import only


Fixes: 89785e2d ("i965: add support for sampling from AYUV")
Fixes: 7cab8d36 ("i965: Add support for sampling from XYUV images")
Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: default avatarHaihao Xiang <haihao.xiang@intel.com>
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
(cherry picked from commit 8a9b81ab)
parent 0ff13c29
No related branches found
No related tags found
No related merge requests found
......@@ -1384,6 +1384,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_AYUV ||
f->components == __DRI_IMAGE_COMPONENTS_XYUV ||
f->components == __DRI_IMAGE_COMPONENTS_Y_XUXV ||
f->components == __DRI_IMAGE_COMPONENTS_Y_UXVX) {
external_only[i] = GL_TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment