diff options
Diffstat (limited to 'intern/cycles/kernel/svm/svm_white_noise.h')
-rw-r--r-- | intern/cycles/kernel/svm/svm_white_noise.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/svm_white_noise.h b/intern/cycles/kernel/svm/svm_white_noise.h index ada1fcb39ce..71d4591d25d 100644 --- a/intern/cycles/kernel/svm/svm_white_noise.h +++ b/intern/cycles/kernel/svm/svm_white_noise.h @@ -25,7 +25,7 @@ ccl_device void svm_node_tex_white_noise(KernelGlobals *kg, int *offset) { uint vector_stack_offset, w_stack_offset; - decode_node_uchar4(inputs_stack_offsets, &vector_stack_offset, &w_stack_offset, NULL, NULL); + svm_unpack_node_uchar2(inputs_stack_offsets, &vector_stack_offset, &w_stack_offset); float3 vector = stack_load_float3(stack, vector_stack_offset); float w = stack_load_float(stack, w_stack_offset); |