diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-03-30 15:30:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-03-30 16:13:25 +0300 |
commit | 5aa81594e6d931de01cb67399373eddae2fc7622 (patch) | |
tree | 8f6679c3dca7d91c997a4b4ee2630c64af5e5b03 /source/blender/gpu | |
parent | 66010b6deb6b7800443d5d9ee29074ff3b2fd994 (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/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_create_info.cc | 2 |
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_) { |