mediafoundation: Fix recon pic two pass VPBlit target

Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36236>
This commit is contained in:
Sil Vilerino
2025-07-17 10:25:36 -04:00
committed by Marge Bot
parent f6e95a7233
commit 2142f03031
@@ -1186,7 +1186,7 @@ CDX12EncHMFT::xThreadProc( void *pCtx )
vpblit_params.dst_region.y1 = cur_pic_dpb_entry.downscaled_buffer->height;
pThis->m_pPipeVideoBlitter->begin_frame( pThis->m_pPipeVideoBlitter,
pDX12EncodeContext->pDownscaledTwoPassPipeVideoBuffer,
cur_pic_dpb_entry.downscaled_buffer,
&vpblit_params.base );
if( pThis->m_pPipeVideoBlitter->process_frame( pThis->m_pPipeVideoBlitter,
@@ -1201,7 +1201,7 @@ CDX12EncHMFT::xThreadProc( void *pCtx )
}
if( pThis->m_pPipeVideoBlitter->end_frame( pThis->m_pPipeVideoBlitter,
pDX12EncodeContext->pDownscaledTwoPassPipeVideoBuffer,
cur_pic_dpb_entry.downscaled_buffer,
&vpblit_params.base ) != 0 )
{
assert( false );