diff options
author | Brian Paul <[email protected]> | 2010-09-09 10:03:46 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-09-09 10:04:39 -0600 |
commit | 3ec296390c250dbcdc2690e78da9a51ec57dabf5 (patch) | |
tree | 389195ddc157826f64475b24dd13bf0c6309474a /src/gallium/drivers/llvmpipe | |
parent | cdd5f21eacc93dfb242e59a6158d0e450a39a9b6 (diff) |
llvmpipe: remove redundant tgsi_dup_tokens() call
We were calling this twice so the first allocation was orphaned/leaked.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 8f3976c0f90..e17bfb490c2 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -901,9 +901,6 @@ llvmpipe_create_fs_state(struct pipe_context *pipe, debug_printf("\n"); } - /* Keep a copy of the tokens in shader->base.tokens */ - shader->base.tokens = tgsi_dup_tokens(templ->tokens); - return shader; } |