OSDN Git Service

mesa: Hang the compiled shader off the shader->ir, not the shader.
authorEric Anholt <eric@anholt.net>
Wed, 18 Aug 2010 18:36:09 +0000 (11:36 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 18 Aug 2010 21:16:07 +0000 (14:16 -0700)
commit4a6a4316846ead3ec12759c96ecc4b61491aad65
tree36b49c365310c0071da4ccdc132fe5aa16172aa0
parent0df61bdb669d03d9c25e49d5698f193deca3cf6d
mesa: Hang the compiled shader off the shader->ir, not the shader.

Otherwise, with repeated program recompile, we never free the results
of the previous compile.
src/mesa/program/ir_to_mesa.cpp