summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-11-13 14:39:15 +0000
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2018-11-16 10:27:20 +0000
commitf25ff58c6efe4989b7ca0170afab58fea3c16e2e (patch)
tree3a7ddae4534b7934c8e05914af3edf03659988ab
parentc79d8d223c266f113dce194dd0d929f46a9a3dea (diff)
EGL_EXT_image_dma_buf_import: set RGBA visual for yuv sampling tests
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 <lionel.g.landwerlin@intel.com> Suggested-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--tests/spec/ext_image_dma_buf_import/sample_yuv.c1
1 files changed, 1 insertions, 0 deletions
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