diff options
author | Brian Paul <[email protected]> | 2009-01-02 16:54:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-02 16:54:11 -0700 |
commit | d917ad5dbd17f2399a5a3590fe6c06a64d683771 (patch) | |
tree | eebd014fbf529c275770a38d62ed2c0065bdd81b /src/mesa/state_tracker/st_program.c | |
parent | 84cffc2e7fbeab8ed5dfb0b6b8d3829e0654ab02 (diff) |
gallium: assorted state tracker fixes for > 8 texture samplers
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index cf4b39cee40..442eeed1470 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -317,7 +317,8 @@ st_translate_vertex_program(struct st_context *st, /* XXX: fix static allocation of tokens: */ - num_tokens = st_translate_mesa_program(TGSI_PROCESSOR_VERTEX, + num_tokens = st_translate_mesa_program(st->ctx, + TGSI_PROCESSOR_VERTEX, &stvp->Base.Base, /* inputs */ vs_num_inputs, @@ -503,7 +504,8 @@ st_translate_fragment_program(struct st_context *st, /* XXX: fix static allocation of tokens: */ - num_tokens = st_translate_mesa_program(TGSI_PROCESSOR_FRAGMENT, + num_tokens = st_translate_mesa_program(st->ctx, + TGSI_PROCESSOR_FRAGMENT, &stfp->Base.Base, /* inputs */ fs_num_inputs, |