|
| #define | HIPRT_THREAD_STACK_SIZE 64 |
| #define | HIPRT_SHARED_STACK_SIZE 24 |
| #define | HIPRT_THREAD_GROUP_SIZE 256 |
| #define | HIPRT_INIT_KERNEL_GLOBAL() |
| #define | KERNEL_DATA_ARRAY(type, name) |
| #define | kernel_assert(cond) |
| #define | ccl_device static inline |
| #define | ccl_device_extern extern "C" |
| #define | ccl_device_noinline static inline |
| #define | ccl_device_noinline_cpu ccl_device_noinline |
| #define | ccl_device_inline static inline __attribute__((always_inline)) |
| #define | ccl_device_forceinline static inline __attribute__((always_inline)) |
| #define | ccl_device_inline_method __attribute__((always_inline)) |
| #define | ccl_device_template_spec template<> inline __attribute__((always_inline)) |
| #define | ccl_align(...) |
| #define | __forceinline inline __attribute__((always_inline)) |
| #define | ccl_try_align(...) |
| #define | ccl_may_alias __attribute__((__may_alias__)) |
| #define | ccl_always_inline __attribute__((always_inline)) |
| #define | ccl_never_inline __attribute__((noinline)) |
| #define | ccl_global |
| #define | ccl_inline_constant inline constexpr |
| #define | ccl_static_constexpr static constexpr |
| #define | ccl_constant const |
| #define | ccl_private |
| #define | ccl_ray_data ccl_private |
| #define | ccl_restrict __restrict |
| #define | ccl_optional_struct_init |
| #define | ccl_attr_maybe_unused [[maybe_unused]] |
| #define | __KERNEL_WITH_SSE_ALIGN__ |
| #define | ATTR_FALLTHROUGH ((void)0) |
| #define | ccl_ignore_integer_overflow |
| #define | LIKELY(x) |
| #define | UNLIKELY(x) |
| #define | util_assert(statement) |
| #define | CONCAT_HELPER(a, ...) |
| #define | CONCAT(a, ...) |
| #define | SIMD_SET_FLUSH_TO_ZERO |
| #define | __KERNEL_PRINTF__ |
| #define | M_PI_F (3.1415926535897932f) /* `pi` */ |
| #define | M_PI_2_F (1.5707963267948966f) /* `pi/2` */ |
| #define | M_PI_4_F (0.7853981633974830f) /* `pi/4` */ |
| #define | M_1_PI_F (0.3183098861837067f) /* `1/pi` */ |
| #define | M_2_PI_F (0.6366197723675813f) /* `2/pi` */ |
| #define | M_1_2PI_F (0.1591549430918953f) /* `1/(2*pi)` */ |
| #define | M_1_4PI_F (0.0795774715459476f) /* `1/(4*pi)` */ |
| #define | M_SQRT_PI_8_F (0.6266570686577501f) /* `sqrt(pi/8)` */ |
| #define | M_LN_2PI_F (1.8378770664093454f) /* `ln(2*pi)` */ |
| #define | M_2PI_F (6.2831853071795864f) /* `2*pi` */ |
| #define | M_4PI_F (12.566370614359172f) /* `4*pi` */ |
| #define | M_PI_4F 0.78539816339744830962f /* `pi/4` */ |
| #define | M_SQRT2_F (1.4142135623730950f) /* `sqrt(2)` */ |
| #define | M_CBRT2_F 1.2599210498948732f /* `cbrt(2)` */ |
| #define | M_SQRT1_2F 0.70710678118654752440f /* `sqrt(1/2)` */ |
| #define | M_SQRT3_F (1.7320508075688772f) /* `sqrt(3)` */ |
| #define | M_LN2_F (0.6931471805599453f) /* `ln(2)` */ |
| #define | M_LN10_F (2.3025850929940457f) /* `ln(10)` */ |
| #define | __has_builtin(v) |
| #define | RGBE_EXP_BIAS 15 |
| #define | RGBE_MANTISSA_BITS 8 |
| #define | RGBE_EXPONENT_BITS 5 |
| #define | RGBE_MAX 65280.0f |
| #define | SPECTRUM_CHANNELS 3 |
| #define | make_spectrum(f) |
| #define | load_spectrum(f) |
| #define | store_spectrum(s, f) |
| #define | zero_spectrum zero_float3 |
| #define | one_spectrum one_float3 |
| #define | FOREACH_SPECTRUM_CHANNEL(counter) |
| #define | GET_SPECTRUM_CHANNEL(v, i) |
| #define | transform_point_auto transform_point |
| #define | transform_direction_auto transform_direction |
| #define | transform_direction_transposed_auto transform_direction_transposed |
| #define | static_assert_align(st, align) |
| #define | SVM_STACK_SIZE 255 |
| #define | SVM_STACK_INVALID 255 |
| #define | SVM_BUMP_EVAL_STATE_SIZE 10 |
| #define | SHADER_NODE_TYPE(name) |
| #define | CLOSURE_IS_BSDF(type) |
| #define | CLOSURE_IS_BSDF_DIFFUSE(type) |
| #define | CLOSURE_IS_BSDF_GLOSSY(type) |
| #define | CLOSURE_IS_BSDF_TRANSMISSION(type) |
| #define | CLOSURE_IS_BSDF_SINGULAR(type) |
| #define | CLOSURE_IS_BSDF_TRANSPARENT(type) |
| #define | CLOSURE_IS_BSDF_MULTISCATTER(type) |
| #define | CLOSURE_IS_BSDF_MICROFACET(type) |
| #define | CLOSURE_IS_BSDF_OR_BSSRDF(type) |
| #define | CLOSURE_IS_BSSRDF(type) |
| #define | CLOSURE_IS_VOLUME(type) |
| #define | CLOSURE_IS_VOLUME_SCATTER(type) |
| #define | CLOSURE_IS_VOLUME_ABSORPTION(type) |
| #define | CLOSURE_IS_HOLDOUT(type) |
| #define | CLOSURE_IS_PHASE(type) |
| #define | CLOSURE_IS_REFRACTION(type) |
| #define | CLOSURE_IS_GLASS(type) |
| #define | CLOSURE_IS_PRINCIPLED(type) |
| #define | CLOSURE_IS_RAY_PORTAL(type) |
| #define | CLOSURE_WEIGHT_CUTOFF 1e-5f |
| #define | BSDF_ROUGHNESS_SQ_THRESH 2e-10f |
| #define | THINFILM_THICKNESS_CUTOFF 0.1f |
| #define | OBJECT_MOTION_PASS_SIZE 2 |
| #define | FILTER_TABLE_SIZE 1024 |
| #define | RAMP_TABLE_SIZE 256 |
| #define | SHUTTER_TABLE_SIZE 256 |
| #define | THIN_FILM_TABLE_SIZE 512 |
| #define | BSSRDF_MIN_RADIUS 1e-8f |
| #define | BSSRDF_MAX_HITS 4 |
| #define | BSSRDF_MAX_BOUNCES 256 |
| #define | LOCAL_MAX_HITS 4 |
| #define | VOLUME_BOUNDS_MAX 1024 |
| #define | SHADER_NONE (~0) |
| #define | OBJECT_NONE (~0) |
| #define | PRIM_NONE (~0) |
| #define | LAMP_NONE (~0) |
| #define | EMITTER_NONE (~0) |
| #define | ID_NONE (0.0f) |
| #define | PASS_UNUSED (~0) |
| #define | LIGHTGROUP_NONE (~0) |
| #define | LIGHT_LINK_SET_MAX 64 |
| #define | LIGHT_LINK_MASK_ALL (~uint64_t(0)) |
| #define | INTEGRATOR_SHADOW_ISECT_SIZE_CPU 1024U |
| #define | INTEGRATOR_SHADOW_ISECT_SIZE_GPU 4U |
| #define | INTEGRATOR_SHADOW_ISECT_SIZE INTEGRATOR_SHADOW_ISECT_SIZE_CPU |
| #define | KERNEL_FEATURE_NODE_BSDF (1U << 0U) |
| #define | KERNEL_FEATURE_NODE_EMISSION (1U << 1U) |
| #define | KERNEL_FEATURE_NODE_VOLUME (1U << 2U) |
| #define | KERNEL_FEATURE_NODE_BUMP (1U << 3U) |
| #define | KERNEL_FEATURE_NODE_BUMP_STATE (1U << 4U) |
| #define | KERNEL_FEATURE_NODE_VORONOI_EXTRA (1U << 5U) |
| #define | KERNEL_FEATURE_NODE_RAYTRACE (1U << 6U) |
| #define | KERNEL_FEATURE_NODE_AOV (1U << 7U) |
| #define | KERNEL_FEATURE_NODE_LIGHT_PATH (1U << 8U) |
| #define | KERNEL_FEATURE_NODE_PRINCIPLED_HAIR (1U << 9U) |
| #define | KERNEL_FEATURE_NODE_PORTAL (1U << 10U) |
| #define | KERNEL_FEATURE_PATH_TRACING (1U << 11U) |
| #define | KERNEL_FEATURE_POINTCLOUD (1U << 12U) |
| #define | KERNEL_FEATURE_HAIR_RIBBON (1U << 13U) |
| #define | KERNEL_FEATURE_HAIR_THICK (1U << 14U) |
| #define | KERNEL_FEATURE_HAIR (KERNEL_FEATURE_HAIR_RIBBON | KERNEL_FEATURE_HAIR_THICK) |
| #define | KERNEL_FEATURE_OBJECT_MOTION (1U << 15U) |
| #define | KERNEL_FEATURE_BAKING (1U << 16U) |
| #define | KERNEL_FEATURE_SUBSURFACE (1U << 17U) |
| #define | KERNEL_FEATURE_VOLUME (1U << 18U) |
| #define | KERNEL_FEATURE_TRANSPARENT (1U << 19U) |
| #define | KERNEL_FEATURE_SHADOW_CATCHER (1U << 20U) |
| #define | KERNEL_FEATURE_LIGHT_PASSES (1U << 21U) |
| #define | KERNEL_FEATURE_AO_PASS (1U << 22U) |
| #define | KERNEL_FEATURE_AO_ADDITIVE (1U << 23U) |
| #define | KERNEL_FEATURE_AO (KERNEL_FEATURE_AO_PASS | KERNEL_FEATURE_AO_ADDITIVE) |
| #define | KERNEL_FEATURE_MNEE (1U << 24U) |
| #define | KERNEL_FEATURE_PATH_GUIDING (1U << 25U) |
| #define | KERNEL_FEATURE_OSL_SHADING (1U << 26U) |
| #define | KERNEL_FEATURE_OSL_CAMERA (1U << 27U) |
| #define | KERNEL_FEATURE_LIGHT_LINKING (1U << 28U) |
| #define | KERNEL_FEATURE_SHADOW_LINKING (1U << 29U) |
| #define | KERNEL_FEATURE_DENOISING (1U << 30U) |
| #define | KERNEL_FEATURE_LIGHT_TREE (1U << 31U) |
| #define | KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT |
| #define | KERNEL_FEATURE_NODE_MASK_SURFACE_BACKGROUND (KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT | KERNEL_FEATURE_NODE_AOV) |
| #define | KERNEL_FEATURE_NODE_MASK_SURFACE_SHADOW |
| #define | KERNEL_FEATURE_NODE_MASK_SURFACE |
| #define | KERNEL_FEATURE_NODE_MASK_VOLUME |
| #define | KERNEL_FEATURE_NODE_MASK_DISPLACEMENT |
| #define | KERNEL_FEATURE_NODE_MASK_BUMP KERNEL_FEATURE_NODE_MASK_DISPLACEMENT |
| #define | IF_KERNEL_FEATURE(feature) |
| #define | IF_KERNEL_NODES_FEATURE(feature) |
| #define | __AO__ |
| #define | __CAUSTICS_TRICKS__ |
| #define | __CLAMP_SAMPLE__ |
| #define | __DENOISING_FEATURES__ |
| #define | __DPDU__ |
| #define | __HAIR__ |
| #define | __LIGHT_LINKING__ |
| #define | __SHADOW_LINKING__ |
| #define | __LIGHT_TREE__ |
| #define | __OBJECT_MOTION__ |
| #define | __MNEE__ |
| #define | __PASSES__ |
| #define | __POINTCLOUD__ |
| #define | __PRINCIPLED_HAIR__ |
| #define | __RAY_DIFFERENTIALS__ |
| #define | __SHADER_RAYTRACE__ |
| #define | __SHADOW_CATCHER__ |
| #define | __SHADOW_RECORD_ALL__ |
| #define | __SUBSURFACE__ |
| #define | __SVM__ |
| #define | __TRANSPARENT_SHADOWS__ |
| #define | __VISIBILITY_FLAG__ |
| #define | __VOLUME__ |
| #define | __VOLUME_RECORD_ALL__ |
| #define | __BVH_LOCAL__ |
| #define | SHADOW_CATCHER_VISIBILITY_SHIFT(visibility) |
| #define | SHADOW_CATCHER_PATH_VISIBILITY(path_flag, visibility) |
| #define | SHADOW_CATCHER_OBJECT_VISIBILITY(is_shadow_catcher, visibility) |
| #define | PASS_NAME_JOIN(a, b) |
| #define | PASSMASK(pass) |
| #define | PASS_ANY (~0) |
| #define | PRIMITIVE_INDEX(type) |
| #define | PRIMITIVE_PACK_SEGMENT(type, segment) |
| #define | PRIMITIVE_UNPACK_SEGMENT(type) |
| #define | MAX_CLOSURE 64 |
| #define | CAUSTICS_MAX_CLOSURE 4 |
| #define | MAX_VOLUME_STACK_SIZE 32 |
| #define | MAX_VOLUME_CLOSURE 8 |
| #define | VOLUME_OCTREE_MAX_DEPTH 7 |
| #define | SHADER_CLOSURE_BASE |
| #define | SHADER_CLOSURE_VOLUME_BASE |
| #define | AS_SHADER_DATA(shader_data_tiny_storage) |
| #define | KERNEL_STRUCT_BEGIN(name, parent) |
| #define | KERNEL_STRUCT_END(name) |
| #define | KERNEL_STRUCT_MEMBER(parent, type, name) |
| #define | KERNEL_STRUCT_MEMBER_DONT_SPECIALIZE |
| #define | SHADER_NODE_TYPE(type) |
| #define | KERNEL_STRUCT_BEGIN(name, parent) |
| #define | KERNEL_STRUCT_END(name) |
| #define | KERNEL_STRUCT_MEMBER(parent, type, name) |
| #define | KERNEL_STRUCT_MEMBER_DONT_SPECIALIZE |
| #define | SHADER_NODE_TYPE(type) |
| #define | PATCH_MAX_CONTROL_VERTS 16 |
| #define | PATCH_MAP_NODE_IS_SET (1 << 30) |
| #define | PATCH_MAP_NODE_IS_LEAF (1u << 31) |
| #define | PATCH_MAP_NODE_INDEX_MASK (~(PATCH_MAP_NODE_IS_SET | PATCH_MAP_NODE_IS_LEAF)) |
| #define | MIN_TAB_SOBOL_SAMPLES 256 |
| #define | MAX_TAB_SOBOL_SAMPLES 8192 |
| #define | NUM_TAB_SOBOL_DIMENSIONS 4 |
| #define | NUM_TAB_SOBOL_PATTERNS 256 |
| #define | DECLARE_FILM_CONVERT_KERNEL(variant) |
| #define | kernel_data kernel_params.data |
| #define | kernel_data_fetch(name, index) |
| #define | kernel_data_array(name) |
| #define | kernel_integrator_state kernel_params.integrator_state |