summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-15 09:59:19 -0400
committerZack Rusin <[email protected]>2007-10-24 11:21:03 -0400
commit5ffdada717466a78b5b148764ba23c7a95098887 (patch)
treec7005dde4cfd245d650b21278f8d358397a34564 /src/mesa/state_tracker
parent9e6d58fac26a12246e9e560f3802ebcbce2423bc (diff)
Execution engine is a singleton, for now keep it in the pipe.
Diffstat (limited to 'src/mesa/state_tracker')
-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 edb2703101f..0f9d7692642 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -251,7 +251,7 @@ st_translate_vertex_program(struct st_context *st,
tokensOut, maxTokens);
vs.tokens = tokensOut;
- vs.llvm_prog = ga_llvm_from_tgsi(vs.tokens);
+ vs.llvm_prog = ga_llvm_from_tgsi(st->pipe, vs.tokens);
cso = st_cached_vs_state(st, &vs);
stvp->vs = cso;
@@ -407,7 +407,7 @@ st_translate_fragment_program(struct st_context *st,
tokensOut, maxTokens);
fs.tokens = tokensOut;
- fs.llvm_prog = ga_llvm_from_tgsi(fs.tokens);
+ fs.llvm_prog = ga_llvm_from_tgsi(st->pipe, fs.tokens);
cso = st_cached_fs_state(st, &fs);
stfp->fs = cso;