diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-30 16:25:24 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-30 23:49:41 +0300 |
commit | d632ef7c66399bef4686673ae344cbad2a887c2a (patch) | |
tree | ec4648d2d9339d942bc87ebfda34ebf00dad60c8 /intern/cycles/bvh/bvh.h | |
parent | dc1043dda0552af72396fec15dccd9d7eefee803 (diff) |
Cycles: Use fast math functions in hair BSDF
Precision of the fast functions seems to be enough in there and
since the code was heavily using inverse trigonometric functions
this change gives few percent speedup on Victor's hair.
From the tests files from ctests storage doesn't have any meaningful
difference, hair on Victor is all below 4% absolute error and only
few pixels are exceeding 1% absolute difference.
In any case, let it be as it is currently so it allows us to have
fast math file in sources for it's further evaluation and possible
usage in other areas as well.
Diffstat (limited to 'intern/cycles/bvh/bvh.h')
0 files changed, 0 insertions, 0 deletions