Optimize render to decode fence usage to reduce pipeline bubbles

This commit is contained in:
Cameron Gutman
2026-01-19 18:38:38 -06:00
parent a0a4c1ea83
commit 1e825c85e5
2 changed files with 14 additions and 6 deletions
@@ -79,8 +79,9 @@ private:
SupportedFenceType m_FenceType;
Microsoft::WRL::ComPtr<ID3D11Fence> m_DecodeD2RFence, m_RenderD2RFence;
UINT64 m_D2RFenceValue;
Microsoft::WRL::ComPtr<ID3D11Fence> m_DecodeR2DFence, m_RenderR2DFence;
UINT64 m_DecodeRenderSyncFenceValue;
UINT64 m_R2DFenceValue;
SDL_mutex* m_ContextLock;
bool m_BindDecoderOutputTextures;