Blender Git Commit Log

Git Commits -> Revision 28f8e25

Revision 28f8e25 by Thomas Dinges (soc-2014-cycles)
August 2, 2014, 13:04 (GMT)
Cycles: Avoid some NULL checks and conditions in volume sampling code.

* Avoid segment NULL check in kernel_branched_path_volume_connect_light(), we access it before the function call already.
* Avoid SD_SCATTER flag check in kernel_volume_decoupled_scatter(), we check for this before already.

Commit Details:

Full Hash: 28f8e253667d6f8cc598990b0338160c0c513939
Parent Commit: d98094a
Lines Changed: +24, -44

2 Modified Paths:

/intern/cycles/kernel/kernel_path_volume.h (+24, -39) (Diff)
/intern/cycles/kernel/kernel_volume.h (+0, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021