osmesa/tests: Extend render test to cover other working cases
authorDylan Baker <dylan@pnwbakers.com>
Thu, 31 Oct 2019 17:03:45 +0000 (10:03 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 7 Nov 2019 14:11:19 +0000 (06:11 -0800)
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 <brianp@vmware.com>
src/gallium/targets/osmesa/test-render.cpp

index 1adffe7bbcddacddfd5a5d361262f8957e7f817a..b31789abcd5150a4b36d085bdc0b1a51ccb9c216 100644 (file)
@@ -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
 );