|
Blender V4.3
|
Go to the source code of this file.
| ccl_device float fast_acosf | ( | float | x | ) |
Definition at line 260 of file math_fast.h.
References ccl_device, fabsf, M_PI_F, sqrtf, and x.
Referenced by bsdf_hair_reflection_eval(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_eval(), bsdf_hair_transmission_sample(), light_tree_importance(), shift_cos_in(), and spot_light_tree_parameters().
| ccl_device float fast_asinf | ( | float | x | ) |
Definition at line 277 of file math_fast.h.
References ccl_device, copysignf, fabsf, M_PI_2_F, sqrtf, and x.
| ccl_device float fast_atan2f | ( | float | y, |
| float | x ) |
Definition at line 310 of file math_fast.h.
References __float_as_uint, b, ccl_device, copysignf, fabsf, M_PI_2_F, M_PI_F, madd(), x, and y.
Referenced by bsdf_hair_reflection_eval(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_eval(), bsdf_hair_transmission_sample(), light_tree_emitter_importance(), light_tree_node_importance(), triangle_light_pdf(), triangle_light_sample(), and vector_angle().
| ccl_device float fast_atanf | ( | float | x | ) |
Definition at line 291 of file math_fast.h.
References ccl_device, copysignf, fabsf, M_PI_2_F, madd(), and x.
Referenced by LightTreeEmitter::LightTreeEmitter().
| ccl_device float fast_cosf | ( | float | x | ) |
Definition at line 113 of file math_fast.h.
References ccl_device, fabsf, fast_rint(), float, M_PI_2_F, madd(), and x.
Referenced by bsdf_hair_reflection_eval(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_eval(), distant_light_tree_parameters(), and light_tree_node_importance().
| ccl_device_inline float fast_coshf | ( | float | x | ) |
Definition at line 507 of file math_fast.h.
References ccl_device_inline, e, fabsf, fast_expf(), and x.
| ccl_device_inline float fast_cospif | ( | float | x | ) |
Definition at line 255 of file math_fast.h.
References ccl_device_inline, fast_sinpif(), and x.
| ccl_device_inline float fast_erfcf | ( | float | x | ) |
Definition at line 590 of file math_fast.h.
References ccl_device_inline, fast_erff(), and x.
| ccl_device_inline float fast_erff | ( | float | x | ) |
Definition at line 566 of file math_fast.h.
References b, ccl_device_inline, copysignf, fabsf, madd(), v, and x.
Referenced by fast_erfcf(), and microfacet_beckmann_sample_vndf().
| ccl_device_inline float fast_exp10 | ( | float | x | ) |
Definition at line 466 of file math_fast.h.
References ccl_device_inline, fast_exp2f(), and x.
| ccl_device float fast_exp2f | ( | float | x | ) |
Definition at line 400 of file math_fast.h.
References __float_as_uint, __uint_as_float, ccl_device, clamp(), int, madd(), and x.
Referenced by fast_exp10(), fast_expf(), and fast_safe_powf().
| ccl_device float4 fast_exp2f4 | ( | float4 | x | ) |
Definition at line 439 of file math_fast.h.
References __float4_as_int4(), __int4_as_float4(), ccl_device, clamp(), madd4(), make_float4(), make_int4(), and x.
Referenced by fast_expf4().
| ccl_device_inline float fast_expf | ( | float | x | ) |
Definition at line 427 of file math_fast.h.
References ccl_device_inline, fast_exp2f(), and x.
Referenced by fast_coshf(), fast_expm1f(), fast_sinhf(), fast_tanhf(), and svm_node_closure_volume().
| ccl_device_inline float4 fast_expf4 | ( | float4 | x | ) |
Definition at line 455 of file math_fast.h.
References ccl_device_inline, fast_exp2f4(), and x.
| ccl_device_inline float fast_expm1f | ( | float | x | ) |
Definition at line 474 of file math_fast.h.
References ccl_device_inline, fabsf, fast_expf(), madd(), and x.
| ccl_device_inline float fast_ierff | ( | float | x | ) |
Definition at line 601 of file math_fast.h.
References ccl_device_inline, fabsf, fast_logf(), madd(), sqrtf, w(), and x.
Referenced by microfacet_beckmann_sample_vndf().
| ccl_device_inline float fast_inv_cbrtf | ( | float | x | ) |
Definition at line 638 of file math_fast.h.
References __float_as_int, __int_as_float, ccl_device_inline, util_assert, x, and y.
Referenced by phase_draine_sample_cos(), and phase_rayleigh_sample().
| ccl_device_inline float fast_log10 | ( | float | x | ) |
Definition at line 383 of file math_fast.h.
References ccl_device_inline, fast_log2f(), and x.
| ccl_device float fast_log2f | ( | float | x | ) |
Definition at line 349 of file math_fast.h.
References __float_as_uint, __uint_as_float, ccl_device, clamp(), FLT_MAX, int, madd(), and x.
Referenced by fast_log10(), fast_logf(), and fast_safe_powf().
| ccl_device float fast_logb | ( | float | x | ) |
Definition at line 391 of file math_fast.h.
References __float_as_uint, ccl_device, clamp(), fabsf, FLT_MAX, int, and x.
| ccl_device_inline float fast_logf | ( | float | x | ) |
Definition at line 375 of file math_fast.h.
References ccl_device_inline, fast_log2f(), and x.
Referenced by fast_ierff().
| ccl_device_inline int fast_rint | ( | float | x | ) |
Definition at line 62 of file math_fast.h.
References ccl_device_inline, copysignf, float_to_int(), and x.
Referenced by fast_cosf(), fast_sincosf(), fast_sinf(), and fast_tanf().
| ccl_device float fast_safe_powf | ( | float | x, |
| float | y ) |
Definition at line 526 of file math_fast.h.
References __float_as_int, __int_as_float, ccl_device, fabsf, fast_exp2f(), fast_log2f(), x, and y.
| ccl_device void fast_sincosf | ( | float | x, |
| ccl_private float * | sine, | ||
| ccl_private float * | cosine ) |
Definition at line 141 of file math_fast.h.
References ccl_device, ccl_private, fabsf, fast_rint(), float, M_PI_2_F, madd(), and x.
Referenced by bsdf_hair_huang_sample(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_sample(), light_tree_importance(), sphg_dir(), to_gamma(), to_phi(), to_point(), and triangle_light_sample().
| ccl_device float fast_sinf | ( | float | x | ) |
Definition at line 77 of file math_fast.h.
References ccl_device, fabsf, fast_rint(), float, M_PI_2_F, madd(), and x.
| ccl_device float fast_sinhf | ( | float | x | ) |
Definition at line 485 of file math_fast.h.
References ccl_device, copysignf, e, fabsf, fast_expf(), madd(), and x.
| ccl_device float fast_sinpif | ( | float | x | ) |
Definition at line 219 of file math_fast.h.
References ccl_device, fabsf, P, x, y, and z().
Referenced by fast_cospif().
| ccl_device float fast_tanf | ( | float | x | ) |
Definition at line 184 of file math_fast.h.
References ccl_device, fast_rint(), float, madd(), and x.
Referenced by LightTreeEmitter::LightTreeEmitter().
| ccl_device_inline float fast_tanhf | ( | float | x | ) |
Definition at line 516 of file math_fast.h.
References ccl_device_inline, copysignf, e, fabsf, fast_expf(), and x.
| CCL_NAMESPACE_BEGIN ccl_device_inline float madd | ( | const float | a, |
| const float | b, | ||
| const float | c ) |
Definition at line 29 of file math_fast.h.
References b, and ccl_device_inline.
Referenced by fast_atan2f(), fast_atanf(), fast_cosf(), fast_erff(), fast_exp2f(), fast_expm1f(), fast_ierff(), fast_log2f(), fast_sincosf(), fast_sinf(), fast_sinhf(), fast_tanf(), ray_triangle_dot(), transform_direction(), and transform_point().
| ccl_device_inline float4 madd4 | ( | const float4 | a, |
| const float4 | b, | ||
| const float4 | c ) |
Definition at line 40 of file math_fast.h.
References b, and ccl_device_inline.
Referenced by fast_exp2f4().
| ccl_device_inline float vector_angle | ( | float3 | a, |
| float3 | b ) |
Definition at line 340 of file math_fast.h.
References b, ccl_device_inline, fast_atan2f(), and len.
Referenced by distant_light_intersect(), and distant_light_sample_from_intersection().