From: Dylan Baker Date: Thu, 31 Oct 2019 17:03:45 +0000 (-0700) Subject: osmesa/tests: Extend render test to cover other working cases X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0013af540d6d5f8054bcb9633707d94adc1f1680;p=mesa.git 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 --- 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 );