d3d12: Fix depth range

This commit is contained in:
Vincent Lejeune 2015-11-01 01:07:15 +01:00
parent ae5d95d462
commit 917f08c534

View file

@ -346,8 +346,8 @@ void D3D12GSRender::end()
0.f, 0.f,
(float)clip_w, (float)clip_w,
(float)clip_h, (float)clip_h,
-1.f, (f32&)rsx::method_registers[NV4097_SET_CLIP_MIN],
1.f (f32&)rsx::method_registers[NV4097_SET_CLIP_MAX]
}; };
getCurrentResourceStorage().command_list->RSSetViewports(1, &viewport); getCurrentResourceStorage().command_list->RSSetViewports(1, &viewport);