aboutsummaryrefslogtreecommitdiff
path: root/tests/glean
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-09-12 04:25:05 +0200
committerMarek Olšák <maraeo@gmail.com>2012-09-12 21:27:04 +0200
commit2639795f608fc0bc2d5e0e07c238fb542740c385 (patch)
tree7cadfc54d1ee100a658485f9d4a6216e9e678cb0 /tests/glean
parent22caf41e956d6b06578fd9dfbbeed06ae5043c9c (diff)
glean/texCombine: test fewer combinations
It takes 10 minutes for llvmpipe to finish this test. With this patch, it takes 20 seconds. Before: Tested 104 GL_REPLACE combinations Tested 7540 GL_ADD combinations Tested 7540 GL_ADD_SIGNED_EXT combinations Tested 7540 GL_MODULATE combinations Tested 5957 GL_INTERPOLATE_EXT combinations Tested 7540 GL_DOT3_RGB_EXT combinations Tested 7540 GL_DOT3_RGBA_EXT combinations Tested 47662 GL_MODULATE_ADD_ATI combinations Tested 47662 GL_MODULATE_SIGNED_ADD_ATI combinations Tested 47662 GL_MODULATE_SUBTRACT_ATI combinations Tested 218 multitexture combinations Tested 8 crossbar combinations After: Tested 17 GL_REPLACE combinations Tested 1237 GL_ADD combinations Tested 1237 GL_ADD_SIGNED_EXT combinations Tested 1237 GL_MODULATE combinations Tested 978 GL_INTERPOLATE_EXT combinations Tested 1237 GL_DOT3_RGB_EXT combinations Tested 1237 GL_DOT3_RGBA_EXT combinations Tested 7825 GL_MODULATE_ADD_ATI combinations Tested 7825 GL_MODULATE_SIGNED_ADD_ATI combinations Tested 7825 GL_MODULATE_SUBTRACT_ATI combinations Tested 35 multitexture combinations Tested 8 crossbar combinations Reviewed-by: Brian Paul <brianp@vmware.com> Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> before with r600g: real 0m24.506s user 0m22.393s sys 0m1.812s after with r600g real 0m0.747s user 0m0.616s sys 0m0.100s before with llvmpipe real 4m28.217s user 4m27.061s sys 0m1.020s after with llvmpipe real 0m7.358s user 0m7.224s sys 0m0.112s
Diffstat (limited to 'tests/glean')
-rw-r--r--tests/glean/ttexcombine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glean/ttexcombine.cpp b/tests/glean/ttexcombine.cpp
index 9f0b47e7..5c5234da 100644
--- a/tests/glean/ttexcombine.cpp
+++ b/tests/glean/ttexcombine.cpp
@@ -1609,7 +1609,7 @@ TexCombineTest::runOne(BasicResult& r, Window& w) {
// If quick mode, run fewer tests
if (env->options.quick)
- testStride = 11; // a prime number
+ testStride = 67; // a prime number
else
testStride = 1;