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

Function testVulkanObjectSC

scripts/test_vulkan_object.py:199–212  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

197
198
199def testVulkanObjectSC(tmp_path):
200 SetOutputDirectory(tmp_path)
201 SetOutputFileName("test_vulkan_object_sc_out.txt")
202 SetTargetApiName('vulkansc')
203 SetMergedApiNames('vulkan')
204
205 generator = MyGenerator()
206 base_options = BaseGeneratorOptions()
207 reg = Registry(generator, base_options)
208
209 xml_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'xml', 'vk.xml'))
210 tree = ElementTree.parse(xml_path)
211 reg.loadElementTree(tree)
212 reg.apiGen()
213
214def testVulkanObjectWithVideoSC(tmp_path):
215 SetOutputDirectory(tmp_path)

Callers

nothing calls this directly

Calls 10

loadElementTreeMethod · 0.95
apiGenMethod · 0.95
RegistryClass · 0.90
SetOutputDirectoryFunction · 0.85
SetOutputFileNameFunction · 0.85
SetTargetApiNameFunction · 0.85
SetMergedApiNamesFunction · 0.85
MyGeneratorClass · 0.70
parseMethod · 0.45

Tested by

no test coverage detected