mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 04:10:06 +00:00
VmaDumpVis.py: Small fix. Bumped tool version number, which I forgot to do before.
This commit is contained in:
parent
fc9db8dda7
commit
3a7249f313
@ -25,7 +25,7 @@ import json
|
||||
from PIL import Image, ImageDraw, ImageFont
|
||||
|
||||
|
||||
PROGRAM_VERSION = 'VMA Dump Visualization 1.0.0'
|
||||
PROGRAM_VERSION = 'VMA Dump Visualization 2.0.0'
|
||||
IMG_SIZE_X = 800
|
||||
IMG_MARGIN = 8
|
||||
FONT_SIZE = 10
|
||||
@ -246,7 +246,7 @@ for iMemTypeIndex in sorted(data.keys()):
|
||||
index = 0
|
||||
for iPoolId, listPool in dictMemType['CustomPools'].items():
|
||||
for objBlock in listPool:
|
||||
if 'Algorithm' in objBlock:
|
||||
if 'Algorithm' in objBlock and objBlock['Algorithm']:
|
||||
sAlgorithm = ' (Algorithm: %s)' % (objBlock['Algorithm']);
|
||||
else:
|
||||
sAlgorithm = '';
|
||||
|
Loading…
Reference in New Issue
Block a user