glsl: Skip processing the first function's body in do_dead_functions().
authorEric Anholt <eric@anholt.net>
Fri, 11 Mar 2011 22:08:48 +0000 (14:08 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 15 Mar 2011 17:14:51 +0000 (10:14 -0700)
commitc75427f4c8767e131e5fb3de44fbc9d904cb992d
treebf8b3c9d66f5352b12722f9cd1b20743025caef9
parent11af045ea8080435de0be74d8765190287b64f8b
glsl: Skip processing the first function's body in do_dead_functions().

It can't call anything, so there's no point.
src/glsl/opt_dead_functions.cpp