third_party_vulkan-headers/registry/apiconventions.py
andrew0229 35e74be546 update vulkan headers v1.3.275
Signed-off-by: andrew0229 <zhangzhao62@huawei.com>
Change-Id: Iea9dae9f174999d70e16290430669ed16181a54d
2024-05-21 10:34:44 +00:00

22 lines
556 B
Python

#!/usr/bin/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