summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-24 12:48:06 -0400
committerZack Rusin <[email protected]>2007-10-24 12:48:06 -0400
commit02cf317ed69c67c672c852451c45986d7798413e (patch)
treee40effee52b8bbf291ae3c11224245a1a5ab886a /src/mesa/state_tracker/st_program.c
parent9d4b51aab8f5a0c0a4a0c14886d1c87828d9eeb0 (diff)
Add copyright headers and do some cleanups.
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 6794227e135..9fc0798ec58 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -252,7 +252,7 @@ st_translate_vertex_program(struct st_context *st,
vs.tokens = tokensOut;
#ifdef MESA_LLVM
- vs.llvm_prog = ga_llvm_from_tgsi(st->pipe, vs.tokens);
+ vs.llvm_prog = (void*)gallivm_from_tgsi(st->pipe, vs.tokens);
#endif
cso = st_cached_vs_state(st, &vs);
stvp->vs = cso;
@@ -410,7 +410,7 @@ st_translate_fragment_program(struct st_context *st,
fs.tokens = tokensOut;
#ifdef MESA_LLVM
- /*fs.llvm_prog = ga_llvm_from_tgsi(st->pipe, fs.tokens);*/
+ /*fs.llvm_prog = gallivm_from_tgsi(st->pipe, fs.tokens);*/
#endif
cso = st_cached_fs_state(st, &fs);
stfp->fs = cso;