mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
dzn: correct order of src_subres and dst_subres args
Fixes: 2d0798440b ("dzn: Add support for dynamic rendering")
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17133>
This commit is contained in:
parent
7afecd8ad8
commit
419b8c7f8d
1 changed files with 2 additions and 2 deletions
|
|
@ -3430,8 +3430,8 @@ dzn_cmd_buffer_resolve_rendering_attachment(struct dzn_cmd_buffer *cmdbuf,
|
|||
ID3D12GraphicsCommandList1_ResourceBarrier(cmdbuf->cmdlist, ARRAY_SIZE(barriers), barriers);
|
||||
|
||||
ID3D12GraphicsCommandList1_ResolveSubresource(cmdbuf->cmdlist,
|
||||
dst_img->res, src_subres,
|
||||
src_img->res, dst_subres,
|
||||
dst_img->res, dst_subres,
|
||||
src_img->res, src_subres,
|
||||
dst->srv_desc.Format);
|
||||
DZN_SWAP(D3D12_RESOURCE_STATES,
|
||||
barriers[0].Transition.StateBefore,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue