diff --git a/src/xenia/gpu/d3d12/d3d12_graphics_system.cc b/src/xenia/gpu/d3d12/d3d12_graphics_system.cc index 7a96befa6..962414a0b 100644 --- a/src/xenia/gpu/d3d12/d3d12_graphics_system.cc +++ b/src/xenia/gpu/d3d12/d3d12_graphics_system.cc @@ -27,6 +27,15 @@ D3D12GraphicsSystem::D3D12GraphicsSystem() {} D3D12GraphicsSystem::~D3D12GraphicsSystem() {} +std::wstring D3D12GraphicsSystem::name() const { + auto d3d12_provider = static_cast(provider()); + if (d3d12_provider != nullptr && + d3d12_provider->AreRasterizerOrderedViewsSupported()) { + return L"Direct3D 12 + ROV"; + } + return L"Direct3D 12"; +} + X_STATUS D3D12GraphicsSystem::Setup(cpu::Processor* processor, kernel::KernelState* kernel_state, ui::Window* target_window) { diff --git a/src/xenia/gpu/d3d12/d3d12_graphics_system.h b/src/xenia/gpu/d3d12/d3d12_graphics_system.h index 19f268305..9bba14b6c 100644 --- a/src/xenia/gpu/d3d12/d3d12_graphics_system.h +++ b/src/xenia/gpu/d3d12/d3d12_graphics_system.h @@ -25,7 +25,7 @@ class D3D12GraphicsSystem : public GraphicsSystem { D3D12GraphicsSystem(); ~D3D12GraphicsSystem() override; - std::wstring name() const override { return L"Direct3D 12"; } + std::wstring name() const override; X_STATUS Setup(cpu::Processor* processor, kernel::KernelState* kernel_state, ui::Window* target_window) override;