diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-29 11:21:26 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-29 11:47:38 -0600 |
commit | ab0b9f80f45fcab55155b0a16b91a56ff4b3db1e (patch) | |
tree | eaa472ecc0e94a5af28a1021814f063cda1bb967 /docs/conform.html | |
parent | 588dd187c45490368354f340f5175d2c4d7cbd3c (diff) |
glsl: remove rcp from sqrt()
Per a patch from Marek Olšák, we can simply multiply the incoming
value by 1/sqrt(x) instead of using rcp.
We're keeping the x==0 check to avoid generating NaN for sqrt(0).
Diffstat (limited to 'docs/conform.html')
0 files changed, 0 insertions, 0 deletions