mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-02 04:36:57 -06:00
d3d12: Fix scaling for terraria/Voodoo chronicles
It break render_to_target test but it looks like an issue with scale/offset buffer rather than viewport/scissor
This commit is contained in:
parent
09ccd7e436
commit
f59bc86ac5
@ -850,8 +850,8 @@ void D3D12GSRender::ExecCMD()
|
|||||||
{
|
{
|
||||||
0.f,
|
0.f,
|
||||||
0.f,
|
0.f,
|
||||||
(float)RSXThread::m_width,
|
(float)m_surface_clip_w,
|
||||||
(float)RSXThread::m_height,
|
(float)m_surface_clip_h,
|
||||||
-1.f,
|
-1.f,
|
||||||
1.f
|
1.f
|
||||||
};
|
};
|
||||||
@ -861,8 +861,8 @@ void D3D12GSRender::ExecCMD()
|
|||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
(LONG)RSXThread::m_width,
|
(LONG)m_surface_clip_w,
|
||||||
(LONG)RSXThread::m_height,
|
(LONG)m_surface_clip_h,
|
||||||
};
|
};
|
||||||
commandList->RSSetScissorRects(1, &box);
|
commandList->RSSetScissorRects(1, &box);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user