Update for Vulkan-Docs 1.2.133

This commit is contained in:
Jon Leech 2020-02-15 18:41:58 -08:00 committed by Jon Leech
parent 7264358702
commit 9bd3f561bc
7 changed files with 6106 additions and 1393 deletions

View file

@ -327,6 +327,9 @@ class OutputGenerator:
bitpos = int(value, 0)
numVal = 1 << bitpos
value = '0x%08x' % numVal
if not self.genOpts.conventions.valid_flag_bit(bitpos):
msg='Enum {} uses bit position {}, which may result in undefined behavior or unexpected enumerant scalar data type'
self.logMsg('warn', msg.format(name, bitpos))
if bitpos >= 32:
value = value + 'ULL'
self.logMsg('diag', 'Enum', name, '-> bitpos [', numVal, ',', value, ']')