diff options
author | Brian Paul <[email protected]> | 2010-02-02 21:23:23 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-02 21:23:23 -0700 |
commit | 439036739db2855bba5f0ffc12b7b727897cb530 (patch) | |
tree | 0f6fc7a5e6cb4a6a226f83222ce90dd0e6b42c57 /src/gallium/auxiliary/tgsi/tgsi_parse.h | |
parent | c173eb990a20611ac47c1727e1fb11d7fd3aa0c4 (diff) |
tgsi: added tgsi_alloc_tokens()
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_parse.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_parse.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_parse.h b/src/gallium/auxiliary/tgsi/tgsi_parse.h index 8150e3cd29d..b45ccee2f63 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_parse.h +++ b/src/gallium/auxiliary/tgsi/tgsi_parse.h @@ -130,6 +130,10 @@ tgsi_num_tokens(const struct tgsi_token *tokens); struct tgsi_token * tgsi_dup_tokens(const struct tgsi_token *tokens); +struct tgsi_token * +tgsi_alloc_tokens(unsigned num_tokens); + + #if defined __cplusplus } #endif |