dxgi: Prettify memory info.
This commit is contained in:
parent
03fbf9d42b
commit
8bf13f7f4f
16
src/dxgi.cpp
16
src/dxgi.cpp
@ -206,9 +206,19 @@ namespace bgfx
|
||||
, desc.SubSysId
|
||||
, desc.Revision
|
||||
);
|
||||
BX_TRACE("\tMemory: %tu (video), %tu (system), %tu (shared)"
|
||||
, desc.DedicatedVideoMemory
|
||||
, desc.DedicatedSystemMemory
|
||||
|
||||
char dedicatedVideo[16];
|
||||
bx::prettify(dedicatedVideo, BX_COUNTOF(dedicatedVideo), desc.DedicatedVideoMemory);
|
||||
|
||||
char dedicatedSystem[16];
|
||||
bx::prettify(dedicatedSystem, BX_COUNTOF(dedicatedSystem), desc.DedicatedSystemMemory);
|
||||
|
||||
char sharedSystem[16];
|
||||
bx::prettify(sharedSystem, BX_COUNTOF(sharedSystem), desc.SharedSystemMemory);
|
||||
|
||||
BX_TRACE("\tMemory: %s (video), %s (system), %s (shared)"
|
||||
, dedicatedVideo
|
||||
, dedicatedSystem
|
||||
, desc.SharedSystemMemory
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user