diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-09-21 19:57:57 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-09-21 20:12:03 +0100 |
commit | 734a498ed47b35c9e8e7172d19465aca640fa323 (patch) | |
tree | 73f9dc11e179e2bb4a9308b483323786c3fa0fd4 /src/mesa/state_tracker/st_mesa_to_tgsi.h | |
parent | 9297e6968ae16564f3d6a6e78b42da72f9c88e91 (diff) |
mesa: Ensure TGSI tokens are freed with gallium's free.
To avoid breaking the gallium's builtin malloc debugging.
Diffstat (limited to 'src/mesa/state_tracker/st_mesa_to_tgsi.h')
-rw-r--r-- | src/mesa/state_tracker/st_mesa_to_tgsi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.h b/src/mesa/state_tracker/st_mesa_to_tgsi.h index 679d0ddd41..c0d1ff59e1 100644 --- a/src/mesa/state_tracker/st_mesa_to_tgsi.h +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.h @@ -56,6 +56,9 @@ st_translate_mesa_program( const ubyte outputSemanticIndex[], const GLbitfield outputFlags[] ); +void +st_free_tokens(const struct tgsi_token *tokens); + #if defined __cplusplus } /* extern "C" */ |