mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-19 17:29:30 +02:00
GS/DX12/VK: Fix DoMerge feedbackwrite shader copy sizes.
We are doing a shader copy from dTex to sTex[2] so we should be using the destination sizes from sTex[2].
This commit is contained in:
1 parent
a9bd239ff9
commit
3c8df07e8e
2 files changed
+2
-2
No files matched your search
@@ -2264,7 +2264,7 @@ void GSDevice12::DoMerge(GSTexture* sTex[3], GSVector4* sRect, GSTexture* dTex,
|
||||
OMSetRenderTargets(sTex[2], nullptr, nullptr, fbarea);
|
||||
BeginRenderPass(
|
||||
D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_PRESERVE, D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_PRESERVE);
|
||||
DrawStretchRect(full_r, dRect[2], dsize);
|
||||
DrawStretchRect(full_r, dRect[2], fbsize);
|
||||
}
|
||||
|
||||
EndRenderPass();
|
||||
|
||||
@@ -3602,7 +3602,7 @@ void GSDeviceVK::DoMerge(GSTexture* sTex[3], GSVector4* sRect, GSTexture* dTex,
|
||||
SetUtilityPushConstants(yuv_constants, sizeof(yuv_constants));
|
||||
OMSetRenderTargets(sTex[2], nullptr, fbarea);
|
||||
BeginRenderPass(m_utility_color_render_pass_load, fbarea);
|
||||
DrawStretchRect(full_r, dRect[2], dsize);
|
||||
DrawStretchRect(full_r, dRect[2], fbsize);
|
||||
}
|
||||
|
||||
EndRenderPass();
|
||||
|
||||
Reference in new issue
Block a user