Blender Git Loki

Git Commits -> Revision dd356ec

Revision dd356ec by Sergey Sharybin (master)
April 18, 2017, 09:20 (GMT)
Cycles: Remove meaningless volume shaders

This is possible to use surface-only nodes and connect them to volume output.
If there was something connected to surface output those extra connections
will not change anything visually but will force volume features to be included
into feature-adaptive kernels.

In fact, this exact reason seems to be causing slowdown of Barcelone file
comparing AMD OpenCL to NVidia CUDA.

Currently only supported by the final F12 renders because of the current design
of what gets optimized out when and how feature-adaptive kernel accesses
list of required features.

Reviewers: dingto, nirved, maiself, lukasstockner97, brecht

Reviewed By: brecht

Subscribers: bliblubli

Differential Revision: https://developer.blender.org/D2569

Commit Details:

Full Hash: dd356ec08d07ac61c7cf1ddba3772b2df1e176a6
Parent Commit: bb8f778
Lines Changed: +54, -12

3 Modified Paths:

/intern/cycles/render/graph.cpp (+50, -11) (Diff)
/intern/cycles/render/graph.h (+2, -1) (Diff)
/intern/cycles/render/nodes.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021