Blender Git Commit Log
Git Commits -> Revision f5e37af
Revision f5e37af by Jeroen Bakker (master) December 11, 2019, 10:59 (GMT) |
Cycles/OpenCL: Remove NULL PTR Workaround In the current OpenCL implementation we have a work-around for platforms that didn't support NULL pointers. We used to replace all NULLs and empty arrays with a pointer to a single byte on the OpenCL Device. During investigation of {T65924} it was asked to remove this work-around for testing. This change improves the render times. SCENE | BEFORE | AFTER --------------------+--------+------- bmw27 | 108 | 89 barbershop_interior | 867 | 673 classroom | 270 | 173 fishy_cat | 244 | 196 koro | 249 | 207 pavillon_barcelona | 582 | 414 Note that this change does not fix T65924 it just improves the rendering performance for OpenCL. We haven't tested this patch on all platforms so we should keep an eye out on the tracker. Reviewed By: sergey Differential Revision: https://developer.blender.org/D6391 |
Commit Details:
Full Hash: f5e37af5a8fda50b4664bc29e9856847f1e12f89
Parent Commit: 57d2d8a
Lines Changed: +5, -17