diff options
Diffstat (limited to 'intern/cycles/kernel/svm/svm_map_range.h')
-rw-r--r-- | intern/cycles/kernel/svm/svm_map_range.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/cycles/kernel/svm/svm_map_range.h b/intern/cycles/kernel/svm/svm_map_range.h index 5d542e959d1..f2a68adbe61 100644 --- a/intern/cycles/kernel/svm/svm_map_range.h +++ b/intern/cycles/kernel/svm/svm_map_range.h @@ -27,11 +27,11 @@ ccl_device void svm_node_map_range(KernelGlobals *kg, int *offset) { uint from_min_stack_offset, from_max_stack_offset, to_min_stack_offset, to_max_stack_offset; - decode_node_uchar4(parameters_stack_offsets, - &from_min_stack_offset, - &from_max_stack_offset, - &to_min_stack_offset, - &to_max_stack_offset); + svm_unpack_node_uchar4(parameters_stack_offsets, + &from_min_stack_offset, + &from_max_stack_offset, + &to_min_stack_offset, + &to_max_stack_offset); uint4 defaults = read_node(kg, offset); |