Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/svm/svm_hsv.h
| Show All 13 Lines | |||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #ifndef __SVM_HSV_H__ | #ifndef __SVM_HSV_H__ | ||||
| #define __SVM_HSV_H__ | #define __SVM_HSV_H__ | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| ccl_device_noinline void svm_node_hsv(ccl_global const KernelGlobals *kg, | ccl_device_noinline void svm_node_hsv(KernelGlobals kg, | ||||
| ccl_private ShaderData *sd, | ccl_private ShaderData *sd, | ||||
| ccl_private float *stack, | ccl_private float *stack, | ||||
| uint4 node) | uint4 node) | ||||
| { | { | ||||
| uint in_color_offset, fac_offset, out_color_offset; | uint in_color_offset, fac_offset, out_color_offset; | ||||
| uint hue_offset, sat_offset, val_offset; | uint hue_offset, sat_offset, val_offset; | ||||
| svm_unpack_node_uchar3(node.y, &in_color_offset, &fac_offset, &out_color_offset); | svm_unpack_node_uchar3(node.y, &in_color_offset, &fac_offset, &out_color_offset); | ||||
| svm_unpack_node_uchar3(node.z, &hue_offset, &sat_offset, &val_offset); | svm_unpack_node_uchar3(node.z, &hue_offset, &sat_offset, &val_offset); | ||||
| Show All 34 Lines | |||||