mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 05:00:31 +01:00
i965: support AYUV/XYUV for external import only
Fixes:89785e2d56("i965: add support for sampling from AYUV") Fixes:7cab8d3661("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: Haihao Xiang <haihao.xiang@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
1e483a87bc
commit
8a9b81ab9d
1 changed files with 2 additions and 0 deletions
|
|
@ -1393,6 +1393,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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue