1e5c31af7Sopenharmony_ci#!/usr/bin/python3 -i 2e5c31af7Sopenharmony_ci# 3e5c31af7Sopenharmony_ci# Copyright 2021-2024 The Khronos Group Inc. 4e5c31af7Sopenharmony_ci# SPDX-License-Identifier: Apache-2.0 5e5c31af7Sopenharmony_ci 6e5c31af7Sopenharmony_ci# Generic alias for working group-specific API conventions interface. 7e5c31af7Sopenharmony_ci 8e5c31af7Sopenharmony_ci# This import should be changed at the repository / working group level to 9e5c31af7Sopenharmony_ci# specify the correct API's conventions. 10e5c31af7Sopenharmony_ci 11e5c31af7Sopenharmony_ci 12e5c31af7Sopenharmony_ciimport os 13e5c31af7Sopenharmony_ci 14e5c31af7Sopenharmony_cidefaultAPI = 'vulkan' 15e5c31af7Sopenharmony_ci 16e5c31af7Sopenharmony_ciVulkanAPI = os.getenv('VULKAN_API', default=defaultAPI) 17e5c31af7Sopenharmony_ci 18e5c31af7Sopenharmony_ciif VulkanAPI == 'vulkansc': 19e5c31af7Sopenharmony_ci from vkconventions import VulkanSCConventions as APIConventions 20e5c31af7Sopenharmony_cielse: 21e5c31af7Sopenharmony_ci from vkconventions import VulkanConventions as APIConventions 22