[idd] d3d: add leased D3D11 texture interop

This commit is contained in:
Geoffrey McRae
2026-08-13 15:42:24 +10:00
parent 3dd5abb05e
commit ba7a037f23
14 changed files with 566 additions and 17 deletions

View File

@@ -313,6 +313,17 @@ bool CFrameGraph::Want(FrameSignal signal) const
return false;
}
bool CFrameGraph::Shared(unsigned node) const
{
if (!m_sealed || !node || node >= m_nodeCount)
return false;
for (unsigned i = 0; i < m_leafCount; ++i)
if (m_leaves[i].node == node &&
m_leaves[i].cfg.profile.storage == FrameStorage::D3D11_TEXTURE)
return true;
return false;
}
bool CFrameGraph::Desc(unsigned leaf, const FrameContentRef& content,
LeafDesc& desc) const
{