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

This commit is contained in:
Branimir Karadžić
2026-08-30 05:32:32 +00:00
committed by GitHub
parent 4b4c138fb0
commit c949b911fc
16 changed files with 153 additions and 101 deletions

View File

@@ -15,8 +15,10 @@ namespace bgfx
const uint8_t* BX_CONCATENATE(_name, _pssl) = &BX_CONCATENATE(_name, _int_pssl)[0]; \
const uint32_t BX_CONCATENATE(_name, _pssl_size) = 1
#if BGFX_CONFIG_DEBUG_TEXT
BGFX_DECLARE_EMBEDDED_SHADER(vs_debugfont);
BGFX_DECLARE_EMBEDDED_SHADER(fs_debugfont);
#endif // BGFX_CONFIG_DEBUG_TEXT
BGFX_DECLARE_EMBEDDED_SHADER(vs_clear);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear0);
BGFX_DECLARE_EMBEDDED_SHADER(fs_clear1);