mediafoundation: Create readable dpb buffers with PIPE_BIND_RENDER_TARGET and PIPE_BIND_SHARED for DX11 sharing
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41110>
This commit is contained in:
Silvio Vilerino 2026-04-21 14:49:10 -04:00 committed by Marge Bot
parent f07be3b416
commit e56354661b

View file

@ -82,7 +82,8 @@ dpb_buffer_manager::dpb_buffer_manager( void *logId,
PIPE_VIDEO_ENTRYPOINT_ENCODE,
PIPE_VIDEO_CAP_ENC_READABLE_RECONSTRUCTED_PICTURE ) != 0 )
{
m_template.bind = PIPE_BIND_SHARED; // Indicate we want shared resource capabilities
m_template.bind = PIPE_BIND_SHARED | // Indicate we want shared resource capabilities
PIPE_BIND_RENDER_TARGET; // This is also required for opening shared resources in D3D11
}
for( auto &entry : m_pool )