radv/video: Fix msg header total size

It needs to include also codec msg size.

Cc: mesa-stable
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34449>
This commit is contained in:
David Rosca 2025-04-09 15:31:42 +02:00 committed by Marge Bot
parent 6cb7765409
commit 34031531fc

View file

@ -2040,6 +2040,8 @@ rvcn_dec_message_decode(struct radv_cmd_buffer *cmd_buffer, struct radv_video_se
unreachable("unknown operation");
}
header->total_size += index_codec->size;
if (dpb_update_required)
assert(frame_info->pSetupReferenceSlot != NULL);