glsl: Fix the setup of refract()'s output for vec3/vec4 and k < 0.0.
authorEric Anholt <eric@anholt.net>
Wed, 7 Jul 2010 21:53:43 +0000 (14:53 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 7 Jul 2010 21:55:33 +0000 (14:55 -0700)
commit0b74bbb3dcf07489e1dbd1976f07093ad7821e51
treed18a9c8ac1b4d8591584fc5d2fcf743b52043a1b
parent9cbd8a1d5a85f39f12e9edbd2defbb9e9d0468ef
glsl: Fix the setup of refract()'s output for vec3/vec4 and k < 0.0.

caught by valgrind.
src/glsl/builtin_function.cpp
src/glsl/builtins/110/refract