From 0013af540d6d5f8054bcb9633707d94adc1f1680 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 31 Oct 2019 10:03:45 -0700 Subject: [PATCH] osmesa/tests: Extend render test to cover other working cases Only the GL_UNSIGNED_BYTE cases actually work, the rest all fail, but we should test the working cases to ensure that they continue to work. Reviewed-by: Brian Paul --- src/gallium/targets/osmesa/test-render.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/targets/osmesa/test-render.cpp b/src/gallium/targets/osmesa/test-render.cpp index 1adffe7bbcd..b31789abcd5 100644 --- a/src/gallium/targets/osmesa/test-render.cpp +++ b/src/gallium/targets/osmesa/test-render.cpp @@ -93,7 +93,9 @@ INSTANTIATE_TEST_CASE_P( OSMesaRenderTest, OSMesaRenderTestFixture, testing::Values( - Params{ OSMESA_RGBA, GL_UNSIGNED_BYTE } + Params{ OSMESA_RGBA, GL_UNSIGNED_BYTE }, + Params{ OSMESA_BGRA, GL_UNSIGNED_BYTE }, + Params{ OSMESA_ARGB, GL_UNSIGNED_BYTE } ), name_params ); -- 2.30.2