summaryrefslogtreecommitdiff
path: root/src/glsl/builtin_function.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-12-17 19:25:37 -0800
committerKenneth Graunke <kenneth@whitecape.org>2010-12-17 19:29:22 -0800
commitd7423a653175352c5e2017f1de647bc7ef5ede43 (patch)
treeb4a9853854664ebd1225c4987fc2c6d6280729b4 /src/glsl/builtin_function.cpp
parent3f94d96fce244bbe8a9edc15758729ce0e604ae2 (diff)
glsl/builtins: Compute the correct value for smoothstep(vec, vec, vec).
These mistakenly computed 't' instead of t * t * (3.0 - 2.0 * t). Also, properly vectorize the smoothstep(float, float, vec) variants. NOTE: This is a candidate for the 7.9 and 7.10 branches.
Diffstat (limited to 'src/glsl/builtin_function.cpp')
0 files changed, 0 insertions, 0 deletions