header: Update to version 1.1.79 of the Vulkan hdr

- update vk.xml
- update vulkan_core.h
- update validusage.json
- update vulkan.hpp
This commit is contained in:
Mark Lobodzinski 2018-07-02 14:52:03 -06:00
parent 0642c1b859
commit 1ebb2c0f7d
4 changed files with 57 additions and 17 deletions

View file

@ -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: