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:
@@ -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_) {
|
||||
|
||||
Reference in New Issue
Block a user