Skip to content

Commit e94b0f2

Browse files
committed
TAAU Ultra Performance
-
1 parent 1c44b13 commit e94b0f2

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/dxvk/imgui/dxvk_imgui.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ namespace dxvk {
11861186
break;
11871187
}
11881188
case UpscalerType::TAAU: {
1189-
m_userGraphicsSettingChanged |= ImGui::Combo("TAA-U Preset", &RtxOptions::Get()->taauPresetObject(), "Performance\0Balanced\0Quality\0Fullscreen\0");
1189+
m_userGraphicsSettingChanged |= ImGui::Combo("TAA-U Preset", &RtxOptions::Get()->taauPresetObject(), "Ultra Performance\0Performance\0Balanced\0Quality\0Fullscreen\0");
11901190
RtxOptions::Get()->updateUpscalerFromTaauPreset();
11911191

11921192
// Display TAA-U Upscaling Information

src/dxvk/rtx_render/rtx_options.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ namespace dxvk {
7373

7474
void RtxOptions::updateUpscalerFromTaauPreset() {
7575
switch (taauPreset()) {
76+
case TaauPreset::UltraPerformance:
77+
resolutionScaleRef() = 0.33f;
78+
break;
7679
case TaauPreset::Performance:
7780
resolutionScaleRef() = 0.5f;
7881
break;
@@ -120,7 +123,9 @@ namespace dxvk {
120123
}
121124
case UpscalerType::TAAU: {
122125
const float taauResolutionScale = resolutionScale();
123-
if (taauResolutionScale <= 0.5f) {
126+
if (taauResolutionScale <= 0.33f) {
127+
RtxOptions::Get()->taauPresetRef() = TaauPreset::UltraPerformance;
128+
} else if (taauResolutionScale <= 0.5f) {
124129
RtxOptions::Get()->taauPresetRef() = TaauPreset::Performance;
125130
} else if (taauResolutionScale <= 0.66f) {
126131
RtxOptions::Get()->taauPresetRef() = TaauPreset::Balanced;

src/dxvk/rtx_render/rtx_options.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ namespace dxvk {
9797
};
9898

9999
enum class TaauPreset : int {
100-
Performance = 0,
100+
UltraPerformance = 0,
101+
Performance,
101102
Balanced,
102103
Quality,
103104
Fullscreen

0 commit comments

Comments
 (0)