projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bfb56a
)
osmesa/tests: Extend render test to cover other working cases
author
Dylan Baker
<dylan@pnwbakers.com>
Thu, 31 Oct 2019 17:03:45 +0000
(10:03 -0700)
committer
Dylan 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
patch
|
blob
|
history
diff --git
a/src/gallium/targets/osmesa/test-render.cpp
b/src/gallium/targets/osmesa/test-render.cpp
index 1adffe7bbcddacddfd5a5d361262f8957e7f817a..b31789abcd5150a4b36d085bdc0b1a51ccb9c216 100644
(file)
--- 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
);