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:
committed by
Marge Bot
parent
7afecd8ad8
commit
419b8c7f8d
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user