OSDN Git Service

glsl: Make mat_op_to_vec allocate out of the IR's parent.
authorEric Anholt <eric@anholt.net>
Fri, 27 Aug 2010 22:32:59 +0000 (15:32 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 Aug 2010 23:11:00 +0000 (16:11 -0700)
commit3c96ef1f07f202312e1b7ae349b8bcbe7aed9e75
tree984d81191be0cd799aaea293a7c4bc9223b43dd4
parentd17faf726ecfd18f5a1f9a1c2b54eec4348ee053
glsl: Make mat_op_to_vec allocate out of the IR's parent.

This will reduce memory consumption of compiled shaders by not
dragging optimized-out children around.
src/glsl/ir_mat_op_to_vec.cpp