Updated Vulkan headers from SDK 1.0.5.1
This commit is contained in:
parent
e502785b1f
commit
a65fa3483e
7 changed files with 67 additions and 174 deletions
35
external/vulkan/icd-spv.h
vendored
35
external/vulkan/icd-spv.h
vendored
|
|
@ -1,28 +1,27 @@
|
||||||
/*
|
/*
|
||||||
|
* Copyright (c) 2015-2016 Valve Corporation
|
||||||
|
* Copyright (c) 2015-2016 LunarG, Inc.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015-2016 Valve Corporation
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* Copyright (C) 2015-2016 LunarG, Inc.
|
* of this software and/or associated documentation files (the "Materials"), to
|
||||||
|
* deal in the Materials without restriction, including without limitation the
|
||||||
|
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
* sell copies of the Materials, and to permit persons to whom the Materials are
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* The above copyright notice(s) and this permission notice shall be included in
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* all copies or substantial portions of the Materials.
|
||||||
* to deal in the Software without restriction, including without limitation
|
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included
|
* THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* in all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
*
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
* DEALINGS IN THE SOFTWARE.
|
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE
|
||||||
|
* USE OR OTHER DEALINGS IN THE MATERIALS.
|
||||||
*
|
*
|
||||||
* Author: Cody Northrop <cody@lunarg.com>
|
* Author: Cody Northrop <cody@lunarg.com>
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ICD_SPV_H
|
#ifndef ICD_SPV_H
|
||||||
|
|
|
||||||
44
external/vulkan/vk_debug_marker_layer.h
vendored
44
external/vulkan/vk_debug_marker_layer.h
vendored
|
|
@ -1,44 +0,0 @@
|
||||||
//
|
|
||||||
// File: vk_debug_marker_layer.h
|
|
||||||
//
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2015-2016 The Khronos Group Inc.
|
|
||||||
* Copyright (c) 2015-2016 Valve Corporation
|
|
||||||
* Copyright (c) 2015-2016 LunarG, Inc.
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and/or associated documentation files (the "Materials"), to
|
|
||||||
* deal in the Materials without restriction, including without limitation the
|
|
||||||
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
* sell copies of the Materials, and to permit persons to whom the Materials are
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice(s) and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Materials.
|
|
||||||
*
|
|
||||||
* THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
*
|
|
||||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
||||||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
||||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE
|
|
||||||
* USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Jon Ashburn <jon@lunarg.com>
|
|
||||||
* Courtney Goeltzenleuchter <courtney@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "vulkan.h"
|
|
||||||
#include "vk_lunarg_debug_marker.h"
|
|
||||||
#include "vk_layer.h"
|
|
||||||
|
|
||||||
typedef struct VkLayerDebugMarkerDispatchTable_ {
|
|
||||||
PFN_vkCmdDbgMarkerBegin CmdDbgMarkerBegin;
|
|
||||||
PFN_vkCmdDbgMarkerEnd CmdDbgMarkerEnd;
|
|
||||||
PFN_vkDbgSetObjectTag DbgSetObjectTag;
|
|
||||||
PFN_vkDbgSetObjectName DbgSetObjectName;
|
|
||||||
} VkLayerDebugMarkerDispatchTable;
|
|
||||||
13
external/vulkan/vk_icd.h
vendored
13
external/vulkan/vk_icd.h
vendored
|
|
@ -30,7 +30,7 @@
|
||||||
#ifndef VKICD_H
|
#ifndef VKICD_H
|
||||||
#define VKICD_H
|
#define VKICD_H
|
||||||
|
|
||||||
#include "vk_platform.h"
|
#include "vulkan.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The ICD must reserve space for a pointer for the loader's dispatch
|
* The ICD must reserve space for a pointer for the loader's dispatch
|
||||||
|
|
@ -65,6 +65,7 @@ typedef enum _VkIcdWsiPlatform {
|
||||||
VK_ICD_WSI_PLATFORM_WIN32,
|
VK_ICD_WSI_PLATFORM_WIN32,
|
||||||
VK_ICD_WSI_PLATFORM_XCB,
|
VK_ICD_WSI_PLATFORM_XCB,
|
||||||
VK_ICD_WSI_PLATFORM_XLIB,
|
VK_ICD_WSI_PLATFORM_XLIB,
|
||||||
|
VK_ICD_WSI_PLATFORM_DISPLAY
|
||||||
} VkIcdWsiPlatform;
|
} VkIcdWsiPlatform;
|
||||||
|
|
||||||
typedef struct _VkIcdSurfaceBase {
|
typedef struct _VkIcdSurfaceBase {
|
||||||
|
|
@ -111,4 +112,14 @@ typedef struct _VkIcdSurfaceXlib {
|
||||||
} VkIcdSurfaceXlib;
|
} VkIcdSurfaceXlib;
|
||||||
#endif // VK_USE_PLATFORM_XLIB_KHR
|
#endif // VK_USE_PLATFORM_XLIB_KHR
|
||||||
|
|
||||||
|
typedef struct _VkIcdSurfaceDisplay {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
VkDisplayModeKHR displayMode;
|
||||||
|
uint32_t planeIndex;
|
||||||
|
uint32_t planeStackIndex;
|
||||||
|
VkSurfaceTransformFlagBitsKHR transform;
|
||||||
|
float globalAlpha;
|
||||||
|
VkDisplayPlaneAlphaFlagBitsKHR alphaMode;
|
||||||
|
VkExtent2D imageExtent;
|
||||||
|
} VkIcdSurfaceDisplay;
|
||||||
#endif // VKICD_H
|
#endif // VKICD_H
|
||||||
|
|
|
||||||
15
external/vulkan/vk_layer.h
vendored
15
external/vulkan/vk_layer.h
vendored
|
|
@ -34,7 +34,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "vulkan.h"
|
#include "vulkan.h"
|
||||||
#include "vk_lunarg_debug_marker.h"
|
|
||||||
#if defined(__GNUC__) && __GNUC__ >= 4
|
#if defined(__GNUC__) && __GNUC__ >= 4
|
||||||
#define VK_LAYER_EXPORT __attribute__((visibility("default")))
|
#define VK_LAYER_EXPORT __attribute__((visibility("default")))
|
||||||
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
|
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
|
||||||
|
|
@ -226,6 +225,20 @@ typedef struct VkLayerInstanceDispatchTable_ {
|
||||||
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||||
PFN_vkCreateAndroidSurfaceKHR CreateAndroidSurfaceKHR;
|
PFN_vkCreateAndroidSurfaceKHR CreateAndroidSurfaceKHR;
|
||||||
#endif
|
#endif
|
||||||
|
PFN_vkGetPhysicalDeviceDisplayPropertiesKHR
|
||||||
|
GetPhysicalDeviceDisplayPropertiesKHR;
|
||||||
|
PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR
|
||||||
|
GetPhysicalDeviceDisplayPlanePropertiesKHR;
|
||||||
|
PFN_vkGetDisplayPlaneSupportedDisplaysKHR
|
||||||
|
GetDisplayPlaneSupportedDisplaysKHR;
|
||||||
|
PFN_vkGetDisplayModePropertiesKHR
|
||||||
|
GetDisplayModePropertiesKHR;
|
||||||
|
PFN_vkCreateDisplayModeKHR
|
||||||
|
CreateDisplayModeKHR;
|
||||||
|
PFN_vkGetDisplayPlaneCapabilitiesKHR
|
||||||
|
GetDisplayPlaneCapabilitiesKHR;
|
||||||
|
PFN_vkCreateDisplayPlaneSurfaceKHR
|
||||||
|
CreateDisplayPlaneSurfaceKHR;
|
||||||
} VkLayerInstanceDispatchTable;
|
} VkLayerInstanceDispatchTable;
|
||||||
|
|
||||||
// LL node for tree of dbg callback functions
|
// LL node for tree of dbg callback functions
|
||||||
|
|
|
||||||
98
external/vulkan/vk_lunarg_debug_marker.h
vendored
98
external/vulkan/vk_lunarg_debug_marker.h
vendored
|
|
@ -1,98 +0,0 @@
|
||||||
//
|
|
||||||
// File: vk_lunarg_debug_marker.h
|
|
||||||
//
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2015-2016 The Khronos Group Inc.
|
|
||||||
* Copyright (c) 2015-2016 Valve Corporation
|
|
||||||
* Copyright (c) 2015-2016 LunarG, Inc.
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and/or associated documentation files (the "Materials"), to
|
|
||||||
* deal in the Materials without restriction, including without limitation the
|
|
||||||
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
* sell copies of the Materials, and to permit persons to whom the Materials are
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice(s) and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Materials.
|
|
||||||
*
|
|
||||||
* THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
*
|
|
||||||
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
||||||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
||||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE
|
|
||||||
* USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
||||||
*
|
|
||||||
* Authors:
|
|
||||||
* Jon Ashburn <jon@lunarg.com>
|
|
||||||
* Courtney Goeltzenleuchter <courtney@lunarg.com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __VK_DEBUG_MARKER_H__
|
|
||||||
#define __VK_DEBUG_MARKER_H__
|
|
||||||
|
|
||||||
#include "vulkan.h"
|
|
||||||
|
|
||||||
#define VK_DEBUG_MARKER_EXTENSION_NUMBER 6
|
|
||||||
#define VK_DEBUG_MARKER_EXTENSION_REVISION 1
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif // __cplusplus
|
|
||||||
|
|
||||||
/*
|
|
||||||
***************************************************************************************************
|
|
||||||
* DebugMarker Vulkan Extension API
|
|
||||||
***************************************************************************************************
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define DEBUG_MARKER_EXTENSION_NAME "VK_LUNARG_DEBUG_MARKER"
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
// Enumerations
|
|
||||||
|
|
||||||
#define VK_DEBUG_MARKER_ENUM_EXTEND(type, id) \
|
|
||||||
((type)(VK_DEBUG_MARKER_EXTENSION_NUMBER * -1000 + (id)))
|
|
||||||
|
|
||||||
#define VK_OBJECT_INFO_TYPE_DBG_OBJECT_TAG \
|
|
||||||
VK_DEBUG_MARKER_ENUM_EXTEND(VkDbgObjectInfoType, 0)
|
|
||||||
#define VK_OBJECT_INFO_TYPE_DBG_OBJECT_NAME \
|
|
||||||
VK_DEBUG_MARKER_ENUM_EXTEND(VkDbgObjectInfoType, 1)
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
// API functions
|
|
||||||
|
|
||||||
typedef void(VKAPI_PTR *PFN_vkCmdDbgMarkerBegin)(VkCommandBuffer commandBuffer,
|
|
||||||
const char *pMarker);
|
|
||||||
typedef void(VKAPI_PTR *PFN_vkCmdDbgMarkerEnd)(VkCommandBuffer commandBuffer);
|
|
||||||
typedef VkResult(VKAPI_PTR *PFN_vkDbgSetObjectTag)(
|
|
||||||
VkDevice device, VkDebugReportObjectTypeEXT objType, uint64_t object,
|
|
||||||
size_t tagSize, const void *pTag);
|
|
||||||
typedef VkResult(VKAPI_PTR *PFN_vkDbgSetObjectName)(
|
|
||||||
VkDevice device, VkDebugReportObjectTypeEXT objType, uint64_t object,
|
|
||||||
size_t nameSize, const char *pName);
|
|
||||||
|
|
||||||
#ifndef VK_NO_PROTOTYPES
|
|
||||||
|
|
||||||
// DebugMarker extension entrypoints
|
|
||||||
VKAPI_ATTR void VKAPI_CALL
|
|
||||||
vkCmdDbgMarkerBegin(VkCommandBuffer commandBuffer, const char *pMarker);
|
|
||||||
|
|
||||||
VKAPI_ATTR void VKAPI_CALL vkCmdDbgMarkerEnd(VkCommandBuffer commandBuffer);
|
|
||||||
|
|
||||||
VKAPI_ATTR VkResult VKAPI_CALL
|
|
||||||
vkDbgSetObjectTag(VkDevice device, VkDebugReportObjectTypeEXT objType,
|
|
||||||
uint64_t object, size_t tagSize, const void *pTag);
|
|
||||||
|
|
||||||
VKAPI_ATTR VkResult VKAPI_CALL
|
|
||||||
vkDbgSetObjectName(VkDevice device, VkDebugReportObjectTypeEXT objType,
|
|
||||||
uint64_t object, size_t nameSize, const char *pName);
|
|
||||||
|
|
||||||
#endif // VK_NO_PROTOTYPES
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} // extern "C"
|
|
||||||
#endif // __cplusplus
|
|
||||||
|
|
||||||
#endif // __VK_DEBUG_MARKER_H__
|
|
||||||
2
external/vulkan/vk_platform.h
vendored
2
external/vulkan/vk_platform.h
vendored
|
|
@ -2,7 +2,7 @@
|
||||||
// File: vk_platform.h
|
// File: vk_platform.h
|
||||||
//
|
//
|
||||||
/*
|
/*
|
||||||
** Copyright (c) 2014-2015 The Khronos Group Inc.
|
** Copyright (c) 2014-2016 The Khronos Group Inc.
|
||||||
**
|
**
|
||||||
** Permission is hereby granted, free of charge, to any person obtaining a
|
** Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
** copy of this software and/or associated documentation files (the
|
** copy of this software and/or associated documentation files (the
|
||||||
|
|
|
||||||
34
external/vulkan/vulkan.h
vendored
34
external/vulkan/vulkan.h
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef __vulkan_h_
|
#ifndef VULKAN_H_
|
||||||
#define __vulkan_h_ 1
|
#define VULKAN_H_ 1
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
@ -41,7 +41,7 @@ extern "C" {
|
||||||
(((major) << 22) | ((minor) << 12) | (patch))
|
(((major) << 22) | ((minor) << 12) | (patch))
|
||||||
|
|
||||||
// Vulkan API version supported by this file
|
// Vulkan API version supported by this file
|
||||||
#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 3)
|
#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 5)
|
||||||
|
|
||||||
#define VK_VERSION_MAJOR(version) ((uint32_t)(version) >> 22)
|
#define VK_VERSION_MAJOR(version) ((uint32_t)(version) >> 22)
|
||||||
#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff)
|
#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff)
|
||||||
|
|
@ -142,6 +142,7 @@ typedef enum VkResult {
|
||||||
VK_ERROR_OUT_OF_DATE_KHR = -1000001004,
|
VK_ERROR_OUT_OF_DATE_KHR = -1000001004,
|
||||||
VK_ERROR_INCOMPATIBLE_DISPLAY_KHR = -1000003001,
|
VK_ERROR_INCOMPATIBLE_DISPLAY_KHR = -1000003001,
|
||||||
VK_ERROR_VALIDATION_FAILED_EXT = -1000011001,
|
VK_ERROR_VALIDATION_FAILED_EXT = -1000011001,
|
||||||
|
VK_ERROR_INVALID_SHADER_NV = -1000012000,
|
||||||
VK_RESULT_BEGIN_RANGE = VK_ERROR_FORMAT_NOT_SUPPORTED,
|
VK_RESULT_BEGIN_RANGE = VK_ERROR_FORMAT_NOT_SUPPORTED,
|
||||||
VK_RESULT_END_RANGE = VK_INCOMPLETE,
|
VK_RESULT_END_RANGE = VK_INCOMPLETE,
|
||||||
VK_RESULT_RANGE_SIZE = (VK_INCOMPLETE - VK_ERROR_FORMAT_NOT_SUPPORTED + 1),
|
VK_RESULT_RANGE_SIZE = (VK_INCOMPLETE - VK_ERROR_FORMAT_NOT_SUPPORTED + 1),
|
||||||
|
|
@ -209,7 +210,7 @@ typedef enum VkStructureType {
|
||||||
VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR = 1000007000,
|
VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR = 1000007000,
|
||||||
VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR = 1000008000,
|
VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR = 1000008000,
|
||||||
VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR = 1000009000,
|
VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR = 1000009000,
|
||||||
VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT = 1000011000,
|
VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT = 1000011000,
|
||||||
VK_STRUCTURE_TYPE_BEGIN_RANGE = VK_STRUCTURE_TYPE_APPLICATION_INFO,
|
VK_STRUCTURE_TYPE_BEGIN_RANGE = VK_STRUCTURE_TYPE_APPLICATION_INFO,
|
||||||
VK_STRUCTURE_TYPE_END_RANGE = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO,
|
VK_STRUCTURE_TYPE_END_RANGE = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO,
|
||||||
VK_STRUCTURE_TYPE_RANGE_SIZE = (VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO - VK_STRUCTURE_TYPE_APPLICATION_INFO + 1),
|
VK_STRUCTURE_TYPE_RANGE_SIZE = (VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO - VK_STRUCTURE_TYPE_APPLICATION_INFO + 1),
|
||||||
|
|
@ -701,8 +702,8 @@ typedef enum VkSamplerAddressMode {
|
||||||
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3,
|
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = 3,
|
||||||
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4,
|
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = 4,
|
||||||
VK_SAMPLER_ADDRESS_MODE_BEGIN_RANGE = VK_SAMPLER_ADDRESS_MODE_REPEAT,
|
VK_SAMPLER_ADDRESS_MODE_BEGIN_RANGE = VK_SAMPLER_ADDRESS_MODE_REPEAT,
|
||||||
VK_SAMPLER_ADDRESS_MODE_END_RANGE = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE,
|
VK_SAMPLER_ADDRESS_MODE_END_RANGE = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,
|
||||||
VK_SAMPLER_ADDRESS_MODE_RANGE_SIZE = (VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE - VK_SAMPLER_ADDRESS_MODE_REPEAT + 1),
|
VK_SAMPLER_ADDRESS_MODE_RANGE_SIZE = (VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER - VK_SAMPLER_ADDRESS_MODE_REPEAT + 1),
|
||||||
VK_SAMPLER_ADDRESS_MODE_MAX_ENUM = 0x7FFFFFFF
|
VK_SAMPLER_ADDRESS_MODE_MAX_ENUM = 0x7FFFFFFF
|
||||||
} VkSamplerAddressMode;
|
} VkSamplerAddressMode;
|
||||||
|
|
||||||
|
|
@ -979,7 +980,7 @@ typedef enum VkShaderStageFlagBits {
|
||||||
VK_SHADER_STAGE_GEOMETRY_BIT = 0x00000008,
|
VK_SHADER_STAGE_GEOMETRY_BIT = 0x00000008,
|
||||||
VK_SHADER_STAGE_FRAGMENT_BIT = 0x00000010,
|
VK_SHADER_STAGE_FRAGMENT_BIT = 0x00000010,
|
||||||
VK_SHADER_STAGE_COMPUTE_BIT = 0x00000020,
|
VK_SHADER_STAGE_COMPUTE_BIT = 0x00000020,
|
||||||
VK_SHADER_STAGE_ALL_GRAPHICS = 0x1F,
|
VK_SHADER_STAGE_ALL_GRAPHICS = 0x0000001F,
|
||||||
VK_SHADER_STAGE_ALL = 0x7FFFFFFF,
|
VK_SHADER_STAGE_ALL = 0x7FFFFFFF,
|
||||||
} VkShaderStageFlagBits;
|
} VkShaderStageFlagBits;
|
||||||
typedef VkFlags VkPipelineVertexInputStateCreateFlags;
|
typedef VkFlags VkPipelineVertexInputStateCreateFlags;
|
||||||
|
|
@ -992,7 +993,7 @@ typedef enum VkCullModeFlagBits {
|
||||||
VK_CULL_MODE_NONE = 0,
|
VK_CULL_MODE_NONE = 0,
|
||||||
VK_CULL_MODE_FRONT_BIT = 0x00000001,
|
VK_CULL_MODE_FRONT_BIT = 0x00000001,
|
||||||
VK_CULL_MODE_BACK_BIT = 0x00000002,
|
VK_CULL_MODE_BACK_BIT = 0x00000002,
|
||||||
VK_CULL_MODE_FRONT_AND_BACK = 0x3,
|
VK_CULL_MODE_FRONT_AND_BACK = 0x00000003,
|
||||||
} VkCullModeFlagBits;
|
} VkCullModeFlagBits;
|
||||||
typedef VkFlags VkCullModeFlags;
|
typedef VkFlags VkCullModeFlags;
|
||||||
typedef VkFlags VkPipelineMultisampleStateCreateFlags;
|
typedef VkFlags VkPipelineMultisampleStateCreateFlags;
|
||||||
|
|
@ -1083,7 +1084,7 @@ typedef VkFlags VkCommandBufferResetFlags;
|
||||||
typedef enum VkStencilFaceFlagBits {
|
typedef enum VkStencilFaceFlagBits {
|
||||||
VK_STENCIL_FACE_FRONT_BIT = 0x00000001,
|
VK_STENCIL_FACE_FRONT_BIT = 0x00000001,
|
||||||
VK_STENCIL_FACE_BACK_BIT = 0x00000002,
|
VK_STENCIL_FACE_BACK_BIT = 0x00000002,
|
||||||
VK_STENCIL_FRONT_AND_BACK = 0x3,
|
VK_STENCIL_FRONT_AND_BACK = 0x00000003,
|
||||||
} VkStencilFaceFlagBits;
|
} VkStencilFaceFlagBits;
|
||||||
typedef VkFlags VkStencilFaceFlags;
|
typedef VkFlags VkStencilFaceFlags;
|
||||||
|
|
||||||
|
|
@ -3326,8 +3327,8 @@ typedef enum VkDisplayPlaneAlphaFlagBitsKHR {
|
||||||
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR = 0x00000004,
|
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR = 0x00000004,
|
||||||
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR = 0x00000008,
|
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR = 0x00000008,
|
||||||
} VkDisplayPlaneAlphaFlagBitsKHR;
|
} VkDisplayPlaneAlphaFlagBitsKHR;
|
||||||
typedef VkFlags VkDisplayModeCreateFlagsKHR;
|
|
||||||
typedef VkFlags VkDisplayPlaneAlphaFlagsKHR;
|
typedef VkFlags VkDisplayPlaneAlphaFlagsKHR;
|
||||||
|
typedef VkFlags VkDisplayModeCreateFlagsKHR;
|
||||||
typedef VkFlags VkDisplaySurfaceCreateFlagsKHR;
|
typedef VkFlags VkDisplaySurfaceCreateFlagsKHR;
|
||||||
|
|
||||||
typedef struct VkDisplayPropertiesKHR {
|
typedef struct VkDisplayPropertiesKHR {
|
||||||
|
|
@ -3667,11 +3668,17 @@ VKAPI_ATTR VkBool32 VKAPI_CALL vkGetPhysicalDeviceWin32PresentationSupportKHR(
|
||||||
#endif
|
#endif
|
||||||
#endif /* VK_USE_PLATFORM_WIN32_KHR */
|
#endif /* VK_USE_PLATFORM_WIN32_KHR */
|
||||||
|
|
||||||
|
#define VK_KHR_sampler_mirror_clamp_to_edge 1
|
||||||
|
#define VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION 1
|
||||||
|
#define VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME "VK_KHR_sampler_mirror_clamp_to_edge"
|
||||||
|
|
||||||
|
|
||||||
#define VK_EXT_debug_report 1
|
#define VK_EXT_debug_report 1
|
||||||
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT)
|
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT)
|
||||||
|
|
||||||
#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 1
|
#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 2
|
||||||
#define VK_EXT_DEBUG_REPORT_EXTENSION_NAME "VK_EXT_debug_report"
|
#define VK_EXT_DEBUG_REPORT_EXTENSION_NAME "VK_EXT_debug_report"
|
||||||
|
#define VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT
|
||||||
|
|
||||||
|
|
||||||
typedef enum VkDebugReportObjectTypeEXT {
|
typedef enum VkDebugReportObjectTypeEXT {
|
||||||
|
|
@ -3768,6 +3775,11 @@ VKAPI_ATTR void VKAPI_CALL vkDebugReportMessageEXT(
|
||||||
const char* pMessage);
|
const char* pMessage);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define VK_NV_glsl_shader 1
|
||||||
|
#define VK_NV_GLSL_SHADER_SPEC_VERSION 1
|
||||||
|
#define VK_NV_GLSL_SHADER_EXTENSION_NAME "VK_NV_glsl_shader"
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue