mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
radv/video: Correctly handle no feedback query for encode
Fixes vk_layer_validation_tests PositiveVideoEncodeAV1.*
Cc: mesa-stable
Reviewed-by: Benjamin Cheng <benjamin.cheng@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38158>
(cherry picked from commit 23a3587aa6)
This commit is contained in:
parent
9c1348741c
commit
1dee784011
2 changed files with 2 additions and 2 deletions
|
|
@ -2144,7 +2144,7 @@
|
|||
"description": "radv/video: Correctly handle no feedback query for encode",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2638,7 +2638,7 @@ radv_vcn_encode_video(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInf
|
|||
cmd_buffer->video.enc.total_task_size = 0;
|
||||
|
||||
// task info
|
||||
radv_enc_task_info(cmd_buffer, true);
|
||||
radv_enc_task_info(cmd_buffer, feedback_query_va);
|
||||
|
||||
if (vid->enc_need_begin) {
|
||||
begin(cmd_buffer, enc_info);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue