Added version info to debug stats.

This commit is contained in:
Бранимир Караџић
2020-10-05 19:45:22 -07:00
parent 766ab668f8
commit e878147cf9
9 changed files with 53 additions and 10 deletions

View File

@@ -4798,8 +4798,14 @@ namespace bgfx { namespace webgpu
tvm.clear();
uint16_t pos = 0;
tvm.printf(0, pos++, BGFX_CONFIG_DEBUG ? 0x8c : 0x8f
, " %s / " BX_COMPILER_NAME " / " BX_CPU_NAME " / " BX_ARCH_NAME " / " BX_PLATFORM_NAME " "
, " %s / " BX_COMPILER_NAME
" / " BX_CPU_NAME
" / " BX_ARCH_NAME
" / " BX_PLATFORM_NAME
" / Version 1.%d.%d (commit: " BGFX_REV_SHA1 ")"
, getRendererName()
, BGFX_API_VERSION
, BGFX_REV_NUMBER
);
pos = 10;