Code cleanup: remove some unused functions.

This commit is contained in:
Brecht Van Lommel
2016-05-02 21:30:37 +02:00
parent dd8bfa0929
commit 0f943337bc
2 changed files with 0 additions and 37 deletions

View File

@@ -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);