|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device AttributeDescriptor | svm_node_attr_init (KernelGlobals kg, ccl_private ShaderData *sd, uint4 node, ccl_private NodeAttributeOutputType *type, ccl_private uint *out_offset) |
| template<uint node_feature_mask> | |
| ccl_device_noinline void | svm_node_attr (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint4 node) |
| ccl_device_forceinline float3 | svm_node_bump_P_dx (const ccl_private ShaderData *sd) |
| ccl_device_forceinline float3 | svm_node_bump_P_dy (const ccl_private ShaderData *sd) |
| ccl_device_noinline void | svm_node_attr_bump_dx (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint4 node) |
| ccl_device_noinline void | svm_node_attr_bump_dy (KernelGlobals kg, ccl_private ShaderData *sd, ccl_private float *stack, uint4 node) |
| ccl_device_noinline void svm_node_attr | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float * | stack, | ||
| uint4 | node ) |
Definition at line 41 of file kernel/svm/attribute.h.
References ATTR_ELEMENT_NONE, ATTR_STD_GENERATED, ATTR_STD_UV, average(), AttributeDescriptor::element, float4_to_float3(), IF_KERNEL_NODES_FEATURE, make_float3(), NODE_ATTR_FLOAT, NODE_ATTR_FLOAT2, NODE_ATTR_FLOAT4, NODE_ATTR_OUTPUT_FLOAT, NODE_ATTR_OUTPUT_FLOAT3, NODE_ATTR_RGBA, NULL, object_inverse_position_transform(), OBJECT_NONE, PRIMITIVE_LAMP, primitive_surface_attribute_float(), primitive_surface_attribute_float2(), primitive_surface_attribute_float3(), primitive_surface_attribute_float4(), stack_store_float(), stack_store_float3(), svm_node_attr_init(), AttributeDescriptor::type, float2::x, and float2::y.
Referenced by svm_eval_nodes().
| ccl_device_noinline void svm_node_attr_bump_dx | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float * | stack, | ||
| uint4 | node ) |
Definition at line 159 of file kernel/svm/attribute.h.
References ATTR_ELEMENT_NONE, ATTR_STD_GENERATED, average(), AttributeDescriptor::element, float4_to_float3(), make_float3(), NODE_ATTR_FLOAT, NODE_ATTR_FLOAT2, NODE_ATTR_FLOAT4, NODE_ATTR_OUTPUT_FLOAT, NODE_ATTR_OUTPUT_FLOAT3, NODE_ATTR_RGBA, NULL, object_inverse_position_transform(), OBJECT_NONE, primitive_surface_attribute_float(), primitive_surface_attribute_float2(), primitive_surface_attribute_float3(), primitive_surface_attribute_float4(), stack_store_float(), stack_store_float3(), svm_node_attr_init(), svm_node_bump_P_dx(), AttributeDescriptor::type, float2::x, and float2::y.
Referenced by svm_eval_nodes().
| ccl_device_noinline void svm_node_attr_bump_dy | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| ccl_private float * | stack, | ||
| uint4 | node ) |
Definition at line 257 of file kernel/svm/attribute.h.
References ATTR_ELEMENT_NONE, ATTR_STD_GENERATED, average(), AttributeDescriptor::element, float4_to_float3(), make_float3(), NODE_ATTR_FLOAT, NODE_ATTR_FLOAT2, NODE_ATTR_FLOAT4, NODE_ATTR_OUTPUT_FLOAT, NODE_ATTR_OUTPUT_FLOAT3, NODE_ATTR_RGBA, NULL, object_inverse_position_transform(), OBJECT_NONE, primitive_surface_attribute_float(), primitive_surface_attribute_float2(), primitive_surface_attribute_float3(), primitive_surface_attribute_float4(), stack_store_float(), stack_store_float3(), svm_node_attr_init(), svm_node_bump_P_dy(), AttributeDescriptor::type, float2::x, and float2::y.
Referenced by svm_eval_nodes().
| CCL_NAMESPACE_BEGIN ccl_device AttributeDescriptor svm_node_attr_init | ( | KernelGlobals | kg, |
| ccl_private ShaderData * | sd, | ||
| uint4 | node, | ||
| ccl_private NodeAttributeOutputType * | type, | ||
| ccl_private uint * | out_offset ) |
Definition at line 11 of file kernel/svm/attribute.h.
References ATTR_STD_NOT_FOUND, attribute_not_found(), find_attribute(), OBJECT_NONE, AttributeDescriptor::offset, and AttributeDescriptor::type.
Referenced by svm_node_attr(), svm_node_attr_bump_dx(), and svm_node_attr_bump_dy().
| ccl_device_forceinline float3 svm_node_bump_P_dx | ( | const ccl_private ShaderData * | sd | ) |
Definition at line 149 of file kernel/svm/attribute.h.
References differential_from_compact(), and differential3::dx.
Referenced by svm_node_attr_bump_dx(), svm_node_geometry_bump_dx(), and svm_node_tex_coord_bump_dx().
| ccl_device_forceinline float3 svm_node_bump_P_dy | ( | const ccl_private ShaderData * | sd | ) |
Definition at line 154 of file kernel/svm/attribute.h.
References differential_from_compact(), and differential3::dy.
Referenced by svm_node_attr_bump_dy(), svm_node_geometry_bump_dy(), and svm_node_tex_coord_bump_dy().