diff options
author | Neha Bhende <[email protected]> | 2019-12-20 00:41:49 +0530 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-12-19 14:40:08 -0500 |
commit | 83ad2e50843bb538bb5466cf68013895d7b0a37c (patch) | |
tree | 960dc321067499f6191242f1d2d04805d93791c3 /src/compiler/glsl/opt_add_neg_to_sub.h | |
parent | 7f821289cb5bdf730d3af03472d83a1562bce25a (diff) |
st/mesa: release tgsi tokens for shader states
Since we are using st_common_variant while creating variant for vertext
program, we can release tokens created in st_create_vp_variant which
are already stored in respective states.
This fix memory leak found with piglit tests
Fixes bc99b22a305b ('st/mesa: use a separate VS variant for the draw module')
Reviewed-by: Charmaine Lee <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/glsl/opt_add_neg_to_sub.h')
0 files changed, 0 insertions, 0 deletions