diff options
author | Thomas Dinges <blender@dingto.org> | 2015-02-17 15:43:12 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-02-17 15:44:25 +0300 |
commit | bf878d3c3d39b0f460add02514f5a32dc8169613 (patch) | |
tree | 30e8ea698ade339af9fabcfe2d2f71ffe1ab7192 /intern/cycles/kernel/closure/bsdf_oren_nayar.h | |
parent | 4660c00ac57effeb9598bb3083900dc354a4f43f (diff) |
Cycles: Remove empty closure blur code and the corresponding entries in the switch.
Most compilers will probably optimize that out, but I still don't see a reason to keep it.
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_oren_nayar.h')
-rw-r--r-- | intern/cycles/kernel/closure/bsdf_oren_nayar.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_oren_nayar.h b/intern/cycles/kernel/closure/bsdf_oren_nayar.h index d18c3dd6142..c476d4ca4e2 100644 --- a/intern/cycles/kernel/closure/bsdf_oren_nayar.h +++ b/intern/cycles/kernel/closure/bsdf_oren_nayar.h @@ -47,10 +47,6 @@ ccl_device int bsdf_oren_nayar_setup(ShaderClosure *sc) return SD_BSDF|SD_BSDF_HAS_EVAL; } -ccl_device void bsdf_oren_nayar_blur(ShaderClosure *sc, float roughness) -{ -} - ccl_device float3 bsdf_oren_nayar_eval_reflect(const ShaderClosure *sc, const float3 I, const float3 omega_in, float *pdf) { if(dot(sc->N, omega_in) > 0.0f) { |