glsl2: Use ir_dead_code's linked version after linking.
authorEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 18:31:12 +0000 (11:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Jul 2010 18:49:27 +0000 (11:49 -0700)
commitbf6ad0ab3d3940ca642c388444f7ddae91eefffc
treea6bce09350c91841aa72f4d1e990af7c3ee8ccde
parent5532c4ca696fea32fb9b2f8de15beabe4a20ae15
glsl2: Use ir_dead_code's linked version after linking.

glsl-fs-raytrace-bug27060 goes from 485 Mesa IR instructions to 389
before Mesa IR optimization.
src/glsl/linker.cpp