Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/svm/svm_clamp.h
| Show All 12 Lines | |||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| /* Clamp Node */ | /* Clamp Node */ | ||||
| ccl_device_noinline int svm_node_clamp(ccl_global const KernelGlobals *kg, | ccl_device_noinline int svm_node_clamp(KernelGlobals kg, | ||||
| ccl_private ShaderData *sd, | ccl_private ShaderData *sd, | ||||
| ccl_private float *stack, | ccl_private float *stack, | ||||
| uint value_stack_offset, | uint value_stack_offset, | ||||
| uint parameters_stack_offsets, | uint parameters_stack_offsets, | ||||
| uint result_stack_offset, | uint result_stack_offset, | ||||
| int offset) | int offset) | ||||
| { | { | ||||
| uint min_stack_offset, max_stack_offset, type; | uint min_stack_offset, max_stack_offset, type; | ||||
| Show All 18 Lines | |||||