summaryrefslogtreecommitdiff
path: root/ast_to_hir.cpp
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-06-23 15:43:38 -0700
committerCarl Worth <cworth@cworth.org>2010-06-23 16:18:13 -0700
commit2d2561ef9696aa5ff0c1a85e3a4a95475f927935 (patch)
treea65bea924d13cec5a4e3a14aeb201e92ec278d24 /ast_to_hir.cpp
parentbe83eb8671e7789cbe5ca1fc8d3f5d133e2e7014 (diff)
glsl2 main: Use talloc to allocate _mesa_glsl_parse_state
This is a short-lived object. It exists only for the duration of the compile_shader() function, (as opposed to the shader and whole_program which live longer). The state is created with the same talloc parent as the shader, so that other allocation can be done with talloc_parent(state) as the owner in order to attach to a long-lived object.
Diffstat (limited to 'ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions