(tmp_path)
| 212 | reg.apiGen() |
| 213 | |
| 214 | def testVulkanObjectWithVideoSC(tmp_path): |
| 215 | SetOutputDirectory(tmp_path) |
| 216 | SetOutputFileName("test_vulkan_object_with_video_sc_out.txt") |
| 217 | SetTargetApiName('vulkansc') |
| 218 | SetMergedApiNames('vulkan') |
| 219 | |
| 220 | generator = MyGenerator() |
| 221 | base_options = BaseGeneratorOptions( |
| 222 | videoXmlPath = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'xml', 'video.xml'))) |
| 223 | reg = Registry(generator, base_options) |
| 224 | |
| 225 | xml_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'xml', 'vk.xml')) |
| 226 | tree = ElementTree.parse(xml_path) |
| 227 | reg.loadElementTree(tree) |
| 228 | reg.apiGen() |
nothing calls this directly
no test coverage detected