glsl2: No need to strdup the name passed in to ir_variable constructor.
authorEric Anholt <eric@anholt.net>
Tue, 3 Aug 2010 18:40:26 +0000 (11:40 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 3 Aug 2010 18:40:26 +0000 (11:40 -0700)
commit900ab2f564018856133c19b68713a6dfd206c184
tree621eb8d5e8fcb367537801831ea6f5541aa154d4
parentc8babd5d9bba75c9f38f384f9cb3587e3543cc28
glsl2: No need to strdup the name passed in to ir_variable constructor.

ir_variable always strdups the incoming name so that it matches the
lifetime of the ir_variable.
src/glsl/ast_function.cpp