projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdd5f21
)
llvmpipe: remove redundant tgsi_dup_tokens() call
author
Brian Paul
<brianp@vmware.com>
Thu, 9 Sep 2010 16:03:46 +0000
(10:03 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 9 Sep 2010 16:04:39 +0000
(10:04 -0600)
We were calling this twice so the first allocation was orphaned/leaked.
src/gallium/drivers/llvmpipe/lp_state_fs.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 8f3976c0f9081b532a11d02620add05d3848e5b4..e17bfb490c26ccc9257a37912bdd67eb62af0c3d 100644
(file)
--- 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;
}