mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-08-31 23:48:24 +00:00
D3D12: ExecuteIndirect sucks on everything except maybe AMD. (#3788)
This commit is contained in:
committed by
GitHub
parent
d6a333709d
commit
ea0cf65d08
@@ -1896,7 +1896,12 @@ namespace bgfx { namespace d3d12
|
||||
|
||||
m_batch.create(4<<10);
|
||||
#if !BX_PLATFORM_LINUX
|
||||
m_batch.setIndirectMode(BGFX_PCI_ID_MICROSOFT != m_dxgi.m_adapterDesc.VendorId);
|
||||
// ExecuteIndirect is a net loss on following GPU vendors:
|
||||
m_batch.setIndirectMode(true
|
||||
&& BGFX_PCI_ID_NVIDIA != m_dxgi.m_adapterDesc.VendorId
|
||||
&& BGFX_PCI_ID_INTEL != m_dxgi.m_adapterDesc.VendorId
|
||||
&& BGFX_PCI_ID_MICROSOFT != m_dxgi.m_adapterDesc.VendorId
|
||||
);
|
||||
#endif // !BX_PLATFORM_LINUX
|
||||
|
||||
m_gpuTimer.init();
|
||||
|
||||
Reference in New Issue
Block a user