mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 13:18:09 +02:00
venus: fix the cmd stride used for qfb recording
Not a real issue since the dispatchable handle size is the same.
Fixes: d2a626787e ("venus: track/recycle appended query feedback cmds")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27649>
This commit is contained in:
parent
017818a8bf
commit
55224006b7
1 changed files with 1 additions and 1 deletions
|
|
@ -629,7 +629,7 @@ vn_queue_submission_add_query_feedback(struct vn_queue_submission *submit,
|
|||
VkCommandBuffer *feedback_cmd_handle =
|
||||
vn_get_feedback_cmd_handle(submit, feedback_cmds, *cmd_count);
|
||||
const uint32_t stride = submit->batch_type == VK_STRUCTURE_TYPE_SUBMIT_INFO
|
||||
? sizeof(VkCommandBuffer *)
|
||||
? sizeof(VkCommandBuffer)
|
||||
: sizeof(VkCommandBufferSubmitInfo);
|
||||
|
||||
struct vn_feedback_cmd_pool *feedback_cmd_pool = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue