aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMark Lobodzinski <[email protected]>2018-07-02 14:52:03 -0600
committerMark Lobodzinski <[email protected]>2018-07-03 11:23:22 -0600
commit1ebb2c0f7d5911a027a7fcbfe15164caac77e2f8 (patch)
tree85f1d9cb151e7651773c95c602d335d81710dc74 /include
parent0642c1b85957dec68104f4f6f9c57e9a7edd3541 (diff)
downloadVulkan-Headers-1ebb2c0f7d5911a027a7fcbfe15164caac77e2f8.tar.gz
Vulkan-Headers-1ebb2c0f7d5911a027a7fcbfe15164caac77e2f8.zip
header: Update to version 1.1.79 of the Vulkan hdr
- update vk.xml - update vulkan_core.h - update validusage.json - update vulkan.hpp
Diffstat (limited to 'include')
-rw-r--r--include/vulkan/vulkan.hpp20
-rw-r--r--include/vulkan/vulkan_core.h12
2 files changed, 30 insertions, 2 deletions
diff --git a/include/vulkan/vulkan.hpp b/include/vulkan/vulkan.hpp
index 2efc911..df24587 100644
--- a/include/vulkan/vulkan.hpp
+++ b/include/vulkan/vulkan.hpp
@@ -53,7 +53,7 @@
# include <cassert>
# define VULKAN_HPP_ASSERT assert
#endif
-static_assert( VK_HEADER_VERSION == 78 , "Wrong VK_HEADER_VERSION!" );
+static_assert( VK_HEADER_VERSION == 79 , "Wrong VK_HEADER_VERSION!" );
// 32-bit vulkan is not typesafe for 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
@@ -30548,6 +30548,13 @@ public:
};
static_assert( sizeof( DescriptorSetLayoutBindingFlagsCreateInfoEXT ) == sizeof( VkDescriptorSetLayoutBindingFlagsCreateInfoEXT ), "struct and wrapper have different size!" );
+ enum class VendorId
+ {
+ eViv = VK_VENDOR_ID_VIV,
+ eVsi = VK_VENDOR_ID_VSI,
+ eKazan = VK_VENDOR_ID_KAZAN
+ };
+
template<typename Dispatch = DispatchLoaderStatic>
Result enumerateInstanceVersion( uint32_t* pApiVersion, Dispatch const &d = Dispatch() );
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
@@ -43114,6 +43121,17 @@ public:
return "{" + result.substr(0, result.size() - 3) + "}";
}
+ VULKAN_HPP_INLINE std::string to_string(VendorId value)
+ {
+ switch (value)
+ {
+ case VendorId::eViv: return "Viv";
+ case VendorId::eVsi: return "Vsi";
+ case VendorId::eKazan: return "Kazan";
+ default: return "invalid";
+ }
+ }
+
class DispatchLoaderDynamic
{
public:
diff --git a/include/vulkan/vulkan_core.h b/include/vulkan/vulkan_core.h
index 75b4cf9..93aa65b 100644
--- a/include/vulkan/vulkan_core.h
+++ b/include/vulkan/vulkan_core.h
@@ -43,7 +43,7 @@ extern "C" {
#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff)
#define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xfff)
// Version of this file
-#define VK_HEADER_VERSION 78
+#define VK_HEADER_VERSION 79
#define VK_NULL_HANDLE 0
@@ -1214,6 +1214,16 @@ typedef enum VkObjectType {
VK_OBJECT_TYPE_MAX_ENUM = 0x7FFFFFFF
} VkObjectType;
+typedef enum VkVendorId {
+ VK_VENDOR_ID_VIV = 0x10001,
+ VK_VENDOR_ID_VSI = 0x10002,
+ VK_VENDOR_ID_KAZAN = 0x10003,
+ VK_VENDOR_ID_BEGIN_RANGE = VK_VENDOR_ID_VIV,
+ VK_VENDOR_ID_END_RANGE = VK_VENDOR_ID_KAZAN,
+ VK_VENDOR_ID_RANGE_SIZE = (VK_VENDOR_ID_KAZAN - VK_VENDOR_ID_VIV + 1),
+ VK_VENDOR_ID_MAX_ENUM = 0x7FFFFFFF
+} VkVendorId;
+
typedef VkFlags VkInstanceCreateFlags;
typedef enum VkFormatFeatureFlagBits {