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 'source/blender/gpu/intern/gpu_shader_dependency.cc')
-rw-r--r--source/blender/gpu/intern/gpu_shader_dependency.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_dependency.cc b/source/blender/gpu/intern/gpu_shader_dependency.cc
index 21e48af04e5..995fe8f805f 100644
--- a/source/blender/gpu/intern/gpu_shader_dependency.cc
+++ b/source/blender/gpu/intern/gpu_shader_dependency.cc
@@ -82,9 +82,10 @@ struct GPUSource {
/* Recursive. */
source->init_dependencies(dict);
- std::cout << "Add: " << dependency_name << " to " << filename << "." << std::endl;
+ for (auto dep : source->dependencies) {
+ dependencies.add(dep);
+ }
dependencies.add(source);
-
pos++;
};
}