Mesa (staging/19.1): i965: support AYUV/XYUV for external import only
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Sep 24 09:53:35 UTC 2019
Module: Mesa
Branch: staging/19.1
Commit: 479c77e2ddd489eae1ed279a76dbcb4a8bef12d2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=479c77e2ddd489eae1ed279a76dbcb4a8bef12d2
Author: Haihao Xiang <haihao.xiang at intel.com>
Date: Mon Sep 16 14:52:56 2019 +0800
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 <vivek.kasireddy at intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
(cherry picked from commit 8a9b81ab9dbd44ea4ce87b8fb8ebc4ec3530a3f9)
---
src/mesa/drivers/dri/i965/intel_screen.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index 2bc2e41178d..df4ad106fe3 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -1383,6 +1383,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;
More information about the mesa-commit
mailing list