summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-29 08:27:32 -0400
committerKeith Whitwell <[email protected]>2007-10-29 16:14:10 +0000
commit25b17b213b7ba0d1b93ec37211504ee489944ce8 (patch)
tree5bc773224011ccc2e06e93f73952ef886e351953 /src/mesa/state_tracker/st_program.c
parentabe8cd19171def0de000e58b9f71c43adf4c6336 (diff)
Refactor the LLVM code a bit.
Move the CPU vertex shader execution code to the draw module, remove traces of LLVM from the state tracker, abstract execution engine for the purposes of the draw module.
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 8c61815b9b6..706238cbf53 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -251,9 +251,7 @@ st_translate_vertex_program(struct st_context *st,
tokensOut, maxTokens);
vs.tokens = tokensOut;
-#ifdef MESA_LLVM
- vs.llvm_prog = (void*)gallivm_from_tgsi(st->pipe, vs.tokens);
-#endif
+
cso = st_cached_vs_state(st, &vs);
stvp->vs = cso;