diff --git a/src/dxvk/dxvk_context.h b/src/dxvk/dxvk_context.h index 6660d678..ce936ce1 100644 --- a/src/dxvk/dxvk_context.h +++ b/src/dxvk/dxvk_context.h @@ -77,7 +77,17 @@ namespace dxvk { * \param [out] status Submission feedback */ void flushCommandList(DxvkSubmitStatus* status); - + + /** + * \brief Synchronizes command list with WSI + * + * The next submission can be used to render + * to the swap chain image and present after. + */ + void synchronizeWsi(PresenterSync sync) { + m_cmd->setWsiSemaphores(sync); + } + /** * \brief Begins external rendering *