glsl: Remove useless iteration through function parameters.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 22 Nov 2013 11:38:26 +0000 (03:38 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 1 Dec 2013 23:32:55 +0000 (15:32 -0800)
commitc5adc1c8b554d3976b439ab344519847789c146b
treed989009d9c8c6c2bbb2e6cc1c6ab4843632f6968
parent61e0f111706a225444c927a6aeb6107b9aafe17f
glsl: Remove useless iteration through function parameters.

There's no need to loop through the "parameters" list and remove every
element; move_nodes_to(&parameters) already throws away all elements of
the destination list.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir.cpp