Type conversion, Code cleanup
Fixes compiler warnings
This commit is contained in:
parent
4561f05cf0
commit
24a13f18dc
20 changed files with 263045 additions and 5 deletions
BIN
android/examples/base/liblibktx.a
Normal file
BIN
android/examples/base/liblibktx.a
Normal file
Binary file not shown.
|
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* See readme.md for details
|
* See readme.md for details
|
||||||
*
|
*
|
||||||
* Copyright (C) 2016 by Sascha Willems - www.saschawillems.de
|
* Copyright (C) 2016-2023 by Sascha Willems - www.saschawillems.de
|
||||||
*
|
*
|
||||||
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
|
||||||
*/
|
*/
|
||||||
|
|
@ -42,7 +42,7 @@ void VulkanGear::generate(GearInfo *gearinfo, VkQueue queue)
|
||||||
std::vector<Vertex> vBuffer;
|
std::vector<Vertex> vBuffer;
|
||||||
std::vector<uint32_t> iBuffer;
|
std::vector<uint32_t> iBuffer;
|
||||||
|
|
||||||
int i, j;
|
int i;
|
||||||
float r0, r1, r2;
|
float r0, r1, r2;
|
||||||
float ta, da;
|
float ta, da;
|
||||||
float u1, v1, u2, v2, len;
|
float u1, v1, u2, v2, len;
|
||||||
|
|
@ -53,13 +53,13 @@ void VulkanGear::generate(GearInfo *gearinfo, VkQueue queue)
|
||||||
r0 = gearinfo->innerRadius;
|
r0 = gearinfo->innerRadius;
|
||||||
r1 = gearinfo->outerRadius - gearinfo->toothDepth / 2.0f;
|
r1 = gearinfo->outerRadius - gearinfo->toothDepth / 2.0f;
|
||||||
r2 = gearinfo->outerRadius + gearinfo->toothDepth / 2.0f;
|
r2 = gearinfo->outerRadius + gearinfo->toothDepth / 2.0f;
|
||||||
da = 2.0f * M_PI / gearinfo->numTeeth / 4.0f;
|
da = static_cast < float>(2.0 * M_PI / gearinfo->numTeeth / 4.0);
|
||||||
|
|
||||||
glm::vec3 normal;
|
glm::vec3 normal;
|
||||||
|
|
||||||
for (i = 0; i < gearinfo->numTeeth; i++)
|
for (i = 0; i < gearinfo->numTeeth; i++)
|
||||||
{
|
{
|
||||||
ta = i * 2.0f * M_PI / gearinfo->numTeeth;
|
ta = i * static_cast <float>(2.0 * M_PI / gearinfo->numTeeth);
|
||||||
|
|
||||||
cos_ta = cos(ta);
|
cos_ta = cos(ta);
|
||||||
cos_ta_1da = cos(ta + da);
|
cos_ta_1da = cos(ta + da);
|
||||||
|
|
@ -251,7 +251,7 @@ void VulkanGear::generate(GearInfo *gearinfo, VkQueue queue)
|
||||||
iBuffer.data());
|
iBuffer.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
indexCount = iBuffer.size();
|
indexCount = static_cast<uint32_t>(iBuffer.size());
|
||||||
|
|
||||||
prepareUniformBuffer();
|
prepareUniformBuffer();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
244
external/vulkan/vk_icd.h
vendored
Normal file
244
external/vulkan/vk_icd.h
vendored
Normal file
|
|
@ -0,0 +1,244 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2015-2023 The Khronos Group Inc.
|
||||||
|
* Copyright 2015-2023 Valve Corporation
|
||||||
|
* Copyright 2015-2023 LunarG, Inc.
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "vulkan.h"
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
// Loader-ICD version negotiation API. Versions add the following features:
|
||||||
|
// Version 0 - Initial. Doesn't support vk_icdGetInstanceProcAddr
|
||||||
|
// or vk_icdNegotiateLoaderICDInterfaceVersion.
|
||||||
|
// Version 1 - Add support for vk_icdGetInstanceProcAddr.
|
||||||
|
// Version 2 - Add Loader/ICD Interface version negotiation
|
||||||
|
// via vk_icdNegotiateLoaderICDInterfaceVersion.
|
||||||
|
// Version 3 - Add ICD creation/destruction of KHR_surface objects.
|
||||||
|
// Version 4 - Add unknown physical device extension querying via
|
||||||
|
// vk_icdGetPhysicalDeviceProcAddr.
|
||||||
|
// Version 5 - Tells ICDs that the loader is now paying attention to the
|
||||||
|
// application version of Vulkan passed into the ApplicationInfo
|
||||||
|
// structure during vkCreateInstance. This will tell the ICD
|
||||||
|
// that if the loader is older, it should automatically fail a
|
||||||
|
// call for any API version > 1.0. Otherwise, the loader will
|
||||||
|
// manually determine if it can support the expected version.
|
||||||
|
// Version 6 - Add support for vk_icdEnumerateAdapterPhysicalDevices.
|
||||||
|
// Version 7 - If an ICD supports any of the following functions, they must be
|
||||||
|
// queryable with vk_icdGetInstanceProcAddr:
|
||||||
|
// vk_icdNegotiateLoaderICDInterfaceVersion
|
||||||
|
// vk_icdGetPhysicalDeviceProcAddr
|
||||||
|
// vk_icdEnumerateAdapterPhysicalDevices (Windows only)
|
||||||
|
// In addition, these functions no longer need to be exported directly.
|
||||||
|
// This version allows drivers provided through the extension
|
||||||
|
// VK_LUNARG_direct_driver_loading be able to support the entire
|
||||||
|
// Driver-Loader interface.
|
||||||
|
|
||||||
|
#define CURRENT_LOADER_ICD_INTERFACE_VERSION 7
|
||||||
|
#define MIN_SUPPORTED_LOADER_ICD_INTERFACE_VERSION 0
|
||||||
|
#define MIN_PHYS_DEV_EXTENSION_ICD_INTERFACE_VERSION 4
|
||||||
|
|
||||||
|
// Old typedefs that don't follow a proper naming convention but are preserved for compatibility
|
||||||
|
typedef VkResult(VKAPI_PTR *PFN_vkNegotiateLoaderICDInterfaceVersion)(uint32_t *pVersion);
|
||||||
|
// This is defined in vk_layer.h which will be found by the loader, but if an ICD is building against this
|
||||||
|
// file directly, it won't be found.
|
||||||
|
#ifndef PFN_GetPhysicalDeviceProcAddr
|
||||||
|
typedef PFN_vkVoidFunction(VKAPI_PTR *PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const char *pName);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Typedefs for loader/ICD interface
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vk_icdNegotiateLoaderICDInterfaceVersion)(uint32_t* pVersion);
|
||||||
|
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vk_icdGetInstanceProcAddr)(VkInstance instance, const char* pName);
|
||||||
|
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vk_icdGetPhysicalDeviceProcAddr)(VkInstance instance, const char* pName);
|
||||||
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vk_icdEnumerateAdapterPhysicalDevices)(VkInstance instance, LUID adapterLUID,
|
||||||
|
uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Prototypes for loader/ICD interface
|
||||||
|
#if !defined(VK_NO_PROTOTYPES)
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
VKAPI_ATTR VkResult VKAPI_CALL vk_icdNegotiateLoaderICDInterfaceVersion(uint32_t* pVersion);
|
||||||
|
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr(VkInstance instance, const char* pName);
|
||||||
|
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetPhysicalDeviceProcAddr(VkInstance instance, const char* pName);
|
||||||
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
|
VKAPI_ATTR VkResult VKAPI_CALL vk_icdEnumerateAdapterPhysicalDevices(VkInstance instance, LUID adapterLUID,
|
||||||
|
uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices);
|
||||||
|
#endif
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The ICD must reserve space for a pointer for the loader's dispatch
|
||||||
|
* table, at the start of <each object>.
|
||||||
|
* The ICD must initialize this variable using the SET_LOADER_MAGIC_VALUE macro.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define ICD_LOADER_MAGIC 0x01CDC0DE
|
||||||
|
|
||||||
|
typedef union {
|
||||||
|
uintptr_t loaderMagic;
|
||||||
|
void *loaderData;
|
||||||
|
} VK_LOADER_DATA;
|
||||||
|
|
||||||
|
static inline void set_loader_magic_value(void *pNewObject) {
|
||||||
|
VK_LOADER_DATA *loader_info = (VK_LOADER_DATA *)pNewObject;
|
||||||
|
loader_info->loaderMagic = ICD_LOADER_MAGIC;
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline bool valid_loader_magic_value(void *pNewObject) {
|
||||||
|
const VK_LOADER_DATA *loader_info = (VK_LOADER_DATA *)pNewObject;
|
||||||
|
return (loader_info->loaderMagic & 0xffffffff) == ICD_LOADER_MAGIC;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Windows and Linux ICDs will treat VkSurfaceKHR as a pointer to a struct that
|
||||||
|
* contains the platform-specific connection and surface information.
|
||||||
|
*/
|
||||||
|
typedef enum {
|
||||||
|
VK_ICD_WSI_PLATFORM_MIR,
|
||||||
|
VK_ICD_WSI_PLATFORM_WAYLAND,
|
||||||
|
VK_ICD_WSI_PLATFORM_WIN32,
|
||||||
|
VK_ICD_WSI_PLATFORM_XCB,
|
||||||
|
VK_ICD_WSI_PLATFORM_XLIB,
|
||||||
|
VK_ICD_WSI_PLATFORM_ANDROID,
|
||||||
|
VK_ICD_WSI_PLATFORM_MACOS,
|
||||||
|
VK_ICD_WSI_PLATFORM_IOS,
|
||||||
|
VK_ICD_WSI_PLATFORM_DISPLAY,
|
||||||
|
VK_ICD_WSI_PLATFORM_HEADLESS,
|
||||||
|
VK_ICD_WSI_PLATFORM_METAL,
|
||||||
|
VK_ICD_WSI_PLATFORM_DIRECTFB,
|
||||||
|
VK_ICD_WSI_PLATFORM_VI,
|
||||||
|
VK_ICD_WSI_PLATFORM_GGP,
|
||||||
|
VK_ICD_WSI_PLATFORM_SCREEN,
|
||||||
|
VK_ICD_WSI_PLATFORM_FUCHSIA,
|
||||||
|
} VkIcdWsiPlatform;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
VkIcdWsiPlatform platform;
|
||||||
|
} VkIcdSurfaceBase;
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_MIR_KHR
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
MirConnection *connection;
|
||||||
|
MirSurface *mirSurface;
|
||||||
|
} VkIcdSurfaceMir;
|
||||||
|
#endif // VK_USE_PLATFORM_MIR_KHR
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_WAYLAND_KHR
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
struct wl_display *display;
|
||||||
|
struct wl_surface *surface;
|
||||||
|
} VkIcdSurfaceWayland;
|
||||||
|
#endif // VK_USE_PLATFORM_WAYLAND_KHR
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
HINSTANCE hinstance;
|
||||||
|
HWND hwnd;
|
||||||
|
} VkIcdSurfaceWin32;
|
||||||
|
#endif // VK_USE_PLATFORM_WIN32_KHR
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_XCB_KHR
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
xcb_connection_t *connection;
|
||||||
|
xcb_window_t window;
|
||||||
|
} VkIcdSurfaceXcb;
|
||||||
|
#endif // VK_USE_PLATFORM_XCB_KHR
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_XLIB_KHR
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
Display *dpy;
|
||||||
|
Window window;
|
||||||
|
} VkIcdSurfaceXlib;
|
||||||
|
#endif // VK_USE_PLATFORM_XLIB_KHR
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_DIRECTFB_EXT
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
IDirectFB *dfb;
|
||||||
|
IDirectFBSurface *surface;
|
||||||
|
} VkIcdSurfaceDirectFB;
|
||||||
|
#endif // VK_USE_PLATFORM_DIRECTFB_EXT
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
struct ANativeWindow *window;
|
||||||
|
} VkIcdSurfaceAndroid;
|
||||||
|
#endif // VK_USE_PLATFORM_ANDROID_KHR
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_MACOS_MVK
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
const void *pView;
|
||||||
|
} VkIcdSurfaceMacOS;
|
||||||
|
#endif // VK_USE_PLATFORM_MACOS_MVK
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_IOS_MVK
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
const void *pView;
|
||||||
|
} VkIcdSurfaceIOS;
|
||||||
|
#endif // VK_USE_PLATFORM_IOS_MVK
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_GGP
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
GgpStreamDescriptor streamDescriptor;
|
||||||
|
} VkIcdSurfaceGgp;
|
||||||
|
#endif // VK_USE_PLATFORM_GGP
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
VkDisplayModeKHR displayMode;
|
||||||
|
uint32_t planeIndex;
|
||||||
|
uint32_t planeStackIndex;
|
||||||
|
VkSurfaceTransformFlagBitsKHR transform;
|
||||||
|
float globalAlpha;
|
||||||
|
VkDisplayPlaneAlphaFlagBitsKHR alphaMode;
|
||||||
|
VkExtent2D imageExtent;
|
||||||
|
} VkIcdSurfaceDisplay;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
} VkIcdSurfaceHeadless;
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
const CAMetalLayer *pLayer;
|
||||||
|
} VkIcdSurfaceMetal;
|
||||||
|
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_VI_NN
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
void *window;
|
||||||
|
} VkIcdSurfaceVi;
|
||||||
|
#endif // VK_USE_PLATFORM_VI_NN
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_SCREEN_QNX
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
struct _screen_context *context;
|
||||||
|
struct _screen_window *window;
|
||||||
|
} VkIcdSurfaceScreen;
|
||||||
|
#endif // VK_USE_PLATFORM_SCREEN_QNX
|
||||||
|
|
||||||
|
#ifdef VK_USE_PLATFORM_FUCHSIA
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
} VkIcdSurfaceImagePipe;
|
||||||
|
#endif // VK_USE_PLATFORM_FUCHSIA
|
||||||
189
external/vulkan/vk_layer.h
vendored
Normal file
189
external/vulkan/vk_layer.h
vendored
Normal file
|
|
@ -0,0 +1,189 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2015-2023 The Khronos Group Inc.
|
||||||
|
* Copyright 2015-2023 Valve Corporation
|
||||||
|
* Copyright 2015-2023 LunarG, Inc.
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
/* Need to define dispatch table
|
||||||
|
* Core struct can then have ptr to dispatch table at the top
|
||||||
|
* Along with object ptrs for current and next OBJ
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "vulkan_core.h"
|
||||||
|
|
||||||
|
#define MAX_NUM_UNKNOWN_EXTS 250
|
||||||
|
|
||||||
|
// Loader-Layer version negotiation API. Versions add the following features:
|
||||||
|
// Versions 0/1 - Initial. Doesn't support vk_layerGetPhysicalDeviceProcAddr
|
||||||
|
// or vk_icdNegotiateLoaderLayerInterfaceVersion.
|
||||||
|
// Version 2 - Add support for vk_layerGetPhysicalDeviceProcAddr and
|
||||||
|
// vk_icdNegotiateLoaderLayerInterfaceVersion.
|
||||||
|
#define CURRENT_LOADER_LAYER_INTERFACE_VERSION 2
|
||||||
|
#define MIN_SUPPORTED_LOADER_LAYER_INTERFACE_VERSION 1
|
||||||
|
|
||||||
|
#define VK_CURRENT_CHAIN_VERSION 1
|
||||||
|
|
||||||
|
// Typedef for use in the interfaces below
|
||||||
|
typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const char* pName);
|
||||||
|
|
||||||
|
// Version negotiation values
|
||||||
|
typedef enum VkNegotiateLayerStructType {
|
||||||
|
LAYER_NEGOTIATE_UNINTIALIZED = 0,
|
||||||
|
LAYER_NEGOTIATE_INTERFACE_STRUCT = 1,
|
||||||
|
} VkNegotiateLayerStructType;
|
||||||
|
|
||||||
|
// Version negotiation structures
|
||||||
|
typedef struct VkNegotiateLayerInterface {
|
||||||
|
VkNegotiateLayerStructType sType;
|
||||||
|
void *pNext;
|
||||||
|
uint32_t loaderLayerInterfaceVersion;
|
||||||
|
PFN_vkGetInstanceProcAddr pfnGetInstanceProcAddr;
|
||||||
|
PFN_vkGetDeviceProcAddr pfnGetDeviceProcAddr;
|
||||||
|
PFN_GetPhysicalDeviceProcAddr pfnGetPhysicalDeviceProcAddr;
|
||||||
|
} VkNegotiateLayerInterface;
|
||||||
|
|
||||||
|
// Version negotiation functions
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vkNegotiateLoaderLayerInterfaceVersion)(VkNegotiateLayerInterface *pVersionStruct);
|
||||||
|
|
||||||
|
// Function prototype for unknown physical device extension command
|
||||||
|
typedef VkResult(VKAPI_PTR *PFN_PhysDevExt)(VkPhysicalDevice phys_device);
|
||||||
|
|
||||||
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
// CreateInstance and CreateDevice support structures
|
||||||
|
|
||||||
|
/* Sub type of structure for instance and device loader ext of CreateInfo.
|
||||||
|
* When sType == VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO
|
||||||
|
* or sType == VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO
|
||||||
|
* then VkLayerFunction indicates struct type pointed to by pNext
|
||||||
|
*/
|
||||||
|
typedef enum VkLayerFunction_ {
|
||||||
|
VK_LAYER_LINK_INFO = 0,
|
||||||
|
VK_LOADER_DATA_CALLBACK = 1,
|
||||||
|
VK_LOADER_LAYER_CREATE_DEVICE_CALLBACK = 2,
|
||||||
|
VK_LOADER_FEATURES = 3,
|
||||||
|
} VkLayerFunction;
|
||||||
|
|
||||||
|
typedef struct VkLayerInstanceLink_ {
|
||||||
|
struct VkLayerInstanceLink_ *pNext;
|
||||||
|
PFN_vkGetInstanceProcAddr pfnNextGetInstanceProcAddr;
|
||||||
|
PFN_GetPhysicalDeviceProcAddr pfnNextGetPhysicalDeviceProcAddr;
|
||||||
|
} VkLayerInstanceLink;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* When creating the device chain the loader needs to pass
|
||||||
|
* down information about it's device structure needed at
|
||||||
|
* the end of the chain. Passing the data via the
|
||||||
|
* VkLayerDeviceInfo avoids issues with finding the
|
||||||
|
* exact instance being used.
|
||||||
|
*/
|
||||||
|
typedef struct VkLayerDeviceInfo_ {
|
||||||
|
void *device_info;
|
||||||
|
PFN_vkGetInstanceProcAddr pfnNextGetInstanceProcAddr;
|
||||||
|
} VkLayerDeviceInfo;
|
||||||
|
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vkSetInstanceLoaderData)(VkInstance instance,
|
||||||
|
void *object);
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vkSetDeviceLoaderData)(VkDevice device,
|
||||||
|
void *object);
|
||||||
|
typedef VkResult (VKAPI_PTR *PFN_vkLayerCreateDevice)(VkInstance instance, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCreateInfo,
|
||||||
|
const VkAllocationCallbacks *pAllocator, VkDevice *pDevice, PFN_vkGetInstanceProcAddr layerGIPA, PFN_vkGetDeviceProcAddr *nextGDPA);
|
||||||
|
typedef void (VKAPI_PTR *PFN_vkLayerDestroyDevice)(VkDevice physicalDevice, const VkAllocationCallbacks *pAllocator, PFN_vkDestroyDevice destroyFunction);
|
||||||
|
|
||||||
|
typedef enum VkLoaderFeastureFlagBits {
|
||||||
|
VK_LOADER_FEATURE_PHYSICAL_DEVICE_SORTING = 0x00000001,
|
||||||
|
} VkLoaderFlagBits;
|
||||||
|
typedef VkFlags VkLoaderFeatureFlags;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
VkStructureType sType; // VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO
|
||||||
|
const void *pNext;
|
||||||
|
VkLayerFunction function;
|
||||||
|
union {
|
||||||
|
VkLayerInstanceLink *pLayerInfo;
|
||||||
|
PFN_vkSetInstanceLoaderData pfnSetInstanceLoaderData;
|
||||||
|
struct {
|
||||||
|
PFN_vkLayerCreateDevice pfnLayerCreateDevice;
|
||||||
|
PFN_vkLayerDestroyDevice pfnLayerDestroyDevice;
|
||||||
|
} layerDevice;
|
||||||
|
VkLoaderFeatureFlags loaderFeatures;
|
||||||
|
} u;
|
||||||
|
} VkLayerInstanceCreateInfo;
|
||||||
|
|
||||||
|
typedef struct VkLayerDeviceLink_ {
|
||||||
|
struct VkLayerDeviceLink_ *pNext;
|
||||||
|
PFN_vkGetInstanceProcAddr pfnNextGetInstanceProcAddr;
|
||||||
|
PFN_vkGetDeviceProcAddr pfnNextGetDeviceProcAddr;
|
||||||
|
} VkLayerDeviceLink;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
VkStructureType sType; // VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO
|
||||||
|
const void *pNext;
|
||||||
|
VkLayerFunction function;
|
||||||
|
union {
|
||||||
|
VkLayerDeviceLink *pLayerInfo;
|
||||||
|
PFN_vkSetDeviceLoaderData pfnSetDeviceLoaderData;
|
||||||
|
} u;
|
||||||
|
} VkLayerDeviceCreateInfo;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
VKAPI_ATTR VkResult VKAPI_CALL vkNegotiateLoaderLayerInterfaceVersion(VkNegotiateLayerInterface *pVersionStruct);
|
||||||
|
|
||||||
|
typedef enum VkChainType {
|
||||||
|
VK_CHAIN_TYPE_UNKNOWN = 0,
|
||||||
|
VK_CHAIN_TYPE_ENUMERATE_INSTANCE_EXTENSION_PROPERTIES = 1,
|
||||||
|
VK_CHAIN_TYPE_ENUMERATE_INSTANCE_LAYER_PROPERTIES = 2,
|
||||||
|
VK_CHAIN_TYPE_ENUMERATE_INSTANCE_VERSION = 3,
|
||||||
|
} VkChainType;
|
||||||
|
|
||||||
|
typedef struct VkChainHeader {
|
||||||
|
VkChainType type;
|
||||||
|
uint32_t version;
|
||||||
|
uint32_t size;
|
||||||
|
} VkChainHeader;
|
||||||
|
|
||||||
|
typedef struct VkEnumerateInstanceExtensionPropertiesChain {
|
||||||
|
VkChainHeader header;
|
||||||
|
VkResult(VKAPI_PTR *pfnNextLayer)(const struct VkEnumerateInstanceExtensionPropertiesChain *, const char *, uint32_t *,
|
||||||
|
VkExtensionProperties *);
|
||||||
|
const struct VkEnumerateInstanceExtensionPropertiesChain *pNextLink;
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
inline VkResult CallDown(const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties) const {
|
||||||
|
return pfnNextLayer(pNextLink, pLayerName, pPropertyCount, pProperties);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
} VkEnumerateInstanceExtensionPropertiesChain;
|
||||||
|
|
||||||
|
typedef struct VkEnumerateInstanceLayerPropertiesChain {
|
||||||
|
VkChainHeader header;
|
||||||
|
VkResult(VKAPI_PTR *pfnNextLayer)(const struct VkEnumerateInstanceLayerPropertiesChain *, uint32_t *, VkLayerProperties *);
|
||||||
|
const struct VkEnumerateInstanceLayerPropertiesChain *pNextLink;
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
inline VkResult CallDown(uint32_t *pPropertyCount, VkLayerProperties *pProperties) const {
|
||||||
|
return pfnNextLayer(pNextLink, pPropertyCount, pProperties);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
} VkEnumerateInstanceLayerPropertiesChain;
|
||||||
|
|
||||||
|
typedef struct VkEnumerateInstanceVersionChain {
|
||||||
|
VkChainHeader header;
|
||||||
|
VkResult(VKAPI_PTR *pfnNextLayer)(const struct VkEnumerateInstanceVersionChain *, uint32_t *);
|
||||||
|
const struct VkEnumerateInstanceVersionChain *pNextLink;
|
||||||
|
|
||||||
|
#if defined(__cplusplus)
|
||||||
|
inline VkResult CallDown(uint32_t *pApiVersion) const {
|
||||||
|
return pfnNextLayer(pNextLink, pApiVersion);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
} VkEnumerateInstanceVersionChain;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
4732
external/vulkan/vulkan.cppm
vendored
Normal file
4732
external/vulkan/vulkan.cppm
vendored
Normal file
File diff suppressed because it is too large
Load diff
19748
external/vulkan/vulkan.hpp
vendored
Normal file
19748
external/vulkan/vulkan.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
7380
external/vulkan/vulkan_enums.hpp
vendored
Normal file
7380
external/vulkan/vulkan_enums.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
2916
external/vulkan/vulkan_extension_inspection.hpp
vendored
Normal file
2916
external/vulkan/vulkan_extension_inspection.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
7669
external/vulkan/vulkan_format_traits.hpp
vendored
Normal file
7669
external/vulkan/vulkan_format_traits.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
23486
external/vulkan/vulkan_funcs.hpp
vendored
Normal file
23486
external/vulkan/vulkan_funcs.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
16126
external/vulkan/vulkan_handles.hpp
vendored
Normal file
16126
external/vulkan/vulkan_handles.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
16365
external/vulkan/vulkan_hash.hpp
vendored
Normal file
16365
external/vulkan/vulkan_hash.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
280
external/vulkan/vulkan_hpp_macros.hpp
vendored
Normal file
280
external/vulkan/vulkan_hpp_macros.hpp
vendored
Normal file
|
|
@ -0,0 +1,280 @@
|
||||||
|
// Copyright 2015-2023 The Khronos Group Inc.
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||||
|
//
|
||||||
|
|
||||||
|
// This header is generated from the Khronos Vulkan XML API Registry.
|
||||||
|
|
||||||
|
#ifndef VULKAN_HPP_MACROS_HPP
|
||||||
|
#define VULKAN_HPP_MACROS_HPP
|
||||||
|
|
||||||
|
#if defined( _MSVC_LANG )
|
||||||
|
# define VULKAN_HPP_CPLUSPLUS _MSVC_LANG
|
||||||
|
#else
|
||||||
|
# define VULKAN_HPP_CPLUSPLUS __cplusplus
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if 202002L < VULKAN_HPP_CPLUSPLUS
|
||||||
|
# define VULKAN_HPP_CPP_VERSION 23
|
||||||
|
#elif 201703L < VULKAN_HPP_CPLUSPLUS
|
||||||
|
# define VULKAN_HPP_CPP_VERSION 20
|
||||||
|
#elif 201402L < VULKAN_HPP_CPLUSPLUS
|
||||||
|
# define VULKAN_HPP_CPP_VERSION 17
|
||||||
|
#elif 201103L < VULKAN_HPP_CPLUSPLUS
|
||||||
|
# define VULKAN_HPP_CPP_VERSION 14
|
||||||
|
#elif 199711L < VULKAN_HPP_CPLUSPLUS
|
||||||
|
# define VULKAN_HPP_CPP_VERSION 11
|
||||||
|
#else
|
||||||
|
# error "vulkan.hpp needs at least c++ standard version 11"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// include headers holding feature-test macros
|
||||||
|
#if 20 <= VULKAN_HPP_CPP_VERSION
|
||||||
|
# include <version>
|
||||||
|
#else
|
||||||
|
# include <ciso646>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( VULKAN_HPP_DISABLE_ENHANCED_MODE )
|
||||||
|
# if !defined( VULKAN_HPP_NO_SMART_HANDLE )
|
||||||
|
# define VULKAN_HPP_NO_SMART_HANDLE
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( VULKAN_HPP_NO_CONSTRUCTORS )
|
||||||
|
# if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||||
|
# define VULKAN_HPP_NO_STRUCT_CONSTRUCTORS
|
||||||
|
# endif
|
||||||
|
# if !defined( VULKAN_HPP_NO_UNION_CONSTRUCTORS )
|
||||||
|
# define VULKAN_HPP_NO_UNION_CONSTRUCTORS
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( VULKAN_HPP_NO_SETTERS )
|
||||||
|
# if !defined( VULKAN_HPP_NO_STRUCT_SETTERS )
|
||||||
|
# define VULKAN_HPP_NO_STRUCT_SETTERS
|
||||||
|
# endif
|
||||||
|
# if !defined( VULKAN_HPP_NO_UNION_SETTERS )
|
||||||
|
# define VULKAN_HPP_NO_UNION_SETTERS
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_ASSERT )
|
||||||
|
# define VULKAN_HPP_ASSERT assert
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_ASSERT_ON_RESULT )
|
||||||
|
# define VULKAN_HPP_ASSERT_ON_RESULT VULKAN_HPP_ASSERT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_STATIC_ASSERT )
|
||||||
|
# define VULKAN_HPP_STATIC_ASSERT static_assert
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL )
|
||||||
|
# define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( __has_include )
|
||||||
|
# define __has_include( x ) false
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ( 201907 <= __cpp_lib_three_way_comparison ) && __has_include( <compare> ) && !defined( VULKAN_HPP_NO_SPACESHIP_OPERATOR )
|
||||||
|
# define VULKAN_HPP_HAS_SPACESHIP_OPERATOR
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ( 201803 <= __cpp_lib_span )
|
||||||
|
# define VULKAN_HPP_SUPPORT_SPAN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// 32-bit vulkan is not typesafe for non-dispatchable handles, so don't allow copy constructors on this platform by default.
|
||||||
|
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||||
|
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
|
||||||
|
# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION )
|
||||||
|
# define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( __GNUC__ )
|
||||||
|
# define GCC_VERSION ( __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ )
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_HAS_UNRESTRICTED_UNIONS )
|
||||||
|
# if defined( __clang__ )
|
||||||
|
# if __has_feature( cxx_unrestricted_unions )
|
||||||
|
# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS
|
||||||
|
# endif
|
||||||
|
# elif defined( __GNUC__ )
|
||||||
|
# if 40600 <= GCC_VERSION
|
||||||
|
# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS
|
||||||
|
# endif
|
||||||
|
# elif defined( _MSC_VER )
|
||||||
|
# if 1900 <= _MSC_VER
|
||||||
|
# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_INLINE )
|
||||||
|
# if defined( __clang__ )
|
||||||
|
# if __has_attribute( always_inline )
|
||||||
|
# define VULKAN_HPP_INLINE __attribute__( ( always_inline ) ) __inline__
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_INLINE inline
|
||||||
|
# endif
|
||||||
|
# elif defined( __GNUC__ )
|
||||||
|
# define VULKAN_HPP_INLINE __attribute__( ( always_inline ) ) __inline__
|
||||||
|
# elif defined( _MSC_VER )
|
||||||
|
# define VULKAN_HPP_INLINE inline
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_INLINE inline
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( VULKAN_HPP_TYPESAFE_CONVERSION )
|
||||||
|
# define VULKAN_HPP_TYPESAFE_EXPLICIT
|
||||||
|
#else
|
||||||
|
# define VULKAN_HPP_TYPESAFE_EXPLICIT explicit
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( __cpp_constexpr )
|
||||||
|
# define VULKAN_HPP_CONSTEXPR constexpr
|
||||||
|
# if 201304 <= __cpp_constexpr
|
||||||
|
# define VULKAN_HPP_CONSTEXPR_14 constexpr
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_CONSTEXPR_14
|
||||||
|
# endif
|
||||||
|
# if ( 201907 <= __cpp_constexpr ) && ( !defined( __GNUC__ ) || ( 110400 < GCC_VERSION ) )
|
||||||
|
# define VULKAN_HPP_CONSTEXPR_20 constexpr
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_CONSTEXPR_20
|
||||||
|
# endif
|
||||||
|
# define VULKAN_HPP_CONST_OR_CONSTEXPR constexpr
|
||||||
|
#else
|
||||||
|
# define VULKAN_HPP_CONSTEXPR
|
||||||
|
# define VULKAN_HPP_CONSTEXPR_14
|
||||||
|
# define VULKAN_HPP_CONST_OR_CONSTEXPR const
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_CONSTEXPR_INLINE )
|
||||||
|
# if 201606L <= __cpp_inline_variables
|
||||||
|
# define VULKAN_HPP_CONSTEXPR_INLINE VULKAN_HPP_CONSTEXPR inline
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_CONSTEXPR_INLINE VULKAN_HPP_CONSTEXPR
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_NOEXCEPT )
|
||||||
|
# if defined( _MSC_VER ) && ( _MSC_VER <= 1800 )
|
||||||
|
# define VULKAN_HPP_NOEXCEPT
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_NOEXCEPT noexcept
|
||||||
|
# define VULKAN_HPP_HAS_NOEXCEPT 1
|
||||||
|
# if defined( VULKAN_HPP_NO_EXCEPTIONS )
|
||||||
|
# define VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS noexcept
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if 14 <= VULKAN_HPP_CPP_VERSION
|
||||||
|
# define VULKAN_HPP_DEPRECATED( msg ) [[deprecated( msg )]]
|
||||||
|
#else
|
||||||
|
# define VULKAN_HPP_DEPRECATED( msg )
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ( 17 <= VULKAN_HPP_CPP_VERSION ) && !defined( VULKAN_HPP_NO_NODISCARD_WARNINGS )
|
||||||
|
# define VULKAN_HPP_NODISCARD [[nodiscard]]
|
||||||
|
# if defined( VULKAN_HPP_NO_EXCEPTIONS )
|
||||||
|
# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS [[nodiscard]]
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define VULKAN_HPP_NODISCARD
|
||||||
|
# define VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_NAMESPACE )
|
||||||
|
# define VULKAN_HPP_NAMESPACE vk
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define VULKAN_HPP_STRINGIFY2( text ) #text
|
||||||
|
#define VULKAN_HPP_STRINGIFY( text ) VULKAN_HPP_STRINGIFY2( text )
|
||||||
|
#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY( VULKAN_HPP_NAMESPACE )
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC )
|
||||||
|
# if defined( VK_NO_PROTOTYPES )
|
||||||
|
# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 0
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_STORAGE_API )
|
||||||
|
# if defined( VULKAN_HPP_STORAGE_SHARED )
|
||||||
|
# if defined( _MSC_VER )
|
||||||
|
# if defined( VULKAN_HPP_STORAGE_SHARED_EXPORT )
|
||||||
|
# define VULKAN_HPP_STORAGE_API __declspec( dllexport )
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_STORAGE_API __declspec( dllimport )
|
||||||
|
# endif
|
||||||
|
# elif defined( __clang__ ) || defined( __GNUC__ )
|
||||||
|
# if defined( VULKAN_HPP_STORAGE_SHARED_EXPORT )
|
||||||
|
# define VULKAN_HPP_STORAGE_API __attribute__( ( visibility( "default" ) ) )
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_STORAGE_API
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_STORAGE_API
|
||||||
|
# pragma warning Unknown import / export semantics
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_STORAGE_API
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace VULKAN_HPP_NAMESPACE
|
||||||
|
{
|
||||||
|
class DispatchLoaderDynamic;
|
||||||
|
} // namespace VULKAN_HPP_NAMESPACE
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_DEFAULT_DISPATCHER )
|
||||||
|
# if VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER ::VULKAN_HPP_NAMESPACE::defaultDispatchLoaderDynamic
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE \
|
||||||
|
namespace VULKAN_HPP_NAMESPACE \
|
||||||
|
{ \
|
||||||
|
VULKAN_HPP_STORAGE_API ::VULKAN_HPP_NAMESPACE::DispatchLoaderDynamic defaultDispatchLoaderDynamic; \
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace VULKAN_HPP_NAMESPACE
|
||||||
|
{
|
||||||
|
extern VULKAN_HPP_STORAGE_API VULKAN_HPP_NAMESPACE::DispatchLoaderDynamic defaultDispatchLoaderDynamic;
|
||||||
|
} // namespace VULKAN_HPP_NAMESPACE
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER ::VULKAN_HPP_NAMESPACE::getDispatchLoaderStatic()
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined( VULKAN_HPP_DEFAULT_DISPATCHER_TYPE )
|
||||||
|
# if VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER_TYPE ::VULKAN_HPP_NAMESPACE::DispatchLoaderDynamic
|
||||||
|
# else
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER_TYPE ::VULKAN_HPP_NAMESPACE::DispatchLoaderStatic
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined( VULKAN_HPP_NO_DEFAULT_DISPATCHER )
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT
|
||||||
|
#else
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_ASSIGNMENT = {}
|
||||||
|
# define VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT = nullptr
|
||||||
|
# define VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT = VULKAN_HPP_DEFAULT_DISPATCHER
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
21484
external/vulkan/vulkan_raii.hpp
vendored
Normal file
21484
external/vulkan/vulkan_raii.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
1080
external/vulkan/vulkan_shared.hpp
vendored
Normal file
1080
external/vulkan/vulkan_shared.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
7270
external/vulkan/vulkan_static_assertions.hpp
vendored
Normal file
7270
external/vulkan/vulkan_static_assertions.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
122293
external/vulkan/vulkan_structs.hpp
vendored
Normal file
122293
external/vulkan/vulkan_structs.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
9066
external/vulkan/vulkan_to_string.hpp
vendored
Normal file
9066
external/vulkan/vulkan_to_string.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
2702
external/vulkan/vulkan_video.hpp
vendored
Normal file
2702
external/vulkan/vulkan_video.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
10
imgui.ini
Normal file
10
imgui.ini
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Window][Debug##Default]
|
||||||
|
Pos=60,60
|
||||||
|
Size=400,400
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
|
[Window][Vulkan Example]
|
||||||
|
Pos=10,10
|
||||||
|
Size=192,232
|
||||||
|
Collapsed=0
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue