Blender Git Loki

Git Commits -> Revision 8351760

Revision 8351760 by Jeroen Bakker (master)
November 23, 2020, 15:36 (GMT)
Cycles: Remove Compilation Warning

ROCm 3.9 already defined `NULL`. This patch will first check if it was
already defined to remove compilation warnings.

NOTE: This doesn't add official support for ROCm as it still fails to
render correctly (crashes with default cube).

Reviewed By: Brecht van Lommel

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

Commit Details:

Full Hash: 8351760ed0816cf5e4ca9fb0f08be717f733d34a
Parent Commit: 1f09dcc
Lines Changed: +3, -1

1 Modified Path:

/intern/cycles/kernel/kernel_compat_opencl.h (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021