mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
radv/video_enc: Remove CTS WA
This has been fixed in CTS since ebe05a88f36e3be8e232bfce97812353c396674a. Reviewed-by: David Rosca <david.rosca@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39242>
This commit is contained in:
parent
70889a672e
commit
371656de90
1 changed files with 2 additions and 8 deletions
|
|
@ -1689,16 +1689,10 @@ radv_enc_ctx2(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInfoKHR *in
|
|||
if (info->pSetupReferenceSlot) {
|
||||
max_ref_slot_idx = info->pSetupReferenceSlot->slotIndex;
|
||||
slots[info->pSetupReferenceSlot->slotIndex] = info->pSetupReferenceSlot->pPictureResource;
|
||||
} else if (vid->vk.max_dpb_slots == 0) {
|
||||
} else {
|
||||
assert(vid->vk.max_dpb_slots == 0);
|
||||
intra_only_dpb = true;
|
||||
slots[0] = &info->srcPictureResource;
|
||||
} else {
|
||||
/* Workaround for CTS bug dEQP-VK.video.encode.h264.i_p_b_13_layered_src_general_layout:
|
||||
* VUID-vkCmdEncodeVideoKHR-pEncodeInfo-08377
|
||||
* pEncodeInfo->pSetupReferenceSlot must not be NULL unless the bound video session
|
||||
* was created with VkVideoSessionCreateInfoKHR::maxDpbSlots equal to zero
|
||||
*/
|
||||
slots[0] = info->pReferenceSlots[0].pPictureResource;
|
||||
}
|
||||
|
||||
for (unsigned i = 0; i < info->referenceSlotCount; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue