mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 18:25:29 +00:00
Reduce default footprint: optional debug text, drop unused shader copies. (#3938)
This commit is contained in:
@@ -2010,14 +2010,7 @@ namespace bgfx { namespace d3d12
|
||||
postReset();
|
||||
|
||||
m_batch.create(4<<10);
|
||||
#if !BX_PLATFORM_LINUX
|
||||
// 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_batch.setIndirectMode(false /* ExecuteIndirect is a net loss on all GPU vendors... */);
|
||||
|
||||
m_gpuTimer.init();
|
||||
m_occlusionQuery.init();
|
||||
|
||||
Reference in New Issue
Block a user