MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / getVUID

Function getVUID

scripts/generators/generator_utils.py:54–58  ·  view source on GitHub ↗
(valid_vuids: set, vuid: str, quotes: bool = True)

Source from the content-addressed store, hash-verified

52
53# Will do a sanity check the VUID exists
54def getVUID(valid_vuids: set, vuid: str, quotes: bool = True) -> str:
55 if vuid not in valid_vuids:
56 print(f'Warning: Could not find {vuid} in validusage.json')
57 vuid = vuid.replace('VUID-', 'UNASSIGNED-')
58 return vuid if not quotes else f'"{vuid}"'
59
60# There is no way to find this information in the XML
61def createObject(command_name: str):

Callers 3

getFieldParentVUIDMethod · 0.90
generateSourceMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected