Fix #34121: OSL + persistent images option was not freeing shader memory properly,
[blender.git] / intern / cycles / render / svm.h
index 0b15c5aaa1ef9c5437e722711e0f126e35185e60..c1ce619e12a8824dee0d14d476d575cac13711ed 100644 (file)
@@ -45,6 +45,8 @@ public:
        SVMShaderManager();
        ~SVMShaderManager();
 
+       void reset(Scene *scene);
+
        void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress);
        void device_free(Device *device, DeviceScene *dscene);
 };