mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-26 08:34:34 +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
|
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_SIZE_X = 800
|
||||||
IMG_MARGIN = 8
|
IMG_MARGIN = 8
|
||||||
FONT_SIZE = 10
|
FONT_SIZE = 10
|
||||||
@ -246,7 +246,7 @@ for iMemTypeIndex in sorted(data.keys()):
|
|||||||
index = 0
|
index = 0
|
||||||
for iPoolId, listPool in dictMemType['CustomPools'].items():
|
for iPoolId, listPool in dictMemType['CustomPools'].items():
|
||||||
for objBlock in listPool:
|
for objBlock in listPool:
|
||||||
if 'Algorithm' in objBlock:
|
if 'Algorithm' in objBlock and objBlock['Algorithm']:
|
||||||
sAlgorithm = ' (Algorithm: %s)' % (objBlock['Algorithm']);
|
sAlgorithm = ' (Algorithm: %s)' % (objBlock['Algorithm']);
|
||||||
else:
|
else:
|
||||||
sAlgorithm = '';
|
sAlgorithm = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user