Commit: 4c295276f001ff9729496fe024ddf96d5ab51d31
Author: Lukas Stockner
Date:   Wed Dec 21 04:24:22 2022 +0100
Branches: master
https://developer.blender.org/rB4c295276f001ff9729496fe024ddf96d5ab51d31

Cycles: Fix Metal kernel compilation

===================================================================

M       intern/cycles/kernel/integrator/init_from_bake.h

===================================================================

diff --git a/intern/cycles/kernel/integrator/init_from_bake.h 
b/intern/cycles/kernel/integrator/init_from_bake.h
index 308f708380f..0d25c6493fe 100644
--- a/intern/cycles/kernel/integrator/init_from_bake.h
+++ b/intern/cycles/kernel/integrator/init_from_bake.h
@@ -27,8 +27,8 @@ CCL_NAMESPACE_BEGIN
  * For triangles that are smaller than a texel, this might take too many 
attempts, so eventually
  * we just give up and don't jitter in that case.
  * This is not a particularly elegant solution, but it's probably the best we 
can do. */
-ccl_device_inline void bake_jitter_barycentric(float &u,
-                                               float &v,
+ccl_device_inline void bake_jitter_barycentric(ccl_private float &u,
+                                               ccl_private float &v,
                                                float2 rand_filter,
                                                const float dudx,
                                                const float dudy,

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to