Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-02 22:30:37 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-05-05 22:43:46 +0300
commit0f943337bc04c9cae1bf1728d29c45947ee3c7e5 (patch)
treee7b4718ad23b3c628f54d3f550f5affb202fd6de /intern/cycles/render/svm.h
parentdd8bfa0929f9f1ae940e7da0468fbdd6744e50bb (diff)
Code cleanup: remove some unused functions.
Diffstat (limited to 'intern/cycles/render/svm.h')
-rw-r--r--intern/cycles/render/svm.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/intern/cycles/render/svm.h b/intern/cycles/render/svm.h
index b86a00bf8ea..1c01ee53a6f 100644
--- a/intern/cycles/render/svm.h
+++ b/intern/cycles/render/svm.h
@@ -146,12 +146,6 @@ protected:
int users[SVM_STACK_SIZE];
};
- struct StackBackup {
- Stack stack;
- vector<int> offsets;
- ShaderNodeSet done;
- };
-
/* Global state of the compiler accessible from the compilation routines. */
struct CompilerState {
CompilerState(ShaderGraph *graph);
@@ -176,9 +170,6 @@ protected:
vector<bool> nodes_done_flag;
};
- void stack_backup(StackBackup& backup, ShaderNodeSet& done);
- void stack_restore(StackBackup& backup, ShaderNodeSet& done);
-
void stack_clear_temporary(ShaderNode *node);
int stack_size(ShaderSocketType type);
void stack_clear_users(ShaderNode *node, ShaderNodeSet& done);