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.
This commit is contained in:
2022-03-30 14:30:22 +02:00
parent 66010b6deb
commit 5aa81594e6

View File

@@ -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_) {