Blender Git Loki
Git Commits -> Revision 34fe3f9
Revision 34fe3f9 by Brecht Van Lommel (master) October 24, 2017, 21:53 (GMT) |
Code refactor: remove MEM_WRITE_ONLY, always use MEM_READ_WRITE. It's unlikely the driver can do useful optimizations with this, and if we sum multiple samples we are reading from the memory anyway. |
Commit Details:
Full Hash: 34fe3f9c069fc93fde5ec5bafcdfb9294348b58f
Parent Commit: fe25338
Lines Changed: +4, -11
6 Modified Paths:
/intern/cycles/device/device_memory.cpp (+0, -2) (Diff)
/intern/cycles/device/device_memory.h (+1, -2) (Diff)
/intern/cycles/device/device_network.h (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_base.cpp (+0, -4) (Diff)
/intern/cycles/render/light.cpp (+1, -1) (Diff)
/intern/cycles/render/mesh_displace.cpp (+1, -1) (Diff)
/intern/cycles/device/device_memory.h (+1, -2) (Diff)
/intern/cycles/device/device_network.h (+1, -1) (Diff)
/intern/cycles/device/opencl/opencl_base.cpp (+0, -4) (Diff)
/intern/cycles/render/light.cpp (+1, -1) (Diff)
/intern/cycles/render/mesh_displace.cpp (+1, -1) (Diff)