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:
Diffstat (limited to 'intern/cycles/render/svm.h')
-rw-r--r--intern/cycles/render/svm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/render/svm.h b/intern/cycles/render/svm.h
index c1dd96e4d80..4a666bade55 100644
--- a/intern/cycles/render/svm.h
+++ b/intern/cycles/render/svm.h
@@ -26,6 +26,8 @@
CCL_NAMESPACE_BEGIN
+class Camera;
+class CameraNodesGraph;
class Device;
class DeviceScene;
class ImageManager;
@@ -54,6 +56,7 @@ class SVMCompiler {
public:
SVMCompiler(ShaderManager *shader_manager, ImageManager *image_manager);
void compile(Shader *shader, vector<int4>& svm_nodes, int index);
+ void compile(Camera *camera, vector<int4>& svm_nodes, int index);
void stack_assign(ShaderOutput *output);
void stack_assign(ShaderInput *input);
@@ -141,6 +144,7 @@ protected:
/* compile */
void compile_type(Shader *shader, ShaderGraph *graph, ShaderType type);
+ void compile_type(Camera *camera, CameraNodesGraph *graph);
vector<int4> svm_nodes;
ShaderType current_type;