glsl: fix lowering conditional returns in subroutines
authorFabian Bieler <der.fabe@gmx.net>
Wed, 1 Dec 2010 13:44:58 +0000 (14:44 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Dec 2010 19:28:06 +0000 (11:28 -0800)
commitef534f3838f23d757a40426728789183ed36c3bb
treed96a0e91eb46902c8aab586150dc1de24d4c60a6
parent834cc8e501c2632fd8f9fc78502a1a99803e6fb9
glsl: fix lowering conditional returns in subroutines

this fix applies to the lower_sub_return 'branch' of the lower_jumps pass

Fixes piglit tests glsl-functions-5 and glsl-functions-6.
src/glsl/lower_jumps.cpp