Cycles: better path termination for transparency.
[blender.git] / intern / cycles / render / osl.cpp
index 9c107274305c8da3fdaa5dbc243e2c8a96e0c59e..4d066c89b761df086a89308bbb146b0f8c6a7d37 100644 (file)
@@ -249,6 +249,9 @@ void OSLShaderManager::shading_system_init()
                        "__unused__",
                        "__unused__",
                        "__unused__",
+                       "__unused__",
+                       "__unused__",
+                       "__unused__",
                };
 
                const int nraytypes = sizeof(raytypes)/sizeof(raytypes[0]);