[D3D12] Treat non-ROV truly as fallback in the title bar

This commit is contained in:
Triang3l 2020-04-25 13:59:47 +03:00
parent 64a83af137
commit d65cbc160d
1 changed files with 6 additions and 9 deletions

View File

@ -661,19 +661,16 @@ void D3D12CommandProcessor::SetExternalGraphicsPipeline(
} }
std::string D3D12CommandProcessor::GetWindowTitleText() const { std::string D3D12CommandProcessor::GetWindowTitleText() const {
if (!render_target_cache_) { if (render_target_cache_) {
return "Direct3D 12"; if (!edram_rov_used_) {
return "Direct3D 12 - no ROV, inaccurate";
} }
if (edram_rov_used_) {
// Currently scaling is only supported with ROV. // Currently scaling is only supported with ROV.
if (texture_cache_ != nullptr && texture_cache_->IsResolutionScale2X()) { if (texture_cache_ != nullptr && texture_cache_->IsResolutionScale2X()) {
return "Direct3D 12 - ROV 2x"; return "Direct3D 12 - 2x";
} else {
return "Direct3D 12 - ROV";
} }
} else {
return "Direct3D 12 - RTV/DSV";
} }
return "Direct3D 12";
} }
std::unique_ptr<xe::ui::RawImage> D3D12CommandProcessor::Capture() { std::unique_ptr<xe::ui::RawImage> D3D12CommandProcessor::Capture() {