blob: 35d7c6fa076ddfeaf6530197ab3e1aa1fac80455 [file] [log] [blame]
Mark Young0746fce2017-03-10 17:31:18 -07001/*
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
28VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDeviceGroupsKHX(
29 VkInstance instance, uint32_t *pPhysicalDeviceGroupCount,
30 VkPhysicalDeviceGroupPropertiesKHX *pPhysicalDeviceGroupProperties);
31
32VKAPI_ATTR VkResult VKAPI_CALL terminator_EnumeratePhysicalDeviceGroupsKHX(
33 VkInstance instance, uint32_t *pPhysicalDeviceGroupCount,
34 VkPhysicalDeviceGroupPropertiesKHX *pPhysicalDeviceGroupProperties);
35
36VKAPI_ATTR VkResult VKAPI_CALL
37GetPhysicalDeviceExternalImageFormatPropertiesNV(
38 VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type,
39 VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags,
40 VkExternalMemoryHandleTypeFlagsNV externalHandleType,
41 VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties);
42
43VKAPI_ATTR VkResult VKAPI_CALL
44terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV(
45 VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type,
46 VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags,
47 VkExternalMemoryHandleTypeFlagsNV externalHandleType,
48 VkExternalImageFormatPropertiesNV *pExternalImageFormatProperties);
49