summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2019-10-31 10:03:45 -0700
committerDylan Baker <[email protected]>2019-11-07 06:11:19 -0800
commit0013af540d6d5f8054bcb9633707d94adc1f1680 (patch)
tree5d0fa703774a3fd86195058f30589d2d69ec9b42
parent7bfb56a135a218fae92845b8e39ffc7fb143d2f9 (diff)
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 <[email protected]>
-rw-r--r--src/gallium/targets/osmesa/test-render.cpp4
1 files changed, 3 insertions, 1 deletions
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
);