diff options
author | José Fonseca <[email protected]> | 2009-10-22 18:10:19 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-10-22 19:12:13 +0100 |
commit | a07437f8a6a863654487c5586cbd02bfc20f0a3b (patch) | |
tree | b4cebe1af009c85f8d94896ddb2d984068c20520 /src/gallium/drivers/llvmpipe/lp_test_main.c | |
parent | 4797ce0d194720369b46d51733536d02b4a14473 (diff) |
llvmpipe: Call util_cpu_detect() from the unit tests.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_test_main.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_test_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_test_main.c b/src/gallium/drivers/llvmpipe/lp_test_main.c index f07fa256f16..d4767ff52ba 100644 --- a/src/gallium/drivers/llvmpipe/lp_test_main.c +++ b/src/gallium/drivers/llvmpipe/lp_test_main.c @@ -34,6 +34,8 @@ */ +#include "util/u_cpu_detect.h" + #include "lp_bld_const.h" #include "lp_test.h" @@ -370,6 +372,8 @@ int main(int argc, char **argv) LLVMInitializeNativeTarget(); #endif + util_cpu_detect(); + if(fp) { /* Warm up the caches */ test_some(0, NULL, 100); |