Go to file
Sergey Sharybin 443b159f02 Cycles: Ensure order of shader nodes in the dependnecies set
The issue was than nodes dependencies were stored as set<ShaderNode*> which
is actually a so called "strict weak ordered", meaning order of nodes in
the set is strictly defined, but based on the ShaderNode pointer. This means
that between different render invokations order of original nodes could be
different due to different pointers allocated for ShaderNode.

This commit makes it so dependencies and maps used for ShaderNodes are based
on the node->id which has much more predictable order. It's still possible
to trick the system by doing some crazy edits during viewport rendfer and
cause difference between viewport and final render stacks.

Reviewers: brecht

Reviewed By: brecht

Subscribers: LazyDodo

Differential Revision: https://developer.blender.org/D1630
2015-11-25 13:07:32 +05:00
build_files OSX bump python to 3.5 2015-11-24 23:18:31 +01:00
doc Docs: create link pointing to latest API docs 2015-11-11 04:14:11 +11:00
extern Cleanup: redundant 'break', minor edits 2015-11-19 22:52:13 +11:00
intern Cycles: Ensure order of shader nodes in the dependnecies set 2015-11-25 13:07:32 +05:00
release OpenGL: clean up use of old extensions 2015-11-24 02:21:07 -05:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source OpenGL: set geometry shader input length implicitly 2015-11-25 01:49:07 -05:00
tests BLI_math: add mat3_polar_decompose, interp_m3_m3m3 and interp_m4_m4m4. 2015-10-09 21:26:33 +02:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Git ignore BUILD_NOTES.txt from install_deps.sh. 2015-11-23 20:17:02 +01:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt OSX bump python to 3.5 2015-11-24 23:18:31 +01:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Makefile: show build dir when configuring 2015-09-22 00:16:53 +10:00
SConstruct C99 is now the C standard for all our C code. 2015-11-22 22:31:22 +01:00