File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -843,18 +843,20 @@ namespace dxvk {
843843
844844 addWeightedValue (optionLayer.second .value , optionLayer.second .blendStrength * throughput, optionValue.data );
845845 throughput *= (1 .0f - optionLayer.second .blendStrength );
846- } else {
847- addWeightedValue (optionLayer.second .value , throughput, optionValue.data );
848846
849- // For non-collection-like types, we always break after applying the weight
850- if (type != OptionType::HashSet && type != OptionType::HashVector && type != OptionType::IntVector) {
847+ if (throughput < 0 .0001f ) {
851848 break ;
852849 }
853-
854- // For collection-like types, we only continue if the blend strength is high then threshold
850+ } else {
855851 if (optionLayer.second .blendStrength < optionLayer.second .blendThreshold ) {
852+ continue ;
853+ }
854+ addWeightedValue (optionLayer.second .value , throughput, optionValue.data );
855+ // For non-collection-like types, we always break after applying the weight
856+ if (type != OptionType::HashSet && type != OptionType::HashVector && type != OptionType::IntVector) {
856857 break ;
857858 }
859+
858860 }
859861 }
860862
You can’t perform that action at this time.
0 commit comments