diff options
author | Ian Romanick <[email protected]> | 2011-06-24 17:12:31 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-07-06 16:41:34 -0700 |
commit | dbda466fc05a6262ba857a7887e16347cf3d3e96 (patch) | |
tree | 7a72c76a50e26f8dbfee531ff0f4f50a3954003b /src/glsl/linker.cpp | |
parent | 0eb97979584b73907327eebc547302e6b8d8976a (diff) |
ir_to_mesa: Allocate temporary instructions on the visitor's ralloc context
And don't delete them. Let ralloc clean them up. Deleting the
temporary IR leaves dangling references in the prog_instruction. That
results in a bad dereference when printing the IR with MESA_GLSL=dump.
NOTE: This is a candidate for the 7.10 and 7.11 branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38584
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/linker.cpp')
0 files changed, 0 insertions, 0 deletions