diff options
Diffstat (limited to 'intern/cycles/kernel/svm/svm_brick.h')
-rw-r--r-- | intern/cycles/kernel/svm/svm_brick.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/intern/cycles/kernel/svm/svm_brick.h b/intern/cycles/kernel/svm/svm_brick.h index a46392cd544..33a2a5c7598 100644 --- a/intern/cycles/kernel/svm/svm_brick.h +++ b/intern/cycles/kernel/svm/svm_brick.h @@ -95,10 +95,7 @@ ccl_device void svm_node_tex_brick(KernelGlobals *kg, ShaderData *sd, float *sta if(f != 1.0f) { float facm = 1.0f - tint; - - color1.x = facm * (color1.x) + tint * color2.x; - color1.y = facm * (color1.y) + tint * color2.y; - color1.z = facm * (color1.z) + tint * color2.z; + color1 = facm * color1 + tint * color2; } if(stack_valid(color_offset)) |