23 return (a) / (a +
b + c);
28 return (a * a) / (a * a +
b *
b);
33 return (a * a) / (a * a +
b *
b + c * c);
38 return (a >
b) ? 1.0f : 0.0f;
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN ccl_device float balance_heuristic(const float a, const float b)
ccl_device float power_heuristic(const float a, const float b)
ccl_device float power_heuristic_3(const float a, const float b, float c)
ccl_device float balance_heuristic_3(const float a, const float b, float c)
ccl_device float max_heuristic(const float a, const float b)