diff options
author | Haihao Xiang <[email protected]> | 2019-09-16 14:52:56 +0800 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2019-09-18 12:07:23 +0300 |
commit | 8a9b81ab9dbd44ea4ce87b8fb8ebc4ec3530a3f9 (patch) | |
tree | 04817d69215d043c01f2907843ad119270ef825f /src/mesa/drivers | |
parent | 1e483a87bcaa96ca34edf82c424143f06576ce60 (diff) |
i965: support AYUV/XYUV for external import only
Fixes: 89785e2d56e7fa ("i965: add support for sampling from AYUV")
Fixes: 7cab8d3661f243 ("i965: Add support for sampling from XYUV images")
Cc: Vivek Kasireddy <[email protected]>
Cc: Lionel Landwerlin <[email protected]>
Signed-off-by: Haihao Xiang <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 81df6b34e65..45779b06195 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -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; |