mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
d3d12: Fix depth range
This commit is contained in:
parent
ae5d95d462
commit
917f08c534
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue