summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-04-24 13:19:10 +0100
committerJosé Fonseca <[email protected]>2010-04-24 13:19:10 +0100
commite7a8cfc8776c70f8c4cc3e158f663f6c630169ed (patch)
tree0668b69ecc7519faa584e8ad5dac3164512b5f47 /src/gallium/drivers/llvmpipe
parent30a1c36dc85f0928a9adb69630c418f9aabbdd98 (diff)
gallivm: Centralize the cpu caps detection.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_jit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c
index 8690941a507..466a2f54fbe 100644
--- a/src/gallium/drivers/llvmpipe/lp_jit.c
+++ b/src/gallium/drivers/llvmpipe/lp_jit.c
@@ -171,15 +171,6 @@ lp_jit_screen_cleanup(struct llvmpipe_screen *screen)
void
lp_jit_screen_init(struct llvmpipe_screen *screen)
{
- util_cpu_detect();
-
-#if 0
- /* For simulating less capable machines */
- util_cpu_caps.has_sse3 = 0;
- util_cpu_caps.has_ssse3 = 0;
- util_cpu_caps.has_sse4_1 = 0;
-#endif
-
lp_build_init();
screen->module = lp_build_module;