summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-02-21 22:41:39 +0100
committerMarek Olšák <[email protected]>2015-02-24 21:21:04 +0100
commit94746cadc04c23add7750b446865b88297ff0a46 (patch)
tree39a6fed7b15da1f503f8801d073af9b4e6deabf7 /src/mesa/state_tracker/st_program.c
parentb039302fb7b6ae5041ae77e14c6b18f34e70f28b (diff)
st/mesa: inline st_free_tokens
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index d6e0d1b3c16..ec123fbdb4c 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -69,7 +69,7 @@ delete_vp_variant(struct st_context *st, struct st_vp_variant *vpv)
draw_delete_vertex_shader( st->draw, vpv->draw_shader );
if (vpv->tgsi.tokens)
- st_free_tokens(vpv->tgsi.tokens);
+ ureg_free_tokens(vpv->tgsi.tokens);
free( vpv );
}
@@ -108,7 +108,7 @@ delete_fp_variant(struct st_context *st, struct st_fp_variant *fpv)
if (fpv->parameters)
_mesa_free_parameter_list(fpv->parameters);
if (fpv->tgsi.tokens)
- st_free_tokens(fpv->tgsi.tokens);
+ ureg_free_tokens(fpv->tgsi.tokens);
free(fpv);
}
@@ -1183,7 +1183,7 @@ st_translate_geometry_program(struct st_context *st,
gpv->driver_shader = pipe->create_gs_state(pipe, &state);
gpv->key = *key;
- st_free_tokens(state.tokens);
+ ureg_free_tokens(state.tokens);
return gpv;
}