|
Blender V4.3
|
Go to the source code of this file.
| ccl_device_noinline float subd_triangle_attribute_float | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float * | dx, | ||
| ccl_private float * | dy ) |
Definition at line 85 of file subd_triangle.h.
References ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, b, AttributeDescriptor::element, AttributeDescriptor::flags, kernel_data_fetch, mix, AttributeDescriptor::offset, patch_eval_float(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), v, float2::x, and float2::y.
Referenced by primitive_surface_attribute_float().
| ccl_device_noinline float2 subd_triangle_attribute_float2 | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float2 * | dx, | ||
| ccl_private float2 * | dy ) |
Definition at line 225 of file subd_triangle.h.
References ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, b, AttributeDescriptor::element, AttributeDescriptor::flags, kernel_data_fetch, make_float2(), mix, AttributeDescriptor::offset, patch_eval_float2(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), v, float2::x, and float2::y.
Referenced by primitive_surface_attribute_float2().
| ccl_device_noinline float3 subd_triangle_attribute_float3 | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float3 * | dx, | ||
| ccl_private float3 * | dy ) |
Definition at line 368 of file subd_triangle.h.
References ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, b, AttributeDescriptor::element, AttributeDescriptor::flags, kernel_data_fetch, make_float3(), mix, AttributeDescriptor::offset, patch_eval_float3(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), v, float2::x, and float2::y.
Referenced by primitive_motion_vector(), and primitive_surface_attribute_float3().
| ccl_device_noinline float4 subd_triangle_attribute_float4 | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| const AttributeDescriptor | desc, | ||
| ccl_private float4 * | dx, | ||
| ccl_private float4 * | dy ) |
Definition at line 510 of file subd_triangle.h.
References ATTR_ELEMENT_CORNER, ATTR_ELEMENT_CORNER_BYTE, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, b, color_srgb_to_linear_v4(), color_uchar4_to_float4(), AttributeDescriptor::element, AttributeDescriptor::flags, kernel_data_fetch, mix, NODE_ATTR_RGBA, AttributeDescriptor::offset, patch_eval_float4(), patch_eval_uchar4(), subd_triangle_patch(), subd_triangle_patch_corners(), subd_triangle_patch_face(), subd_triangle_patch_indices(), subd_triangle_patch_num_corners(), subd_triangle_patch_uv(), AttributeDescriptor::type, v, float2::x, float2::y, and zero_float4().
Referenced by primitive_surface_attribute_float4().
| ccl_device_inline void subd_triangle_patch_corners | ( | KernelGlobals | kg, |
| int | patch, | ||
| int | corners[4] ) |
Definition at line 54 of file subd_triangle.h.
References data, kernel_data_fetch, mod(), and uint4::x.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| ccl_device_inline uint subd_triangle_patch_face | ( | KernelGlobals | kg, |
| int | patch ) |
Definition at line 40 of file subd_triangle.h.
References kernel_data_fetch.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| ccl_device_inline uint4 subd_triangle_patch_indices | ( | KernelGlobals | kg, |
| int | patch ) |
Definition at line 26 of file subd_triangle.h.
References indices, kernel_data_fetch, and uint4::x.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| ccl_device_inline uint subd_triangle_patch_num_corners | ( | KernelGlobals | kg, |
| int | patch ) |
Definition at line 47 of file subd_triangle.h.
References kernel_data_fetch.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().
| CCL_NAMESPACE_BEGIN ccl_device_inline void subd_triangle_patch_uv | ( | KernelGlobals | kg, |
| ccl_private const ShaderData * | sd, | ||
| float2 | uv[3] ) |
Definition at line 13 of file subd_triangle.h.
References kernel_data_fetch, uint3::x, uint3::y, and uint3::z.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().