diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-12-17 19:25:37 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-12-17 19:29:22 -0800 |
commit | d7423a653175352c5e2017f1de647bc7ef5ede43 (patch) | |
tree | b4a9853854664ebd1225c4987fc2c6d6280729b4 /src/glsl/builtins/ir/normalize | |
parent | 3f94d96fce244bbe8a9edc15758729ce0e604ae2 (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/builtins/ir/normalize')
0 files changed, 0 insertions, 0 deletions