[Piglit] [PATCH 3/4] fp-indirections2: limit max_samples to 256
Brian Paul
brianp at vmware.com
Fri Sep 19 08:12:34 PDT 2014
So that llvmpipe can run in a reasonable amount of time.
---
tests/shaders/fp-indirections2.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/shaders/fp-indirections2.c b/tests/shaders/fp-indirections2.c
index 0b1ee28..5cf09eb 100644
--- a/tests/shaders/fp-indirections2.c
+++ b/tests/shaders/fp-indirections2.c
@@ -216,6 +216,7 @@ piglit_display(void)
for(dim = 1; dim <= 3; ++dim) {
samples = 0;
for(;;) {
+ printf("Test dim %d samples %d\n", dim, samples);
result = test(dim, samples);
if (result != PIGLIT_PASS)
return result;
@@ -265,8 +266,8 @@ void piglit_init(int argc, char ** argv)
max_samples = max_native_tex_instructions;
}
- if (max_samples > 1024)
- max_samples = 1024;
+ if (max_samples > 256)
+ max_samples = 256;
texture_init();
}
--
1.7.10.4
More information about the Piglit
mailing list