summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2008-02-06 06:12:34 -0500
committerZack Rusin <zack@tungstengraphics.com>2008-02-10 23:07:18 -0500
commit1712a5380a12fe66fa03a281394abeca034f1a7c (patch)
tree08ebed392aa0206f67bb37c81ff7d38e55861761 /src
parent137edf75335910c9f15daacaf0ce3f4cbd43080c (diff)
disable llvm for fragment shaders for now
Diffstat (limited to 'src')
-rw-r--r--src/mesa/pipe/softpipe/sp_state_fs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state_fs.c b/src/mesa/pipe/softpipe/sp_state_fs.c
index 598a70c827..0b814fc284 100644
--- a/src/mesa/pipe/softpipe/sp_state_fs.c
+++ b/src/mesa/pipe/softpipe/sp_state_fs.c
@@ -62,11 +62,15 @@ softpipe_create_fs_state(struct pipe_context *pipe,
#ifdef MESA_LLVM
state->llvm_prog = 0;
+
+#if 0
if (!gallivm_global_cpu_engine()) {
gallivm_cpu_engine_create(state->llvm_prog);
}
else
gallivm_cpu_jit_compile(gallivm_global_cpu_engine(), state->llvm_prog);
+#endif
+
#elif defined(__i386__) || defined(__386__)
if (softpipe->use_sse) {
x86_init_func( &state->sse2_program );