diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-02 21:12:42 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-05 22:43:46 +0300 |
commit | 7b7e7ac4c1a0ba0ca31a26bf3901ec184ae8930a (patch) | |
tree | 9ad108148bc1b2126cdd2678ecbfc9802bdc59f1 /intern/cycles/render/nodes.h | |
parent | 0f943337bc04c9cae1bf1728d29c45947ee3c7e5 (diff) |
Code cleanup: simplify SVM stack assignment.
Diffstat (limited to 'intern/cycles/render/nodes.h')
-rw-r--r-- | intern/cycles/render/nodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/nodes.h b/intern/cycles/render/nodes.h index 9e93f30e75e..7ae37a633ca 100644 --- a/intern/cycles/render/nodes.h +++ b/intern/cycles/render/nodes.h @@ -37,6 +37,9 @@ public: void compile(SVMCompiler& compiler, int offset_in, int offset_out); void compile(OSLCompiler &compiler); + int compile_begin(SVMCompiler& compiler, ShaderInput *vector_in); + void compile_end(SVMCompiler& compiler, ShaderInput *vector_in, int vector_offset); + float3 translation; float3 rotation; float3 scale; |