File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -844,8 +844,15 @@ namespace dxvk {
844844 addWeightedValue (optionLayer.second .value , optionLayer.second .blendStrength * throughput, optionValue.data );
845845 throughput *= (1 .0f - optionLayer.second .blendStrength );
846846 } else {
847- if (optionLayer.second .blendStrength >= optionLayer.second .blendThreshold || optionLayer.first .priority == 0 ) {
848- addWeightedValue (optionLayer.second .value , throughput, optionValue.data );
847+ addWeightedValue (optionLayer.second .value , throughput, optionValue.data );
848+
849+ // For non-collection-like types, we always break after applying the weight
850+ if (type != OptionType::HashSet && type != OptionType::HashVector && type != OptionType::IntVector) {
851+ break ;
852+ }
853+
854+ // For collection-like types, we only continue if the blend strength is high then threshold
855+ if (optionLayer.second .blendStrength < optionLayer.second .blendThreshold ) {
849856 break ;
850857 }
851858 }
You can’t perform that action at this time.
0 commit comments