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