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
path: root/source
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-03-30 15:30:22 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-03-30 16:13:25 +0300
commit5aa81594e6d931de01cb67399373eddae2fc7622 (patch)
tree8f6679c3dca7d91c997a4b4ee2630c64af5e5b03 /source
parent66010b6deb6b7800443d5d9ee29074ff3b2fd994 (diff)
GPU: ShaderBuilder: Remove do_static_compilation_ inheritance
This is because the inheritance is not done before checking if the shader should be statically compiled. Also some inheritance scheme might have intermediate permutation that are not compilable.
Diffstat (limited to 'source')
-rw-r--r--source/blender/gpu/intern/gpu_shader_create_info.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.cc b/source/blender/gpu/intern/gpu_shader_create_info.cc
index 0d26f17ede5..350575e9d36 100644
--- a/source/blender/gpu/intern/gpu_shader_create_info.cc
+++ b/source/blender/gpu/intern/gpu_shader_create_info.cc
@@ -102,8 +102,6 @@ void ShaderCreateInfo::finalize()
assert_no_overlap(compute_source_.is_empty(), "Compute source already existing");
compute_source_ = info.compute_source_;
}
-
- do_static_compilation_ = do_static_compilation_ || info.do_static_compilation_;
}
if (auto_resource_location_) {