Cycles: Fix Metal kernel compilation
This commit is contained in:
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--
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue