Reduce default footprint: optional debug text, drop unused shader copies. (#3938)

This commit is contained in:
Branimir Karadžić
2026-08-29 22:32:32 -07:00
committed by GitHub
parent 4b4c138fb0
commit c949b911fc
16 changed files with 153 additions and 101 deletions
+1 -8
View File
@@ -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();