d3d12: Fix depth range
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user