radv/video: fix adding the query pool BO to the cmdbuf list
Video queries work differently but the BO still need to be added to the cmdbuf list. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33620>
This commit is contained in:
committed by
Marge Bot
parent
d8b91b72b9
commit
5ba10cc57f
@@ -1773,6 +1773,9 @@ radv_vcn_encode_video(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInf
|
||||
|
||||
if (inline_queries) {
|
||||
VK_FROM_HANDLE(radv_query_pool, pool, inline_queries->queryPool);
|
||||
|
||||
radv_cs_add_buffer(device->ws, cmd_buffer->cs, pool->bo);
|
||||
|
||||
feedback_query_va = radv_buffer_get_va(pool->bo);
|
||||
feedback_query_va += pool->stride * inline_queries->firstQuery;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user