Blender
V3.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 84 of file subd_triangle.h.
References Freestyle::a, ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, usdtokens::b(), Freestyle::c, 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, x, float2::y, and 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 223 of file subd_triangle.h.
References Freestyle::a, ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, usdtokens::b(), Freestyle::c, 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, x, float2::y, and 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 365 of file subd_triangle.h.
References Freestyle::a, ATTR_ELEMENT_CORNER, ATTR_ELEMENT_FACE, ATTR_ELEMENT_MESH, ATTR_ELEMENT_OBJECT, ATTR_ELEMENT_VERTEX, ATTR_ELEMENT_VERTEX_MOTION, ATTR_SUBDIVIDED, usdtokens::b(), Freestyle::c, 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, x, float2::y, and 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 506 of file subd_triangle.h.
References Freestyle::a, 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, usdtokens::b(), Freestyle::c, 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, x, float2::y, 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 53 of file subd_triangle.h.
References Freestyle::c, data, kernel_data_fetch, and mod().
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 39 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 25 of file subd_triangle.h.
References indices, and 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 uint subd_triangle_patch_num_corners | ( | KernelGlobals | kg, |
int | patch | ||
) |
Definition at line 46 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 12 of file subd_triangle.h.
References kernel_data_fetch, uint4::x, uint4::y, and uint4::z.
Referenced by subd_triangle_attribute_float(), subd_triangle_attribute_float2(), subd_triangle_attribute_float3(), and subd_triangle_attribute_float4().