diff options
author | Michael Jones <michael_p_jones@apple.com> | 2021-11-24 23:34:27 +0300 |
---|---|---|
committer | Michael Jones <michael_p_jones@apple.com> | 2021-11-26 16:58:48 +0300 |
commit | eb7827e7970cca8e3fb0e0bf39e8742e69f0b2b6 (patch) | |
tree | d64e14d386428dc8336b4e4cdaa50d5704261a41 /source | |
parent | 12a83db83c5e23f5d0dccd420fa875a736a7b10f (diff) |
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
Diffstat (limited to 'source')
0 files changed, 0 insertions, 0 deletions