mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-19 13:51:31 +00:00
Bug: None Change-Id: I6d24e9ef21b8c00c5e50d65fdd0c454ae16a42ba Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/29601 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
48 lines
1.2 KiB
C
48 lines
1.2 KiB
C
#ifndef VULKAN_MACOS_H_
|
|
#define VULKAN_MACOS_H_ 1
|
|
|
|
/*
|
|
** Copyright (c) 2015-2020 The Khronos Group Inc.
|
|
**
|
|
** SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/*
|
|
** This header is generated from the Khronos Vulkan XML API Registry.
|
|
**
|
|
*/
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
|
|
#define VK_MVK_macos_surface 1
|
|
#define VK_MVK_MACOS_SURFACE_SPEC_VERSION 3
|
|
#define VK_MVK_MACOS_SURFACE_EXTENSION_NAME "VK_MVK_macos_surface"
|
|
typedef VkFlags VkMacOSSurfaceCreateFlagsMVK;
|
|
typedef struct VkMacOSSurfaceCreateInfoMVK {
|
|
VkStructureType sType;
|
|
const void* pNext;
|
|
VkMacOSSurfaceCreateFlagsMVK flags;
|
|
const void* pView;
|
|
} VkMacOSSurfaceCreateInfoMVK;
|
|
|
|
typedef VkResult (VKAPI_PTR *PFN_vkCreateMacOSSurfaceMVK)(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
|
|
|
|
#ifndef VK_NO_PROTOTYPES
|
|
VKAPI_ATTR VkResult VKAPI_CALL vkCreateMacOSSurfaceMVK(
|
|
VkInstance instance,
|
|
const VkMacOSSurfaceCreateInfoMVK* pCreateInfo,
|
|
const VkAllocationCallbacks* pAllocator,
|
|
VkSurfaceKHR* pSurface);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|