Blender Git Commit Log

Git Commits -> Revision eb7827e

Revision eb7827e by Michael Jones (master)
November 26, 2021, 13:58 (GMT)
Cycles: Fix film convert address space mismatch on Metal

This patch fixes an address space mismatch in the film convert kernels on Metal. The `film_get_pass_pixel_...` functions take a `ccl_private` result pointer, but the film convert kernels pass a `ccl_global` memory pointer. Specialising the pass-fetch functions with templates results in compilation errors on Visual Studio, so instead this patch just adds an intermediate local on Metal.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D13350

Commit Details:

Full Hash: eb7827e7970cca8e3fb0e0bf39e8742e69f0b2b6
Parent Commit: 12a83db
Lines Changed: +28, -1

1 Modified Path:

/intern/cycles/kernel/device/gpu/kernel.h (+28, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021