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>
(cherry picked from commit 55224006b784b38d9c85ac2d9022ba56240130f2)
This commit is contained in:
parent
be7a46c3c5
commit
3ba68813f2
2 changed files with 2 additions and 2 deletions
|
|
@ -2854,7 +2854,7 @@
|
||||||
"description": "venus: fix the cmd stride used for qfb recording",
|
"description": "venus: fix the cmd stride used for qfb recording",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "d2a626787e559dad9105243be9e5043c9230853c",
|
"because_sha": "d2a626787e559dad9105243be9e5043c9230853c",
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -600,7 +600,7 @@ vn_queue_submission_add_query_feedback(struct vn_queue_submission *submit,
|
||||||
VkCommandBuffer *feedback_cmd_handle =
|
VkCommandBuffer *feedback_cmd_handle =
|
||||||
vn_get_feedback_cmd_handle(submit, feedback_cmds, cmd_count);
|
vn_get_feedback_cmd_handle(submit, feedback_cmds, cmd_count);
|
||||||
const uint32_t stride = submit->batch_type == VK_STRUCTURE_TYPE_SUBMIT_INFO
|
const uint32_t stride = submit->batch_type == VK_STRUCTURE_TYPE_SUBMIT_INFO
|
||||||
? sizeof(VkCommandBuffer *)
|
? sizeof(VkCommandBuffer)
|
||||||
: sizeof(VkCommandBufferSubmitInfo);
|
: sizeof(VkCommandBufferSubmitInfo);
|
||||||
|
|
||||||
struct vn_feedback_cmd_pool *feedback_cmd_pool = NULL;
|
struct vn_feedback_cmd_pool *feedback_cmd_pool = NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue