Cycles: Fix Metal kernel compilation

This commit is contained in:
Lukas Stockner 2022-12-21 04:24:22 +01:00
parent 40e5954e39
commit 4c295276f0
Notes: blender-bot 2023-02-14 08:35:51 +01:00
Referenced by issue #103327, Cycles GPU crash when switching to Rendered 3DViewport --MacOS 13.1--
1 changed files with 2 additions and 2 deletions

View File

@ -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,