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:
lightningterror committed 2026-10-08 16:18:38 +02:00
1 parent a9bd239ff9
commit 3c8df07e8e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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();