62 if (distortion != 0.0f) {
67 if (color_is_needed) {
83 if (distortion != 0.0f) {
89 if (color_is_needed) {
100 bool color_is_needed,
105 if (distortion != 0.0f) {
112 if (color_is_needed) {
123 bool color_is_needed,
128 if (distortion != 0.0f) {
136 if (color_is_needed) {
151 uint vector_stack_offset, w_stack_offset, scale_stack_offset;
152 uint detail_stack_offset, roughness_stack_offset, distortion_stack_offset;
153 uint value_stack_offset, color_stack_offset;
156 offsets1, &vector_stack_offset, &w_stack_offset, &scale_stack_offset, &detail_stack_offset);
158 &roughness_stack_offset,
159 &distortion_stack_offset,
161 &color_stack_offset);
178 switch (dimensions) {
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
static unsigned long seed
CCL_NAMESPACE_BEGIN ccl_device_inline float3 stack_load_float3(float *stack, uint a)
ccl_device_inline uint4 read_node(KernelGlobals *kg, int *offset)
ccl_device_inline float stack_load_float_default(float *stack, uint a, uint value)
ccl_device_inline void stack_store_float3(float *stack, uint a, float3 f)
ccl_device_forceinline void svm_unpack_node_uchar4(uint i, uint *x, uint *y, uint *z, uint *w)
ccl_device_inline void stack_store_float(float *stack, uint a, float f)
ccl_device_inline bool stack_valid(uint a)
#define kernel_assert(cond)
#define ccl_device_inline
#define CCL_NAMESPACE_END
#define make_float2(x, y)
#define make_float4(x, y, z, w)
#define make_float3(x, y, z)
static const pxr::TfToken roughness("roughness", pxr::TfToken::Immortal)
float hash_float_to_float(float k)
ccl_device_noinline float fractal_noise_4d(float4 p, float octaves, float roughness)
ccl_device_noinline float fractal_noise_2d(float2 p, float octaves, float roughness)
ccl_device_noinline float fractal_noise_3d(float3 p, float octaves, float roughness)
CCL_NAMESPACE_BEGIN ccl_device_noinline float fractal_noise_1d(float p, float octaves, float roughness)
ccl_device_inline float snoise_1d(float p)
ccl_device_inline float snoise_2d(float2 p)
ccl_device_inline float snoise_3d(float3 p)
ccl_device_inline float snoise_4d(float4 p)
ccl_device_inline float4 random_float4_offset(float seed)
ccl_device void noise_texture_3d(float3 co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color)
CCL_NAMESPACE_BEGIN ccl_device_inline float random_float_offset(float seed)
ccl_device_inline float2 random_float2_offset(float seed)
ccl_device void noise_texture_4d(float4 co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color)
ccl_device_inline float3 random_float3_offset(float seed)
ccl_device void svm_node_tex_noise(KernelGlobals *kg, ShaderData *sd, float *stack, uint dimensions, uint offsets1, uint offsets2, int *offset)
ccl_device void noise_texture_2d(float2 co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color)
ccl_device void noise_texture_1d(float co, float detail, float roughness, float distortion, bool color_is_needed, float *value, float3 *color)
ccl_device_inline float hash_float2_to_float(float2 k)