Blender
V3.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_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 40 of file kernel/svm/attribute.h.
References ATTR_ELEMENT_NONE, ATTR_STD_GENERATED, average(), AttributeDescriptor::element, float4_to_float3(), IF_KERNEL_NODES_FEATURE, make_float3, node, 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(), AttributeDescriptor::type, type, float2::x, and float2::y.
ccl_device_noinline void svm_node_attr_bump_dx | ( | KernelGlobals | kg, |
ccl_private ShaderData * | sd, | ||
ccl_private float * | stack, | ||
uint4 | node | ||
) |
Definition at line 143 of file kernel/svm/attribute.h.
References ATTR_ELEMENT_NONE, ATTR_STD_GENERATED, average(), AttributeDescriptor::element, float4_to_float3(), make_float3, node, 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(), AttributeDescriptor::type, 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 241 of file kernel/svm/attribute.h.
References ATTR_ELEMENT_NONE, ATTR_STD_GENERATED, average(), AttributeDescriptor::element, float4_to_float3(), make_float3, node, 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(), AttributeDescriptor::type, 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 10 of file kernel/svm/attribute.h.
References ATTR_STD_NOT_FOUND, attribute_not_found(), find_attribute(), if(), node, OBJECT_NONE, and type.
Referenced by svm_node_attr(), svm_node_attr_bump_dx(), and svm_node_attr_bump_dy().