Skip to content

Commit 8b51c4b

Browse files
committed
Add VulkanHeaders
Vulkan header generator and xml spec from https://github.com/KhronosGroup/Vulkan-Docs commit: 7fe2b623f13dabb885e35b953dd690f01093d4bb
1 parent 10ed57e commit 8b51c4b

25 files changed

+44011
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/usr/bin/env python3 -i
2+
#
3+
# Copyright 2021-2025 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+
else:
21+
from vkconventions import VulkanConventions as APIConventions

libs/VulkanHeaders/cgenerator.py

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

0 commit comments

Comments
 (0)