MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / generateFormat

Method generateFormat

scripts/reg.py:1851–1862  ·  view source on GitHub ↗
(self, format, dictionary)

Source from the content-addressed store, hash-verified

1849 dictionary[key] = apis
1850
1851 def generateFormat(self, format, dictionary):
1852 if format is None:
1853 self.gen.logMsg('diag', 'No entry found for format element',
1854 'returning!')
1855 return
1856
1857 name = format.elem.get('name')
1858 # No known alias for VkFormat elements
1859 alias = None
1860 if format.emit:
1861 genProc = self.gen.genFormat
1862 genProc(format, name, alias)
1863
1864 def generateSyncStage(self, sync):
1865 genProc = self.gen.genSyncStage

Callers 1

apiGenMethod · 0.95

Calls 2

logMsgMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected