[Mesa-dev] [PATCH shader-db 1/5] run.c: Use computed value of max_threads
Tom Stellard
thomas.stellard at amd.com
Mon Apr 13 12:47:12 PDT 2015
---
run.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run.c b/run.c
index 414f21d..a9d370d 100644
--- a/run.c
+++ b/run.c
@@ -477,7 +477,7 @@ main(int argc, char **argv)
if (signal(SIGSEGV, abort_handler) == SIG_ERR)
fprintf(stderr, "WARNING: could not install SIGSEGV handler.\n");
- #pragma omp parallel if(shader_test_length > omp_get_max_threads())
+ #pragma omp parallel if(shader_test_length > max_threads)
{
const char *current_shader_name;
unsigned shaders_compiled = 0;
--
2.0.4
More information about the mesa-dev
mailing list