We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ed57e commit 8b51c4bCopy full SHA for 8b51c4b
libs/VulkanHeaders/apiconventions.py
@@ -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
0 commit comments