-
- Downloads
wined3d: Use dot() instead of length() in shader_glsl_nrm().
As Eric Anholt pointed out, using length() here is suboptimal. It essentially translates into "inversesqrt(dot(x, x));", but needs to handle the case of zero-length vectors, much like nrm.
Loading
Please register or sign in to comment