Update for Vulkan-Docs 1.2.133
This commit is contained in:
parent
7264358702
commit
9bd3f561bc
7 changed files with 6106 additions and 1393 deletions
|
|
@ -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, ']')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue