diff options
author | Kenneth Graunke <[email protected]> | 2010-11-17 11:03:57 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-11-30 13:48:28 -0800 |
commit | 2da02e75b17dcfb2efc3ce053c48339109bc0f26 (patch) | |
tree | e0827a8daf9d433b00839e4e7da07563654b96bd /Makefile | |
parent | ff994eeff8fa9f8f889878d6b48015ca7683e22b (diff) |
glsl/linker: Free any IR discarded by optimization passes.
Previously, IR for a linked shader was allocated directly out of the
gl_shader object - meaning all of it lived as long as the shader.
Now, IR is allocated out of a temporary context, and any -live- IR is
reparented/stolen to (effectively) the gl_shader. Any remaining IR can
be freed.
NOTE: This is a candidate for the 7.9 branch.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions