panvk/csf: Fix inverted address/destination register in CmdSetEvent2()
cs_load32_to() takes the destination register first, and the address one next. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31147>
This commit is contained in:
committed by
Marge Bot
parent
a5c660d78a
commit
387e6323f8
@@ -79,7 +79,7 @@ panvk_per_arch(CmdSetEvent2)(VkCommandBuffer commandBuffer, VkEvent _event,
|
||||
cs_move64_to(b, sync_addr,
|
||||
panvk_priv_mem_dev_addr(event->syncobjs) +
|
||||
(i * sizeof(struct panvk_cs_sync32)));
|
||||
cs_load32_to(b, sync_addr, seqno,
|
||||
cs_load32_to(b, seqno, sync_addr,
|
||||
offsetof(struct panvk_cs_sync32, seqno));
|
||||
cs_wait_slot(b, SB_ID(LS), false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user