wined3d: Use clamp() instead of max() for calculating the clamped cosine in the…
wined3d: Use clamp() instead of max() for calculating the clamped cosine in the ffp lighting calculations.
On typical hardware, the clamp() would be an instruction modifier, while the
max() would need an extra instruction.
Showing
Please
register
or
sign in
to comment