mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 14:29:07 -07:00
f41928bd4a
Some checks are pending
ci / cmake-unix (3.15, macos-latest) (push) Waiting to run
ci / cmake-unix (3.15, ubuntu-latest) (push) Waiting to run
ci / cmake-unix (latest, macos-latest) (push) Waiting to run
ci / cmake-unix (latest, ubuntu-latest) (push) Waiting to run
ci / cmake-windows (3.15) (push) Waiting to run
ci / cmake-windows (latest) (push) Waiting to run
ci / reuse (push) Waiting to run
21 lines
560 B
Python
21 lines
560 B
Python
#!/usr/bin/env python3 -i
|
|
#
|
|
# Copyright 2021-2024 The Khronos Group Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Generic alias for working group-specific API conventions interface.
|
|
|
|
# This import should be changed at the repository / working group level to
|
|
# specify the correct API's conventions.
|
|
|
|
|
|
import os
|
|
|
|
defaultAPI = 'vulkan'
|
|
|
|
VulkanAPI = os.getenv('VULKAN_API', default=defaultAPI)
|
|
|
|
if VulkanAPI == 'vulkansc':
|
|
from vkconventions import VulkanSCConventions as APIConventions
|
|
else:
|
|
from vkconventions import VulkanConventions as APIConventions
|