diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-07 20:47:37 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-22 18:29:24 +0300 |
commit | ec51175f1fd6c91d53b0d24daccfd5cc9bddf59d (patch) | |
tree | 1ad5b06b2318998cc4f03d78a8e7b1ce38e7cbf3 /intern/cycles/render/svm.cpp | |
parent | 841d008b98de5d0fa106ff3fa4731be63fc29f9a (diff) |
Code refactor: add generic Cycles node infrastructure.
Differential Revision: https://developer.blender.org/D2016
Diffstat (limited to 'intern/cycles/render/svm.cpp')
-rw-r--r-- | intern/cycles/render/svm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/render/svm.cpp b/intern/cycles/render/svm.cpp index ab4fe4193db..4c97a5ad792 100644 --- a/intern/cycles/render/svm.cpp +++ b/intern/cycles/render/svm.cpp @@ -314,12 +314,12 @@ void SVMCompiler::add_node(int a, int b, int c, int d) svm_nodes.push_back(make_int4(a, b, c, d)); } -void SVMCompiler::add_node(NodeType type, int a, int b, int c) +void SVMCompiler::add_node(ShaderNodeType type, int a, int b, int c) { svm_nodes.push_back(make_int4(type, a, b, c)); } -void SVMCompiler::add_node(NodeType type, const float3& f) +void SVMCompiler::add_node(ShaderNodeType type, const float3& f) { svm_nodes.push_back(make_int4(type, __float_as_int(f.x), |