mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-30 02:50:35 +01:00
d3d12: add missing updating of pMetadata
Reviewed-by: Sil Vilerino <sivileri@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39273>
This commit is contained in:
parent
884cf1d39e
commit
a84f93be0c
1 changed files with 3 additions and 1 deletions
|
|
@ -4835,6 +4835,8 @@ d3d12_video_encoder_get_feedback(struct pipe_video_codec *codec,
|
|||
*output_buffer_size,
|
||||
pD3D12Enc->m_spEncodedFrameMetadata[current_metadata_slot].comp_bit_destinations[0/*first slice*/]->width0);
|
||||
opt_metadata.encode_result |= PIPE_VIDEO_FEEDBACK_METADATA_ENCODE_FLAG_MAX_FRAME_SIZE_OVERFLOW;
|
||||
if (pMetadata)
|
||||
*pMetadata = opt_metadata;
|
||||
assert(false);
|
||||
}
|
||||
|
||||
|
|
@ -5260,4 +5262,4 @@ d3d12_video_encoder_get_last_slice_completion_fence(struct pipe_video_codec *cod
|
|||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue