Blender Git Loki

Git Commits -> Revision ad551c1

Revision ad551c1 by Lukas Toenne (master)
September 3, 2012, 13:56 (GMT)
Enable compilation of the SVM backend for Cycles even when OSL is enabled. The switch between SVM/OSL is decided at runtime, so the SVM code cannot simply be ignored when OSL is enabled.

Currently all shader functions check the OSL/SVM flag to dispatch to the appropriate backend. If this turns out to be a significant overhead (unlikely) this test should be moved out of the inner loop.

Commit Details:

Full Hash: ad551c1ec669f3b68cd0f2620acc07545fe9d57a
SVN Revision: 50352
Parent Commit: 264975b
Lines Changed: +100, -54

2 Modified Paths:

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