Mark Young | 0746fce | 2017-03-10 17:31:18 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2015-2017 The Khronos Group Inc. |
| 3 | * Copyright (c) 2015-2017 Valve Corporation |
| 4 | * Copyright (c) 2015-2017 LunarG, Inc. |
| 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | * |
| 18 | * Author: Mark Young <marky@lunarg.com> |
| 19 | */ |
| 20 | |
| 21 | #pragma once |
| 22 | |
| 23 | // ---- Manually added trampoline/terminator functions |
| 24 | |
| 25 | // These functions, for whatever reason, require more complex changes than |
| 26 | // can easily be automatically generated. |
| 27 | |
| 28 | VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDeviceGroupsKHX( |
| 29 | VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, |
| 30 | VkPhysicalDeviceGroupPropertiesKHX *pPhysicalDeviceGroupProperties); |
| 31 | |
| 32 | VKAPI_ATTR VkResult VKAPI_CALL terminator_EnumeratePhysicalDeviceGroupsKHX( |
| 33 | VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, |
| 34 | VkPhysicalDeviceGroupPropertiesKHX *pPhysicalDeviceGroupProperties); |
| 35 | |
| 36 | VKAPI_ATTR VkResult VKAPI_CALL |
| 37 | GetPhysicalDeviceExternalImageFormatPropertiesNV( |
| 38 | VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, |
| 39 | VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, |
| 40 | VkExternalMemoryHandleTypeFlagsNV externalHandleType, |
| 41 | VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties); |
| 42 | |
| 43 | VKAPI_ATTR VkResult VKAPI_CALL |
| 44 | terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV( |
| 45 | VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, |
| 46 | VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, |
| 47 | VkExternalMemoryHandleTypeFlagsNV externalHandleType, |
| 48 | VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties); |
| 49 | |