radv/video: Fix dummy DPB addresses
This fixes the VVL PositiveVideoDecodeAV1.* tests, which trigger error
concealment. These DPB addresses would not be normally used, but get
used by the error concealment path.
Fixes: d103b76ad6 ("radv/video: add VK_KHR_video_decode_av1 support.")
Reviewed-by: David Rosca <david.rosca@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38311>
This commit is contained in:
committed by
Marge Bot
parent
9c4d2a1f51
commit
82d944b388
@@ -2749,8 +2749,8 @@ rvcn_dec_message_decode(struct radv_cmd_buffer *cmd_buffer, struct radv_video_se
|
||||
* It will not perform any actual writes to these dummy slots.
|
||||
*/
|
||||
for (int i = 0; i < STD_VIDEO_AV1_NUM_REF_FRAMES; i++) {
|
||||
dynamic_dpb_t2->dpbAddrHi[i] = addr;
|
||||
dynamic_dpb_t2->dpbAddrLo[i] = addr >> 32;
|
||||
dynamic_dpb_t2->dpbAddrLo[i] = addr;
|
||||
dynamic_dpb_t2->dpbAddrHi[i] = addr >> 32;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user