Skip to content

Commit b11a0e2

Browse files
committed
Add VulkanHeaders
Vulkan header generator and xml spec from https://github.com/KhronosGroup/Vulkan-Docs commit: 49f1a381e2aec33ef32adf4a377b5a39ec016ec4
1 parent c1b5e08 commit b11a0e2

25 files changed

+45786
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env python3 -i
2+
#
3+
# Copyright 2021-2026 The Khronos Group Inc.
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
# Generic alias for working group-specific API conventions interface.
7+
8+
# This import should be changed at the repository / working group level to
9+
# specify the correct API's conventions.
10+
11+
12+
import os
13+
14+
defaultAPI = 'vulkan'
15+
16+
VulkanAPI = os.getenv('VULKAN_API', default=defaultAPI)
17+
18+
if VulkanAPI == 'vulkansc':
19+
from vkconventions import VulkanSCConventions as APIConventions
20+
elif VulkanAPI == 'vulkanbase':
21+
from vkconventions import VulkanBaseConventions as APIConventions
22+
else:
23+
from vkconventions import VulkanConventions as APIConventions

libs/VulkanHeaders/cgenerator.py

Lines changed: 553 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)