[Piglit] [PATCH 2/2] EGL_EXT_image_dma_buf_import: add fbo option to yuv formats with alpha channel

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Nov 13 14:40:48 UTC 2018


Depending on the platform you're running on, the test might fail with
the AYUV format. To make this reliable, force to render to fbo.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
 tests/opengl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/opengl.py b/tests/opengl.py
index 8957de6e2..7c96e9412 100644
--- a/tests/opengl.py
+++ b/tests/opengl.py
@@ -3027,7 +3027,7 @@ with profile.test_list.group_manager(
       'ext_image_dma_buf_import-sample_yuv420', run_concurrent=False)
     g(['ext_image_dma_buf_import-sample_yuv', '-fmt=YV12'],
       'ext_image_dma_buf_import-sample_yvu420', run_concurrent=False)
-    g(['ext_image_dma_buf_import-sample_yuv', '-fmt=AYUV'],
+    g(['ext_image_dma_buf_import-sample_yuv', '-fmt=AYUV', '-fbo'],
       'ext_image_dma_buf_import-sample_ayuv', run_concurrent=False)
     g(['ext_image_dma_buf_import-transcode-nv12-as-r8-gr88'],
       'ext_image_dma_buf_import-transcode-nv12-as-r8-gr88',
-- 
2.19.1



More information about the Piglit mailing list