From 917f08c5346f5bc8730d40ba54d8b74567d11609 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 1 Nov 2015 01:07:15 +0100 Subject: [PATCH] d3d12: Fix depth range --- rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp index 80059a1311..66c8c0fed6 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp @@ -346,8 +346,8 @@ void D3D12GSRender::end() 0.f, (float)clip_w, (float)clip_h, - -1.f, - 1.f + (f32&)rsx::method_registers[NV4097_SET_CLIP_MIN], + (f32&)rsx::method_registers[NV4097_SET_CLIP_MAX] }; getCurrentResourceStorage().command_list->RSSetViewports(1, &viewport);