disable llvm for fragment shaders for now
authorZack Rusin <zack@tungstengraphics.com>
Wed, 6 Feb 2008 11:12:34 +0000 (06:12 -0500)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 15 Feb 2008 02:51:09 +0000 (13:51 +1100)
src/mesa/pipe/softpipe/sp_state_fs.c

index 598a70c8279cb8c79e6b9c5fcb578453a7dd7721..0b814fc2847f049ccf301965eb8c322503d7dc8a 100644 (file)
@@ -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 );