diff options
author | Zack Rusin <[email protected]> | 2007-10-24 08:34:01 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2007-10-24 11:21:05 -0400 |
commit | d76a7b61bb2de2425289f462e07a678cf3c4ba59 (patch) | |
tree | 1d29b47fde67578acab60d1ae55bfb88ea8fe2ff /src/mesa/state_tracker/st_program.c | |
parent | 5040eefbb758fb0e02125ad3a6bfb3dba13cb7fa (diff) |
Cleanup some code.
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 0f9d7692642..6794227e135 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -251,7 +251,9 @@ st_translate_vertex_program(struct st_context *st, tokensOut, maxTokens); vs.tokens = tokensOut; +#ifdef MESA_LLVM vs.llvm_prog = ga_llvm_from_tgsi(st->pipe, vs.tokens); +#endif cso = st_cached_vs_state(st, &vs); stvp->vs = cso; @@ -407,7 +409,9 @@ st_translate_fragment_program(struct st_context *st, tokensOut, maxTokens); fs.tokens = tokensOut; - fs.llvm_prog = ga_llvm_from_tgsi(st->pipe, fs.tokens); +#ifdef MESA_LLVM + /*fs.llvm_prog = ga_llvm_from_tgsi(st->pipe, fs.tokens);*/ +#endif cso = st_cached_fs_state(st, &fs); stfp->fs = cso; |