Re: [Piglit] [PATCH] EGL_EXT_image_dma_buf_import: set RGBA visual for yuv sampling tests

2018-11-15 Thread Eric Anholt
Lionel Landwerlin  writes:

> Depending on the platform you're running on, the test might fail with
> the AYUV format (or another format with alpha channel). To make this
> reliable, force to visual to RGBA.
>
> Signed-off-by: Lionel Landwerlin 
> Suggested-by: Eric Anholt 

r-b.


signature.asc
Description: PGP signature
___
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit


[Piglit] [PATCH] EGL_EXT_image_dma_buf_import: set RGBA visual for yuv sampling tests

2018-11-15 Thread Lionel Landwerlin
Depending on the platform you're running on, the test might fail with
the AYUV format (or another format with alpha channel). To make this
reliable, force to visual to RGBA.

Signed-off-by: Lionel Landwerlin 
Suggested-by: Eric Anholt 
---
 tests/spec/ext_image_dma_buf_import/sample_yuv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/ext_image_dma_buf_import/sample_yuv.c 
b/tests/spec/ext_image_dma_buf_import/sample_yuv.c
index 38c0ee697..ed9f87e0f 100644
--- a/tests/spec/ext_image_dma_buf_import/sample_yuv.c
+++ b/tests/spec/ext_image_dma_buf_import/sample_yuv.c
@@ -36,6 +36,7 @@
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
config.supports_gl_es_version = 20;
+   config.window_visual = PIGLIT_GL_VISUAL_RGBA;
 
 PIGLIT_GL_TEST_CONFIG_END
 
-- 
2.19.1

___
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit