mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-26 20:25:58 +00:00
D3D11/WebGPU: Fixed vertex pulling draw count. Guard WebGPU getPipeline stream loop. (#3775)
This commit is contained in:
committed by
GitHub
parent
fd5fa66370
commit
ffcbac4ac0
@@ -6456,6 +6456,11 @@ namespace bgfx { namespace d3d11
|
||||
}
|
||||
}
|
||||
|
||||
if (UINT32_MAX == draw.m_streamMask)
|
||||
{
|
||||
currentNumVertices = draw.m_numVertices;
|
||||
}
|
||||
|
||||
if (currentState.m_indexBuffer.idx != draw.m_indexBuffer.idx
|
||||
|| currentState.isIndex16() != draw.isIndex16() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user