Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-03-15 19:56:09 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-03-15 19:56:45 +0300
commitc2f9133b292487e91577484277261fede824a085 (patch)
tree8321c7e10c21356c2edb73fd44750aec43a8ca7e /intern
parent630d2b649741c9d9f7bc0857054b001eede84a80 (diff)
Fix Cycles kernel error on Metal after recent changes
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/light/sample.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/light/sample.h b/intern/cycles/kernel/light/sample.h
index 76cead417d7..5acfc92cca1 100644
--- a/intern/cycles/kernel/light/sample.h
+++ b/intern/cycles/kernel/light/sample.h
@@ -181,7 +181,7 @@ ccl_device_inline float3 shadow_ray_smooth_surface_offset(
ccl_device_inline float3 shadow_ray_offset(KernelGlobals kg,
ccl_private const ShaderData *ccl_restrict sd,
float3 L,
- bool *r_skip_self)
+ ccl_private bool *r_skip_self)
{
float3 P = sd->P;