-// Copyright (c) 2015-2018 The Khronos Group Inc.\r
-// \r
-// Licensed under the Apache License, Version 2.0 (the "License");\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-// \r
-// http://www.apache.org/licenses/LICENSE-2.0\r
-// \r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an "AS IS" BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-\r
-// This header is generated from the Khronos Vulkan XML API Registry.\r
-\r
-#ifndef VULKAN_HPP\r
-#define VULKAN_HPP\r
-\r
-#include <algorithm>\r
-#include <array>\r
-#include <cstddef>\r
-#include <cstdint>\r
-#include <cstring>\r
-#include <initializer_list>\r
-#include <string>\r
-#include <system_error>\r
-#include <tuple>\r
-#include <type_traits>\r
-#include <vulkan/vulkan.h>\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
-# include <memory>\r
-# include <vector>\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#if !defined(VULKAN_HPP_ASSERT)\r
-# include <cassert>\r
-# define VULKAN_HPP_ASSERT assert\r
-#endif\r
-static_assert( VK_HEADER_VERSION == 74 , "Wrong VK_HEADER_VERSION!" );\r
-\r
-// 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default.\r
-// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION\r
-#if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)\r
-# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION )\r
-# define VULKAN_HPP_TYPESAFE_CONVERSION\r
-# endif\r
-#endif\r
-\r
-#if !defined(VULKAN_HPP_HAS_UNRESTRICTED_UNIONS)\r
-# if defined(__clang__)\r
-# if __has_feature(cxx_unrestricted_unions)\r
-# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS\r
-# endif\r
-# elif defined(__GNUC__)\r
-# define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)\r
-# if 40600 <= GCC_VERSION\r
-# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS\r
-# endif\r
-# elif defined(_MSC_VER)\r
-# if 1900 <= _MSC_VER\r
-# define VULKAN_HPP_HAS_UNRESTRICTED_UNIONS\r
-# endif\r
-# endif\r
-#endif\r
-\r
-#if !defined(VULKAN_HPP_INLINE)\r
-# if defined(__clang___)\r
-# if __has_attribute(always_inline)\r
-# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__\r
-# else\r
-# define VULKAN_HPP_INLINE inline\r
-# endif\r
-# elif defined(__GNUC__)\r
-# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__\r
-# elif defined(_MSC_VER)\r
-# define VULKAN_HPP_INLINE __forceinline\r
-# else\r
-# define VULKAN_HPP_INLINE inline\r
-# endif\r
-#endif\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
-# define VULKAN_HPP_TYPESAFE_EXPLICIT\r
-#else\r
-# define VULKAN_HPP_TYPESAFE_EXPLICIT explicit\r
-#endif\r
-\r
-#if defined(_MSC_VER) && (_MSC_VER <= 1800)\r
-# define VULKAN_HPP_CONSTEXPR\r
-#else\r
-# define VULKAN_HPP_CONSTEXPR constexpr\r
-#endif\r
-\r
-\r
-#if !defined(VULKAN_HPP_NAMESPACE)\r
-#define VULKAN_HPP_NAMESPACE vk\r
-#endif\r
-\r
-#define VULKAN_HPP_STRINGIFY2(text) #text\r
-#define VULKAN_HPP_STRINGIFY(text) VULKAN_HPP_STRINGIFY2(text)\r
-#define VULKAN_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY(VULKAN_HPP_NAMESPACE)\r
-\r
-namespace VULKAN_HPP_NAMESPACE\r
-{\r
-\r
- template <typename FlagBitsType> struct FlagTraits\r
- {\r
- enum { allFlags = 0 };\r
- };\r
-\r
- template <typename BitType, typename MaskType = VkFlags>\r
- class Flags\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Flags()\r
- : m_mask(0)\r
- {\r
- }\r
-\r
- Flags(BitType bit)\r
- : m_mask(static_cast<MaskType>(bit))\r
- {\r
- }\r
-\r
- Flags(Flags<BitType> const& rhs)\r
- : m_mask(rhs.m_mask)\r
- {\r
- }\r
-\r
- explicit Flags(MaskType flags)\r
- : m_mask(flags)\r
- {\r
- }\r
-\r
- Flags<BitType> & operator=(Flags<BitType> const& rhs)\r
- {\r
- m_mask = rhs.m_mask;\r
- return *this;\r
- }\r
-\r
- Flags<BitType> & operator|=(Flags<BitType> const& rhs)\r
- {\r
- m_mask |= rhs.m_mask;\r
- return *this;\r
- }\r
-\r
- Flags<BitType> & operator&=(Flags<BitType> const& rhs)\r
- {\r
- m_mask &= rhs.m_mask;\r
- return *this;\r
- }\r
-\r
- Flags<BitType> & operator^=(Flags<BitType> const& rhs)\r
- {\r
- m_mask ^= rhs.m_mask;\r
- return *this;\r
- }\r
-\r
- Flags<BitType> operator|(Flags<BitType> const& rhs) const\r
- {\r
- Flags<BitType> result(*this);\r
- result |= rhs;\r
- return result;\r
- }\r
-\r
- Flags<BitType> operator&(Flags<BitType> const& rhs) const\r
- {\r
- Flags<BitType> result(*this);\r
- result &= rhs;\r
- return result;\r
- }\r
-\r
- Flags<BitType> operator^(Flags<BitType> const& rhs) const\r
- {\r
- Flags<BitType> result(*this);\r
- result ^= rhs;\r
- return result;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return !m_mask;\r
- }\r
-\r
- Flags<BitType> operator~() const\r
- {\r
- Flags<BitType> result(*this);\r
- result.m_mask ^= FlagTraits<BitType>::allFlags;\r
- return result;\r
- }\r
-\r
- bool operator==(Flags<BitType> const& rhs) const\r
- {\r
- return m_mask == rhs.m_mask;\r
- }\r
-\r
- bool operator!=(Flags<BitType> const& rhs) const\r
- {\r
- return m_mask != rhs.m_mask;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return !!m_mask;\r
- }\r
-\r
- explicit operator MaskType() const\r
- {\r
- return m_mask;\r
- }\r
-\r
- private:\r
- MaskType m_mask;\r
- };\r
-\r
- template <typename BitType>\r
- Flags<BitType> operator|(BitType bit, Flags<BitType> const& flags)\r
- {\r
- return flags | bit;\r
- }\r
-\r
- template <typename BitType>\r
- Flags<BitType> operator&(BitType bit, Flags<BitType> const& flags)\r
- {\r
- return flags & bit;\r
- }\r
-\r
- template <typename BitType>\r
- Flags<BitType> operator^(BitType bit, Flags<BitType> const& flags)\r
- {\r
- return flags ^ bit;\r
- }\r
-\r
-\r
- template <typename RefType>\r
- class Optional\r
- {\r
- public:\r
- Optional(RefType & reference) { m_ptr = &reference; }\r
- Optional(RefType * ptr) { m_ptr = ptr; }\r
- Optional(std::nullptr_t) { m_ptr = nullptr; }\r
-\r
- operator RefType*() const { return m_ptr; }\r
- RefType const* operator->() const { return m_ptr; }\r
- explicit operator bool() const { return !!m_ptr; }\r
-\r
- private:\r
- RefType *m_ptr;\r
- };\r
-\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename T>\r
- class ArrayProxy\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR ArrayProxy(std::nullptr_t)\r
- : m_count(0)\r
- , m_ptr(nullptr)\r
- {}\r
-\r
- ArrayProxy(T & ptr)\r
- : m_count(1)\r
- , m_ptr(&ptr)\r
- {}\r
-\r
- ArrayProxy(uint32_t count, T * ptr)\r
- : m_count(count)\r
- , m_ptr(ptr)\r
- {}\r
-\r
- template <size_t N>\r
- ArrayProxy(std::array<typename std::remove_const<T>::type, N> & data)\r
- : m_count(N)\r
- , m_ptr(data.data())\r
- {}\r
-\r
- template <size_t N>\r
- ArrayProxy(std::array<typename std::remove_const<T>::type, N> const& data)\r
- : m_count(N)\r
- , m_ptr(data.data())\r
- {}\r
-\r
- template <class Allocator = std::allocator<typename std::remove_const<T>::type>>\r
- ArrayProxy(std::vector<typename std::remove_const<T>::type, Allocator> & data)\r
- : m_count(static_cast<uint32_t>(data.size()))\r
- , m_ptr(data.data())\r
- {}\r
-\r
- template <class Allocator = std::allocator<typename std::remove_const<T>::type>>\r
- ArrayProxy(std::vector<typename std::remove_const<T>::type, Allocator> const& data)\r
- : m_count(static_cast<uint32_t>(data.size()))\r
- , m_ptr(data.data())\r
- {}\r
-\r
- ArrayProxy(std::initializer_list<T> const& data)\r
- : m_count(static_cast<uint32_t>(data.end() - data.begin()))\r
- , m_ptr(data.begin())\r
- {}\r
-\r
- const T * begin() const\r
- {\r
- return m_ptr;\r
- }\r
-\r
- const T * end() const\r
- {\r
- return m_ptr + m_count;\r
- }\r
-\r
- const T & front() const\r
- {\r
- VULKAN_HPP_ASSERT(m_count && m_ptr);\r
- return *m_ptr;\r
- }\r
-\r
- const T & back() const\r
- {\r
- VULKAN_HPP_ASSERT(m_count && m_ptr);\r
- return *(m_ptr + m_count - 1);\r
- }\r
-\r
- bool empty() const\r
- {\r
- return (m_count == 0);\r
- }\r
-\r
- uint32_t size() const\r
- {\r
- return m_count;\r
- }\r
-\r
- T * data() const\r
- {\r
- return m_ptr;\r
- }\r
-\r
- private:\r
- uint32_t m_count;\r
- T * m_ptr;\r
- };\r
-#endif\r
-\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
-\r
- template <typename Type> class UniqueHandleTraits;\r
-\r
- template <typename Type>\r
- class UniqueHandle : public UniqueHandleTraits<Type>::deleter\r
- {\r
- private:\r
- using Deleter = typename UniqueHandleTraits<Type>::deleter;\r
- public:\r
- explicit UniqueHandle( Type const& value = Type(), Deleter const& deleter = Deleter() )\r
- : Deleter( deleter)\r
- , m_value( value )\r
- {}\r
-\r
- UniqueHandle( UniqueHandle const& ) = delete;\r
-\r
- UniqueHandle( UniqueHandle && other )\r
- : Deleter( std::move( static_cast<Deleter&>( other ) ) )\r
- , m_value( other.release() )\r
- {}\r
-\r
- ~UniqueHandle()\r
- {\r
- if ( m_value ) this->destroy( m_value );\r
- }\r
-\r
- UniqueHandle & operator=( UniqueHandle const& ) = delete;\r
-\r
- UniqueHandle & operator=( UniqueHandle && other )\r
- {\r
- reset( other.release() );\r
- *static_cast<Deleter*>(this) = std::move( static_cast<Deleter&>(other) );\r
- return *this;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_value.operator bool();\r
- }\r
-\r
- Type const* operator->() const\r
- {\r
- return &m_value;\r
- }\r
-\r
- Type * operator->()\r
- {\r
- return &m_value;\r
- }\r
-\r
- Type const& operator*() const\r
- {\r
- return m_value;\r
- }\r
-\r
- Type & operator*()\r
- {\r
- return m_value;\r
- }\r
-\r
- const Type & get() const\r
- {\r
- return m_value;\r
- }\r
- \r
- Type & get()\r
- {\r
- return m_value;\r
- }\r
-\r
- void reset( Type const& value = Type() )\r
- {\r
- if ( m_value != value )\r
- {\r
- if ( m_value ) this->destroy( m_value );\r
- m_value = value;\r
- }\r
- }\r
-\r
- Type release()\r
- {\r
- Type value = m_value;\r
- m_value = nullptr;\r
- return value;\r
- }\r
-\r
- void swap( UniqueHandle<Type> & rhs )\r
- {\r
- std::swap(m_value, rhs.m_value);\r
- std::swap(static_cast<Deleter&>(*this), static_cast<Deleter&>(rhs));\r
- }\r
-\r
- private:\r
- Type m_value;\r
- };\r
-\r
- template <typename Type>\r
- VULKAN_HPP_INLINE void swap( UniqueHandle<Type> & lhs, UniqueHandle<Type> & rhs )\r
- {\r
- lhs.swap( rhs );\r
- }\r
-#endif\r
-\r
-\r
- template <typename X, typename Y> struct isStructureChainValid { enum { value = false }; };\r
-\r
- template <class Element>\r
- class StructureChainElement\r
- {\r
- public:\r
- explicit operator Element&() { return value; }\r
- explicit operator const Element&() const { return value; }\r
- private:\r
- Element value;\r
- };\r
-\r
- template<typename ...StructureElements>\r
- class StructureChain : private StructureChainElement<StructureElements>...\r
- {\r
- public:\r
- StructureChain()\r
- {\r
- link<StructureElements...>(); \r
- }\r
-\r
- StructureChain(StructureChain const &rhs)\r
- {\r
- linkAndCopy<StructureElements...>(rhs);\r
- }\r
-\r
- StructureChain& operator=(StructureChain const &rhs)\r
- {\r
- linkAndCopy<StructureElements...>(rhs);\r
- return *this;\r
- }\r
-\r
- template<typename ClassType> ClassType& get() { return static_cast<ClassType&>(*this);}\r
-\r
- private:\r
- template<typename X>\r
- void link()\r
- {\r
- }\r
-\r
- template<typename X, typename Y, typename ...Z>\r
- void link()\r
- {\r
- static_assert(isStructureChainValid<X,Y>::value, "The structure chain is not valid!");\r
- X& x = static_cast<X&>(*this);\r
- Y& y = static_cast<Y&>(*this);\r
- x.pNext = &y;\r
- link<Y, Z...>();\r
- }\r
-\r
- template<typename X>\r
- void linkAndCopy(StructureChain const &rhs)\r
- {\r
- static_cast<X&>(*this) = static_cast<X const &>(rhs);\r
- }\r
-\r
- template<typename X, typename Y, typename ...Z>\r
- void linkAndCopy(StructureChain const &rhs)\r
- {\r
- static_assert(isStructureChainValid<X,Y>::value, "The structure chain is not valid!");\r
- X& x = static_cast<X&>(*this);\r
- Y& y = static_cast<Y&>(*this);\r
- x = static_cast<X const &>(rhs);\r
- x.pNext = &y;\r
- linkAndCopy<Y, Z...>(rhs);\r
- }\r
-\r
-};\r
- enum class Result\r
- {\r
- eSuccess = VK_SUCCESS,\r
- eNotReady = VK_NOT_READY,\r
- eTimeout = VK_TIMEOUT,\r
- eEventSet = VK_EVENT_SET,\r
- eEventReset = VK_EVENT_RESET,\r
- eIncomplete = VK_INCOMPLETE,\r
- eErrorOutOfHostMemory = VK_ERROR_OUT_OF_HOST_MEMORY,\r
- eErrorOutOfDeviceMemory = VK_ERROR_OUT_OF_DEVICE_MEMORY,\r
- eErrorInitializationFailed = VK_ERROR_INITIALIZATION_FAILED,\r
- eErrorDeviceLost = VK_ERROR_DEVICE_LOST,\r
- eErrorMemoryMapFailed = VK_ERROR_MEMORY_MAP_FAILED,\r
- eErrorLayerNotPresent = VK_ERROR_LAYER_NOT_PRESENT,\r
- eErrorExtensionNotPresent = VK_ERROR_EXTENSION_NOT_PRESENT,\r
- eErrorFeatureNotPresent = VK_ERROR_FEATURE_NOT_PRESENT,\r
- eErrorIncompatibleDriver = VK_ERROR_INCOMPATIBLE_DRIVER,\r
- eErrorTooManyObjects = VK_ERROR_TOO_MANY_OBJECTS,\r
- eErrorFormatNotSupported = VK_ERROR_FORMAT_NOT_SUPPORTED,\r
- eErrorFragmentedPool = VK_ERROR_FRAGMENTED_POOL,\r
- eErrorOutOfPoolMemory = VK_ERROR_OUT_OF_POOL_MEMORY,\r
- eErrorOutOfPoolMemoryKHR = VK_ERROR_OUT_OF_POOL_MEMORY,\r
- eErrorInvalidExternalHandle = VK_ERROR_INVALID_EXTERNAL_HANDLE,\r
- eErrorInvalidExternalHandleKHR = VK_ERROR_INVALID_EXTERNAL_HANDLE,\r
- eErrorSurfaceLostKHR = VK_ERROR_SURFACE_LOST_KHR,\r
- eErrorNativeWindowInUseKHR = VK_ERROR_NATIVE_WINDOW_IN_USE_KHR,\r
- eSuboptimalKHR = VK_SUBOPTIMAL_KHR,\r
- eErrorOutOfDateKHR = VK_ERROR_OUT_OF_DATE_KHR,\r
- eErrorIncompatibleDisplayKHR = VK_ERROR_INCOMPATIBLE_DISPLAY_KHR,\r
- eErrorValidationFailedEXT = VK_ERROR_VALIDATION_FAILED_EXT,\r
- eErrorInvalidShaderNV = VK_ERROR_INVALID_SHADER_NV,\r
- eErrorFragmentationEXT = VK_ERROR_FRAGMENTATION_EXT,\r
- eErrorNotPermittedEXT = VK_ERROR_NOT_PERMITTED_EXT\r
- };\r
-\r
- VULKAN_HPP_INLINE std::string to_string(Result value)\r
- {\r
- switch (value)\r
- {\r
- case Result::eSuccess: return "Success";\r
- case Result::eNotReady: return "NotReady";\r
- case Result::eTimeout: return "Timeout";\r
- case Result::eEventSet: return "EventSet";\r
- case Result::eEventReset: return "EventReset";\r
- case Result::eIncomplete: return "Incomplete";\r
- case Result::eErrorOutOfHostMemory: return "ErrorOutOfHostMemory";\r
- case Result::eErrorOutOfDeviceMemory: return "ErrorOutOfDeviceMemory";\r
- case Result::eErrorInitializationFailed: return "ErrorInitializationFailed";\r
- case Result::eErrorDeviceLost: return "ErrorDeviceLost";\r
- case Result::eErrorMemoryMapFailed: return "ErrorMemoryMapFailed";\r
- case Result::eErrorLayerNotPresent: return "ErrorLayerNotPresent";\r
- case Result::eErrorExtensionNotPresent: return "ErrorExtensionNotPresent";\r
- case Result::eErrorFeatureNotPresent: return "ErrorFeatureNotPresent";\r
- case Result::eErrorIncompatibleDriver: return "ErrorIncompatibleDriver";\r
- case Result::eErrorTooManyObjects: return "ErrorTooManyObjects";\r
- case Result::eErrorFormatNotSupported: return "ErrorFormatNotSupported";\r
- case Result::eErrorFragmentedPool: return "ErrorFragmentedPool";\r
- case Result::eErrorOutOfPoolMemory: return "ErrorOutOfPoolMemory";\r
- case Result::eErrorInvalidExternalHandle: return "ErrorInvalidExternalHandle";\r
- case Result::eErrorSurfaceLostKHR: return "ErrorSurfaceLostKHR";\r
- case Result::eErrorNativeWindowInUseKHR: return "ErrorNativeWindowInUseKHR";\r
- case Result::eSuboptimalKHR: return "SuboptimalKHR";\r
- case Result::eErrorOutOfDateKHR: return "ErrorOutOfDateKHR";\r
- case Result::eErrorIncompatibleDisplayKHR: return "ErrorIncompatibleDisplayKHR";\r
- case Result::eErrorValidationFailedEXT: return "ErrorValidationFailedEXT";\r
- case Result::eErrorInvalidShaderNV: return "ErrorInvalidShaderNV";\r
- case Result::eErrorFragmentationEXT: return "ErrorFragmentationEXT";\r
- case Result::eErrorNotPermittedEXT: return "ErrorNotPermittedEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
-#ifndef VULKAN_HPP_NO_EXCEPTIONS\r
-#if defined(_MSC_VER) && (_MSC_VER == 1800)\r
-# define noexcept _NOEXCEPT\r
-#endif\r
-\r
- class ErrorCategoryImpl : public std::error_category\r
- {\r
- public:\r
- virtual const char* name() const noexcept override { return VULKAN_HPP_NAMESPACE_STRING"::Result"; }\r
- virtual std::string message(int ev) const override { return to_string(static_cast<Result>(ev)); }\r
- };\r
-\r
-#if defined(_MSC_VER) && (_MSC_VER == 1800)\r
-# undef noexcept\r
-#endif\r
-\r
- VULKAN_HPP_INLINE const std::error_category& errorCategory()\r
- {\r
- static ErrorCategoryImpl instance;\r
- return instance;\r
- }\r
-\r
- VULKAN_HPP_INLINE std::error_code make_error_code(Result e)\r
- {\r
- return std::error_code(static_cast<int>(e), errorCategory());\r
- }\r
-\r
- VULKAN_HPP_INLINE std::error_condition make_error_condition(Result e)\r
- {\r
- return std::error_condition(static_cast<int>(e), errorCategory());\r
- }\r
-\r
-#if defined(_MSC_VER) && (_MSC_VER == 1800)\r
-# define noexcept _NOEXCEPT\r
-#endif\r
-\r
- class Error\r
- {\r
- public:\r
- virtual ~Error() = default;\r
-\r
- virtual const char* what() const noexcept = 0;\r
- };\r
-\r
- class LogicError : public Error, public std::logic_error\r
- {\r
- public:\r
- explicit LogicError( const std::string& what )\r
- : Error(), std::logic_error(what) {}\r
- explicit LogicError( char const * what )\r
- : Error(), std::logic_error(what) {}\r
- virtual ~LogicError() = default;\r
-\r
- virtual const char* what() const noexcept { return std::logic_error::what(); }\r
- };\r
-\r
- class SystemError : public Error, public std::system_error\r
- {\r
- public:\r
- SystemError( std::error_code ec )\r
- : Error(), std::system_error(ec) {}\r
- SystemError( std::error_code ec, std::string const& what )\r
- : Error(), std::system_error(ec, what) {}\r
- SystemError( std::error_code ec, char const * what )\r
- : Error(), std::system_error(ec, what) {}\r
- SystemError( int ev, std::error_category const& ecat )\r
- : Error(), std::system_error(ev, ecat) {}\r
- SystemError( int ev, std::error_category const& ecat, std::string const& what)\r
- : Error(), std::system_error(ev, ecat, what) {}\r
- SystemError( int ev, std::error_category const& ecat, char const * what)\r
- : Error(), std::system_error(ev, ecat, what) {}\r
- virtual ~SystemError() = default;\r
-\r
- virtual const char* what() const noexcept { return std::system_error::what(); }\r
- };\r
-\r
-#if defined(_MSC_VER) && (_MSC_VER == 1800)\r
-# undef noexcept\r
-#endif\r
-\r
- class OutOfHostMemoryError : public SystemError\r
- {\r
- public:\r
- OutOfHostMemoryError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) {}\r
- OutOfHostMemoryError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) {}\r
- };\r
- class OutOfDeviceMemoryError : public SystemError\r
- {\r
- public:\r
- OutOfDeviceMemoryError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) {}\r
- OutOfDeviceMemoryError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) {}\r
- };\r
- class InitializationFailedError : public SystemError\r
- {\r
- public:\r
- InitializationFailedError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) {}\r
- InitializationFailedError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) {}\r
- };\r
- class DeviceLostError : public SystemError\r
- {\r
- public:\r
- DeviceLostError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) {}\r
- DeviceLostError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) {}\r
- };\r
- class MemoryMapFailedError : public SystemError\r
- {\r
- public:\r
- MemoryMapFailedError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) {}\r
- MemoryMapFailedError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) {}\r
- };\r
- class LayerNotPresentError : public SystemError\r
- {\r
- public:\r
- LayerNotPresentError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) {}\r
- LayerNotPresentError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) {}\r
- };\r
- class ExtensionNotPresentError : public SystemError\r
- {\r
- public:\r
- ExtensionNotPresentError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) {}\r
- ExtensionNotPresentError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) {}\r
- };\r
- class FeatureNotPresentError : public SystemError\r
- {\r
- public:\r
- FeatureNotPresentError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) {}\r
- FeatureNotPresentError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) {}\r
- };\r
- class IncompatibleDriverError : public SystemError\r
- {\r
- public:\r
- IncompatibleDriverError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) {}\r
- IncompatibleDriverError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) {}\r
- };\r
- class TooManyObjectsError : public SystemError\r
- {\r
- public:\r
- TooManyObjectsError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) {}\r
- TooManyObjectsError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) {}\r
- };\r
- class FormatNotSupportedError : public SystemError\r
- {\r
- public:\r
- FormatNotSupportedError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) {}\r
- FormatNotSupportedError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) {}\r
- };\r
- class FragmentedPoolError : public SystemError\r
- {\r
- public:\r
- FragmentedPoolError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) {}\r
- FragmentedPoolError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) {}\r
- };\r
- class OutOfPoolMemoryError : public SystemError\r
- {\r
- public:\r
- OutOfPoolMemoryError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) {}\r
- OutOfPoolMemoryError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) {}\r
- };\r
- class InvalidExternalHandleError : public SystemError\r
- {\r
- public:\r
- InvalidExternalHandleError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) {}\r
- InvalidExternalHandleError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) {}\r
- };\r
- class SurfaceLostKHRError : public SystemError\r
- {\r
- public:\r
- SurfaceLostKHRError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) {}\r
- SurfaceLostKHRError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) {}\r
- };\r
- class NativeWindowInUseKHRError : public SystemError\r
- {\r
- public:\r
- NativeWindowInUseKHRError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) {}\r
- NativeWindowInUseKHRError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) {}\r
- };\r
- class OutOfDateKHRError : public SystemError\r
- {\r
- public:\r
- OutOfDateKHRError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) {}\r
- OutOfDateKHRError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) {}\r
- };\r
- class IncompatibleDisplayKHRError : public SystemError\r
- {\r
- public:\r
- IncompatibleDisplayKHRError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) {}\r
- IncompatibleDisplayKHRError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) {}\r
- };\r
- class ValidationFailedEXTError : public SystemError\r
- {\r
- public:\r
- ValidationFailedEXTError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) {}\r
- ValidationFailedEXTError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) {}\r
- };\r
- class InvalidShaderNVError : public SystemError\r
- {\r
- public:\r
- InvalidShaderNVError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) {}\r
- InvalidShaderNVError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) {}\r
- };\r
- class FragmentationEXTError : public SystemError\r
- {\r
- public:\r
- FragmentationEXTError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorFragmentationEXT ), message ) {}\r
- FragmentationEXTError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorFragmentationEXT ), message ) {}\r
- };\r
- class NotPermittedEXTError : public SystemError\r
- {\r
- public:\r
- NotPermittedEXTError( std::string const& message )\r
- : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) {}\r
- NotPermittedEXTError( char const * message )\r
- : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) {}\r
- };\r
-\r
- VULKAN_HPP_INLINE void throwResultException( Result result, char const * message )\r
- {\r
- switch ( result )\r
- {\r
- case Result::eErrorOutOfHostMemory: throw OutOfHostMemoryError ( message );\r
- case Result::eErrorOutOfDeviceMemory: throw OutOfDeviceMemoryError ( message );\r
- case Result::eErrorInitializationFailed: throw InitializationFailedError ( message );\r
- case Result::eErrorDeviceLost: throw DeviceLostError ( message );\r
- case Result::eErrorMemoryMapFailed: throw MemoryMapFailedError ( message );\r
- case Result::eErrorLayerNotPresent: throw LayerNotPresentError ( message );\r
- case Result::eErrorExtensionNotPresent: throw ExtensionNotPresentError ( message );\r
- case Result::eErrorFeatureNotPresent: throw FeatureNotPresentError ( message );\r
- case Result::eErrorIncompatibleDriver: throw IncompatibleDriverError ( message );\r
- case Result::eErrorTooManyObjects: throw TooManyObjectsError ( message );\r
- case Result::eErrorFormatNotSupported: throw FormatNotSupportedError ( message );\r
- case Result::eErrorFragmentedPool: throw FragmentedPoolError ( message );\r
- case Result::eErrorOutOfPoolMemory: throw OutOfPoolMemoryError ( message );\r
- case Result::eErrorInvalidExternalHandle: throw InvalidExternalHandleError ( message );\r
- case Result::eErrorSurfaceLostKHR: throw SurfaceLostKHRError ( message );\r
- case Result::eErrorNativeWindowInUseKHR: throw NativeWindowInUseKHRError ( message );\r
- case Result::eErrorOutOfDateKHR: throw OutOfDateKHRError ( message );\r
- case Result::eErrorIncompatibleDisplayKHR: throw IncompatibleDisplayKHRError ( message );\r
- case Result::eErrorValidationFailedEXT: throw ValidationFailedEXTError ( message );\r
- case Result::eErrorInvalidShaderNV: throw InvalidShaderNVError ( message );\r
- case Result::eErrorFragmentationEXT: throw FragmentationEXTError ( message );\r
- case Result::eErrorNotPermittedEXT: throw NotPermittedEXTError ( message );\r
- default: throw SystemError( make_error_code( result ) );\r
- }\r
- }\r
-#endif\r
-} // namespace VULKAN_HPP_NAMESPACE\r
-\r
-namespace std\r
-{\r
- template <>\r
- struct is_error_code_enum<VULKAN_HPP_NAMESPACE::Result> : public true_type\r
- {};\r
-}\r
-\r
-namespace VULKAN_HPP_NAMESPACE\r
-{\r
-\r
- template <typename T>\r
- struct ResultValue\r
- {\r
- ResultValue( Result r, T & v )\r
- : result( r )\r
- , value( v )\r
- {}\r
-\r
- ResultValue( Result r, T && v )\r
- : result( r )\r
- , value( std::move( v ) )\r
- {}\r
-\r
- Result result;\r
- T value;\r
-\r
- operator std::tuple<Result&, T&>() { return std::tuple<Result&, T&>(result, value); }\r
- };\r
-\r
- template <typename T>\r
- struct ResultValueType\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- typedef ResultValue<T> type;\r
-#else\r
- typedef T type;\r
-#endif\r
- };\r
-\r
- template <>\r
- struct ResultValueType<void>\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- typedef Result type;\r
-#else\r
- typedef void type;\r
-#endif\r
- };\r
-\r
- VULKAN_HPP_INLINE ResultValueType<void>::type createResultValue( Result result, char const * message )\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( result == Result::eSuccess );\r
- return result;\r
-#else\r
- if ( result != Result::eSuccess )\r
- {\r
- throwResultException( result, message );\r
- }\r
-#endif\r
- }\r
-\r
- template <typename T>\r
- VULKAN_HPP_INLINE typename ResultValueType<T>::type createResultValue( Result result, T & data, char const * message )\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( result == Result::eSuccess );\r
- return ResultValue<T>( result, data );\r
-#else\r
- if ( result != Result::eSuccess )\r
- {\r
- throwResultException( result, message );\r
- }\r
- return std::move( data );\r
-#endif\r
- }\r
-\r
- VULKAN_HPP_INLINE Result createResultValue( Result result, char const * message, std::initializer_list<Result> successCodes )\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() );\r
-#else\r
- if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() )\r
- {\r
- throwResultException( result, message );\r
- }\r
-#endif\r
- return result;\r
- }\r
-\r
- template <typename T>\r
- VULKAN_HPP_INLINE ResultValue<T> createResultValue( Result result, T & data, char const * message, std::initializer_list<Result> successCodes )\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() );\r
-#else\r
- if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() )\r
- {\r
- throwResultException( result, message );\r
- }\r
-#endif\r
- return ResultValue<T>( result, data );\r
- }\r
-\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename T>\r
- VULKAN_HPP_INLINE typename ResultValueType<UniqueHandle<T>>::type createResultValue( Result result, T & data, char const * message, typename UniqueHandleTraits<T>::deleter const& deleter )\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( result == Result::eSuccess );\r
- return ResultValue<UniqueHandle<T>>( result, UniqueHandle<T>(data, deleter) );\r
-#else\r
- if ( result != Result::eSuccess )\r
- {\r
- throwResultException( result, message );\r
- }\r
- return UniqueHandle<T>(data, deleter);\r
-#endif\r
- }\r
-#endif\r
-\r
-\r
- struct AllocationCallbacks;\r
-\r
- template <typename OwnerType>\r
- class ObjectDestroy\r
- {\r
- public:\r
- ObjectDestroy(OwnerType owner = OwnerType(), Optional<const AllocationCallbacks> allocator = nullptr)\r
- : m_owner(owner)\r
- , m_allocator(allocator)\r
- {}\r
-\r
- OwnerType getOwner() const { return m_owner; }\r
- Optional<const AllocationCallbacks> getAllocator() const { return m_allocator; }\r
-\r
- protected:\r
- template <typename T>\r
- void destroy(T t)\r
- {\r
- m_owner.destroy(t, m_allocator);\r
- }\r
-\r
- private:\r
- OwnerType m_owner;\r
- Optional<const AllocationCallbacks> m_allocator;\r
- };\r
-\r
- class NoParent;\r
-\r
- template <>\r
- class ObjectDestroy<NoParent>\r
- {\r
- public:\r
- ObjectDestroy( Optional<const AllocationCallbacks> allocator = nullptr )\r
- : m_allocator( allocator )\r
- {}\r
-\r
- Optional<const AllocationCallbacks> getAllocator() const { return m_allocator; }\r
-\r
- protected:\r
- template <typename T>\r
- void destroy(T t)\r
- {\r
- t.destroy( m_allocator );\r
- }\r
-\r
- private:\r
- Optional<const AllocationCallbacks> m_allocator;\r
- };\r
-\r
- template <typename OwnerType>\r
- class ObjectFree\r
- {\r
- public:\r
- ObjectFree(OwnerType owner = OwnerType(), Optional<const AllocationCallbacks> allocator = nullptr)\r
- : m_owner(owner)\r
- , m_allocator(allocator)\r
- {}\r
-\r
- OwnerType getOwner() const { return m_owner; }\r
- Optional<const AllocationCallbacks> getAllocator() const { return m_allocator; }\r
-\r
- protected:\r
- template <typename T>\r
- void destroy(T t)\r
- {\r
- m_owner.free(t, m_allocator);\r
- }\r
-\r
- private:\r
- OwnerType m_owner;\r
- Optional<const AllocationCallbacks> m_allocator;\r
- };\r
-\r
- template <typename OwnerType, typename PoolType>\r
- class PoolFree\r
- {\r
- public:\r
- PoolFree(OwnerType owner = OwnerType(), PoolType pool = PoolType())\r
- : m_owner(owner)\r
- , m_pool(pool)\r
- {}\r
-\r
- OwnerType getOwner() const { return m_owner; }\r
- PoolType getPool() const { return m_pool; }\r
-\r
- protected:\r
- template <typename T>\r
- void destroy(T t)\r
- {\r
- m_owner.free(m_pool, t);\r
- }\r
-\r
- private:\r
- OwnerType m_owner;\r
- PoolType m_pool;\r
- };\r
-\r
-class DispatchLoaderStatic\r
-{\r
-public:\r
- VkResult vkAcquireNextImage2KHR( VkDevice device, const VkAcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex ) const\r
- {\r
- return ::vkAcquireNextImage2KHR( device, pAcquireInfo, pImageIndex);\r
- }\r
- VkResult vkAcquireNextImageKHR( VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex ) const\r
- {\r
- return ::vkAcquireNextImageKHR( device, swapchain, timeout, semaphore, fence, pImageIndex);\r
- }\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- VkResult vkAcquireXlibDisplayEXT( VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display ) const\r
- {\r
- return ::vkAcquireXlibDisplayEXT( physicalDevice, dpy, display);\r
- }\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
- VkResult vkAllocateCommandBuffers( VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers ) const\r
- {\r
- return ::vkAllocateCommandBuffers( device, pAllocateInfo, pCommandBuffers);\r
- }\r
- VkResult vkAllocateDescriptorSets( VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets ) const\r
- {\r
- return ::vkAllocateDescriptorSets( device, pAllocateInfo, pDescriptorSets);\r
- }\r
- VkResult vkAllocateMemory( VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory ) const\r
- {\r
- return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory);\r
- }\r
- VkResult vkBeginCommandBuffer( VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo ) const\r
- {\r
- return ::vkBeginCommandBuffer( commandBuffer, pBeginInfo);\r
- }\r
- VkResult vkBindBufferMemory( VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset ) const\r
- {\r
- return ::vkBindBufferMemory( device, buffer, memory, memoryOffset);\r
- }\r
- VkResult vkBindBufferMemory2( VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos ) const\r
- {\r
- return ::vkBindBufferMemory2( device, bindInfoCount, pBindInfos);\r
- }\r
- VkResult vkBindBufferMemory2KHR( VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos ) const\r
- {\r
- return ::vkBindBufferMemory2KHR( device, bindInfoCount, pBindInfos);\r
- }\r
- VkResult vkBindImageMemory( VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset ) const\r
- {\r
- return ::vkBindImageMemory( device, image, memory, memoryOffset);\r
- }\r
- VkResult vkBindImageMemory2( VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos ) const\r
- {\r
- return ::vkBindImageMemory2( device, bindInfoCount, pBindInfos);\r
- }\r
- VkResult vkBindImageMemory2KHR( VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos ) const\r
- {\r
- return ::vkBindImageMemory2KHR( device, bindInfoCount, pBindInfos);\r
- }\r
- void vkCmdBeginDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo ) const\r
- {\r
- return ::vkCmdBeginDebugUtilsLabelEXT( commandBuffer, pLabelInfo);\r
- }\r
- void vkCmdBeginQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags ) const\r
- {\r
- return ::vkCmdBeginQuery( commandBuffer, queryPool, query, flags);\r
- }\r
- void vkCmdBeginRenderPass( VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents ) const\r
- {\r
- return ::vkCmdBeginRenderPass( commandBuffer, pRenderPassBegin, contents);\r
- }\r
- void vkCmdBindDescriptorSets( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets ) const\r
- {\r
- return ::vkCmdBindDescriptorSets( commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets);\r
- }\r
- void vkCmdBindIndexBuffer( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType ) const\r
- {\r
- return ::vkCmdBindIndexBuffer( commandBuffer, buffer, offset, indexType);\r
- }\r
- void vkCmdBindPipeline( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline ) const\r
- {\r
- return ::vkCmdBindPipeline( commandBuffer, pipelineBindPoint, pipeline);\r
- }\r
- void vkCmdBindVertexBuffers( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets ) const\r
- {\r
- return ::vkCmdBindVertexBuffers( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets);\r
- }\r
- void vkCmdBlitImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter ) const\r
- {\r
- return ::vkCmdBlitImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);\r
- }\r
- void vkCmdClearAttachments( VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkClearAttachment* pAttachments, uint32_t rectCount, const VkClearRect* pRects ) const\r
- {\r
- return ::vkCmdClearAttachments( commandBuffer, attachmentCount, pAttachments, rectCount, pRects);\r
- }\r
- void vkCmdClearColorImage( VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges ) const\r
- {\r
- return ::vkCmdClearColorImage( commandBuffer, image, imageLayout, pColor, rangeCount, pRanges);\r
- }\r
- void vkCmdClearDepthStencilImage( VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges ) const\r
- {\r
- return ::vkCmdClearDepthStencilImage( commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges);\r
- }\r
- void vkCmdCopyBuffer( VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions ) const\r
- {\r
- return ::vkCmdCopyBuffer( commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);\r
- }\r
- void vkCmdCopyBufferToImage( VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions ) const\r
- {\r
- return ::vkCmdCopyBufferToImage( commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);\r
- }\r
- void vkCmdCopyImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions ) const\r
- {\r
- return ::vkCmdCopyImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);\r
- }\r
- void vkCmdCopyImageToBuffer( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions ) const\r
- {\r
- return ::vkCmdCopyImageToBuffer( commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);\r
- }\r
- void vkCmdCopyQueryPoolResults( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags ) const\r
- {\r
- return ::vkCmdCopyQueryPoolResults( commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags);\r
- }\r
- void vkCmdDebugMarkerBeginEXT( VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo ) const\r
- {\r
- return ::vkCmdDebugMarkerBeginEXT( commandBuffer, pMarkerInfo);\r
- }\r
- void vkCmdDebugMarkerEndEXT( VkCommandBuffer commandBuffer ) const\r
- {\r
- return ::vkCmdDebugMarkerEndEXT( commandBuffer);\r
- }\r
- void vkCmdDebugMarkerInsertEXT( VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo ) const\r
- {\r
- return ::vkCmdDebugMarkerInsertEXT( commandBuffer, pMarkerInfo);\r
- }\r
- void vkCmdDispatch( VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const\r
- {\r
- return ::vkCmdDispatch( commandBuffer, groupCountX, groupCountY, groupCountZ);\r
- }\r
- void vkCmdDispatchBase( VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const\r
- {\r
- return ::vkCmdDispatchBase( commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);\r
- }\r
- void vkCmdDispatchBaseKHR( VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const\r
- {\r
- return ::vkCmdDispatchBaseKHR( commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);\r
- }\r
- void vkCmdDispatchIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset ) const\r
- {\r
- return ::vkCmdDispatchIndirect( commandBuffer, buffer, offset);\r
- }\r
- void vkCmdDraw( VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance ) const\r
- {\r
- return ::vkCmdDraw( commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance);\r
- }\r
- void vkCmdDrawIndexed( VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance ) const\r
- {\r
- return ::vkCmdDrawIndexed( commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);\r
- }\r
- void vkCmdDrawIndexedIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) const\r
- {\r
- return ::vkCmdDrawIndexedIndirect( commandBuffer, buffer, offset, drawCount, stride);\r
- }\r
- void vkCmdDrawIndexedIndirectCountAMD( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const\r
- {\r
- return ::vkCmdDrawIndexedIndirectCountAMD( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);\r
- }\r
- void vkCmdDrawIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) const\r
- {\r
- return ::vkCmdDrawIndirect( commandBuffer, buffer, offset, drawCount, stride);\r
- }\r
- void vkCmdDrawIndirectCountAMD( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const\r
- {\r
- return ::vkCmdDrawIndirectCountAMD( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);\r
- }\r
- void vkCmdEndDebugUtilsLabelEXT( VkCommandBuffer commandBuffer ) const\r
- {\r
- return ::vkCmdEndDebugUtilsLabelEXT( commandBuffer);\r
- }\r
- void vkCmdEndQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query ) const\r
- {\r
- return ::vkCmdEndQuery( commandBuffer, queryPool, query);\r
- }\r
- void vkCmdEndRenderPass( VkCommandBuffer commandBuffer ) const\r
- {\r
- return ::vkCmdEndRenderPass( commandBuffer);\r
- }\r
- void vkCmdExecuteCommands( VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers ) const\r
- {\r
- return ::vkCmdExecuteCommands( commandBuffer, commandBufferCount, pCommandBuffers);\r
- }\r
- void vkCmdFillBuffer( VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data ) const\r
- {\r
- return ::vkCmdFillBuffer( commandBuffer, dstBuffer, dstOffset, size, data);\r
- }\r
- void vkCmdInsertDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo ) const\r
- {\r
- return ::vkCmdInsertDebugUtilsLabelEXT( commandBuffer, pLabelInfo);\r
- }\r
- void vkCmdNextSubpass( VkCommandBuffer commandBuffer, VkSubpassContents contents ) const\r
- {\r
- return ::vkCmdNextSubpass( commandBuffer, contents);\r
- }\r
- void vkCmdPipelineBarrier( VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers ) const\r
- {\r
- return ::vkCmdPipelineBarrier( commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);\r
- }\r
- void vkCmdProcessCommandsNVX( VkCommandBuffer commandBuffer, const VkCmdProcessCommandsInfoNVX* pProcessCommandsInfo ) const\r
- {\r
- return ::vkCmdProcessCommandsNVX( commandBuffer, pProcessCommandsInfo);\r
- }\r
- void vkCmdPushConstants( VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues ) const\r
- {\r
- return ::vkCmdPushConstants( commandBuffer, layout, stageFlags, offset, size, pValues);\r
- }\r
- void vkCmdPushDescriptorSetKHR( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites ) const\r
- {\r
- return ::vkCmdPushDescriptorSetKHR( commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites);\r
- }\r
- void vkCmdPushDescriptorSetWithTemplateKHR( VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const void* pData ) const\r
- {\r
- return ::vkCmdPushDescriptorSetWithTemplateKHR( commandBuffer, descriptorUpdateTemplate, layout, set, pData);\r
- }\r
- void vkCmdReserveSpaceForCommandsNVX( VkCommandBuffer commandBuffer, const VkCmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo ) const\r
- {\r
- return ::vkCmdReserveSpaceForCommandsNVX( commandBuffer, pReserveSpaceInfo);\r
- }\r
- void vkCmdResetEvent( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask ) const\r
- {\r
- return ::vkCmdResetEvent( commandBuffer, event, stageMask);\r
- }\r
- void vkCmdResetQueryPool( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) const\r
- {\r
- return ::vkCmdResetQueryPool( commandBuffer, queryPool, firstQuery, queryCount);\r
- }\r
- void vkCmdResolveImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions ) const\r
- {\r
- return ::vkCmdResolveImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);\r
- }\r
- void vkCmdSetBlendConstants( VkCommandBuffer commandBuffer, const float blendConstants[4] ) const\r
- {\r
- return ::vkCmdSetBlendConstants( commandBuffer, blendConstants);\r
- }\r
- void vkCmdSetDepthBias( VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor ) const\r
- {\r
- return ::vkCmdSetDepthBias( commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor);\r
- }\r
- void vkCmdSetDepthBounds( VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds ) const\r
- {\r
- return ::vkCmdSetDepthBounds( commandBuffer, minDepthBounds, maxDepthBounds);\r
- }\r
- void vkCmdSetDeviceMask( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const\r
- {\r
- return ::vkCmdSetDeviceMask( commandBuffer, deviceMask);\r
- }\r
- void vkCmdSetDeviceMaskKHR( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const\r
- {\r
- return ::vkCmdSetDeviceMaskKHR( commandBuffer, deviceMask);\r
- }\r
- void vkCmdSetDiscardRectangleEXT( VkCommandBuffer commandBuffer, uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const VkRect2D* pDiscardRectangles ) const\r
- {\r
- return ::vkCmdSetDiscardRectangleEXT( commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles);\r
- }\r
- void vkCmdSetEvent( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask ) const\r
- {\r
- return ::vkCmdSetEvent( commandBuffer, event, stageMask);\r
- }\r
- void vkCmdSetLineWidth( VkCommandBuffer commandBuffer, float lineWidth ) const\r
- {\r
- return ::vkCmdSetLineWidth( commandBuffer, lineWidth);\r
- }\r
- void vkCmdSetSampleLocationsEXT( VkCommandBuffer commandBuffer, const VkSampleLocationsInfoEXT* pSampleLocationsInfo ) const\r
- {\r
- return ::vkCmdSetSampleLocationsEXT( commandBuffer, pSampleLocationsInfo);\r
- }\r
- void vkCmdSetScissor( VkCommandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D* pScissors ) const\r
- {\r
- return ::vkCmdSetScissor( commandBuffer, firstScissor, scissorCount, pScissors);\r
- }\r
- void vkCmdSetStencilCompareMask( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t compareMask ) const\r
- {\r
- return ::vkCmdSetStencilCompareMask( commandBuffer, faceMask, compareMask);\r
- }\r
- void vkCmdSetStencilReference( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t reference ) const\r
- {\r
- return ::vkCmdSetStencilReference( commandBuffer, faceMask, reference);\r
- }\r
- void vkCmdSetStencilWriteMask( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t writeMask ) const\r
- {\r
- return ::vkCmdSetStencilWriteMask( commandBuffer, faceMask, writeMask);\r
- }\r
- void vkCmdSetViewport( VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewport* pViewports ) const\r
- {\r
- return ::vkCmdSetViewport( commandBuffer, firstViewport, viewportCount, pViewports);\r
- }\r
- void vkCmdSetViewportWScalingNV( VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportWScalingNV* pViewportWScalings ) const\r
- {\r
- return ::vkCmdSetViewportWScalingNV( commandBuffer, firstViewport, viewportCount, pViewportWScalings);\r
- }\r
- void vkCmdUpdateBuffer( VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData ) const\r
- {\r
- return ::vkCmdUpdateBuffer( commandBuffer, dstBuffer, dstOffset, dataSize, pData);\r
- }\r
- void vkCmdWaitEvents( VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers ) const\r
- {\r
- return ::vkCmdWaitEvents( commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);\r
- }\r
- void vkCmdWriteBufferMarkerAMD( VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker ) const\r
- {\r
- return ::vkCmdWriteBufferMarkerAMD( commandBuffer, pipelineStage, dstBuffer, dstOffset, marker);\r
- }\r
- void vkCmdWriteTimestamp( VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query ) const\r
- {\r
- return ::vkCmdWriteTimestamp( commandBuffer, pipelineStage, queryPool, query);\r
- }\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- VkResult vkCreateAndroidSurfaceKHR( VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateAndroidSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
- VkResult vkCreateBuffer( VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer ) const\r
- {\r
- return ::vkCreateBuffer( device, pCreateInfo, pAllocator, pBuffer);\r
- }\r
- VkResult vkCreateBufferView( VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView ) const\r
- {\r
- return ::vkCreateBufferView( device, pCreateInfo, pAllocator, pView);\r
- }\r
- VkResult vkCreateCommandPool( VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool ) const\r
- {\r
- return ::vkCreateCommandPool( device, pCreateInfo, pAllocator, pCommandPool);\r
- }\r
- VkResult vkCreateComputePipelines( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const\r
- {\r
- return ::vkCreateComputePipelines( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);\r
- }\r
- VkResult vkCreateDebugReportCallbackEXT( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback ) const\r
- {\r
- return ::vkCreateDebugReportCallbackEXT( instance, pCreateInfo, pAllocator, pCallback);\r
- }\r
- VkResult vkCreateDebugUtilsMessengerEXT( VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugUtilsMessengerEXT* pMessenger ) const\r
- {\r
- return ::vkCreateDebugUtilsMessengerEXT( instance, pCreateInfo, pAllocator, pMessenger);\r
- }\r
- VkResult vkCreateDescriptorPool( VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool ) const\r
- {\r
- return ::vkCreateDescriptorPool( device, pCreateInfo, pAllocator, pDescriptorPool);\r
- }\r
- VkResult vkCreateDescriptorSetLayout( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout ) const\r
- {\r
- return ::vkCreateDescriptorSetLayout( device, pCreateInfo, pAllocator, pSetLayout);\r
- }\r
- VkResult vkCreateDescriptorUpdateTemplate( VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) const\r
- {\r
- return ::vkCreateDescriptorUpdateTemplate( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);\r
- }\r
- VkResult vkCreateDescriptorUpdateTemplateKHR( VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) const\r
- {\r
- return ::vkCreateDescriptorUpdateTemplateKHR( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);\r
- }\r
- VkResult vkCreateDevice( VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDevice* pDevice ) const\r
- {\r
- return ::vkCreateDevice( physicalDevice, pCreateInfo, pAllocator, pDevice);\r
- }\r
- VkResult vkCreateDisplayModeKHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, const VkDisplayModeCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode ) const\r
- {\r
- return ::vkCreateDisplayModeKHR( physicalDevice, display, pCreateInfo, pAllocator, pMode);\r
- }\r
- VkResult vkCreateDisplayPlaneSurfaceKHR( VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateDisplayPlaneSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
- VkResult vkCreateEvent( VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkEvent* pEvent ) const\r
- {\r
- return ::vkCreateEvent( device, pCreateInfo, pAllocator, pEvent);\r
- }\r
- VkResult vkCreateFence( VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const\r
- {\r
- return ::vkCreateFence( device, pCreateInfo, pAllocator, pFence);\r
- }\r
- VkResult vkCreateFramebuffer( VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer ) const\r
- {\r
- return ::vkCreateFramebuffer( device, pCreateInfo, pAllocator, pFramebuffer);\r
- }\r
- VkResult vkCreateGraphicsPipelines( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const\r
- {\r
- return ::vkCreateGraphicsPipelines( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);\r
- }\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- VkResult vkCreateIOSSurfaceMVK( VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateIOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
- VkResult vkCreateImage( VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage ) const\r
- {\r
- return ::vkCreateImage( device, pCreateInfo, pAllocator, pImage);\r
- }\r
- VkResult vkCreateImageView( VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView ) const\r
- {\r
- return ::vkCreateImageView( device, pCreateInfo, pAllocator, pView);\r
- }\r
- VkResult vkCreateIndirectCommandsLayoutNVX( VkDevice device, const VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout ) const\r
- {\r
- return ::vkCreateIndirectCommandsLayoutNVX( device, pCreateInfo, pAllocator, pIndirectCommandsLayout);\r
- }\r
- VkResult vkCreateInstance( const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance ) const\r
- {\r
- return ::vkCreateInstance( pCreateInfo, pAllocator, pInstance);\r
- }\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- VkResult vkCreateMacOSSurfaceMVK( VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateMacOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- VkResult vkCreateMirSurfaceKHR( VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateMirSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
- VkResult vkCreateObjectTableNVX( VkDevice device, const VkObjectTableCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkObjectTableNVX* pObjectTable ) const\r
- {\r
- return ::vkCreateObjectTableNVX( device, pCreateInfo, pAllocator, pObjectTable);\r
- }\r
- VkResult vkCreatePipelineCache( VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache ) const\r
- {\r
- return ::vkCreatePipelineCache( device, pCreateInfo, pAllocator, pPipelineCache);\r
- }\r
- VkResult vkCreatePipelineLayout( VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout ) const\r
- {\r
- return ::vkCreatePipelineLayout( device, pCreateInfo, pAllocator, pPipelineLayout);\r
- }\r
- VkResult vkCreateQueryPool( VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool ) const\r
- {\r
- return ::vkCreateQueryPool( device, pCreateInfo, pAllocator, pQueryPool);\r
- }\r
- VkResult vkCreateRenderPass( VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass ) const\r
- {\r
- return ::vkCreateRenderPass( device, pCreateInfo, pAllocator, pRenderPass);\r
- }\r
- VkResult vkCreateSampler( VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler ) const\r
- {\r
- return ::vkCreateSampler( device, pCreateInfo, pAllocator, pSampler);\r
- }\r
- VkResult vkCreateSamplerYcbcrConversion( VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion ) const\r
- {\r
- return ::vkCreateSamplerYcbcrConversion( device, pCreateInfo, pAllocator, pYcbcrConversion);\r
- }\r
- VkResult vkCreateSamplerYcbcrConversionKHR( VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion ) const\r
- {\r
- return ::vkCreateSamplerYcbcrConversionKHR( device, pCreateInfo, pAllocator, pYcbcrConversion);\r
- }\r
- VkResult vkCreateSemaphore( VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore ) const\r
- {\r
- return ::vkCreateSemaphore( device, pCreateInfo, pAllocator, pSemaphore);\r
- }\r
- VkResult vkCreateShaderModule( VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule ) const\r
- {\r
- return ::vkCreateShaderModule( device, pCreateInfo, pAllocator, pShaderModule);\r
- }\r
- VkResult vkCreateSharedSwapchainsKHR( VkDevice device, uint32_t swapchainCount, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains ) const\r
- {\r
- return ::vkCreateSharedSwapchainsKHR( device, swapchainCount, pCreateInfos, pAllocator, pSwapchains);\r
- }\r
- VkResult vkCreateSwapchainKHR( VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain ) const\r
- {\r
- return ::vkCreateSwapchainKHR( device, pCreateInfo, pAllocator, pSwapchain);\r
- }\r
- VkResult vkCreateValidationCacheEXT( VkDevice device, const VkValidationCacheCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkValidationCacheEXT* pValidationCache ) const\r
- {\r
- return ::vkCreateValidationCacheEXT( device, pCreateInfo, pAllocator, pValidationCache);\r
- }\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- VkResult vkCreateViSurfaceNN( VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateViSurfaceNN( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- VkResult vkCreateWaylandSurfaceKHR( VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateWaylandSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkResult vkCreateWin32SurfaceKHR( VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateWin32SurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- VkResult vkCreateXcbSurfaceKHR( VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateXcbSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- VkResult vkCreateXlibSurfaceKHR( VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const\r
- {\r
- return ::vkCreateXlibSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);\r
- }\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
- VkResult vkDebugMarkerSetObjectNameEXT( VkDevice device, const VkDebugMarkerObjectNameInfoEXT* pNameInfo ) const\r
- {\r
- return ::vkDebugMarkerSetObjectNameEXT( device, pNameInfo);\r
- }\r
- VkResult vkDebugMarkerSetObjectTagEXT( VkDevice device, const VkDebugMarkerObjectTagInfoEXT* pTagInfo ) const\r
- {\r
- return ::vkDebugMarkerSetObjectTagEXT( device, pTagInfo);\r
- }\r
- void vkDebugReportMessageEXT( VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage ) const\r
- {\r
- return ::vkDebugReportMessageEXT( instance, flags, objectType, object, location, messageCode, pLayerPrefix, pMessage);\r
- }\r
- void vkDestroyBuffer( VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyBuffer( device, buffer, pAllocator);\r
- }\r
- void vkDestroyBufferView( VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyBufferView( device, bufferView, pAllocator);\r
- }\r
- void vkDestroyCommandPool( VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyCommandPool( device, commandPool, pAllocator);\r
- }\r
- void vkDestroyDebugReportCallbackEXT( VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyDebugReportCallbackEXT( instance, callback, pAllocator);\r
- }\r
- void vkDestroyDebugUtilsMessengerEXT( VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyDebugUtilsMessengerEXT( instance, messenger, pAllocator);\r
- }\r
- void vkDestroyDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyDescriptorPool( device, descriptorPool, pAllocator);\r
- }\r
- void vkDestroyDescriptorSetLayout( VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyDescriptorSetLayout( device, descriptorSetLayout, pAllocator);\r
- }\r
- void vkDestroyDescriptorUpdateTemplate( VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyDescriptorUpdateTemplate( device, descriptorUpdateTemplate, pAllocator);\r
- }\r
- void vkDestroyDescriptorUpdateTemplateKHR( VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyDescriptorUpdateTemplateKHR( device, descriptorUpdateTemplate, pAllocator);\r
- }\r
- void vkDestroyDevice( VkDevice device, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyDevice( device, pAllocator);\r
- }\r
- void vkDestroyEvent( VkDevice device, VkEvent event, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyEvent( device, event, pAllocator);\r
- }\r
- void vkDestroyFence( VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyFence( device, fence, pAllocator);\r
- }\r
- void vkDestroyFramebuffer( VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyFramebuffer( device, framebuffer, pAllocator);\r
- }\r
- void vkDestroyImage( VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyImage( device, image, pAllocator);\r
- }\r
- void vkDestroyImageView( VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyImageView( device, imageView, pAllocator);\r
- }\r
- void vkDestroyIndirectCommandsLayoutNVX( VkDevice device, VkIndirectCommandsLayoutNVX indirectCommandsLayout, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyIndirectCommandsLayoutNVX( device, indirectCommandsLayout, pAllocator);\r
- }\r
- void vkDestroyInstance( VkInstance instance, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyInstance( instance, pAllocator);\r
- }\r
- void vkDestroyObjectTableNVX( VkDevice device, VkObjectTableNVX objectTable, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyObjectTableNVX( device, objectTable, pAllocator);\r
- }\r
- void vkDestroyPipeline( VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyPipeline( device, pipeline, pAllocator);\r
- }\r
- void vkDestroyPipelineCache( VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyPipelineCache( device, pipelineCache, pAllocator);\r
- }\r
- void vkDestroyPipelineLayout( VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyPipelineLayout( device, pipelineLayout, pAllocator);\r
- }\r
- void vkDestroyQueryPool( VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyQueryPool( device, queryPool, pAllocator);\r
- }\r
- void vkDestroyRenderPass( VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyRenderPass( device, renderPass, pAllocator);\r
- }\r
- void vkDestroySampler( VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroySampler( device, sampler, pAllocator);\r
- }\r
- void vkDestroySamplerYcbcrConversion( VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroySamplerYcbcrConversion( device, ycbcrConversion, pAllocator);\r
- }\r
- void vkDestroySamplerYcbcrConversionKHR( VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroySamplerYcbcrConversionKHR( device, ycbcrConversion, pAllocator);\r
- }\r
- void vkDestroySemaphore( VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroySemaphore( device, semaphore, pAllocator);\r
- }\r
- void vkDestroyShaderModule( VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyShaderModule( device, shaderModule, pAllocator);\r
- }\r
- void vkDestroySurfaceKHR( VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroySurfaceKHR( instance, surface, pAllocator);\r
- }\r
- void vkDestroySwapchainKHR( VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroySwapchainKHR( device, swapchain, pAllocator);\r
- }\r
- void vkDestroyValidationCacheEXT( VkDevice device, VkValidationCacheEXT validationCache, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkDestroyValidationCacheEXT( device, validationCache, pAllocator);\r
- }\r
- VkResult vkDeviceWaitIdle( VkDevice device ) const\r
- {\r
- return ::vkDeviceWaitIdle( device);\r
- }\r
- VkResult vkDisplayPowerControlEXT( VkDevice device, VkDisplayKHR display, const VkDisplayPowerInfoEXT* pDisplayPowerInfo ) const\r
- {\r
- return ::vkDisplayPowerControlEXT( device, display, pDisplayPowerInfo);\r
- }\r
- VkResult vkEndCommandBuffer( VkCommandBuffer commandBuffer ) const\r
- {\r
- return ::vkEndCommandBuffer( commandBuffer);\r
- }\r
- VkResult vkEnumerateDeviceExtensionProperties( VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties ) const\r
- {\r
- return ::vkEnumerateDeviceExtensionProperties( physicalDevice, pLayerName, pPropertyCount, pProperties);\r
- }\r
- VkResult vkEnumerateDeviceLayerProperties( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties ) const\r
- {\r
- return ::vkEnumerateDeviceLayerProperties( physicalDevice, pPropertyCount, pProperties);\r
- }\r
- VkResult vkEnumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties ) const\r
- {\r
- return ::vkEnumerateInstanceExtensionProperties( pLayerName, pPropertyCount, pProperties);\r
- }\r
- VkResult vkEnumerateInstanceLayerProperties( uint32_t* pPropertyCount, VkLayerProperties* pProperties ) const\r
- {\r
- return ::vkEnumerateInstanceLayerProperties( pPropertyCount, pProperties);\r
- }\r
- VkResult vkEnumerateInstanceVersion( uint32_t* pApiVersion ) const\r
- {\r
- return ::vkEnumerateInstanceVersion( pApiVersion);\r
- }\r
- VkResult vkEnumeratePhysicalDeviceGroups( VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties ) const\r
- {\r
- return ::vkEnumeratePhysicalDeviceGroups( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);\r
- }\r
- VkResult vkEnumeratePhysicalDeviceGroupsKHR( VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties ) const\r
- {\r
- return ::vkEnumeratePhysicalDeviceGroupsKHR( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);\r
- }\r
- VkResult vkEnumeratePhysicalDevices( VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices ) const\r
- {\r
- return ::vkEnumeratePhysicalDevices( instance, pPhysicalDeviceCount, pPhysicalDevices);\r
- }\r
- VkResult vkFlushMappedMemoryRanges( VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges ) const\r
- {\r
- return ::vkFlushMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges);\r
- }\r
- void vkFreeCommandBuffers( VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers ) const\r
- {\r
- return ::vkFreeCommandBuffers( device, commandPool, commandBufferCount, pCommandBuffers);\r
- }\r
- VkResult vkFreeDescriptorSets( VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets ) const\r
- {\r
- return ::vkFreeDescriptorSets( device, descriptorPool, descriptorSetCount, pDescriptorSets);\r
- }\r
- void vkFreeMemory( VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator ) const\r
- {\r
- return ::vkFreeMemory( device, memory, pAllocator);\r
- }\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- VkResult vkGetAndroidHardwareBufferPropertiesANDROID( VkDevice device, const struct AHardwareBuffer* buffer, VkAndroidHardwareBufferPropertiesANDROID* pProperties ) const\r
- {\r
- return ::vkGetAndroidHardwareBufferPropertiesANDROID( device, buffer, pProperties);\r
- }\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- void vkGetBufferMemoryRequirements( VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements ) const\r
- {\r
- return ::vkGetBufferMemoryRequirements( device, buffer, pMemoryRequirements);\r
- }\r
- void vkGetBufferMemoryRequirements2( VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const\r
- {\r
- return ::vkGetBufferMemoryRequirements2( device, pInfo, pMemoryRequirements);\r
- }\r
- void vkGetBufferMemoryRequirements2KHR( VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const\r
- {\r
- return ::vkGetBufferMemoryRequirements2KHR( device, pInfo, pMemoryRequirements);\r
- }\r
- void vkGetDescriptorSetLayoutSupport( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) const\r
- {\r
- return ::vkGetDescriptorSetLayoutSupport( device, pCreateInfo, pSupport);\r
- }\r
- void vkGetDescriptorSetLayoutSupportKHR( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) const\r
- {\r
- return ::vkGetDescriptorSetLayoutSupportKHR( device, pCreateInfo, pSupport);\r
- }\r
- void vkGetDeviceGroupPeerMemoryFeatures( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) const\r
- {\r
- return ::vkGetDeviceGroupPeerMemoryFeatures( device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);\r
- }\r
- void vkGetDeviceGroupPeerMemoryFeaturesKHR( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) const\r
- {\r
- return ::vkGetDeviceGroupPeerMemoryFeaturesKHR( device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);\r
- }\r
- VkResult vkGetDeviceGroupPresentCapabilitiesKHR( VkDevice device, VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities ) const\r
- {\r
- return ::vkGetDeviceGroupPresentCapabilitiesKHR( device, pDeviceGroupPresentCapabilities);\r
- }\r
- VkResult vkGetDeviceGroupSurfacePresentModesKHR( VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR* pModes ) const\r
- {\r
- return ::vkGetDeviceGroupSurfacePresentModesKHR( device, surface, pModes);\r
- }\r
- void vkGetDeviceMemoryCommitment( VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes ) const\r
- {\r
- return ::vkGetDeviceMemoryCommitment( device, memory, pCommittedMemoryInBytes);\r
- }\r
- PFN_vkVoidFunction vkGetDeviceProcAddr( VkDevice device, const char* pName ) const\r
- {\r
- return ::vkGetDeviceProcAddr( device, pName);\r
- }\r
- void vkGetDeviceQueue( VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue ) const\r
- {\r
- return ::vkGetDeviceQueue( device, queueFamilyIndex, queueIndex, pQueue);\r
- }\r
- void vkGetDeviceQueue2( VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue ) const\r
- {\r
- return ::vkGetDeviceQueue2( device, pQueueInfo, pQueue);\r
- }\r
- VkResult vkGetDisplayModePropertiesKHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModePropertiesKHR* pProperties ) const\r
- {\r
- return ::vkGetDisplayModePropertiesKHR( physicalDevice, display, pPropertyCount, pProperties);\r
- }\r
- VkResult vkGetDisplayPlaneCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, uint32_t planeIndex, VkDisplayPlaneCapabilitiesKHR* pCapabilities ) const\r
- {\r
- return ::vkGetDisplayPlaneCapabilitiesKHR( physicalDevice, mode, planeIndex, pCapabilities);\r
- }\r
- VkResult vkGetDisplayPlaneSupportedDisplaysKHR( VkPhysicalDevice physicalDevice, uint32_t planeIndex, uint32_t* pDisplayCount, VkDisplayKHR* pDisplays ) const\r
- {\r
- return ::vkGetDisplayPlaneSupportedDisplaysKHR( physicalDevice, planeIndex, pDisplayCount, pDisplays);\r
- }\r
- VkResult vkGetEventStatus( VkDevice device, VkEvent event ) const\r
- {\r
- return ::vkGetEventStatus( device, event);\r
- }\r
- VkResult vkGetFenceFdKHR( VkDevice device, const VkFenceGetFdInfoKHR* pGetFdInfo, int* pFd ) const\r
- {\r
- return ::vkGetFenceFdKHR( device, pGetFdInfo, pFd);\r
- }\r
- VkResult vkGetFenceStatus( VkDevice device, VkFence fence ) const\r
- {\r
- return ::vkGetFenceStatus( device, fence);\r
- }\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkResult vkGetFenceWin32HandleKHR( VkDevice device, const VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const\r
- {\r
- return ::vkGetFenceWin32HandleKHR( device, pGetWin32HandleInfo, pHandle);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- void vkGetImageMemoryRequirements( VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements ) const\r
- {\r
- return ::vkGetImageMemoryRequirements( device, image, pMemoryRequirements);\r
- }\r
- void vkGetImageMemoryRequirements2( VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const\r
- {\r
- return ::vkGetImageMemoryRequirements2( device, pInfo, pMemoryRequirements);\r
- }\r
- void vkGetImageMemoryRequirements2KHR( VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const\r
- {\r
- return ::vkGetImageMemoryRequirements2KHR( device, pInfo, pMemoryRequirements);\r
- }\r
- void vkGetImageSparseMemoryRequirements( VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements ) const\r
- {\r
- return ::vkGetImageSparseMemoryRequirements( device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements);\r
- }\r
- void vkGetImageSparseMemoryRequirements2( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) const\r
- {\r
- return ::vkGetImageSparseMemoryRequirements2( device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);\r
- }\r
- void vkGetImageSparseMemoryRequirements2KHR( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) const\r
- {\r
- return ::vkGetImageSparseMemoryRequirements2KHR( device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);\r
- }\r
- void vkGetImageSubresourceLayout( VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout ) const\r
- {\r
- return ::vkGetImageSubresourceLayout( device, image, pSubresource, pLayout);\r
- }\r
- PFN_vkVoidFunction vkGetInstanceProcAddr( VkInstance instance, const char* pName ) const\r
- {\r
- return ::vkGetInstanceProcAddr( instance, pName);\r
- }\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- VkResult vkGetMemoryAndroidHardwareBufferANDROID( VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer ) const\r
- {\r
- return ::vkGetMemoryAndroidHardwareBufferANDROID( device, pInfo, pBuffer);\r
- }\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- VkResult vkGetMemoryFdKHR( VkDevice device, const VkMemoryGetFdInfoKHR* pGetFdInfo, int* pFd ) const\r
- {\r
- return ::vkGetMemoryFdKHR( device, pGetFdInfo, pFd);\r
- }\r
- VkResult vkGetMemoryFdPropertiesKHR( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, int fd, VkMemoryFdPropertiesKHR* pMemoryFdProperties ) const\r
- {\r
- return ::vkGetMemoryFdPropertiesKHR( device, handleType, fd, pMemoryFdProperties);\r
- }\r
- VkResult vkGetMemoryHostPointerPropertiesEXT( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties ) const\r
- {\r
- return ::vkGetMemoryHostPointerPropertiesEXT( device, handleType, pHostPointer, pMemoryHostPointerProperties);\r
- }\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkResult vkGetMemoryWin32HandleKHR( VkDevice device, const VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const\r
- {\r
- return ::vkGetMemoryWin32HandleKHR( device, pGetWin32HandleInfo, pHandle);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- VkResult vkGetMemoryWin32HandleNV( VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle ) const\r
- {\r
- return ::vkGetMemoryWin32HandleNV( device, memory, handleType, pHandle);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkResult vkGetMemoryWin32HandlePropertiesKHR( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties ) const\r
- {\r
- return ::vkGetMemoryWin32HandlePropertiesKHR( device, handleType, handle, pMemoryWin32HandleProperties);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- VkResult vkGetPastPresentationTimingGOOGLE( VkDevice device, VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings ) const\r
- {\r
- return ::vkGetPastPresentationTimingGOOGLE( device, swapchain, pPresentationTimingCount, pPresentationTimings);\r
- }\r
- VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceDisplayPlanePropertiesKHR( physicalDevice, pPropertyCount, pProperties);\r
- }\r
- VkResult vkGetPhysicalDeviceDisplayPropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPropertiesKHR* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceDisplayPropertiesKHR( physicalDevice, pPropertyCount, pProperties);\r
- }\r
- void vkGetPhysicalDeviceExternalBufferProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceExternalBufferProperties( physicalDevice, pExternalBufferInfo, pExternalBufferProperties);\r
- }\r
- void vkGetPhysicalDeviceExternalBufferPropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceExternalBufferPropertiesKHR( physicalDevice, pExternalBufferInfo, pExternalBufferProperties);\r
- }\r
- void vkGetPhysicalDeviceExternalFenceProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceExternalFenceProperties( physicalDevice, pExternalFenceInfo, pExternalFenceProperties);\r
- }\r
- void vkGetPhysicalDeviceExternalFencePropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceExternalFencePropertiesKHR( physicalDevice, pExternalFenceInfo, pExternalFenceProperties);\r
- }\r
- VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceExternalImageFormatPropertiesNV( physicalDevice, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties);\r
- }\r
- void vkGetPhysicalDeviceExternalSemaphoreProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceExternalSemaphoreProperties( physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);\r
- }\r
- void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);\r
- }\r
- void vkGetPhysicalDeviceFeatures( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures ) const\r
- {\r
- return ::vkGetPhysicalDeviceFeatures( physicalDevice, pFeatures);\r
- }\r
- void vkGetPhysicalDeviceFeatures2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures ) const\r
- {\r
- return ::vkGetPhysicalDeviceFeatures2( physicalDevice, pFeatures);\r
- }\r
- void vkGetPhysicalDeviceFeatures2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures ) const\r
- {\r
- return ::vkGetPhysicalDeviceFeatures2KHR( physicalDevice, pFeatures);\r
- }\r
- void vkGetPhysicalDeviceFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceFormatProperties( physicalDevice, format, pFormatProperties);\r
- }\r
- void vkGetPhysicalDeviceFormatProperties2( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceFormatProperties2( physicalDevice, format, pFormatProperties);\r
- }\r
- void vkGetPhysicalDeviceFormatProperties2KHR( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceFormatProperties2KHR( physicalDevice, format, pFormatProperties);\r
- }\r
- void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( VkPhysicalDevice physicalDevice, VkDeviceGeneratedCommandsFeaturesNVX* pFeatures, VkDeviceGeneratedCommandsLimitsNVX* pLimits ) const\r
- {\r
- return ::vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( physicalDevice, pFeatures, pLimits);\r
- }\r
- VkResult vkGetPhysicalDeviceImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceImageFormatProperties( physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties);\r
- }\r
- VkResult vkGetPhysicalDeviceImageFormatProperties2( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceImageFormatProperties2( physicalDevice, pImageFormatInfo, pImageFormatProperties);\r
- }\r
- VkResult vkGetPhysicalDeviceImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceImageFormatProperties2KHR( physicalDevice, pImageFormatInfo, pImageFormatProperties);\r
- }\r
- void vkGetPhysicalDeviceMemoryProperties( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceMemoryProperties( physicalDevice, pMemoryProperties);\r
- }\r
- void vkGetPhysicalDeviceMemoryProperties2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceMemoryProperties2( physicalDevice, pMemoryProperties);\r
- }\r
- void vkGetPhysicalDeviceMemoryProperties2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceMemoryProperties2KHR( physicalDevice, pMemoryProperties);\r
- }\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- VkBool32 vkGetPhysicalDeviceMirPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, MirConnection* connection ) const\r
- {\r
- return ::vkGetPhysicalDeviceMirPresentationSupportKHR( physicalDevice, queueFamilyIndex, connection);\r
- }\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
- void vkGetPhysicalDeviceMultisamplePropertiesEXT( VkPhysicalDevice physicalDevice, VkSampleCountFlagBits samples, VkMultisamplePropertiesEXT* pMultisampleProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceMultisamplePropertiesEXT( physicalDevice, samples, pMultisampleProperties);\r
- }\r
- VkResult vkGetPhysicalDevicePresentRectanglesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pRectCount, VkRect2D* pRects ) const\r
- {\r
- return ::vkGetPhysicalDevicePresentRectanglesKHR( physicalDevice, surface, pRectCount, pRects);\r
- }\r
- void vkGetPhysicalDeviceProperties( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceProperties( physicalDevice, pProperties);\r
- }\r
- void vkGetPhysicalDeviceProperties2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceProperties2( physicalDevice, pProperties);\r
- }\r
- void vkGetPhysicalDeviceProperties2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceProperties2KHR( physicalDevice, pProperties);\r
- }\r
- void vkGetPhysicalDeviceQueueFamilyProperties( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceQueueFamilyProperties( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);\r
- }\r
- void vkGetPhysicalDeviceQueueFamilyProperties2( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceQueueFamilyProperties2( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);\r
- }\r
- void vkGetPhysicalDeviceQueueFamilyProperties2KHR( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceQueueFamilyProperties2KHR( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);\r
- }\r
- void vkGetPhysicalDeviceSparseImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceSparseImageFormatProperties( physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties);\r
- }\r
- void vkGetPhysicalDeviceSparseImageFormatProperties2( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceSparseImageFormatProperties2( physicalDevice, pFormatInfo, pPropertyCount, pProperties);\r
- }\r
- void vkGetPhysicalDeviceSparseImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties ) const\r
- {\r
- return ::vkGetPhysicalDeviceSparseImageFormatProperties2KHR( physicalDevice, pFormatInfo, pPropertyCount, pProperties);\r
- }\r
- VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilities2EXT* pSurfaceCapabilities ) const\r
- {\r
- return ::vkGetPhysicalDeviceSurfaceCapabilities2EXT( physicalDevice, surface, pSurfaceCapabilities);\r
- }\r
- VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities ) const\r
- {\r
- return ::vkGetPhysicalDeviceSurfaceCapabilities2KHR( physicalDevice, pSurfaceInfo, pSurfaceCapabilities);\r
- }\r
- VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities ) const\r
- {\r
- return ::vkGetPhysicalDeviceSurfaceCapabilitiesKHR( physicalDevice, surface, pSurfaceCapabilities);\r
- }\r
- VkResult vkGetPhysicalDeviceSurfaceFormats2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats ) const\r
- {\r
- return ::vkGetPhysicalDeviceSurfaceFormats2KHR( physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats);\r
- }\r
- VkResult vkGetPhysicalDeviceSurfaceFormatsKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats ) const\r
- {\r
- return ::vkGetPhysicalDeviceSurfaceFormatsKHR( physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats);\r
- }\r
- VkResult vkGetPhysicalDeviceSurfacePresentModesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes ) const\r
- {\r
- return ::vkGetPhysicalDeviceSurfacePresentModesKHR( physicalDevice, surface, pPresentModeCount, pPresentModes);\r
- }\r
- VkResult vkGetPhysicalDeviceSurfaceSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported ) const\r
- {\r
- return ::vkGetPhysicalDeviceSurfaceSupportKHR( physicalDevice, queueFamilyIndex, surface, pSupported);\r
- }\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct wl_display* display ) const\r
- {\r
- return ::vkGetPhysicalDeviceWaylandPresentationSupportKHR( physicalDevice, queueFamilyIndex, display);\r
- }\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex ) const\r
- {\r
- return ::vkGetPhysicalDeviceWin32PresentationSupportKHR( physicalDevice, queueFamilyIndex);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id ) const\r
- {\r
- return ::vkGetPhysicalDeviceXcbPresentationSupportKHR( physicalDevice, queueFamilyIndex, connection, visual_id);\r
- }\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, Display* dpy, VisualID visualID ) const\r
- {\r
- return ::vkGetPhysicalDeviceXlibPresentationSupportKHR( physicalDevice, queueFamilyIndex, dpy, visualID);\r
- }\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
- VkResult vkGetPipelineCacheData( VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData ) const\r
- {\r
- return ::vkGetPipelineCacheData( device, pipelineCache, pDataSize, pData);\r
- }\r
- VkResult vkGetQueryPoolResults( VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags ) const\r
- {\r
- return ::vkGetQueryPoolResults( device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags);\r
- }\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- VkResult vkGetRandROutputDisplayEXT( VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, VkDisplayKHR* pDisplay ) const\r
- {\r
- return ::vkGetRandROutputDisplayEXT( physicalDevice, dpy, rrOutput, pDisplay);\r
- }\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
- VkResult vkGetRefreshCycleDurationGOOGLE( VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties ) const\r
- {\r
- return ::vkGetRefreshCycleDurationGOOGLE( device, swapchain, pDisplayTimingProperties);\r
- }\r
- void vkGetRenderAreaGranularity( VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity ) const\r
- {\r
- return ::vkGetRenderAreaGranularity( device, renderPass, pGranularity);\r
- }\r
- VkResult vkGetSemaphoreFdKHR( VkDevice device, const VkSemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd ) const\r
- {\r
- return ::vkGetSemaphoreFdKHR( device, pGetFdInfo, pFd);\r
- }\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkResult vkGetSemaphoreWin32HandleKHR( VkDevice device, const VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const\r
- {\r
- return ::vkGetSemaphoreWin32HandleKHR( device, pGetWin32HandleInfo, pHandle);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- VkResult vkGetShaderInfoAMD( VkDevice device, VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo ) const\r
- {\r
- return ::vkGetShaderInfoAMD( device, pipeline, shaderStage, infoType, pInfoSize, pInfo);\r
- }\r
- VkResult vkGetSwapchainCounterEXT( VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue ) const\r
- {\r
- return ::vkGetSwapchainCounterEXT( device, swapchain, counter, pCounterValue);\r
- }\r
- VkResult vkGetSwapchainImagesKHR( VkDevice device, VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages ) const\r
- {\r
- return ::vkGetSwapchainImagesKHR( device, swapchain, pSwapchainImageCount, pSwapchainImages);\r
- }\r
- VkResult vkGetSwapchainStatusKHR( VkDevice device, VkSwapchainKHR swapchain ) const\r
- {\r
- return ::vkGetSwapchainStatusKHR( device, swapchain);\r
- }\r
- VkResult vkGetValidationCacheDataEXT( VkDevice device, VkValidationCacheEXT validationCache, size_t* pDataSize, void* pData ) const\r
- {\r
- return ::vkGetValidationCacheDataEXT( device, validationCache, pDataSize, pData);\r
- }\r
- VkResult vkImportFenceFdKHR( VkDevice device, const VkImportFenceFdInfoKHR* pImportFenceFdInfo ) const\r
- {\r
- return ::vkImportFenceFdKHR( device, pImportFenceFdInfo);\r
- }\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkResult vkImportFenceWin32HandleKHR( VkDevice device, const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo ) const\r
- {\r
- return ::vkImportFenceWin32HandleKHR( device, pImportFenceWin32HandleInfo);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- VkResult vkImportSemaphoreFdKHR( VkDevice device, const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo ) const\r
- {\r
- return ::vkImportSemaphoreFdKHR( device, pImportSemaphoreFdInfo);\r
- }\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VkResult vkImportSemaphoreWin32HandleKHR( VkDevice device, const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo ) const\r
- {\r
- return ::vkImportSemaphoreWin32HandleKHR( device, pImportSemaphoreWin32HandleInfo);\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- VkResult vkInvalidateMappedMemoryRanges( VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges ) const\r
- {\r
- return ::vkInvalidateMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges);\r
- }\r
- VkResult vkMapMemory( VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData ) const\r
- {\r
- return ::vkMapMemory( device, memory, offset, size, flags, ppData);\r
- }\r
- VkResult vkMergePipelineCaches( VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches ) const\r
- {\r
- return ::vkMergePipelineCaches( device, dstCache, srcCacheCount, pSrcCaches);\r
- }\r
- VkResult vkMergeValidationCachesEXT( VkDevice device, VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const VkValidationCacheEXT* pSrcCaches ) const\r
- {\r
- return ::vkMergeValidationCachesEXT( device, dstCache, srcCacheCount, pSrcCaches);\r
- }\r
- void vkQueueBeginDebugUtilsLabelEXT( VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo ) const\r
- {\r
- return ::vkQueueBeginDebugUtilsLabelEXT( queue, pLabelInfo);\r
- }\r
- VkResult vkQueueBindSparse( VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence ) const\r
- {\r
- return ::vkQueueBindSparse( queue, bindInfoCount, pBindInfo, fence);\r
- }\r
- void vkQueueEndDebugUtilsLabelEXT( VkQueue queue ) const\r
- {\r
- return ::vkQueueEndDebugUtilsLabelEXT( queue);\r
- }\r
- void vkQueueInsertDebugUtilsLabelEXT( VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo ) const\r
- {\r
- return ::vkQueueInsertDebugUtilsLabelEXT( queue, pLabelInfo);\r
- }\r
- VkResult vkQueuePresentKHR( VkQueue queue, const VkPresentInfoKHR* pPresentInfo ) const\r
- {\r
- return ::vkQueuePresentKHR( queue, pPresentInfo);\r
- }\r
- VkResult vkQueueSubmit( VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence ) const\r
- {\r
- return ::vkQueueSubmit( queue, submitCount, pSubmits, fence);\r
- }\r
- VkResult vkQueueWaitIdle( VkQueue queue ) const\r
- {\r
- return ::vkQueueWaitIdle( queue);\r
- }\r
- VkResult vkRegisterDeviceEventEXT( VkDevice device, const VkDeviceEventInfoEXT* pDeviceEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const\r
- {\r
- return ::vkRegisterDeviceEventEXT( device, pDeviceEventInfo, pAllocator, pFence);\r
- }\r
- VkResult vkRegisterDisplayEventEXT( VkDevice device, VkDisplayKHR display, const VkDisplayEventInfoEXT* pDisplayEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const\r
- {\r
- return ::vkRegisterDisplayEventEXT( device, display, pDisplayEventInfo, pAllocator, pFence);\r
- }\r
- VkResult vkRegisterObjectsNVX( VkDevice device, VkObjectTableNVX objectTable, uint32_t objectCount, const VkObjectTableEntryNVX* const* ppObjectTableEntries, const uint32_t* pObjectIndices ) const\r
- {\r
- return ::vkRegisterObjectsNVX( device, objectTable, objectCount, ppObjectTableEntries, pObjectIndices);\r
- }\r
- VkResult vkReleaseDisplayEXT( VkPhysicalDevice physicalDevice, VkDisplayKHR display ) const\r
- {\r
- return ::vkReleaseDisplayEXT( physicalDevice, display);\r
- }\r
- VkResult vkResetCommandBuffer( VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags ) const\r
- {\r
- return ::vkResetCommandBuffer( commandBuffer, flags);\r
- }\r
- VkResult vkResetCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags ) const\r
- {\r
- return ::vkResetCommandPool( device, commandPool, flags);\r
- }\r
- VkResult vkResetDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags ) const\r
- {\r
- return ::vkResetDescriptorPool( device, descriptorPool, flags);\r
- }\r
- VkResult vkResetEvent( VkDevice device, VkEvent event ) const\r
- {\r
- return ::vkResetEvent( device, event);\r
- }\r
- VkResult vkResetFences( VkDevice device, uint32_t fenceCount, const VkFence* pFences ) const\r
- {\r
- return ::vkResetFences( device, fenceCount, pFences);\r
- }\r
- VkResult vkSetDebugUtilsObjectNameEXT( VkDevice device, const VkDebugUtilsObjectNameInfoEXT* pNameInfo ) const\r
- {\r
- return ::vkSetDebugUtilsObjectNameEXT( device, pNameInfo);\r
- }\r
- VkResult vkSetDebugUtilsObjectTagEXT( VkDevice device, const VkDebugUtilsObjectTagInfoEXT* pTagInfo ) const\r
- {\r
- return ::vkSetDebugUtilsObjectTagEXT( device, pTagInfo);\r
- }\r
- VkResult vkSetEvent( VkDevice device, VkEvent event ) const\r
- {\r
- return ::vkSetEvent( device, event);\r
- }\r
- void vkSetHdrMetadataEXT( VkDevice device, uint32_t swapchainCount, const VkSwapchainKHR* pSwapchains, const VkHdrMetadataEXT* pMetadata ) const\r
- {\r
- return ::vkSetHdrMetadataEXT( device, swapchainCount, pSwapchains, pMetadata);\r
- }\r
- void vkSubmitDebugUtilsMessageEXT( VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData ) const\r
- {\r
- return ::vkSubmitDebugUtilsMessageEXT( instance, messageSeverity, messageTypes, pCallbackData);\r
- }\r
- void vkTrimCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) const\r
- {\r
- return ::vkTrimCommandPool( device, commandPool, flags);\r
- }\r
- void vkTrimCommandPoolKHR( VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) const\r
- {\r
- return ::vkTrimCommandPoolKHR( device, commandPool, flags);\r
- }\r
- void vkUnmapMemory( VkDevice device, VkDeviceMemory memory ) const\r
- {\r
- return ::vkUnmapMemory( device, memory);\r
- }\r
- VkResult vkUnregisterObjectsNVX( VkDevice device, VkObjectTableNVX objectTable, uint32_t objectCount, const VkObjectEntryTypeNVX* pObjectEntryTypes, const uint32_t* pObjectIndices ) const\r
- {\r
- return ::vkUnregisterObjectsNVX( device, objectTable, objectCount, pObjectEntryTypes, pObjectIndices);\r
- }\r
- void vkUpdateDescriptorSetWithTemplate( VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData ) const\r
- {\r
- return ::vkUpdateDescriptorSetWithTemplate( device, descriptorSet, descriptorUpdateTemplate, pData);\r
- }\r
- void vkUpdateDescriptorSetWithTemplateKHR( VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData ) const\r
- {\r
- return ::vkUpdateDescriptorSetWithTemplateKHR( device, descriptorSet, descriptorUpdateTemplate, pData);\r
- }\r
- void vkUpdateDescriptorSets( VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies ) const\r
- {\r
- return ::vkUpdateDescriptorSets( device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies);\r
- }\r
- VkResult vkWaitForFences( VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout ) const\r
- {\r
- return ::vkWaitForFences( device, fenceCount, pFences, waitAll, timeout);\r
- }\r
-};\r
- using SampleMask = uint32_t;\r
-\r
- using Bool32 = uint32_t;\r
-\r
- using DeviceSize = uint64_t;\r
-\r
- enum class FramebufferCreateFlagBits\r
- {\r
- };\r
-\r
- using FramebufferCreateFlags = Flags<FramebufferCreateFlagBits, VkFramebufferCreateFlags>;\r
-\r
- enum class QueryPoolCreateFlagBits\r
- {\r
- };\r
-\r
- using QueryPoolCreateFlags = Flags<QueryPoolCreateFlagBits, VkQueryPoolCreateFlags>;\r
-\r
- enum class RenderPassCreateFlagBits\r
- {\r
- };\r
-\r
- using RenderPassCreateFlags = Flags<RenderPassCreateFlagBits, VkRenderPassCreateFlags>;\r
-\r
- enum class SamplerCreateFlagBits\r
- {\r
- };\r
-\r
- using SamplerCreateFlags = Flags<SamplerCreateFlagBits, VkSamplerCreateFlags>;\r
-\r
- enum class PipelineLayoutCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineLayoutCreateFlags = Flags<PipelineLayoutCreateFlagBits, VkPipelineLayoutCreateFlags>;\r
-\r
- enum class PipelineCacheCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineCacheCreateFlags = Flags<PipelineCacheCreateFlagBits, VkPipelineCacheCreateFlags>;\r
-\r
- enum class PipelineDepthStencilStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineDepthStencilStateCreateFlags = Flags<PipelineDepthStencilStateCreateFlagBits, VkPipelineDepthStencilStateCreateFlags>;\r
-\r
- enum class PipelineDynamicStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineDynamicStateCreateFlags = Flags<PipelineDynamicStateCreateFlagBits, VkPipelineDynamicStateCreateFlags>;\r
-\r
- enum class PipelineColorBlendStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineColorBlendStateCreateFlags = Flags<PipelineColorBlendStateCreateFlagBits, VkPipelineColorBlendStateCreateFlags>;\r
-\r
- enum class PipelineMultisampleStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineMultisampleStateCreateFlags = Flags<PipelineMultisampleStateCreateFlagBits, VkPipelineMultisampleStateCreateFlags>;\r
-\r
- enum class PipelineRasterizationStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineRasterizationStateCreateFlags = Flags<PipelineRasterizationStateCreateFlagBits, VkPipelineRasterizationStateCreateFlags>;\r
-\r
- enum class PipelineViewportStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineViewportStateCreateFlags = Flags<PipelineViewportStateCreateFlagBits, VkPipelineViewportStateCreateFlags>;\r
-\r
- enum class PipelineTessellationStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineTessellationStateCreateFlags = Flags<PipelineTessellationStateCreateFlagBits, VkPipelineTessellationStateCreateFlags>;\r
-\r
- enum class PipelineInputAssemblyStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineInputAssemblyStateCreateFlags = Flags<PipelineInputAssemblyStateCreateFlagBits, VkPipelineInputAssemblyStateCreateFlags>;\r
-\r
- enum class PipelineVertexInputStateCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineVertexInputStateCreateFlags = Flags<PipelineVertexInputStateCreateFlagBits, VkPipelineVertexInputStateCreateFlags>;\r
-\r
- enum class PipelineShaderStageCreateFlagBits\r
- {\r
- };\r
-\r
- using PipelineShaderStageCreateFlags = Flags<PipelineShaderStageCreateFlagBits, VkPipelineShaderStageCreateFlags>;\r
-\r
- enum class BufferViewCreateFlagBits\r
- {\r
- };\r
-\r
- using BufferViewCreateFlags = Flags<BufferViewCreateFlagBits, VkBufferViewCreateFlags>;\r
-\r
- enum class InstanceCreateFlagBits\r
- {\r
- };\r
-\r
- using InstanceCreateFlags = Flags<InstanceCreateFlagBits, VkInstanceCreateFlags>;\r
-\r
- enum class DeviceCreateFlagBits\r
- {\r
- };\r
-\r
- using DeviceCreateFlags = Flags<DeviceCreateFlagBits, VkDeviceCreateFlags>;\r
-\r
- enum class ImageViewCreateFlagBits\r
- {\r
- };\r
-\r
- using ImageViewCreateFlags = Flags<ImageViewCreateFlagBits, VkImageViewCreateFlags>;\r
-\r
- enum class SemaphoreCreateFlagBits\r
- {\r
- };\r
-\r
- using SemaphoreCreateFlags = Flags<SemaphoreCreateFlagBits, VkSemaphoreCreateFlags>;\r
-\r
- enum class ShaderModuleCreateFlagBits\r
- {\r
- };\r
-\r
- using ShaderModuleCreateFlags = Flags<ShaderModuleCreateFlagBits, VkShaderModuleCreateFlags>;\r
-\r
- enum class EventCreateFlagBits\r
- {\r
- };\r
-\r
- using EventCreateFlags = Flags<EventCreateFlagBits, VkEventCreateFlags>;\r
-\r
- enum class MemoryMapFlagBits\r
- {\r
- };\r
-\r
- using MemoryMapFlags = Flags<MemoryMapFlagBits, VkMemoryMapFlags>;\r
-\r
- enum class DescriptorPoolResetFlagBits\r
- {\r
- };\r
-\r
- using DescriptorPoolResetFlags = Flags<DescriptorPoolResetFlagBits, VkDescriptorPoolResetFlags>;\r
-\r
- enum class DescriptorUpdateTemplateCreateFlagBits\r
- {\r
- };\r
-\r
- using DescriptorUpdateTemplateCreateFlags = Flags<DescriptorUpdateTemplateCreateFlagBits, VkDescriptorUpdateTemplateCreateFlags>;\r
-\r
- using DescriptorUpdateTemplateCreateFlagsKHR = DescriptorUpdateTemplateCreateFlags;\r
-\r
- enum class DisplayModeCreateFlagBitsKHR\r
- {\r
- };\r
-\r
- using DisplayModeCreateFlagsKHR = Flags<DisplayModeCreateFlagBitsKHR, VkDisplayModeCreateFlagsKHR>;\r
-\r
- enum class DisplaySurfaceCreateFlagBitsKHR\r
- {\r
- };\r
-\r
- using DisplaySurfaceCreateFlagsKHR = Flags<DisplaySurfaceCreateFlagBitsKHR, VkDisplaySurfaceCreateFlagsKHR>;\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- enum class AndroidSurfaceCreateFlagBitsKHR\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- using AndroidSurfaceCreateFlagsKHR = Flags<AndroidSurfaceCreateFlagBitsKHR, VkAndroidSurfaceCreateFlagsKHR>;\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- enum class MirSurfaceCreateFlagBitsKHR\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- using MirSurfaceCreateFlagsKHR = Flags<MirSurfaceCreateFlagBitsKHR, VkMirSurfaceCreateFlagsKHR>;\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- enum class ViSurfaceCreateFlagBitsNN\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- using ViSurfaceCreateFlagsNN = Flags<ViSurfaceCreateFlagBitsNN, VkViSurfaceCreateFlagsNN>;\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- enum class WaylandSurfaceCreateFlagBitsKHR\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- using WaylandSurfaceCreateFlagsKHR = Flags<WaylandSurfaceCreateFlagBitsKHR, VkWaylandSurfaceCreateFlagsKHR>;\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- enum class Win32SurfaceCreateFlagBitsKHR\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- using Win32SurfaceCreateFlagsKHR = Flags<Win32SurfaceCreateFlagBitsKHR, VkWin32SurfaceCreateFlagsKHR>;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- enum class XlibSurfaceCreateFlagBitsKHR\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- using XlibSurfaceCreateFlagsKHR = Flags<XlibSurfaceCreateFlagBitsKHR, VkXlibSurfaceCreateFlagsKHR>;\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- enum class XcbSurfaceCreateFlagBitsKHR\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- using XcbSurfaceCreateFlagsKHR = Flags<XcbSurfaceCreateFlagBitsKHR, VkXcbSurfaceCreateFlagsKHR>;\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- enum class IOSSurfaceCreateFlagBitsMVK\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- using IOSSurfaceCreateFlagsMVK = Flags<IOSSurfaceCreateFlagBitsMVK, VkIOSSurfaceCreateFlagsMVK>;\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- enum class MacOSSurfaceCreateFlagBitsMVK\r
- {\r
- };\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- using MacOSSurfaceCreateFlagsMVK = Flags<MacOSSurfaceCreateFlagBitsMVK, VkMacOSSurfaceCreateFlagsMVK>;\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-\r
- enum class CommandPoolTrimFlagBits\r
- {\r
- };\r
-\r
- using CommandPoolTrimFlags = Flags<CommandPoolTrimFlagBits, VkCommandPoolTrimFlags>;\r
-\r
- using CommandPoolTrimFlagsKHR = CommandPoolTrimFlags;\r
-\r
- enum class PipelineViewportSwizzleStateCreateFlagBitsNV\r
- {\r
- };\r
-\r
- using PipelineViewportSwizzleStateCreateFlagsNV = Flags<PipelineViewportSwizzleStateCreateFlagBitsNV, VkPipelineViewportSwizzleStateCreateFlagsNV>;\r
-\r
- enum class PipelineDiscardRectangleStateCreateFlagBitsEXT\r
- {\r
- };\r
-\r
- using PipelineDiscardRectangleStateCreateFlagsEXT = Flags<PipelineDiscardRectangleStateCreateFlagBitsEXT, VkPipelineDiscardRectangleStateCreateFlagsEXT>;\r
-\r
- enum class PipelineCoverageToColorStateCreateFlagBitsNV\r
- {\r
- };\r
-\r
- using PipelineCoverageToColorStateCreateFlagsNV = Flags<PipelineCoverageToColorStateCreateFlagBitsNV, VkPipelineCoverageToColorStateCreateFlagsNV>;\r
-\r
- enum class PipelineCoverageModulationStateCreateFlagBitsNV\r
- {\r
- };\r
-\r
- using PipelineCoverageModulationStateCreateFlagsNV = Flags<PipelineCoverageModulationStateCreateFlagBitsNV, VkPipelineCoverageModulationStateCreateFlagsNV>;\r
-\r
- enum class ValidationCacheCreateFlagBitsEXT\r
- {\r
- };\r
-\r
- using ValidationCacheCreateFlagsEXT = Flags<ValidationCacheCreateFlagBitsEXT, VkValidationCacheCreateFlagsEXT>;\r
-\r
- enum class DebugUtilsMessengerCreateFlagBitsEXT\r
- {\r
- };\r
-\r
- using DebugUtilsMessengerCreateFlagsEXT = Flags<DebugUtilsMessengerCreateFlagBitsEXT, VkDebugUtilsMessengerCreateFlagsEXT>;\r
-\r
- enum class DebugUtilsMessengerCallbackDataFlagBitsEXT\r
- {\r
- };\r
-\r
- using DebugUtilsMessengerCallbackDataFlagsEXT = Flags<DebugUtilsMessengerCallbackDataFlagBitsEXT, VkDebugUtilsMessengerCallbackDataFlagsEXT>;\r
-\r
- enum class PipelineRasterizationConservativeStateCreateFlagBitsEXT\r
- {\r
- };\r
-\r
- using PipelineRasterizationConservativeStateCreateFlagsEXT = Flags<PipelineRasterizationConservativeStateCreateFlagBitsEXT, VkPipelineRasterizationConservativeStateCreateFlagsEXT>;\r
-\r
- class DeviceMemory\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DeviceMemory()\r
- : m_deviceMemory(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DeviceMemory( std::nullptr_t )\r
- : m_deviceMemory(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory )\r
- : m_deviceMemory( deviceMemory )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DeviceMemory & operator=(VkDeviceMemory deviceMemory)\r
- {\r
- m_deviceMemory = deviceMemory;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DeviceMemory & operator=( std::nullptr_t )\r
- {\r
- m_deviceMemory = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DeviceMemory const & rhs ) const\r
- {\r
- return m_deviceMemory == rhs.m_deviceMemory;\r
- }\r
-\r
- bool operator!=(DeviceMemory const & rhs ) const\r
- {\r
- return m_deviceMemory != rhs.m_deviceMemory;\r
- }\r
-\r
- bool operator<(DeviceMemory const & rhs ) const\r
- {\r
- return m_deviceMemory < rhs.m_deviceMemory;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDeviceMemory() const\r
- {\r
- return m_deviceMemory;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_deviceMemory != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_deviceMemory == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDeviceMemory m_deviceMemory;\r
- };\r
-\r
- static_assert( sizeof( DeviceMemory ) == sizeof( VkDeviceMemory ), "handle and wrapper have different size!" );\r
-\r
- class CommandPool\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR CommandPool()\r
- : m_commandPool(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR CommandPool( std::nullptr_t )\r
- : m_commandPool(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT CommandPool( VkCommandPool commandPool )\r
- : m_commandPool( commandPool )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- CommandPool & operator=(VkCommandPool commandPool)\r
- {\r
- m_commandPool = commandPool;\r
- return *this; \r
- }\r
-#endif\r
-\r
- CommandPool & operator=( std::nullptr_t )\r
- {\r
- m_commandPool = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( CommandPool const & rhs ) const\r
- {\r
- return m_commandPool == rhs.m_commandPool;\r
- }\r
-\r
- bool operator!=(CommandPool const & rhs ) const\r
- {\r
- return m_commandPool != rhs.m_commandPool;\r
- }\r
-\r
- bool operator<(CommandPool const & rhs ) const\r
- {\r
- return m_commandPool < rhs.m_commandPool;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandPool() const\r
- {\r
- return m_commandPool;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_commandPool != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_commandPool == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkCommandPool m_commandPool;\r
- };\r
-\r
- static_assert( sizeof( CommandPool ) == sizeof( VkCommandPool ), "handle and wrapper have different size!" );\r
-\r
- class Buffer\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Buffer()\r
- : m_buffer(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Buffer( std::nullptr_t )\r
- : m_buffer(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Buffer( VkBuffer buffer )\r
- : m_buffer( buffer )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Buffer & operator=(VkBuffer buffer)\r
- {\r
- m_buffer = buffer;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Buffer & operator=( std::nullptr_t )\r
- {\r
- m_buffer = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Buffer const & rhs ) const\r
- {\r
- return m_buffer == rhs.m_buffer;\r
- }\r
-\r
- bool operator!=(Buffer const & rhs ) const\r
- {\r
- return m_buffer != rhs.m_buffer;\r
- }\r
-\r
- bool operator<(Buffer const & rhs ) const\r
- {\r
- return m_buffer < rhs.m_buffer;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBuffer() const\r
- {\r
- return m_buffer;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_buffer != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_buffer == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkBuffer m_buffer;\r
- };\r
-\r
- static_assert( sizeof( Buffer ) == sizeof( VkBuffer ), "handle and wrapper have different size!" );\r
-\r
- class BufferView\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR BufferView()\r
- : m_bufferView(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR BufferView( std::nullptr_t )\r
- : m_bufferView(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT BufferView( VkBufferView bufferView )\r
- : m_bufferView( bufferView )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- BufferView & operator=(VkBufferView bufferView)\r
- {\r
- m_bufferView = bufferView;\r
- return *this; \r
- }\r
-#endif\r
-\r
- BufferView & operator=( std::nullptr_t )\r
- {\r
- m_bufferView = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( BufferView const & rhs ) const\r
- {\r
- return m_bufferView == rhs.m_bufferView;\r
- }\r
-\r
- bool operator!=(BufferView const & rhs ) const\r
- {\r
- return m_bufferView != rhs.m_bufferView;\r
- }\r
-\r
- bool operator<(BufferView const & rhs ) const\r
- {\r
- return m_bufferView < rhs.m_bufferView;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBufferView() const\r
- {\r
- return m_bufferView;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_bufferView != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_bufferView == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkBufferView m_bufferView;\r
- };\r
-\r
- static_assert( sizeof( BufferView ) == sizeof( VkBufferView ), "handle and wrapper have different size!" );\r
-\r
- class Image\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Image()\r
- : m_image(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Image( std::nullptr_t )\r
- : m_image(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Image( VkImage image )\r
- : m_image( image )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Image & operator=(VkImage image)\r
- {\r
- m_image = image;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Image & operator=( std::nullptr_t )\r
- {\r
- m_image = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Image const & rhs ) const\r
- {\r
- return m_image == rhs.m_image;\r
- }\r
-\r
- bool operator!=(Image const & rhs ) const\r
- {\r
- return m_image != rhs.m_image;\r
- }\r
-\r
- bool operator<(Image const & rhs ) const\r
- {\r
- return m_image < rhs.m_image;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImage() const\r
- {\r
- return m_image;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_image != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_image == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkImage m_image;\r
- };\r
-\r
- static_assert( sizeof( Image ) == sizeof( VkImage ), "handle and wrapper have different size!" );\r
-\r
- class ImageView\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR ImageView()\r
- : m_imageView(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR ImageView( std::nullptr_t )\r
- : m_imageView(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT ImageView( VkImageView imageView )\r
- : m_imageView( imageView )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- ImageView & operator=(VkImageView imageView)\r
- {\r
- m_imageView = imageView;\r
- return *this; \r
- }\r
-#endif\r
-\r
- ImageView & operator=( std::nullptr_t )\r
- {\r
- m_imageView = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( ImageView const & rhs ) const\r
- {\r
- return m_imageView == rhs.m_imageView;\r
- }\r
-\r
- bool operator!=(ImageView const & rhs ) const\r
- {\r
- return m_imageView != rhs.m_imageView;\r
- }\r
-\r
- bool operator<(ImageView const & rhs ) const\r
- {\r
- return m_imageView < rhs.m_imageView;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImageView() const\r
- {\r
- return m_imageView;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_imageView != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_imageView == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkImageView m_imageView;\r
- };\r
-\r
- static_assert( sizeof( ImageView ) == sizeof( VkImageView ), "handle and wrapper have different size!" );\r
-\r
- class ShaderModule\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR ShaderModule()\r
- : m_shaderModule(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR ShaderModule( std::nullptr_t )\r
- : m_shaderModule(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT ShaderModule( VkShaderModule shaderModule )\r
- : m_shaderModule( shaderModule )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- ShaderModule & operator=(VkShaderModule shaderModule)\r
- {\r
- m_shaderModule = shaderModule;\r
- return *this; \r
- }\r
-#endif\r
-\r
- ShaderModule & operator=( std::nullptr_t )\r
- {\r
- m_shaderModule = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( ShaderModule const & rhs ) const\r
- {\r
- return m_shaderModule == rhs.m_shaderModule;\r
- }\r
-\r
- bool operator!=(ShaderModule const & rhs ) const\r
- {\r
- return m_shaderModule != rhs.m_shaderModule;\r
- }\r
-\r
- bool operator<(ShaderModule const & rhs ) const\r
- {\r
- return m_shaderModule < rhs.m_shaderModule;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkShaderModule() const\r
- {\r
- return m_shaderModule;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_shaderModule != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_shaderModule == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkShaderModule m_shaderModule;\r
- };\r
-\r
- static_assert( sizeof( ShaderModule ) == sizeof( VkShaderModule ), "handle and wrapper have different size!" );\r
-\r
- class Pipeline\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Pipeline()\r
- : m_pipeline(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Pipeline( std::nullptr_t )\r
- : m_pipeline(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Pipeline( VkPipeline pipeline )\r
- : m_pipeline( pipeline )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Pipeline & operator=(VkPipeline pipeline)\r
- {\r
- m_pipeline = pipeline;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Pipeline & operator=( std::nullptr_t )\r
- {\r
- m_pipeline = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Pipeline const & rhs ) const\r
- {\r
- return m_pipeline == rhs.m_pipeline;\r
- }\r
-\r
- bool operator!=(Pipeline const & rhs ) const\r
- {\r
- return m_pipeline != rhs.m_pipeline;\r
- }\r
-\r
- bool operator<(Pipeline const & rhs ) const\r
- {\r
- return m_pipeline < rhs.m_pipeline;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipeline() const\r
- {\r
- return m_pipeline;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_pipeline != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_pipeline == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkPipeline m_pipeline;\r
- };\r
-\r
- static_assert( sizeof( Pipeline ) == sizeof( VkPipeline ), "handle and wrapper have different size!" );\r
-\r
- class PipelineLayout\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR PipelineLayout()\r
- : m_pipelineLayout(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR PipelineLayout( std::nullptr_t )\r
- : m_pipelineLayout(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT PipelineLayout( VkPipelineLayout pipelineLayout )\r
- : m_pipelineLayout( pipelineLayout )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- PipelineLayout & operator=(VkPipelineLayout pipelineLayout)\r
- {\r
- m_pipelineLayout = pipelineLayout;\r
- return *this; \r
- }\r
-#endif\r
-\r
- PipelineLayout & operator=( std::nullptr_t )\r
- {\r
- m_pipelineLayout = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( PipelineLayout const & rhs ) const\r
- {\r
- return m_pipelineLayout == rhs.m_pipelineLayout;\r
- }\r
-\r
- bool operator!=(PipelineLayout const & rhs ) const\r
- {\r
- return m_pipelineLayout != rhs.m_pipelineLayout;\r
- }\r
-\r
- bool operator<(PipelineLayout const & rhs ) const\r
- {\r
- return m_pipelineLayout < rhs.m_pipelineLayout;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineLayout() const\r
- {\r
- return m_pipelineLayout;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_pipelineLayout != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_pipelineLayout == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkPipelineLayout m_pipelineLayout;\r
- };\r
-\r
- static_assert( sizeof( PipelineLayout ) == sizeof( VkPipelineLayout ), "handle and wrapper have different size!" );\r
-\r
- class Sampler\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Sampler()\r
- : m_sampler(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Sampler( std::nullptr_t )\r
- : m_sampler(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Sampler( VkSampler sampler )\r
- : m_sampler( sampler )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Sampler & operator=(VkSampler sampler)\r
- {\r
- m_sampler = sampler;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Sampler & operator=( std::nullptr_t )\r
- {\r
- m_sampler = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Sampler const & rhs ) const\r
- {\r
- return m_sampler == rhs.m_sampler;\r
- }\r
-\r
- bool operator!=(Sampler const & rhs ) const\r
- {\r
- return m_sampler != rhs.m_sampler;\r
- }\r
-\r
- bool operator<(Sampler const & rhs ) const\r
- {\r
- return m_sampler < rhs.m_sampler;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSampler() const\r
- {\r
- return m_sampler;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_sampler != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_sampler == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkSampler m_sampler;\r
- };\r
-\r
- static_assert( sizeof( Sampler ) == sizeof( VkSampler ), "handle and wrapper have different size!" );\r
-\r
- class DescriptorSet\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DescriptorSet()\r
- : m_descriptorSet(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DescriptorSet( std::nullptr_t )\r
- : m_descriptorSet(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSet( VkDescriptorSet descriptorSet )\r
- : m_descriptorSet( descriptorSet )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DescriptorSet & operator=(VkDescriptorSet descriptorSet)\r
- {\r
- m_descriptorSet = descriptorSet;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DescriptorSet & operator=( std::nullptr_t )\r
- {\r
- m_descriptorSet = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DescriptorSet const & rhs ) const\r
- {\r
- return m_descriptorSet == rhs.m_descriptorSet;\r
- }\r
-\r
- bool operator!=(DescriptorSet const & rhs ) const\r
- {\r
- return m_descriptorSet != rhs.m_descriptorSet;\r
- }\r
-\r
- bool operator<(DescriptorSet const & rhs ) const\r
- {\r
- return m_descriptorSet < rhs.m_descriptorSet;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSet() const\r
- {\r
- return m_descriptorSet;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_descriptorSet != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_descriptorSet == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDescriptorSet m_descriptorSet;\r
- };\r
-\r
- static_assert( sizeof( DescriptorSet ) == sizeof( VkDescriptorSet ), "handle and wrapper have different size!" );\r
-\r
- class DescriptorSetLayout\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DescriptorSetLayout()\r
- : m_descriptorSetLayout(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DescriptorSetLayout( std::nullptr_t )\r
- : m_descriptorSetLayout(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSetLayout( VkDescriptorSetLayout descriptorSetLayout )\r
- : m_descriptorSetLayout( descriptorSetLayout )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DescriptorSetLayout & operator=(VkDescriptorSetLayout descriptorSetLayout)\r
- {\r
- m_descriptorSetLayout = descriptorSetLayout;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DescriptorSetLayout & operator=( std::nullptr_t )\r
- {\r
- m_descriptorSetLayout = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DescriptorSetLayout const & rhs ) const\r
- {\r
- return m_descriptorSetLayout == rhs.m_descriptorSetLayout;\r
- }\r
-\r
- bool operator!=(DescriptorSetLayout const & rhs ) const\r
- {\r
- return m_descriptorSetLayout != rhs.m_descriptorSetLayout;\r
- }\r
-\r
- bool operator<(DescriptorSetLayout const & rhs ) const\r
- {\r
- return m_descriptorSetLayout < rhs.m_descriptorSetLayout;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSetLayout() const\r
- {\r
- return m_descriptorSetLayout;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_descriptorSetLayout != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_descriptorSetLayout == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDescriptorSetLayout m_descriptorSetLayout;\r
- };\r
-\r
- static_assert( sizeof( DescriptorSetLayout ) == sizeof( VkDescriptorSetLayout ), "handle and wrapper have different size!" );\r
-\r
- class DescriptorPool\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DescriptorPool()\r
- : m_descriptorPool(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DescriptorPool( std::nullptr_t )\r
- : m_descriptorPool(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorPool( VkDescriptorPool descriptorPool )\r
- : m_descriptorPool( descriptorPool )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DescriptorPool & operator=(VkDescriptorPool descriptorPool)\r
- {\r
- m_descriptorPool = descriptorPool;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DescriptorPool & operator=( std::nullptr_t )\r
- {\r
- m_descriptorPool = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DescriptorPool const & rhs ) const\r
- {\r
- return m_descriptorPool == rhs.m_descriptorPool;\r
- }\r
-\r
- bool operator!=(DescriptorPool const & rhs ) const\r
- {\r
- return m_descriptorPool != rhs.m_descriptorPool;\r
- }\r
-\r
- bool operator<(DescriptorPool const & rhs ) const\r
- {\r
- return m_descriptorPool < rhs.m_descriptorPool;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorPool() const\r
- {\r
- return m_descriptorPool;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_descriptorPool != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_descriptorPool == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDescriptorPool m_descriptorPool;\r
- };\r
-\r
- static_assert( sizeof( DescriptorPool ) == sizeof( VkDescriptorPool ), "handle and wrapper have different size!" );\r
-\r
- class Fence\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Fence()\r
- : m_fence(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Fence( std::nullptr_t )\r
- : m_fence(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Fence( VkFence fence )\r
- : m_fence( fence )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Fence & operator=(VkFence fence)\r
- {\r
- m_fence = fence;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Fence & operator=( std::nullptr_t )\r
- {\r
- m_fence = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Fence const & rhs ) const\r
- {\r
- return m_fence == rhs.m_fence;\r
- }\r
-\r
- bool operator!=(Fence const & rhs ) const\r
- {\r
- return m_fence != rhs.m_fence;\r
- }\r
-\r
- bool operator<(Fence const & rhs ) const\r
- {\r
- return m_fence < rhs.m_fence;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFence() const\r
- {\r
- return m_fence;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_fence != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_fence == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkFence m_fence;\r
- };\r
-\r
- static_assert( sizeof( Fence ) == sizeof( VkFence ), "handle and wrapper have different size!" );\r
-\r
- class Semaphore\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Semaphore()\r
- : m_semaphore(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Semaphore( std::nullptr_t )\r
- : m_semaphore(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Semaphore( VkSemaphore semaphore )\r
- : m_semaphore( semaphore )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Semaphore & operator=(VkSemaphore semaphore)\r
- {\r
- m_semaphore = semaphore;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Semaphore & operator=( std::nullptr_t )\r
- {\r
- m_semaphore = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Semaphore const & rhs ) const\r
- {\r
- return m_semaphore == rhs.m_semaphore;\r
- }\r
-\r
- bool operator!=(Semaphore const & rhs ) const\r
- {\r
- return m_semaphore != rhs.m_semaphore;\r
- }\r
-\r
- bool operator<(Semaphore const & rhs ) const\r
- {\r
- return m_semaphore < rhs.m_semaphore;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSemaphore() const\r
- {\r
- return m_semaphore;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_semaphore != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_semaphore == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkSemaphore m_semaphore;\r
- };\r
-\r
- static_assert( sizeof( Semaphore ) == sizeof( VkSemaphore ), "handle and wrapper have different size!" );\r
-\r
- class Event\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Event()\r
- : m_event(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Event( std::nullptr_t )\r
- : m_event(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Event( VkEvent event )\r
- : m_event( event )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Event & operator=(VkEvent event)\r
- {\r
- m_event = event;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Event & operator=( std::nullptr_t )\r
- {\r
- m_event = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Event const & rhs ) const\r
- {\r
- return m_event == rhs.m_event;\r
- }\r
-\r
- bool operator!=(Event const & rhs ) const\r
- {\r
- return m_event != rhs.m_event;\r
- }\r
-\r
- bool operator<(Event const & rhs ) const\r
- {\r
- return m_event < rhs.m_event;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkEvent() const\r
- {\r
- return m_event;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_event != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_event == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkEvent m_event;\r
- };\r
-\r
- static_assert( sizeof( Event ) == sizeof( VkEvent ), "handle and wrapper have different size!" );\r
-\r
- class QueryPool\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR QueryPool()\r
- : m_queryPool(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR QueryPool( std::nullptr_t )\r
- : m_queryPool(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT QueryPool( VkQueryPool queryPool )\r
- : m_queryPool( queryPool )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- QueryPool & operator=(VkQueryPool queryPool)\r
- {\r
- m_queryPool = queryPool;\r
- return *this; \r
- }\r
-#endif\r
-\r
- QueryPool & operator=( std::nullptr_t )\r
- {\r
- m_queryPool = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( QueryPool const & rhs ) const\r
- {\r
- return m_queryPool == rhs.m_queryPool;\r
- }\r
-\r
- bool operator!=(QueryPool const & rhs ) const\r
- {\r
- return m_queryPool != rhs.m_queryPool;\r
- }\r
-\r
- bool operator<(QueryPool const & rhs ) const\r
- {\r
- return m_queryPool < rhs.m_queryPool;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueryPool() const\r
- {\r
- return m_queryPool;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_queryPool != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_queryPool == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkQueryPool m_queryPool;\r
- };\r
-\r
- static_assert( sizeof( QueryPool ) == sizeof( VkQueryPool ), "handle and wrapper have different size!" );\r
-\r
- class Framebuffer\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Framebuffer()\r
- : m_framebuffer(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Framebuffer( std::nullptr_t )\r
- : m_framebuffer(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Framebuffer( VkFramebuffer framebuffer )\r
- : m_framebuffer( framebuffer )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Framebuffer & operator=(VkFramebuffer framebuffer)\r
- {\r
- m_framebuffer = framebuffer;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Framebuffer & operator=( std::nullptr_t )\r
- {\r
- m_framebuffer = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Framebuffer const & rhs ) const\r
- {\r
- return m_framebuffer == rhs.m_framebuffer;\r
- }\r
-\r
- bool operator!=(Framebuffer const & rhs ) const\r
- {\r
- return m_framebuffer != rhs.m_framebuffer;\r
- }\r
-\r
- bool operator<(Framebuffer const & rhs ) const\r
- {\r
- return m_framebuffer < rhs.m_framebuffer;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFramebuffer() const\r
- {\r
- return m_framebuffer;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_framebuffer != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_framebuffer == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkFramebuffer m_framebuffer;\r
- };\r
-\r
- static_assert( sizeof( Framebuffer ) == sizeof( VkFramebuffer ), "handle and wrapper have different size!" );\r
-\r
- class RenderPass\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR RenderPass()\r
- : m_renderPass(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR RenderPass( std::nullptr_t )\r
- : m_renderPass(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT RenderPass( VkRenderPass renderPass )\r
- : m_renderPass( renderPass )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- RenderPass & operator=(VkRenderPass renderPass)\r
- {\r
- m_renderPass = renderPass;\r
- return *this; \r
- }\r
-#endif\r
-\r
- RenderPass & operator=( std::nullptr_t )\r
- {\r
- m_renderPass = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( RenderPass const & rhs ) const\r
- {\r
- return m_renderPass == rhs.m_renderPass;\r
- }\r
-\r
- bool operator!=(RenderPass const & rhs ) const\r
- {\r
- return m_renderPass != rhs.m_renderPass;\r
- }\r
-\r
- bool operator<(RenderPass const & rhs ) const\r
- {\r
- return m_renderPass < rhs.m_renderPass;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkRenderPass() const\r
- {\r
- return m_renderPass;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_renderPass != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_renderPass == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkRenderPass m_renderPass;\r
- };\r
-\r
- static_assert( sizeof( RenderPass ) == sizeof( VkRenderPass ), "handle and wrapper have different size!" );\r
-\r
- class PipelineCache\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR PipelineCache()\r
- : m_pipelineCache(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR PipelineCache( std::nullptr_t )\r
- : m_pipelineCache(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT PipelineCache( VkPipelineCache pipelineCache )\r
- : m_pipelineCache( pipelineCache )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- PipelineCache & operator=(VkPipelineCache pipelineCache)\r
- {\r
- m_pipelineCache = pipelineCache;\r
- return *this; \r
- }\r
-#endif\r
-\r
- PipelineCache & operator=( std::nullptr_t )\r
- {\r
- m_pipelineCache = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( PipelineCache const & rhs ) const\r
- {\r
- return m_pipelineCache == rhs.m_pipelineCache;\r
- }\r
-\r
- bool operator!=(PipelineCache const & rhs ) const\r
- {\r
- return m_pipelineCache != rhs.m_pipelineCache;\r
- }\r
-\r
- bool operator<(PipelineCache const & rhs ) const\r
- {\r
- return m_pipelineCache < rhs.m_pipelineCache;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineCache() const\r
- {\r
- return m_pipelineCache;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_pipelineCache != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_pipelineCache == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkPipelineCache m_pipelineCache;\r
- };\r
-\r
- static_assert( sizeof( PipelineCache ) == sizeof( VkPipelineCache ), "handle and wrapper have different size!" );\r
-\r
- class ObjectTableNVX\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR ObjectTableNVX()\r
- : m_objectTableNVX(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR ObjectTableNVX( std::nullptr_t )\r
- : m_objectTableNVX(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT ObjectTableNVX( VkObjectTableNVX objectTableNVX )\r
- : m_objectTableNVX( objectTableNVX )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- ObjectTableNVX & operator=(VkObjectTableNVX objectTableNVX)\r
- {\r
- m_objectTableNVX = objectTableNVX;\r
- return *this; \r
- }\r
-#endif\r
-\r
- ObjectTableNVX & operator=( std::nullptr_t )\r
- {\r
- m_objectTableNVX = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( ObjectTableNVX const & rhs ) const\r
- {\r
- return m_objectTableNVX == rhs.m_objectTableNVX;\r
- }\r
-\r
- bool operator!=(ObjectTableNVX const & rhs ) const\r
- {\r
- return m_objectTableNVX != rhs.m_objectTableNVX;\r
- }\r
-\r
- bool operator<(ObjectTableNVX const & rhs ) const\r
- {\r
- return m_objectTableNVX < rhs.m_objectTableNVX;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkObjectTableNVX() const\r
- {\r
- return m_objectTableNVX;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_objectTableNVX != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_objectTableNVX == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkObjectTableNVX m_objectTableNVX;\r
- };\r
-\r
- static_assert( sizeof( ObjectTableNVX ) == sizeof( VkObjectTableNVX ), "handle and wrapper have different size!" );\r
-\r
- class IndirectCommandsLayoutNVX\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNVX()\r
- : m_indirectCommandsLayoutNVX(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNVX( std::nullptr_t )\r
- : m_indirectCommandsLayoutNVX(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT IndirectCommandsLayoutNVX( VkIndirectCommandsLayoutNVX indirectCommandsLayoutNVX )\r
- : m_indirectCommandsLayoutNVX( indirectCommandsLayoutNVX )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- IndirectCommandsLayoutNVX & operator=(VkIndirectCommandsLayoutNVX indirectCommandsLayoutNVX)\r
- {\r
- m_indirectCommandsLayoutNVX = indirectCommandsLayoutNVX;\r
- return *this; \r
- }\r
-#endif\r
-\r
- IndirectCommandsLayoutNVX & operator=( std::nullptr_t )\r
- {\r
- m_indirectCommandsLayoutNVX = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( IndirectCommandsLayoutNVX const & rhs ) const\r
- {\r
- return m_indirectCommandsLayoutNVX == rhs.m_indirectCommandsLayoutNVX;\r
- }\r
-\r
- bool operator!=(IndirectCommandsLayoutNVX const & rhs ) const\r
- {\r
- return m_indirectCommandsLayoutNVX != rhs.m_indirectCommandsLayoutNVX;\r
- }\r
-\r
- bool operator<(IndirectCommandsLayoutNVX const & rhs ) const\r
- {\r
- return m_indirectCommandsLayoutNVX < rhs.m_indirectCommandsLayoutNVX;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkIndirectCommandsLayoutNVX() const\r
- {\r
- return m_indirectCommandsLayoutNVX;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_indirectCommandsLayoutNVX != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_indirectCommandsLayoutNVX == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkIndirectCommandsLayoutNVX m_indirectCommandsLayoutNVX;\r
- };\r
-\r
- static_assert( sizeof( IndirectCommandsLayoutNVX ) == sizeof( VkIndirectCommandsLayoutNVX ), "handle and wrapper have different size!" );\r
-\r
- class DescriptorUpdateTemplate\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate()\r
- : m_descriptorUpdateTemplate(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate( std::nullptr_t )\r
- : m_descriptorUpdateTemplate(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorUpdateTemplate( VkDescriptorUpdateTemplate descriptorUpdateTemplate )\r
- : m_descriptorUpdateTemplate( descriptorUpdateTemplate )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DescriptorUpdateTemplate & operator=(VkDescriptorUpdateTemplate descriptorUpdateTemplate)\r
- {\r
- m_descriptorUpdateTemplate = descriptorUpdateTemplate;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DescriptorUpdateTemplate & operator=( std::nullptr_t )\r
- {\r
- m_descriptorUpdateTemplate = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DescriptorUpdateTemplate const & rhs ) const\r
- {\r
- return m_descriptorUpdateTemplate == rhs.m_descriptorUpdateTemplate;\r
- }\r
-\r
- bool operator!=(DescriptorUpdateTemplate const & rhs ) const\r
- {\r
- return m_descriptorUpdateTemplate != rhs.m_descriptorUpdateTemplate;\r
- }\r
-\r
- bool operator<(DescriptorUpdateTemplate const & rhs ) const\r
- {\r
- return m_descriptorUpdateTemplate < rhs.m_descriptorUpdateTemplate;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorUpdateTemplate() const\r
- {\r
- return m_descriptorUpdateTemplate;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_descriptorUpdateTemplate != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_descriptorUpdateTemplate == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDescriptorUpdateTemplate m_descriptorUpdateTemplate;\r
- };\r
-\r
- static_assert( sizeof( DescriptorUpdateTemplate ) == sizeof( VkDescriptorUpdateTemplate ), "handle and wrapper have different size!" );\r
-\r
- using DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate;\r
-\r
- class SamplerYcbcrConversion\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion()\r
- : m_samplerYcbcrConversion(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion( std::nullptr_t )\r
- : m_samplerYcbcrConversion(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT SamplerYcbcrConversion( VkSamplerYcbcrConversion samplerYcbcrConversion )\r
- : m_samplerYcbcrConversion( samplerYcbcrConversion )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- SamplerYcbcrConversion & operator=(VkSamplerYcbcrConversion samplerYcbcrConversion)\r
- {\r
- m_samplerYcbcrConversion = samplerYcbcrConversion;\r
- return *this; \r
- }\r
-#endif\r
-\r
- SamplerYcbcrConversion & operator=( std::nullptr_t )\r
- {\r
- m_samplerYcbcrConversion = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( SamplerYcbcrConversion const & rhs ) const\r
- {\r
- return m_samplerYcbcrConversion == rhs.m_samplerYcbcrConversion;\r
- }\r
-\r
- bool operator!=(SamplerYcbcrConversion const & rhs ) const\r
- {\r
- return m_samplerYcbcrConversion != rhs.m_samplerYcbcrConversion;\r
- }\r
-\r
- bool operator<(SamplerYcbcrConversion const & rhs ) const\r
- {\r
- return m_samplerYcbcrConversion < rhs.m_samplerYcbcrConversion;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSamplerYcbcrConversion() const\r
- {\r
- return m_samplerYcbcrConversion;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_samplerYcbcrConversion != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_samplerYcbcrConversion == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkSamplerYcbcrConversion m_samplerYcbcrConversion;\r
- };\r
-\r
- static_assert( sizeof( SamplerYcbcrConversion ) == sizeof( VkSamplerYcbcrConversion ), "handle and wrapper have different size!" );\r
-\r
- using SamplerYcbcrConversionKHR = SamplerYcbcrConversion;\r
-\r
- class ValidationCacheEXT\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR ValidationCacheEXT()\r
- : m_validationCacheEXT(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR ValidationCacheEXT( std::nullptr_t )\r
- : m_validationCacheEXT(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT ValidationCacheEXT( VkValidationCacheEXT validationCacheEXT )\r
- : m_validationCacheEXT( validationCacheEXT )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- ValidationCacheEXT & operator=(VkValidationCacheEXT validationCacheEXT)\r
- {\r
- m_validationCacheEXT = validationCacheEXT;\r
- return *this; \r
- }\r
-#endif\r
-\r
- ValidationCacheEXT & operator=( std::nullptr_t )\r
- {\r
- m_validationCacheEXT = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( ValidationCacheEXT const & rhs ) const\r
- {\r
- return m_validationCacheEXT == rhs.m_validationCacheEXT;\r
- }\r
-\r
- bool operator!=(ValidationCacheEXT const & rhs ) const\r
- {\r
- return m_validationCacheEXT != rhs.m_validationCacheEXT;\r
- }\r
-\r
- bool operator<(ValidationCacheEXT const & rhs ) const\r
- {\r
- return m_validationCacheEXT < rhs.m_validationCacheEXT;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkValidationCacheEXT() const\r
- {\r
- return m_validationCacheEXT;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_validationCacheEXT != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_validationCacheEXT == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkValidationCacheEXT m_validationCacheEXT;\r
- };\r
-\r
- static_assert( sizeof( ValidationCacheEXT ) == sizeof( VkValidationCacheEXT ), "handle and wrapper have different size!" );\r
-\r
- class DisplayKHR\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DisplayKHR()\r
- : m_displayKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DisplayKHR( std::nullptr_t )\r
- : m_displayKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DisplayKHR( VkDisplayKHR displayKHR )\r
- : m_displayKHR( displayKHR )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DisplayKHR & operator=(VkDisplayKHR displayKHR)\r
- {\r
- m_displayKHR = displayKHR;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DisplayKHR & operator=( std::nullptr_t )\r
- {\r
- m_displayKHR = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DisplayKHR const & rhs ) const\r
- {\r
- return m_displayKHR == rhs.m_displayKHR;\r
- }\r
-\r
- bool operator!=(DisplayKHR const & rhs ) const\r
- {\r
- return m_displayKHR != rhs.m_displayKHR;\r
- }\r
-\r
- bool operator<(DisplayKHR const & rhs ) const\r
- {\r
- return m_displayKHR < rhs.m_displayKHR;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayKHR() const\r
- {\r
- return m_displayKHR;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_displayKHR != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_displayKHR == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDisplayKHR m_displayKHR;\r
- };\r
-\r
- static_assert( sizeof( DisplayKHR ) == sizeof( VkDisplayKHR ), "handle and wrapper have different size!" );\r
-\r
- class DisplayModeKHR\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DisplayModeKHR()\r
- : m_displayModeKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DisplayModeKHR( std::nullptr_t )\r
- : m_displayModeKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DisplayModeKHR( VkDisplayModeKHR displayModeKHR )\r
- : m_displayModeKHR( displayModeKHR )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DisplayModeKHR & operator=(VkDisplayModeKHR displayModeKHR)\r
- {\r
- m_displayModeKHR = displayModeKHR;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DisplayModeKHR & operator=( std::nullptr_t )\r
- {\r
- m_displayModeKHR = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DisplayModeKHR const & rhs ) const\r
- {\r
- return m_displayModeKHR == rhs.m_displayModeKHR;\r
- }\r
-\r
- bool operator!=(DisplayModeKHR const & rhs ) const\r
- {\r
- return m_displayModeKHR != rhs.m_displayModeKHR;\r
- }\r
-\r
- bool operator<(DisplayModeKHR const & rhs ) const\r
- {\r
- return m_displayModeKHR < rhs.m_displayModeKHR;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayModeKHR() const\r
- {\r
- return m_displayModeKHR;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_displayModeKHR != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_displayModeKHR == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDisplayModeKHR m_displayModeKHR;\r
- };\r
-\r
- static_assert( sizeof( DisplayModeKHR ) == sizeof( VkDisplayModeKHR ), "handle and wrapper have different size!" );\r
-\r
- class SurfaceKHR\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR SurfaceKHR()\r
- : m_surfaceKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR SurfaceKHR( std::nullptr_t )\r
- : m_surfaceKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT SurfaceKHR( VkSurfaceKHR surfaceKHR )\r
- : m_surfaceKHR( surfaceKHR )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- SurfaceKHR & operator=(VkSurfaceKHR surfaceKHR)\r
- {\r
- m_surfaceKHR = surfaceKHR;\r
- return *this; \r
- }\r
-#endif\r
-\r
- SurfaceKHR & operator=( std::nullptr_t )\r
- {\r
- m_surfaceKHR = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( SurfaceKHR const & rhs ) const\r
- {\r
- return m_surfaceKHR == rhs.m_surfaceKHR;\r
- }\r
-\r
- bool operator!=(SurfaceKHR const & rhs ) const\r
- {\r
- return m_surfaceKHR != rhs.m_surfaceKHR;\r
- }\r
-\r
- bool operator<(SurfaceKHR const & rhs ) const\r
- {\r
- return m_surfaceKHR < rhs.m_surfaceKHR;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSurfaceKHR() const\r
- {\r
- return m_surfaceKHR;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_surfaceKHR != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_surfaceKHR == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkSurfaceKHR m_surfaceKHR;\r
- };\r
-\r
- static_assert( sizeof( SurfaceKHR ) == sizeof( VkSurfaceKHR ), "handle and wrapper have different size!" );\r
-\r
- class SwapchainKHR\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR SwapchainKHR()\r
- : m_swapchainKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR SwapchainKHR( std::nullptr_t )\r
- : m_swapchainKHR(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT SwapchainKHR( VkSwapchainKHR swapchainKHR )\r
- : m_swapchainKHR( swapchainKHR )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- SwapchainKHR & operator=(VkSwapchainKHR swapchainKHR)\r
- {\r
- m_swapchainKHR = swapchainKHR;\r
- return *this; \r
- }\r
-#endif\r
-\r
- SwapchainKHR & operator=( std::nullptr_t )\r
- {\r
- m_swapchainKHR = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( SwapchainKHR const & rhs ) const\r
- {\r
- return m_swapchainKHR == rhs.m_swapchainKHR;\r
- }\r
-\r
- bool operator!=(SwapchainKHR const & rhs ) const\r
- {\r
- return m_swapchainKHR != rhs.m_swapchainKHR;\r
- }\r
-\r
- bool operator<(SwapchainKHR const & rhs ) const\r
- {\r
- return m_swapchainKHR < rhs.m_swapchainKHR;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSwapchainKHR() const\r
- {\r
- return m_swapchainKHR;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_swapchainKHR != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_swapchainKHR == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkSwapchainKHR m_swapchainKHR;\r
- };\r
-\r
- static_assert( sizeof( SwapchainKHR ) == sizeof( VkSwapchainKHR ), "handle and wrapper have different size!" );\r
-\r
- class DebugReportCallbackEXT\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT()\r
- : m_debugReportCallbackEXT(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT( std::nullptr_t )\r
- : m_debugReportCallbackEXT(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DebugReportCallbackEXT( VkDebugReportCallbackEXT debugReportCallbackEXT )\r
- : m_debugReportCallbackEXT( debugReportCallbackEXT )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DebugReportCallbackEXT & operator=(VkDebugReportCallbackEXT debugReportCallbackEXT)\r
- {\r
- m_debugReportCallbackEXT = debugReportCallbackEXT;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DebugReportCallbackEXT & operator=( std::nullptr_t )\r
- {\r
- m_debugReportCallbackEXT = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DebugReportCallbackEXT const & rhs ) const\r
- {\r
- return m_debugReportCallbackEXT == rhs.m_debugReportCallbackEXT;\r
- }\r
-\r
- bool operator!=(DebugReportCallbackEXT const & rhs ) const\r
- {\r
- return m_debugReportCallbackEXT != rhs.m_debugReportCallbackEXT;\r
- }\r
-\r
- bool operator<(DebugReportCallbackEXT const & rhs ) const\r
- {\r
- return m_debugReportCallbackEXT < rhs.m_debugReportCallbackEXT;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugReportCallbackEXT() const\r
- {\r
- return m_debugReportCallbackEXT;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_debugReportCallbackEXT != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_debugReportCallbackEXT == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDebugReportCallbackEXT m_debugReportCallbackEXT;\r
- };\r
-\r
- static_assert( sizeof( DebugReportCallbackEXT ) == sizeof( VkDebugReportCallbackEXT ), "handle and wrapper have different size!" );\r
-\r
- class DebugUtilsMessengerEXT\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT()\r
- : m_debugUtilsMessengerEXT(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT( std::nullptr_t )\r
- : m_debugUtilsMessengerEXT(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT DebugUtilsMessengerEXT( VkDebugUtilsMessengerEXT debugUtilsMessengerEXT )\r
- : m_debugUtilsMessengerEXT( debugUtilsMessengerEXT )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- DebugUtilsMessengerEXT & operator=(VkDebugUtilsMessengerEXT debugUtilsMessengerEXT)\r
- {\r
- m_debugUtilsMessengerEXT = debugUtilsMessengerEXT;\r
- return *this; \r
- }\r
-#endif\r
-\r
- DebugUtilsMessengerEXT & operator=( std::nullptr_t )\r
- {\r
- m_debugUtilsMessengerEXT = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( DebugUtilsMessengerEXT const & rhs ) const\r
- {\r
- return m_debugUtilsMessengerEXT == rhs.m_debugUtilsMessengerEXT;\r
- }\r
-\r
- bool operator!=(DebugUtilsMessengerEXT const & rhs ) const\r
- {\r
- return m_debugUtilsMessengerEXT != rhs.m_debugUtilsMessengerEXT;\r
- }\r
-\r
- bool operator<(DebugUtilsMessengerEXT const & rhs ) const\r
- {\r
- return m_debugUtilsMessengerEXT < rhs.m_debugUtilsMessengerEXT;\r
- }\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugUtilsMessengerEXT() const\r
- {\r
- return m_debugUtilsMessengerEXT;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_debugUtilsMessengerEXT != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_debugUtilsMessengerEXT == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDebugUtilsMessengerEXT m_debugUtilsMessengerEXT;\r
- };\r
-\r
- static_assert( sizeof( DebugUtilsMessengerEXT ) == sizeof( VkDebugUtilsMessengerEXT ), "handle and wrapper have different size!" );\r
-\r
- struct Offset2D\r
- {\r
- Offset2D( int32_t x_ = 0, int32_t y_ = 0 )\r
- : x( x_ )\r
- , y( y_ )\r
- {\r
- }\r
-\r
- Offset2D( VkOffset2D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Offset2D ) );\r
- }\r
-\r
- Offset2D& operator=( VkOffset2D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Offset2D ) );\r
- return *this;\r
- }\r
- Offset2D& setX( int32_t x_ )\r
- {\r
- x = x_;\r
- return *this;\r
- }\r
-\r
- Offset2D& setY( int32_t y_ )\r
- {\r
- y = y_;\r
- return *this;\r
- }\r
-\r
- operator const VkOffset2D&() const\r
- {\r
- return *reinterpret_cast<const VkOffset2D*>(this);\r
- }\r
-\r
- bool operator==( Offset2D const& rhs ) const\r
- {\r
- return ( x == rhs.x )\r
- && ( y == rhs.y );\r
- }\r
-\r
- bool operator!=( Offset2D const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- int32_t x;\r
- int32_t y;\r
- };\r
- static_assert( sizeof( Offset2D ) == sizeof( VkOffset2D ), "struct and wrapper have different size!" );\r
-\r
- struct Offset3D\r
- {\r
- Offset3D( int32_t x_ = 0, int32_t y_ = 0, int32_t z_ = 0 )\r
- : x( x_ )\r
- , y( y_ )\r
- , z( z_ )\r
- {\r
- }\r
-\r
- Offset3D( VkOffset3D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Offset3D ) );\r
- }\r
-\r
- Offset3D& operator=( VkOffset3D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Offset3D ) );\r
- return *this;\r
- }\r
- Offset3D& setX( int32_t x_ )\r
- {\r
- x = x_;\r
- return *this;\r
- }\r
-\r
- Offset3D& setY( int32_t y_ )\r
- {\r
- y = y_;\r
- return *this;\r
- }\r
-\r
- Offset3D& setZ( int32_t z_ )\r
- {\r
- z = z_;\r
- return *this;\r
- }\r
-\r
- operator const VkOffset3D&() const\r
- {\r
- return *reinterpret_cast<const VkOffset3D*>(this);\r
- }\r
-\r
- bool operator==( Offset3D const& rhs ) const\r
- {\r
- return ( x == rhs.x )\r
- && ( y == rhs.y )\r
- && ( z == rhs.z );\r
- }\r
-\r
- bool operator!=( Offset3D const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- int32_t x;\r
- int32_t y;\r
- int32_t z;\r
- };\r
- static_assert( sizeof( Offset3D ) == sizeof( VkOffset3D ), "struct and wrapper have different size!" );\r
-\r
- struct Extent2D\r
- {\r
- Extent2D( uint32_t width_ = 0, uint32_t height_ = 0 )\r
- : width( width_ )\r
- , height( height_ )\r
- {\r
- }\r
-\r
- Extent2D( VkExtent2D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Extent2D ) );\r
- }\r
-\r
- Extent2D& operator=( VkExtent2D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Extent2D ) );\r
- return *this;\r
- }\r
- Extent2D& setWidth( uint32_t width_ )\r
- {\r
- width = width_;\r
- return *this;\r
- }\r
-\r
- Extent2D& setHeight( uint32_t height_ )\r
- {\r
- height = height_;\r
- return *this;\r
- }\r
-\r
- operator const VkExtent2D&() const\r
- {\r
- return *reinterpret_cast<const VkExtent2D*>(this);\r
- }\r
-\r
- bool operator==( Extent2D const& rhs ) const\r
- {\r
- return ( width == rhs.width )\r
- && ( height == rhs.height );\r
- }\r
-\r
- bool operator!=( Extent2D const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t width;\r
- uint32_t height;\r
- };\r
- static_assert( sizeof( Extent2D ) == sizeof( VkExtent2D ), "struct and wrapper have different size!" );\r
-\r
- struct Extent3D\r
- {\r
- Extent3D( uint32_t width_ = 0, uint32_t height_ = 0, uint32_t depth_ = 0 )\r
- : width( width_ )\r
- , height( height_ )\r
- , depth( depth_ )\r
- {\r
- }\r
-\r
- Extent3D( VkExtent3D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Extent3D ) );\r
- }\r
-\r
- Extent3D& operator=( VkExtent3D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Extent3D ) );\r
- return *this;\r
- }\r
- Extent3D& setWidth( uint32_t width_ )\r
- {\r
- width = width_;\r
- return *this;\r
- }\r
-\r
- Extent3D& setHeight( uint32_t height_ )\r
- {\r
- height = height_;\r
- return *this;\r
- }\r
-\r
- Extent3D& setDepth( uint32_t depth_ )\r
- {\r
- depth = depth_;\r
- return *this;\r
- }\r
-\r
- operator const VkExtent3D&() const\r
- {\r
- return *reinterpret_cast<const VkExtent3D*>(this);\r
- }\r
-\r
- bool operator==( Extent3D const& rhs ) const\r
- {\r
- return ( width == rhs.width )\r
- && ( height == rhs.height )\r
- && ( depth == rhs.depth );\r
- }\r
-\r
- bool operator!=( Extent3D const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t width;\r
- uint32_t height;\r
- uint32_t depth;\r
- };\r
- static_assert( sizeof( Extent3D ) == sizeof( VkExtent3D ), "struct and wrapper have different size!" );\r
-\r
- struct Viewport\r
- {\r
- Viewport( float x_ = 0, float y_ = 0, float width_ = 0, float height_ = 0, float minDepth_ = 0, float maxDepth_ = 0 )\r
- : x( x_ )\r
- , y( y_ )\r
- , width( width_ )\r
- , height( height_ )\r
- , minDepth( minDepth_ )\r
- , maxDepth( maxDepth_ )\r
- {\r
- }\r
-\r
- Viewport( VkViewport const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Viewport ) );\r
- }\r
-\r
- Viewport& operator=( VkViewport const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Viewport ) );\r
- return *this;\r
- }\r
- Viewport& setX( float x_ )\r
- {\r
- x = x_;\r
- return *this;\r
- }\r
-\r
- Viewport& setY( float y_ )\r
- {\r
- y = y_;\r
- return *this;\r
- }\r
-\r
- Viewport& setWidth( float width_ )\r
- {\r
- width = width_;\r
- return *this;\r
- }\r
-\r
- Viewport& setHeight( float height_ )\r
- {\r
- height = height_;\r
- return *this;\r
- }\r
-\r
- Viewport& setMinDepth( float minDepth_ )\r
- {\r
- minDepth = minDepth_;\r
- return *this;\r
- }\r
-\r
- Viewport& setMaxDepth( float maxDepth_ )\r
- {\r
- maxDepth = maxDepth_;\r
- return *this;\r
- }\r
-\r
- operator const VkViewport&() const\r
- {\r
- return *reinterpret_cast<const VkViewport*>(this);\r
- }\r
-\r
- bool operator==( Viewport const& rhs ) const\r
- {\r
- return ( x == rhs.x )\r
- && ( y == rhs.y )\r
- && ( width == rhs.width )\r
- && ( height == rhs.height )\r
- && ( minDepth == rhs.minDepth )\r
- && ( maxDepth == rhs.maxDepth );\r
- }\r
-\r
- bool operator!=( Viewport const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- float x;\r
- float y;\r
- float width;\r
- float height;\r
- float minDepth;\r
- float maxDepth;\r
- };\r
- static_assert( sizeof( Viewport ) == sizeof( VkViewport ), "struct and wrapper have different size!" );\r
-\r
- struct Rect2D\r
- {\r
- Rect2D( Offset2D offset_ = Offset2D(), Extent2D extent_ = Extent2D() )\r
- : offset( offset_ )\r
- , extent( extent_ )\r
- {\r
- }\r
-\r
- Rect2D( VkRect2D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Rect2D ) );\r
- }\r
-\r
- Rect2D& operator=( VkRect2D const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Rect2D ) );\r
- return *this;\r
- }\r
- Rect2D& setOffset( Offset2D offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- Rect2D& setExtent( Extent2D extent_ )\r
- {\r
- extent = extent_;\r
- return *this;\r
- }\r
-\r
- operator const VkRect2D&() const\r
- {\r
- return *reinterpret_cast<const VkRect2D*>(this);\r
- }\r
-\r
- bool operator==( Rect2D const& rhs ) const\r
- {\r
- return ( offset == rhs.offset )\r
- && ( extent == rhs.extent );\r
- }\r
-\r
- bool operator!=( Rect2D const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Offset2D offset;\r
- Extent2D extent;\r
- };\r
- static_assert( sizeof( Rect2D ) == sizeof( VkRect2D ), "struct and wrapper have different size!" );\r
-\r
- struct ClearRect\r
- {\r
- ClearRect( Rect2D rect_ = Rect2D(), uint32_t baseArrayLayer_ = 0, uint32_t layerCount_ = 0 )\r
- : rect( rect_ )\r
- , baseArrayLayer( baseArrayLayer_ )\r
- , layerCount( layerCount_ )\r
- {\r
- }\r
-\r
- ClearRect( VkClearRect const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ClearRect ) );\r
- }\r
-\r
- ClearRect& operator=( VkClearRect const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ClearRect ) );\r
- return *this;\r
- }\r
- ClearRect& setRect( Rect2D rect_ )\r
- {\r
- rect = rect_;\r
- return *this;\r
- }\r
-\r
- ClearRect& setBaseArrayLayer( uint32_t baseArrayLayer_ )\r
- {\r
- baseArrayLayer = baseArrayLayer_;\r
- return *this;\r
- }\r
-\r
- ClearRect& setLayerCount( uint32_t layerCount_ )\r
- {\r
- layerCount = layerCount_;\r
- return *this;\r
- }\r
-\r
- operator const VkClearRect&() const\r
- {\r
- return *reinterpret_cast<const VkClearRect*>(this);\r
- }\r
-\r
- bool operator==( ClearRect const& rhs ) const\r
- {\r
- return ( rect == rhs.rect )\r
- && ( baseArrayLayer == rhs.baseArrayLayer )\r
- && ( layerCount == rhs.layerCount );\r
- }\r
-\r
- bool operator!=( ClearRect const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Rect2D rect;\r
- uint32_t baseArrayLayer;\r
- uint32_t layerCount;\r
- };\r
- static_assert( sizeof( ClearRect ) == sizeof( VkClearRect ), "struct and wrapper have different size!" );\r
-\r
- struct ExtensionProperties\r
- {\r
- operator const VkExtensionProperties&() const\r
- {\r
- return *reinterpret_cast<const VkExtensionProperties*>(this);\r
- }\r
-\r
- bool operator==( ExtensionProperties const& rhs ) const\r
- {\r
- return ( memcmp( extensionName, rhs.extensionName, VK_MAX_EXTENSION_NAME_SIZE * sizeof( char ) ) == 0 )\r
- && ( specVersion == rhs.specVersion );\r
- }\r
-\r
- bool operator!=( ExtensionProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- char extensionName[VK_MAX_EXTENSION_NAME_SIZE];\r
- uint32_t specVersion;\r
- };\r
- static_assert( sizeof( ExtensionProperties ) == sizeof( VkExtensionProperties ), "struct and wrapper have different size!" );\r
-\r
- struct LayerProperties\r
- {\r
- operator const VkLayerProperties&() const\r
- {\r
- return *reinterpret_cast<const VkLayerProperties*>(this);\r
- }\r
-\r
- bool operator==( LayerProperties const& rhs ) const\r
- {\r
- return ( memcmp( layerName, rhs.layerName, VK_MAX_EXTENSION_NAME_SIZE * sizeof( char ) ) == 0 )\r
- && ( specVersion == rhs.specVersion )\r
- && ( implementationVersion == rhs.implementationVersion )\r
- && ( memcmp( description, rhs.description, VK_MAX_DESCRIPTION_SIZE * sizeof( char ) ) == 0 );\r
- }\r
-\r
- bool operator!=( LayerProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- char layerName[VK_MAX_EXTENSION_NAME_SIZE];\r
- uint32_t specVersion;\r
- uint32_t implementationVersion;\r
- char description[VK_MAX_DESCRIPTION_SIZE];\r
- };\r
- static_assert( sizeof( LayerProperties ) == sizeof( VkLayerProperties ), "struct and wrapper have different size!" );\r
-\r
- struct AllocationCallbacks\r
- {\r
- AllocationCallbacks( void* pUserData_ = nullptr, PFN_vkAllocationFunction pfnAllocation_ = nullptr, PFN_vkReallocationFunction pfnReallocation_ = nullptr, PFN_vkFreeFunction pfnFree_ = nullptr, PFN_vkInternalAllocationNotification pfnInternalAllocation_ = nullptr, PFN_vkInternalFreeNotification pfnInternalFree_ = nullptr )\r
- : pUserData( pUserData_ )\r
- , pfnAllocation( pfnAllocation_ )\r
- , pfnReallocation( pfnReallocation_ )\r
- , pfnFree( pfnFree_ )\r
- , pfnInternalAllocation( pfnInternalAllocation_ )\r
- , pfnInternalFree( pfnInternalFree_ )\r
- {\r
- }\r
-\r
- AllocationCallbacks( VkAllocationCallbacks const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AllocationCallbacks ) );\r
- }\r
-\r
- AllocationCallbacks& operator=( VkAllocationCallbacks const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AllocationCallbacks ) );\r
- return *this;\r
- }\r
- AllocationCallbacks& setPUserData( void* pUserData_ )\r
- {\r
- pUserData = pUserData_;\r
- return *this;\r
- }\r
-\r
- AllocationCallbacks& setPfnAllocation( PFN_vkAllocationFunction pfnAllocation_ )\r
- {\r
- pfnAllocation = pfnAllocation_;\r
- return *this;\r
- }\r
-\r
- AllocationCallbacks& setPfnReallocation( PFN_vkReallocationFunction pfnReallocation_ )\r
- {\r
- pfnReallocation = pfnReallocation_;\r
- return *this;\r
- }\r
-\r
- AllocationCallbacks& setPfnFree( PFN_vkFreeFunction pfnFree_ )\r
- {\r
- pfnFree = pfnFree_;\r
- return *this;\r
- }\r
-\r
- AllocationCallbacks& setPfnInternalAllocation( PFN_vkInternalAllocationNotification pfnInternalAllocation_ )\r
- {\r
- pfnInternalAllocation = pfnInternalAllocation_;\r
- return *this;\r
- }\r
-\r
- AllocationCallbacks& setPfnInternalFree( PFN_vkInternalFreeNotification pfnInternalFree_ )\r
- {\r
- pfnInternalFree = pfnInternalFree_;\r
- return *this;\r
- }\r
-\r
- operator const VkAllocationCallbacks&() const\r
- {\r
- return *reinterpret_cast<const VkAllocationCallbacks*>(this);\r
- }\r
-\r
- bool operator==( AllocationCallbacks const& rhs ) const\r
- {\r
- return ( pUserData == rhs.pUserData )\r
- && ( pfnAllocation == rhs.pfnAllocation )\r
- && ( pfnReallocation == rhs.pfnReallocation )\r
- && ( pfnFree == rhs.pfnFree )\r
- && ( pfnInternalAllocation == rhs.pfnInternalAllocation )\r
- && ( pfnInternalFree == rhs.pfnInternalFree );\r
- }\r
-\r
- bool operator!=( AllocationCallbacks const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- void* pUserData;\r
- PFN_vkAllocationFunction pfnAllocation;\r
- PFN_vkReallocationFunction pfnReallocation;\r
- PFN_vkFreeFunction pfnFree;\r
- PFN_vkInternalAllocationNotification pfnInternalAllocation;\r
- PFN_vkInternalFreeNotification pfnInternalFree;\r
- };\r
- static_assert( sizeof( AllocationCallbacks ) == sizeof( VkAllocationCallbacks ), "struct and wrapper have different size!" );\r
-\r
- struct MemoryRequirements\r
- {\r
- operator const VkMemoryRequirements&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryRequirements*>(this);\r
- }\r
-\r
- bool operator==( MemoryRequirements const& rhs ) const\r
- {\r
- return ( size == rhs.size )\r
- && ( alignment == rhs.alignment )\r
- && ( memoryTypeBits == rhs.memoryTypeBits );\r
- }\r
-\r
- bool operator!=( MemoryRequirements const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DeviceSize size;\r
- DeviceSize alignment;\r
- uint32_t memoryTypeBits;\r
- };\r
- static_assert( sizeof( MemoryRequirements ) == sizeof( VkMemoryRequirements ), "struct and wrapper have different size!" );\r
-\r
- struct DescriptorBufferInfo\r
- {\r
- DescriptorBufferInfo( Buffer buffer_ = Buffer(), DeviceSize offset_ = 0, DeviceSize range_ = 0 )\r
- : buffer( buffer_ )\r
- , offset( offset_ )\r
- , range( range_ )\r
- {\r
- }\r
-\r
- DescriptorBufferInfo( VkDescriptorBufferInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorBufferInfo ) );\r
- }\r
-\r
- DescriptorBufferInfo& operator=( VkDescriptorBufferInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorBufferInfo ) );\r
- return *this;\r
- }\r
- DescriptorBufferInfo& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- DescriptorBufferInfo& setOffset( DeviceSize offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- DescriptorBufferInfo& setRange( DeviceSize range_ )\r
- {\r
- range = range_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorBufferInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorBufferInfo*>(this);\r
- }\r
-\r
- bool operator==( DescriptorBufferInfo const& rhs ) const\r
- {\r
- return ( buffer == rhs.buffer )\r
- && ( offset == rhs.offset )\r
- && ( range == rhs.range );\r
- }\r
-\r
- bool operator!=( DescriptorBufferInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Buffer buffer;\r
- DeviceSize offset;\r
- DeviceSize range;\r
- };\r
- static_assert( sizeof( DescriptorBufferInfo ) == sizeof( VkDescriptorBufferInfo ), "struct and wrapper have different size!" );\r
-\r
- struct SubresourceLayout\r
- {\r
- operator const VkSubresourceLayout&() const\r
- {\r
- return *reinterpret_cast<const VkSubresourceLayout*>(this);\r
- }\r
-\r
- bool operator==( SubresourceLayout const& rhs ) const\r
- {\r
- return ( offset == rhs.offset )\r
- && ( size == rhs.size )\r
- && ( rowPitch == rhs.rowPitch )\r
- && ( arrayPitch == rhs.arrayPitch )\r
- && ( depthPitch == rhs.depthPitch );\r
- }\r
-\r
- bool operator!=( SubresourceLayout const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DeviceSize offset;\r
- DeviceSize size;\r
- DeviceSize rowPitch;\r
- DeviceSize arrayPitch;\r
- DeviceSize depthPitch;\r
- };\r
- static_assert( sizeof( SubresourceLayout ) == sizeof( VkSubresourceLayout ), "struct and wrapper have different size!" );\r
-\r
- struct BufferCopy\r
- {\r
- BufferCopy( DeviceSize srcOffset_ = 0, DeviceSize dstOffset_ = 0, DeviceSize size_ = 0 )\r
- : srcOffset( srcOffset_ )\r
- , dstOffset( dstOffset_ )\r
- , size( size_ )\r
- {\r
- }\r
-\r
- BufferCopy( VkBufferCopy const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferCopy ) );\r
- }\r
-\r
- BufferCopy& operator=( VkBufferCopy const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferCopy ) );\r
- return *this;\r
- }\r
- BufferCopy& setSrcOffset( DeviceSize srcOffset_ )\r
- {\r
- srcOffset = srcOffset_;\r
- return *this;\r
- }\r
-\r
- BufferCopy& setDstOffset( DeviceSize dstOffset_ )\r
- {\r
- dstOffset = dstOffset_;\r
- return *this;\r
- }\r
-\r
- BufferCopy& setSize( DeviceSize size_ )\r
- {\r
- size = size_;\r
- return *this;\r
- }\r
-\r
- operator const VkBufferCopy&() const\r
- {\r
- return *reinterpret_cast<const VkBufferCopy*>(this);\r
- }\r
-\r
- bool operator==( BufferCopy const& rhs ) const\r
- {\r
- return ( srcOffset == rhs.srcOffset )\r
- && ( dstOffset == rhs.dstOffset )\r
- && ( size == rhs.size );\r
- }\r
-\r
- bool operator!=( BufferCopy const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DeviceSize srcOffset;\r
- DeviceSize dstOffset;\r
- DeviceSize size;\r
- };\r
- static_assert( sizeof( BufferCopy ) == sizeof( VkBufferCopy ), "struct and wrapper have different size!" );\r
-\r
- struct SpecializationMapEntry\r
- {\r
- SpecializationMapEntry( uint32_t constantID_ = 0, uint32_t offset_ = 0, size_t size_ = 0 )\r
- : constantID( constantID_ )\r
- , offset( offset_ )\r
- , size( size_ )\r
- {\r
- }\r
-\r
- SpecializationMapEntry( VkSpecializationMapEntry const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SpecializationMapEntry ) );\r
- }\r
-\r
- SpecializationMapEntry& operator=( VkSpecializationMapEntry const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SpecializationMapEntry ) );\r
- return *this;\r
- }\r
- SpecializationMapEntry& setConstantID( uint32_t constantID_ )\r
- {\r
- constantID = constantID_;\r
- return *this;\r
- }\r
-\r
- SpecializationMapEntry& setOffset( uint32_t offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- SpecializationMapEntry& setSize( size_t size_ )\r
- {\r
- size = size_;\r
- return *this;\r
- }\r
-\r
- operator const VkSpecializationMapEntry&() const\r
- {\r
- return *reinterpret_cast<const VkSpecializationMapEntry*>(this);\r
- }\r
-\r
- bool operator==( SpecializationMapEntry const& rhs ) const\r
- {\r
- return ( constantID == rhs.constantID )\r
- && ( offset == rhs.offset )\r
- && ( size == rhs.size );\r
- }\r
-\r
- bool operator!=( SpecializationMapEntry const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t constantID;\r
- uint32_t offset;\r
- size_t size;\r
- };\r
- static_assert( sizeof( SpecializationMapEntry ) == sizeof( VkSpecializationMapEntry ), "struct and wrapper have different size!" );\r
-\r
- struct SpecializationInfo\r
- {\r
- SpecializationInfo( uint32_t mapEntryCount_ = 0, const SpecializationMapEntry* pMapEntries_ = nullptr, size_t dataSize_ = 0, const void* pData_ = nullptr )\r
- : mapEntryCount( mapEntryCount_ )\r
- , pMapEntries( pMapEntries_ )\r
- , dataSize( dataSize_ )\r
- , pData( pData_ )\r
- {\r
- }\r
-\r
- SpecializationInfo( VkSpecializationInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SpecializationInfo ) );\r
- }\r
-\r
- SpecializationInfo& operator=( VkSpecializationInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SpecializationInfo ) );\r
- return *this;\r
- }\r
- SpecializationInfo& setMapEntryCount( uint32_t mapEntryCount_ )\r
- {\r
- mapEntryCount = mapEntryCount_;\r
- return *this;\r
- }\r
-\r
- SpecializationInfo& setPMapEntries( const SpecializationMapEntry* pMapEntries_ )\r
- {\r
- pMapEntries = pMapEntries_;\r
- return *this;\r
- }\r
-\r
- SpecializationInfo& setDataSize( size_t dataSize_ )\r
- {\r
- dataSize = dataSize_;\r
- return *this;\r
- }\r
-\r
- SpecializationInfo& setPData( const void* pData_ )\r
- {\r
- pData = pData_;\r
- return *this;\r
- }\r
-\r
- operator const VkSpecializationInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSpecializationInfo*>(this);\r
- }\r
-\r
- bool operator==( SpecializationInfo const& rhs ) const\r
- {\r
- return ( mapEntryCount == rhs.mapEntryCount )\r
- && ( pMapEntries == rhs.pMapEntries )\r
- && ( dataSize == rhs.dataSize )\r
- && ( pData == rhs.pData );\r
- }\r
-\r
- bool operator!=( SpecializationInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t mapEntryCount;\r
- const SpecializationMapEntry* pMapEntries;\r
- size_t dataSize;\r
- const void* pData;\r
- };\r
- static_assert( sizeof( SpecializationInfo ) == sizeof( VkSpecializationInfo ), "struct and wrapper have different size!" );\r
-\r
- union ClearColorValue\r
- {\r
- ClearColorValue( const std::array<float,4>& float32_ = { {0} } )\r
- {\r
- memcpy( &float32, float32_.data(), 4 * sizeof( float ) );\r
- }\r
-\r
- ClearColorValue( const std::array<int32_t,4>& int32_ )\r
- {\r
- memcpy( &int32, int32_.data(), 4 * sizeof( int32_t ) );\r
- }\r
-\r
- ClearColorValue( const std::array<uint32_t,4>& uint32_ )\r
- {\r
- memcpy( &uint32, uint32_.data(), 4 * sizeof( uint32_t ) );\r
- }\r
-\r
- ClearColorValue& setFloat32( std::array<float,4> float32_ )\r
- {\r
- memcpy( &float32, float32_.data(), 4 * sizeof( float ) );\r
- return *this;\r
- }\r
-\r
- ClearColorValue& setInt32( std::array<int32_t,4> int32_ )\r
- {\r
- memcpy( &int32, int32_.data(), 4 * sizeof( int32_t ) );\r
- return *this;\r
- }\r
-\r
- ClearColorValue& setUint32( std::array<uint32_t,4> uint32_ )\r
- {\r
- memcpy( &uint32, uint32_.data(), 4 * sizeof( uint32_t ) );\r
- return *this;\r
- }\r
-\r
- operator VkClearColorValue const& () const\r
- {\r
- return *reinterpret_cast<const VkClearColorValue*>(this);\r
- }\r
-\r
- float float32[4];\r
- int32_t int32[4];\r
- uint32_t uint32[4];\r
- };\r
-\r
- struct ClearDepthStencilValue\r
- {\r
- ClearDepthStencilValue( float depth_ = 0, uint32_t stencil_ = 0 )\r
- : depth( depth_ )\r
- , stencil( stencil_ )\r
- {\r
- }\r
-\r
- ClearDepthStencilValue( VkClearDepthStencilValue const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ClearDepthStencilValue ) );\r
- }\r
-\r
- ClearDepthStencilValue& operator=( VkClearDepthStencilValue const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ClearDepthStencilValue ) );\r
- return *this;\r
- }\r
- ClearDepthStencilValue& setDepth( float depth_ )\r
- {\r
- depth = depth_;\r
- return *this;\r
- }\r
-\r
- ClearDepthStencilValue& setStencil( uint32_t stencil_ )\r
- {\r
- stencil = stencil_;\r
- return *this;\r
- }\r
-\r
- operator const VkClearDepthStencilValue&() const\r
- {\r
- return *reinterpret_cast<const VkClearDepthStencilValue*>(this);\r
- }\r
-\r
- bool operator==( ClearDepthStencilValue const& rhs ) const\r
- {\r
- return ( depth == rhs.depth )\r
- && ( stencil == rhs.stencil );\r
- }\r
-\r
- bool operator!=( ClearDepthStencilValue const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- float depth;\r
- uint32_t stencil;\r
- };\r
- static_assert( sizeof( ClearDepthStencilValue ) == sizeof( VkClearDepthStencilValue ), "struct and wrapper have different size!" );\r
-\r
- union ClearValue\r
- {\r
- ClearValue( ClearColorValue color_ = ClearColorValue() )\r
- {\r
- color = color_;\r
- }\r
-\r
- ClearValue( ClearDepthStencilValue depthStencil_ )\r
- {\r
- depthStencil = depthStencil_;\r
- }\r
-\r
- ClearValue& setColor( ClearColorValue color_ )\r
- {\r
- color = color_;\r
- return *this;\r
- }\r
-\r
- ClearValue& setDepthStencil( ClearDepthStencilValue depthStencil_ )\r
- {\r
- depthStencil = depthStencil_;\r
- return *this;\r
- }\r
-\r
- operator VkClearValue const& () const\r
- {\r
- return *reinterpret_cast<const VkClearValue*>(this);\r
- }\r
-\r
-#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS\r
- ClearColorValue color;\r
- ClearDepthStencilValue depthStencil;\r
-#else\r
- VkClearColorValue color;\r
- VkClearDepthStencilValue depthStencil;\r
-#endif // VULKAN_HPP_HAS_UNRESTRICTED_UNIONS\r
- };\r
-\r
- struct PhysicalDeviceFeatures\r
- {\r
- PhysicalDeviceFeatures( Bool32 robustBufferAccess_ = 0, Bool32 fullDrawIndexUint32_ = 0, Bool32 imageCubeArray_ = 0, Bool32 independentBlend_ = 0, Bool32 geometryShader_ = 0, Bool32 tessellationShader_ = 0, Bool32 sampleRateShading_ = 0, Bool32 dualSrcBlend_ = 0, Bool32 logicOp_ = 0, Bool32 multiDrawIndirect_ = 0, Bool32 drawIndirectFirstInstance_ = 0, Bool32 depthClamp_ = 0, Bool32 depthBiasClamp_ = 0, Bool32 fillModeNonSolid_ = 0, Bool32 depthBounds_ = 0, Bool32 wideLines_ = 0, Bool32 largePoints_ = 0, Bool32 alphaToOne_ = 0, Bool32 multiViewport_ = 0, Bool32 samplerAnisotropy_ = 0, Bool32 textureCompressionETC2_ = 0, Bool32 textureCompressionASTC_LDR_ = 0, Bool32 textureCompressionBC_ = 0, Bool32 occlusionQueryPrecise_ = 0, Bool32 pipelineStatisticsQuery_ = 0, Bool32 vertexPipelineStoresAndAtomics_ = 0, Bool32 fragmentStoresAndAtomics_ = 0, Bool32 shaderTessellationAndGeometryPointSize_ = 0, Bool32 shaderImageGatherExtended_ = 0, Bool32 shaderStorageImageExtendedFormats_ = 0, Bool32 shaderStorageImageMultisample_ = 0, Bool32 shaderStorageImageReadWithoutFormat_ = 0, Bool32 shaderStorageImageWriteWithoutFormat_ = 0, Bool32 shaderUniformBufferArrayDynamicIndexing_ = 0, Bool32 shaderSampledImageArrayDynamicIndexing_ = 0, Bool32 shaderStorageBufferArrayDynamicIndexing_ = 0, Bool32 shaderStorageImageArrayDynamicIndexing_ = 0, Bool32 shaderClipDistance_ = 0, Bool32 shaderCullDistance_ = 0, Bool32 shaderFloat64_ = 0, Bool32 shaderInt64_ = 0, Bool32 shaderInt16_ = 0, Bool32 shaderResourceResidency_ = 0, Bool32 shaderResourceMinLod_ = 0, Bool32 sparseBinding_ = 0, Bool32 sparseResidencyBuffer_ = 0, Bool32 sparseResidencyImage2D_ = 0, Bool32 sparseResidencyImage3D_ = 0, Bool32 sparseResidency2Samples_ = 0, Bool32 sparseResidency4Samples_ = 0, Bool32 sparseResidency8Samples_ = 0, Bool32 sparseResidency16Samples_ = 0, Bool32 sparseResidencyAliased_ = 0, Bool32 variableMultisampleRate_ = 0, Bool32 inheritedQueries_ = 0 )\r
- : robustBufferAccess( robustBufferAccess_ )\r
- , fullDrawIndexUint32( fullDrawIndexUint32_ )\r
- , imageCubeArray( imageCubeArray_ )\r
- , independentBlend( independentBlend_ )\r
- , geometryShader( geometryShader_ )\r
- , tessellationShader( tessellationShader_ )\r
- , sampleRateShading( sampleRateShading_ )\r
- , dualSrcBlend( dualSrcBlend_ )\r
- , logicOp( logicOp_ )\r
- , multiDrawIndirect( multiDrawIndirect_ )\r
- , drawIndirectFirstInstance( drawIndirectFirstInstance_ )\r
- , depthClamp( depthClamp_ )\r
- , depthBiasClamp( depthBiasClamp_ )\r
- , fillModeNonSolid( fillModeNonSolid_ )\r
- , depthBounds( depthBounds_ )\r
- , wideLines( wideLines_ )\r
- , largePoints( largePoints_ )\r
- , alphaToOne( alphaToOne_ )\r
- , multiViewport( multiViewport_ )\r
- , samplerAnisotropy( samplerAnisotropy_ )\r
- , textureCompressionETC2( textureCompressionETC2_ )\r
- , textureCompressionASTC_LDR( textureCompressionASTC_LDR_ )\r
- , textureCompressionBC( textureCompressionBC_ )\r
- , occlusionQueryPrecise( occlusionQueryPrecise_ )\r
- , pipelineStatisticsQuery( pipelineStatisticsQuery_ )\r
- , vertexPipelineStoresAndAtomics( vertexPipelineStoresAndAtomics_ )\r
- , fragmentStoresAndAtomics( fragmentStoresAndAtomics_ )\r
- , shaderTessellationAndGeometryPointSize( shaderTessellationAndGeometryPointSize_ )\r
- , shaderImageGatherExtended( shaderImageGatherExtended_ )\r
- , shaderStorageImageExtendedFormats( shaderStorageImageExtendedFormats_ )\r
- , shaderStorageImageMultisample( shaderStorageImageMultisample_ )\r
- , shaderStorageImageReadWithoutFormat( shaderStorageImageReadWithoutFormat_ )\r
- , shaderStorageImageWriteWithoutFormat( shaderStorageImageWriteWithoutFormat_ )\r
- , shaderUniformBufferArrayDynamicIndexing( shaderUniformBufferArrayDynamicIndexing_ )\r
- , shaderSampledImageArrayDynamicIndexing( shaderSampledImageArrayDynamicIndexing_ )\r
- , shaderStorageBufferArrayDynamicIndexing( shaderStorageBufferArrayDynamicIndexing_ )\r
- , shaderStorageImageArrayDynamicIndexing( shaderStorageImageArrayDynamicIndexing_ )\r
- , shaderClipDistance( shaderClipDistance_ )\r
- , shaderCullDistance( shaderCullDistance_ )\r
- , shaderFloat64( shaderFloat64_ )\r
- , shaderInt64( shaderInt64_ )\r
- , shaderInt16( shaderInt16_ )\r
- , shaderResourceResidency( shaderResourceResidency_ )\r
- , shaderResourceMinLod( shaderResourceMinLod_ )\r
- , sparseBinding( sparseBinding_ )\r
- , sparseResidencyBuffer( sparseResidencyBuffer_ )\r
- , sparseResidencyImage2D( sparseResidencyImage2D_ )\r
- , sparseResidencyImage3D( sparseResidencyImage3D_ )\r
- , sparseResidency2Samples( sparseResidency2Samples_ )\r
- , sparseResidency4Samples( sparseResidency4Samples_ )\r
- , sparseResidency8Samples( sparseResidency8Samples_ )\r
- , sparseResidency16Samples( sparseResidency16Samples_ )\r
- , sparseResidencyAliased( sparseResidencyAliased_ )\r
- , variableMultisampleRate( variableMultisampleRate_ )\r
- , inheritedQueries( inheritedQueries_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceFeatures( VkPhysicalDeviceFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures ) );\r
- }\r
-\r
- PhysicalDeviceFeatures& operator=( VkPhysicalDeviceFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures ) );\r
- return *this;\r
- }\r
- PhysicalDeviceFeatures& setRobustBufferAccess( Bool32 robustBufferAccess_ )\r
- {\r
- robustBufferAccess = robustBufferAccess_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setFullDrawIndexUint32( Bool32 fullDrawIndexUint32_ )\r
- {\r
- fullDrawIndexUint32 = fullDrawIndexUint32_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setImageCubeArray( Bool32 imageCubeArray_ )\r
- {\r
- imageCubeArray = imageCubeArray_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setIndependentBlend( Bool32 independentBlend_ )\r
- {\r
- independentBlend = independentBlend_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setGeometryShader( Bool32 geometryShader_ )\r
- {\r
- geometryShader = geometryShader_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setTessellationShader( Bool32 tessellationShader_ )\r
- {\r
- tessellationShader = tessellationShader_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSampleRateShading( Bool32 sampleRateShading_ )\r
- {\r
- sampleRateShading = sampleRateShading_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setDualSrcBlend( Bool32 dualSrcBlend_ )\r
- {\r
- dualSrcBlend = dualSrcBlend_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setLogicOp( Bool32 logicOp_ )\r
- {\r
- logicOp = logicOp_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setMultiDrawIndirect( Bool32 multiDrawIndirect_ )\r
- {\r
- multiDrawIndirect = multiDrawIndirect_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setDrawIndirectFirstInstance( Bool32 drawIndirectFirstInstance_ )\r
- {\r
- drawIndirectFirstInstance = drawIndirectFirstInstance_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setDepthClamp( Bool32 depthClamp_ )\r
- {\r
- depthClamp = depthClamp_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setDepthBiasClamp( Bool32 depthBiasClamp_ )\r
- {\r
- depthBiasClamp = depthBiasClamp_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setFillModeNonSolid( Bool32 fillModeNonSolid_ )\r
- {\r
- fillModeNonSolid = fillModeNonSolid_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setDepthBounds( Bool32 depthBounds_ )\r
- {\r
- depthBounds = depthBounds_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setWideLines( Bool32 wideLines_ )\r
- {\r
- wideLines = wideLines_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setLargePoints( Bool32 largePoints_ )\r
- {\r
- largePoints = largePoints_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setAlphaToOne( Bool32 alphaToOne_ )\r
- {\r
- alphaToOne = alphaToOne_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setMultiViewport( Bool32 multiViewport_ )\r
- {\r
- multiViewport = multiViewport_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSamplerAnisotropy( Bool32 samplerAnisotropy_ )\r
- {\r
- samplerAnisotropy = samplerAnisotropy_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setTextureCompressionETC2( Bool32 textureCompressionETC2_ )\r
- {\r
- textureCompressionETC2 = textureCompressionETC2_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setTextureCompressionASTC_LDR( Bool32 textureCompressionASTC_LDR_ )\r
- {\r
- textureCompressionASTC_LDR = textureCompressionASTC_LDR_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setTextureCompressionBC( Bool32 textureCompressionBC_ )\r
- {\r
- textureCompressionBC = textureCompressionBC_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setOcclusionQueryPrecise( Bool32 occlusionQueryPrecise_ )\r
- {\r
- occlusionQueryPrecise = occlusionQueryPrecise_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setPipelineStatisticsQuery( Bool32 pipelineStatisticsQuery_ )\r
- {\r
- pipelineStatisticsQuery = pipelineStatisticsQuery_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setVertexPipelineStoresAndAtomics( Bool32 vertexPipelineStoresAndAtomics_ )\r
- {\r
- vertexPipelineStoresAndAtomics = vertexPipelineStoresAndAtomics_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setFragmentStoresAndAtomics( Bool32 fragmentStoresAndAtomics_ )\r
- {\r
- fragmentStoresAndAtomics = fragmentStoresAndAtomics_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderTessellationAndGeometryPointSize( Bool32 shaderTessellationAndGeometryPointSize_ )\r
- {\r
- shaderTessellationAndGeometryPointSize = shaderTessellationAndGeometryPointSize_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderImageGatherExtended( Bool32 shaderImageGatherExtended_ )\r
- {\r
- shaderImageGatherExtended = shaderImageGatherExtended_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderStorageImageExtendedFormats( Bool32 shaderStorageImageExtendedFormats_ )\r
- {\r
- shaderStorageImageExtendedFormats = shaderStorageImageExtendedFormats_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderStorageImageMultisample( Bool32 shaderStorageImageMultisample_ )\r
- {\r
- shaderStorageImageMultisample = shaderStorageImageMultisample_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderStorageImageReadWithoutFormat( Bool32 shaderStorageImageReadWithoutFormat_ )\r
- {\r
- shaderStorageImageReadWithoutFormat = shaderStorageImageReadWithoutFormat_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderStorageImageWriteWithoutFormat( Bool32 shaderStorageImageWriteWithoutFormat_ )\r
- {\r
- shaderStorageImageWriteWithoutFormat = shaderStorageImageWriteWithoutFormat_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderUniformBufferArrayDynamicIndexing( Bool32 shaderUniformBufferArrayDynamicIndexing_ )\r
- {\r
- shaderUniformBufferArrayDynamicIndexing = shaderUniformBufferArrayDynamicIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderSampledImageArrayDynamicIndexing( Bool32 shaderSampledImageArrayDynamicIndexing_ )\r
- {\r
- shaderSampledImageArrayDynamicIndexing = shaderSampledImageArrayDynamicIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderStorageBufferArrayDynamicIndexing( Bool32 shaderStorageBufferArrayDynamicIndexing_ )\r
- {\r
- shaderStorageBufferArrayDynamicIndexing = shaderStorageBufferArrayDynamicIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderStorageImageArrayDynamicIndexing( Bool32 shaderStorageImageArrayDynamicIndexing_ )\r
- {\r
- shaderStorageImageArrayDynamicIndexing = shaderStorageImageArrayDynamicIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderClipDistance( Bool32 shaderClipDistance_ )\r
- {\r
- shaderClipDistance = shaderClipDistance_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderCullDistance( Bool32 shaderCullDistance_ )\r
- {\r
- shaderCullDistance = shaderCullDistance_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderFloat64( Bool32 shaderFloat64_ )\r
- {\r
- shaderFloat64 = shaderFloat64_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderInt64( Bool32 shaderInt64_ )\r
- {\r
- shaderInt64 = shaderInt64_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderInt16( Bool32 shaderInt16_ )\r
- {\r
- shaderInt16 = shaderInt16_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderResourceResidency( Bool32 shaderResourceResidency_ )\r
- {\r
- shaderResourceResidency = shaderResourceResidency_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setShaderResourceMinLod( Bool32 shaderResourceMinLod_ )\r
- {\r
- shaderResourceMinLod = shaderResourceMinLod_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseBinding( Bool32 sparseBinding_ )\r
- {\r
- sparseBinding = sparseBinding_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidencyBuffer( Bool32 sparseResidencyBuffer_ )\r
- {\r
- sparseResidencyBuffer = sparseResidencyBuffer_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidencyImage2D( Bool32 sparseResidencyImage2D_ )\r
- {\r
- sparseResidencyImage2D = sparseResidencyImage2D_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidencyImage3D( Bool32 sparseResidencyImage3D_ )\r
- {\r
- sparseResidencyImage3D = sparseResidencyImage3D_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidency2Samples( Bool32 sparseResidency2Samples_ )\r
- {\r
- sparseResidency2Samples = sparseResidency2Samples_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidency4Samples( Bool32 sparseResidency4Samples_ )\r
- {\r
- sparseResidency4Samples = sparseResidency4Samples_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidency8Samples( Bool32 sparseResidency8Samples_ )\r
- {\r
- sparseResidency8Samples = sparseResidency8Samples_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidency16Samples( Bool32 sparseResidency16Samples_ )\r
- {\r
- sparseResidency16Samples = sparseResidency16Samples_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setSparseResidencyAliased( Bool32 sparseResidencyAliased_ )\r
- {\r
- sparseResidencyAliased = sparseResidencyAliased_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setVariableMultisampleRate( Bool32 variableMultisampleRate_ )\r
- {\r
- variableMultisampleRate = variableMultisampleRate_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures& setInheritedQueries( Bool32 inheritedQueries_ )\r
- {\r
- inheritedQueries = inheritedQueries_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceFeatures&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceFeatures*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceFeatures const& rhs ) const\r
- {\r
- return ( robustBufferAccess == rhs.robustBufferAccess )\r
- && ( fullDrawIndexUint32 == rhs.fullDrawIndexUint32 )\r
- && ( imageCubeArray == rhs.imageCubeArray )\r
- && ( independentBlend == rhs.independentBlend )\r
- && ( geometryShader == rhs.geometryShader )\r
- && ( tessellationShader == rhs.tessellationShader )\r
- && ( sampleRateShading == rhs.sampleRateShading )\r
- && ( dualSrcBlend == rhs.dualSrcBlend )\r
- && ( logicOp == rhs.logicOp )\r
- && ( multiDrawIndirect == rhs.multiDrawIndirect )\r
- && ( drawIndirectFirstInstance == rhs.drawIndirectFirstInstance )\r
- && ( depthClamp == rhs.depthClamp )\r
- && ( depthBiasClamp == rhs.depthBiasClamp )\r
- && ( fillModeNonSolid == rhs.fillModeNonSolid )\r
- && ( depthBounds == rhs.depthBounds )\r
- && ( wideLines == rhs.wideLines )\r
- && ( largePoints == rhs.largePoints )\r
- && ( alphaToOne == rhs.alphaToOne )\r
- && ( multiViewport == rhs.multiViewport )\r
- && ( samplerAnisotropy == rhs.samplerAnisotropy )\r
- && ( textureCompressionETC2 == rhs.textureCompressionETC2 )\r
- && ( textureCompressionASTC_LDR == rhs.textureCompressionASTC_LDR )\r
- && ( textureCompressionBC == rhs.textureCompressionBC )\r
- && ( occlusionQueryPrecise == rhs.occlusionQueryPrecise )\r
- && ( pipelineStatisticsQuery == rhs.pipelineStatisticsQuery )\r
- && ( vertexPipelineStoresAndAtomics == rhs.vertexPipelineStoresAndAtomics )\r
- && ( fragmentStoresAndAtomics == rhs.fragmentStoresAndAtomics )\r
- && ( shaderTessellationAndGeometryPointSize == rhs.shaderTessellationAndGeometryPointSize )\r
- && ( shaderImageGatherExtended == rhs.shaderImageGatherExtended )\r
- && ( shaderStorageImageExtendedFormats == rhs.shaderStorageImageExtendedFormats )\r
- && ( shaderStorageImageMultisample == rhs.shaderStorageImageMultisample )\r
- && ( shaderStorageImageReadWithoutFormat == rhs.shaderStorageImageReadWithoutFormat )\r
- && ( shaderStorageImageWriteWithoutFormat == rhs.shaderStorageImageWriteWithoutFormat )\r
- && ( shaderUniformBufferArrayDynamicIndexing == rhs.shaderUniformBufferArrayDynamicIndexing )\r
- && ( shaderSampledImageArrayDynamicIndexing == rhs.shaderSampledImageArrayDynamicIndexing )\r
- && ( shaderStorageBufferArrayDynamicIndexing == rhs.shaderStorageBufferArrayDynamicIndexing )\r
- && ( shaderStorageImageArrayDynamicIndexing == rhs.shaderStorageImageArrayDynamicIndexing )\r
- && ( shaderClipDistance == rhs.shaderClipDistance )\r
- && ( shaderCullDistance == rhs.shaderCullDistance )\r
- && ( shaderFloat64 == rhs.shaderFloat64 )\r
- && ( shaderInt64 == rhs.shaderInt64 )\r
- && ( shaderInt16 == rhs.shaderInt16 )\r
- && ( shaderResourceResidency == rhs.shaderResourceResidency )\r
- && ( shaderResourceMinLod == rhs.shaderResourceMinLod )\r
- && ( sparseBinding == rhs.sparseBinding )\r
- && ( sparseResidencyBuffer == rhs.sparseResidencyBuffer )\r
- && ( sparseResidencyImage2D == rhs.sparseResidencyImage2D )\r
- && ( sparseResidencyImage3D == rhs.sparseResidencyImage3D )\r
- && ( sparseResidency2Samples == rhs.sparseResidency2Samples )\r
- && ( sparseResidency4Samples == rhs.sparseResidency4Samples )\r
- && ( sparseResidency8Samples == rhs.sparseResidency8Samples )\r
- && ( sparseResidency16Samples == rhs.sparseResidency16Samples )\r
- && ( sparseResidencyAliased == rhs.sparseResidencyAliased )\r
- && ( variableMultisampleRate == rhs.variableMultisampleRate )\r
- && ( inheritedQueries == rhs.inheritedQueries );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceFeatures const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Bool32 robustBufferAccess;\r
- Bool32 fullDrawIndexUint32;\r
- Bool32 imageCubeArray;\r
- Bool32 independentBlend;\r
- Bool32 geometryShader;\r
- Bool32 tessellationShader;\r
- Bool32 sampleRateShading;\r
- Bool32 dualSrcBlend;\r
- Bool32 logicOp;\r
- Bool32 multiDrawIndirect;\r
- Bool32 drawIndirectFirstInstance;\r
- Bool32 depthClamp;\r
- Bool32 depthBiasClamp;\r
- Bool32 fillModeNonSolid;\r
- Bool32 depthBounds;\r
- Bool32 wideLines;\r
- Bool32 largePoints;\r
- Bool32 alphaToOne;\r
- Bool32 multiViewport;\r
- Bool32 samplerAnisotropy;\r
- Bool32 textureCompressionETC2;\r
- Bool32 textureCompressionASTC_LDR;\r
- Bool32 textureCompressionBC;\r
- Bool32 occlusionQueryPrecise;\r
- Bool32 pipelineStatisticsQuery;\r
- Bool32 vertexPipelineStoresAndAtomics;\r
- Bool32 fragmentStoresAndAtomics;\r
- Bool32 shaderTessellationAndGeometryPointSize;\r
- Bool32 shaderImageGatherExtended;\r
- Bool32 shaderStorageImageExtendedFormats;\r
- Bool32 shaderStorageImageMultisample;\r
- Bool32 shaderStorageImageReadWithoutFormat;\r
- Bool32 shaderStorageImageWriteWithoutFormat;\r
- Bool32 shaderUniformBufferArrayDynamicIndexing;\r
- Bool32 shaderSampledImageArrayDynamicIndexing;\r
- Bool32 shaderStorageBufferArrayDynamicIndexing;\r
- Bool32 shaderStorageImageArrayDynamicIndexing;\r
- Bool32 shaderClipDistance;\r
- Bool32 shaderCullDistance;\r
- Bool32 shaderFloat64;\r
- Bool32 shaderInt64;\r
- Bool32 shaderInt16;\r
- Bool32 shaderResourceResidency;\r
- Bool32 shaderResourceMinLod;\r
- Bool32 sparseBinding;\r
- Bool32 sparseResidencyBuffer;\r
- Bool32 sparseResidencyImage2D;\r
- Bool32 sparseResidencyImage3D;\r
- Bool32 sparseResidency2Samples;\r
- Bool32 sparseResidency4Samples;\r
- Bool32 sparseResidency8Samples;\r
- Bool32 sparseResidency16Samples;\r
- Bool32 sparseResidencyAliased;\r
- Bool32 variableMultisampleRate;\r
- Bool32 inheritedQueries;\r
- };\r
- static_assert( sizeof( PhysicalDeviceFeatures ) == sizeof( VkPhysicalDeviceFeatures ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceSparseProperties\r
- {\r
- operator const VkPhysicalDeviceSparseProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceSparseProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceSparseProperties const& rhs ) const\r
- {\r
- return ( residencyStandard2DBlockShape == rhs.residencyStandard2DBlockShape )\r
- && ( residencyStandard2DMultisampleBlockShape == rhs.residencyStandard2DMultisampleBlockShape )\r
- && ( residencyStandard3DBlockShape == rhs.residencyStandard3DBlockShape )\r
- && ( residencyAlignedMipSize == rhs.residencyAlignedMipSize )\r
- && ( residencyNonResidentStrict == rhs.residencyNonResidentStrict );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceSparseProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Bool32 residencyStandard2DBlockShape;\r
- Bool32 residencyStandard2DMultisampleBlockShape;\r
- Bool32 residencyStandard3DBlockShape;\r
- Bool32 residencyAlignedMipSize;\r
- Bool32 residencyNonResidentStrict;\r
- };\r
- static_assert( sizeof( PhysicalDeviceSparseProperties ) == sizeof( VkPhysicalDeviceSparseProperties ), "struct and wrapper have different size!" );\r
-\r
- struct DrawIndirectCommand\r
- {\r
- DrawIndirectCommand( uint32_t vertexCount_ = 0, uint32_t instanceCount_ = 0, uint32_t firstVertex_ = 0, uint32_t firstInstance_ = 0 )\r
- : vertexCount( vertexCount_ )\r
- , instanceCount( instanceCount_ )\r
- , firstVertex( firstVertex_ )\r
- , firstInstance( firstInstance_ )\r
- {\r
- }\r
-\r
- DrawIndirectCommand( VkDrawIndirectCommand const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DrawIndirectCommand ) );\r
- }\r
-\r
- DrawIndirectCommand& operator=( VkDrawIndirectCommand const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DrawIndirectCommand ) );\r
- return *this;\r
- }\r
- DrawIndirectCommand& setVertexCount( uint32_t vertexCount_ )\r
- {\r
- vertexCount = vertexCount_;\r
- return *this;\r
- }\r
-\r
- DrawIndirectCommand& setInstanceCount( uint32_t instanceCount_ )\r
- {\r
- instanceCount = instanceCount_;\r
- return *this;\r
- }\r
-\r
- DrawIndirectCommand& setFirstVertex( uint32_t firstVertex_ )\r
- {\r
- firstVertex = firstVertex_;\r
- return *this;\r
- }\r
-\r
- DrawIndirectCommand& setFirstInstance( uint32_t firstInstance_ )\r
- {\r
- firstInstance = firstInstance_;\r
- return *this;\r
- }\r
-\r
- operator const VkDrawIndirectCommand&() const\r
- {\r
- return *reinterpret_cast<const VkDrawIndirectCommand*>(this);\r
- }\r
-\r
- bool operator==( DrawIndirectCommand const& rhs ) const\r
- {\r
- return ( vertexCount == rhs.vertexCount )\r
- && ( instanceCount == rhs.instanceCount )\r
- && ( firstVertex == rhs.firstVertex )\r
- && ( firstInstance == rhs.firstInstance );\r
- }\r
-\r
- bool operator!=( DrawIndirectCommand const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t vertexCount;\r
- uint32_t instanceCount;\r
- uint32_t firstVertex;\r
- uint32_t firstInstance;\r
- };\r
- static_assert( sizeof( DrawIndirectCommand ) == sizeof( VkDrawIndirectCommand ), "struct and wrapper have different size!" );\r
-\r
- struct DrawIndexedIndirectCommand\r
- {\r
- DrawIndexedIndirectCommand( uint32_t indexCount_ = 0, uint32_t instanceCount_ = 0, uint32_t firstIndex_ = 0, int32_t vertexOffset_ = 0, uint32_t firstInstance_ = 0 )\r
- : indexCount( indexCount_ )\r
- , instanceCount( instanceCount_ )\r
- , firstIndex( firstIndex_ )\r
- , vertexOffset( vertexOffset_ )\r
- , firstInstance( firstInstance_ )\r
- {\r
- }\r
-\r
- DrawIndexedIndirectCommand( VkDrawIndexedIndirectCommand const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DrawIndexedIndirectCommand ) );\r
- }\r
-\r
- DrawIndexedIndirectCommand& operator=( VkDrawIndexedIndirectCommand const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DrawIndexedIndirectCommand ) );\r
- return *this;\r
- }\r
- DrawIndexedIndirectCommand& setIndexCount( uint32_t indexCount_ )\r
- {\r
- indexCount = indexCount_;\r
- return *this;\r
- }\r
-\r
- DrawIndexedIndirectCommand& setInstanceCount( uint32_t instanceCount_ )\r
- {\r
- instanceCount = instanceCount_;\r
- return *this;\r
- }\r
-\r
- DrawIndexedIndirectCommand& setFirstIndex( uint32_t firstIndex_ )\r
- {\r
- firstIndex = firstIndex_;\r
- return *this;\r
- }\r
-\r
- DrawIndexedIndirectCommand& setVertexOffset( int32_t vertexOffset_ )\r
- {\r
- vertexOffset = vertexOffset_;\r
- return *this;\r
- }\r
-\r
- DrawIndexedIndirectCommand& setFirstInstance( uint32_t firstInstance_ )\r
- {\r
- firstInstance = firstInstance_;\r
- return *this;\r
- }\r
-\r
- operator const VkDrawIndexedIndirectCommand&() const\r
- {\r
- return *reinterpret_cast<const VkDrawIndexedIndirectCommand*>(this);\r
- }\r
-\r
- bool operator==( DrawIndexedIndirectCommand const& rhs ) const\r
- {\r
- return ( indexCount == rhs.indexCount )\r
- && ( instanceCount == rhs.instanceCount )\r
- && ( firstIndex == rhs.firstIndex )\r
- && ( vertexOffset == rhs.vertexOffset )\r
- && ( firstInstance == rhs.firstInstance );\r
- }\r
-\r
- bool operator!=( DrawIndexedIndirectCommand const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t indexCount;\r
- uint32_t instanceCount;\r
- uint32_t firstIndex;\r
- int32_t vertexOffset;\r
- uint32_t firstInstance;\r
- };\r
- static_assert( sizeof( DrawIndexedIndirectCommand ) == sizeof( VkDrawIndexedIndirectCommand ), "struct and wrapper have different size!" );\r
-\r
- struct DispatchIndirectCommand\r
- {\r
- DispatchIndirectCommand( uint32_t x_ = 0, uint32_t y_ = 0, uint32_t z_ = 0 )\r
- : x( x_ )\r
- , y( y_ )\r
- , z( z_ )\r
- {\r
- }\r
-\r
- DispatchIndirectCommand( VkDispatchIndirectCommand const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DispatchIndirectCommand ) );\r
- }\r
-\r
- DispatchIndirectCommand& operator=( VkDispatchIndirectCommand const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DispatchIndirectCommand ) );\r
- return *this;\r
- }\r
- DispatchIndirectCommand& setX( uint32_t x_ )\r
- {\r
- x = x_;\r
- return *this;\r
- }\r
-\r
- DispatchIndirectCommand& setY( uint32_t y_ )\r
- {\r
- y = y_;\r
- return *this;\r
- }\r
-\r
- DispatchIndirectCommand& setZ( uint32_t z_ )\r
- {\r
- z = z_;\r
- return *this;\r
- }\r
-\r
- operator const VkDispatchIndirectCommand&() const\r
- {\r
- return *reinterpret_cast<const VkDispatchIndirectCommand*>(this);\r
- }\r
-\r
- bool operator==( DispatchIndirectCommand const& rhs ) const\r
- {\r
- return ( x == rhs.x )\r
- && ( y == rhs.y )\r
- && ( z == rhs.z );\r
- }\r
-\r
- bool operator!=( DispatchIndirectCommand const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t x;\r
- uint32_t y;\r
- uint32_t z;\r
- };\r
- static_assert( sizeof( DispatchIndirectCommand ) == sizeof( VkDispatchIndirectCommand ), "struct and wrapper have different size!" );\r
-\r
- struct DisplayPlanePropertiesKHR\r
- {\r
- operator const VkDisplayPlanePropertiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayPlanePropertiesKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplayPlanePropertiesKHR const& rhs ) const\r
- {\r
- return ( currentDisplay == rhs.currentDisplay )\r
- && ( currentStackIndex == rhs.currentStackIndex );\r
- }\r
-\r
- bool operator!=( DisplayPlanePropertiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DisplayKHR currentDisplay;\r
- uint32_t currentStackIndex;\r
- };\r
- static_assert( sizeof( DisplayPlanePropertiesKHR ) == sizeof( VkDisplayPlanePropertiesKHR ), "struct and wrapper have different size!" );\r
-\r
- struct DisplayModeParametersKHR\r
- {\r
- DisplayModeParametersKHR( Extent2D visibleRegion_ = Extent2D(), uint32_t refreshRate_ = 0 )\r
- : visibleRegion( visibleRegion_ )\r
- , refreshRate( refreshRate_ )\r
- {\r
- }\r
-\r
- DisplayModeParametersKHR( VkDisplayModeParametersKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayModeParametersKHR ) );\r
- }\r
-\r
- DisplayModeParametersKHR& operator=( VkDisplayModeParametersKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayModeParametersKHR ) );\r
- return *this;\r
- }\r
- DisplayModeParametersKHR& setVisibleRegion( Extent2D visibleRegion_ )\r
- {\r
- visibleRegion = visibleRegion_;\r
- return *this;\r
- }\r
-\r
- DisplayModeParametersKHR& setRefreshRate( uint32_t refreshRate_ )\r
- {\r
- refreshRate = refreshRate_;\r
- return *this;\r
- }\r
-\r
- operator const VkDisplayModeParametersKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayModeParametersKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplayModeParametersKHR const& rhs ) const\r
- {\r
- return ( visibleRegion == rhs.visibleRegion )\r
- && ( refreshRate == rhs.refreshRate );\r
- }\r
-\r
- bool operator!=( DisplayModeParametersKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Extent2D visibleRegion;\r
- uint32_t refreshRate;\r
- };\r
- static_assert( sizeof( DisplayModeParametersKHR ) == sizeof( VkDisplayModeParametersKHR ), "struct and wrapper have different size!" );\r
-\r
- struct DisplayModePropertiesKHR\r
- {\r
- operator const VkDisplayModePropertiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayModePropertiesKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplayModePropertiesKHR const& rhs ) const\r
- {\r
- return ( displayMode == rhs.displayMode )\r
- && ( parameters == rhs.parameters );\r
- }\r
-\r
- bool operator!=( DisplayModePropertiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DisplayModeKHR displayMode;\r
- DisplayModeParametersKHR parameters;\r
- };\r
- static_assert( sizeof( DisplayModePropertiesKHR ) == sizeof( VkDisplayModePropertiesKHR ), "struct and wrapper have different size!" );\r
-\r
- struct RectLayerKHR\r
- {\r
- RectLayerKHR( Offset2D offset_ = Offset2D(), Extent2D extent_ = Extent2D(), uint32_t layer_ = 0 )\r
- : offset( offset_ )\r
- , extent( extent_ )\r
- , layer( layer_ )\r
- {\r
- }\r
-\r
- RectLayerKHR( VkRectLayerKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RectLayerKHR ) );\r
- }\r
-\r
- RectLayerKHR& operator=( VkRectLayerKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RectLayerKHR ) );\r
- return *this;\r
- }\r
- RectLayerKHR& setOffset( Offset2D offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- RectLayerKHR& setExtent( Extent2D extent_ )\r
- {\r
- extent = extent_;\r
- return *this;\r
- }\r
-\r
- RectLayerKHR& setLayer( uint32_t layer_ )\r
- {\r
- layer = layer_;\r
- return *this;\r
- }\r
-\r
- operator const VkRectLayerKHR&() const\r
- {\r
- return *reinterpret_cast<const VkRectLayerKHR*>(this);\r
- }\r
-\r
- bool operator==( RectLayerKHR const& rhs ) const\r
- {\r
- return ( offset == rhs.offset )\r
- && ( extent == rhs.extent )\r
- && ( layer == rhs.layer );\r
- }\r
-\r
- bool operator!=( RectLayerKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Offset2D offset;\r
- Extent2D extent;\r
- uint32_t layer;\r
- };\r
- static_assert( sizeof( RectLayerKHR ) == sizeof( VkRectLayerKHR ), "struct and wrapper have different size!" );\r
-\r
- struct PresentRegionKHR\r
- {\r
- PresentRegionKHR( uint32_t rectangleCount_ = 0, const RectLayerKHR* pRectangles_ = nullptr )\r
- : rectangleCount( rectangleCount_ )\r
- , pRectangles( pRectangles_ )\r
- {\r
- }\r
-\r
- PresentRegionKHR( VkPresentRegionKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentRegionKHR ) );\r
- }\r
-\r
- PresentRegionKHR& operator=( VkPresentRegionKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentRegionKHR ) );\r
- return *this;\r
- }\r
- PresentRegionKHR& setRectangleCount( uint32_t rectangleCount_ )\r
- {\r
- rectangleCount = rectangleCount_;\r
- return *this;\r
- }\r
-\r
- PresentRegionKHR& setPRectangles( const RectLayerKHR* pRectangles_ )\r
- {\r
- pRectangles = pRectangles_;\r
- return *this;\r
- }\r
-\r
- operator const VkPresentRegionKHR&() const\r
- {\r
- return *reinterpret_cast<const VkPresentRegionKHR*>(this);\r
- }\r
-\r
- bool operator==( PresentRegionKHR const& rhs ) const\r
- {\r
- return ( rectangleCount == rhs.rectangleCount )\r
- && ( pRectangles == rhs.pRectangles );\r
- }\r
-\r
- bool operator!=( PresentRegionKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t rectangleCount;\r
- const RectLayerKHR* pRectangles;\r
- };\r
- static_assert( sizeof( PresentRegionKHR ) == sizeof( VkPresentRegionKHR ), "struct and wrapper have different size!" );\r
-\r
- struct XYColorEXT\r
- {\r
- XYColorEXT( float x_ = 0, float y_ = 0 )\r
- : x( x_ )\r
- , y( y_ )\r
- {\r
- }\r
-\r
- XYColorEXT( VkXYColorEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( XYColorEXT ) );\r
- }\r
-\r
- XYColorEXT& operator=( VkXYColorEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( XYColorEXT ) );\r
- return *this;\r
- }\r
- XYColorEXT& setX( float x_ )\r
- {\r
- x = x_;\r
- return *this;\r
- }\r
-\r
- XYColorEXT& setY( float y_ )\r
- {\r
- y = y_;\r
- return *this;\r
- }\r
-\r
- operator const VkXYColorEXT&() const\r
- {\r
- return *reinterpret_cast<const VkXYColorEXT*>(this);\r
- }\r
-\r
- bool operator==( XYColorEXT const& rhs ) const\r
- {\r
- return ( x == rhs.x )\r
- && ( y == rhs.y );\r
- }\r
-\r
- bool operator!=( XYColorEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- float x;\r
- float y;\r
- };\r
- static_assert( sizeof( XYColorEXT ) == sizeof( VkXYColorEXT ), "struct and wrapper have different size!" );\r
-\r
- struct RefreshCycleDurationGOOGLE\r
- {\r
- RefreshCycleDurationGOOGLE( uint64_t refreshDuration_ = 0 )\r
- : refreshDuration( refreshDuration_ )\r
- {\r
- }\r
-\r
- RefreshCycleDurationGOOGLE( VkRefreshCycleDurationGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RefreshCycleDurationGOOGLE ) );\r
- }\r
-\r
- RefreshCycleDurationGOOGLE& operator=( VkRefreshCycleDurationGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RefreshCycleDurationGOOGLE ) );\r
- return *this;\r
- }\r
- RefreshCycleDurationGOOGLE& setRefreshDuration( uint64_t refreshDuration_ )\r
- {\r
- refreshDuration = refreshDuration_;\r
- return *this;\r
- }\r
-\r
- operator const VkRefreshCycleDurationGOOGLE&() const\r
- {\r
- return *reinterpret_cast<const VkRefreshCycleDurationGOOGLE*>(this);\r
- }\r
-\r
- bool operator==( RefreshCycleDurationGOOGLE const& rhs ) const\r
- {\r
- return ( refreshDuration == rhs.refreshDuration );\r
- }\r
-\r
- bool operator!=( RefreshCycleDurationGOOGLE const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint64_t refreshDuration;\r
- };\r
- static_assert( sizeof( RefreshCycleDurationGOOGLE ) == sizeof( VkRefreshCycleDurationGOOGLE ), "struct and wrapper have different size!" );\r
-\r
- struct PastPresentationTimingGOOGLE\r
- {\r
- PastPresentationTimingGOOGLE( uint32_t presentID_ = 0, uint64_t desiredPresentTime_ = 0, uint64_t actualPresentTime_ = 0, uint64_t earliestPresentTime_ = 0, uint64_t presentMargin_ = 0 )\r
- : presentID( presentID_ )\r
- , desiredPresentTime( desiredPresentTime_ )\r
- , actualPresentTime( actualPresentTime_ )\r
- , earliestPresentTime( earliestPresentTime_ )\r
- , presentMargin( presentMargin_ )\r
- {\r
- }\r
-\r
- PastPresentationTimingGOOGLE( VkPastPresentationTimingGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PastPresentationTimingGOOGLE ) );\r
- }\r
-\r
- PastPresentationTimingGOOGLE& operator=( VkPastPresentationTimingGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PastPresentationTimingGOOGLE ) );\r
- return *this;\r
- }\r
- PastPresentationTimingGOOGLE& setPresentID( uint32_t presentID_ )\r
- {\r
- presentID = presentID_;\r
- return *this;\r
- }\r
-\r
- PastPresentationTimingGOOGLE& setDesiredPresentTime( uint64_t desiredPresentTime_ )\r
- {\r
- desiredPresentTime = desiredPresentTime_;\r
- return *this;\r
- }\r
-\r
- PastPresentationTimingGOOGLE& setActualPresentTime( uint64_t actualPresentTime_ )\r
- {\r
- actualPresentTime = actualPresentTime_;\r
- return *this;\r
- }\r
-\r
- PastPresentationTimingGOOGLE& setEarliestPresentTime( uint64_t earliestPresentTime_ )\r
- {\r
- earliestPresentTime = earliestPresentTime_;\r
- return *this;\r
- }\r
-\r
- PastPresentationTimingGOOGLE& setPresentMargin( uint64_t presentMargin_ )\r
- {\r
- presentMargin = presentMargin_;\r
- return *this;\r
- }\r
-\r
- operator const VkPastPresentationTimingGOOGLE&() const\r
- {\r
- return *reinterpret_cast<const VkPastPresentationTimingGOOGLE*>(this);\r
- }\r
-\r
- bool operator==( PastPresentationTimingGOOGLE const& rhs ) const\r
- {\r
- return ( presentID == rhs.presentID )\r
- && ( desiredPresentTime == rhs.desiredPresentTime )\r
- && ( actualPresentTime == rhs.actualPresentTime )\r
- && ( earliestPresentTime == rhs.earliestPresentTime )\r
- && ( presentMargin == rhs.presentMargin );\r
- }\r
-\r
- bool operator!=( PastPresentationTimingGOOGLE const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t presentID;\r
- uint64_t desiredPresentTime;\r
- uint64_t actualPresentTime;\r
- uint64_t earliestPresentTime;\r
- uint64_t presentMargin;\r
- };\r
- static_assert( sizeof( PastPresentationTimingGOOGLE ) == sizeof( VkPastPresentationTimingGOOGLE ), "struct and wrapper have different size!" );\r
-\r
- struct PresentTimeGOOGLE\r
- {\r
- PresentTimeGOOGLE( uint32_t presentID_ = 0, uint64_t desiredPresentTime_ = 0 )\r
- : presentID( presentID_ )\r
- , desiredPresentTime( desiredPresentTime_ )\r
- {\r
- }\r
-\r
- PresentTimeGOOGLE( VkPresentTimeGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentTimeGOOGLE ) );\r
- }\r
-\r
- PresentTimeGOOGLE& operator=( VkPresentTimeGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentTimeGOOGLE ) );\r
- return *this;\r
- }\r
- PresentTimeGOOGLE& setPresentID( uint32_t presentID_ )\r
- {\r
- presentID = presentID_;\r
- return *this;\r
- }\r
-\r
- PresentTimeGOOGLE& setDesiredPresentTime( uint64_t desiredPresentTime_ )\r
- {\r
- desiredPresentTime = desiredPresentTime_;\r
- return *this;\r
- }\r
-\r
- operator const VkPresentTimeGOOGLE&() const\r
- {\r
- return *reinterpret_cast<const VkPresentTimeGOOGLE*>(this);\r
- }\r
-\r
- bool operator==( PresentTimeGOOGLE const& rhs ) const\r
- {\r
- return ( presentID == rhs.presentID )\r
- && ( desiredPresentTime == rhs.desiredPresentTime );\r
- }\r
-\r
- bool operator!=( PresentTimeGOOGLE const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t presentID;\r
- uint64_t desiredPresentTime;\r
- };\r
- static_assert( sizeof( PresentTimeGOOGLE ) == sizeof( VkPresentTimeGOOGLE ), "struct and wrapper have different size!" );\r
-\r
- struct ViewportWScalingNV\r
- {\r
- ViewportWScalingNV( float xcoeff_ = 0, float ycoeff_ = 0 )\r
- : xcoeff( xcoeff_ )\r
- , ycoeff( ycoeff_ )\r
- {\r
- }\r
-\r
- ViewportWScalingNV( VkViewportWScalingNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ViewportWScalingNV ) );\r
- }\r
-\r
- ViewportWScalingNV& operator=( VkViewportWScalingNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ViewportWScalingNV ) );\r
- return *this;\r
- }\r
- ViewportWScalingNV& setXcoeff( float xcoeff_ )\r
- {\r
- xcoeff = xcoeff_;\r
- return *this;\r
- }\r
-\r
- ViewportWScalingNV& setYcoeff( float ycoeff_ )\r
- {\r
- ycoeff = ycoeff_;\r
- return *this;\r
- }\r
-\r
- operator const VkViewportWScalingNV&() const\r
- {\r
- return *reinterpret_cast<const VkViewportWScalingNV*>(this);\r
- }\r
-\r
- bool operator==( ViewportWScalingNV const& rhs ) const\r
- {\r
- return ( xcoeff == rhs.xcoeff )\r
- && ( ycoeff == rhs.ycoeff );\r
- }\r
-\r
- bool operator!=( ViewportWScalingNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- float xcoeff;\r
- float ycoeff;\r
- };\r
- static_assert( sizeof( ViewportWScalingNV ) == sizeof( VkViewportWScalingNV ), "struct and wrapper have different size!" );\r
-\r
- struct SampleLocationEXT\r
- {\r
- SampleLocationEXT( float x_ = 0, float y_ = 0 )\r
- : x( x_ )\r
- , y( y_ )\r
- {\r
- }\r
-\r
- SampleLocationEXT( VkSampleLocationEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SampleLocationEXT ) );\r
- }\r
-\r
- SampleLocationEXT& operator=( VkSampleLocationEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SampleLocationEXT ) );\r
- return *this;\r
- }\r
- SampleLocationEXT& setX( float x_ )\r
- {\r
- x = x_;\r
- return *this;\r
- }\r
-\r
- SampleLocationEXT& setY( float y_ )\r
- {\r
- y = y_;\r
- return *this;\r
- }\r
-\r
- operator const VkSampleLocationEXT&() const\r
- {\r
- return *reinterpret_cast<const VkSampleLocationEXT*>(this);\r
- }\r
-\r
- bool operator==( SampleLocationEXT const& rhs ) const\r
- {\r
- return ( x == rhs.x )\r
- && ( y == rhs.y );\r
- }\r
-\r
- bool operator!=( SampleLocationEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- float x;\r
- float y;\r
- };\r
- static_assert( sizeof( SampleLocationEXT ) == sizeof( VkSampleLocationEXT ), "struct and wrapper have different size!" );\r
-\r
- struct ShaderResourceUsageAMD\r
- {\r
- operator const VkShaderResourceUsageAMD&() const\r
- {\r
- return *reinterpret_cast<const VkShaderResourceUsageAMD*>(this);\r
- }\r
-\r
- bool operator==( ShaderResourceUsageAMD const& rhs ) const\r
- {\r
- return ( numUsedVgprs == rhs.numUsedVgprs )\r
- && ( numUsedSgprs == rhs.numUsedSgprs )\r
- && ( ldsSizePerLocalWorkGroup == rhs.ldsSizePerLocalWorkGroup )\r
- && ( ldsUsageSizeInBytes == rhs.ldsUsageSizeInBytes )\r
- && ( scratchMemUsageInBytes == rhs.scratchMemUsageInBytes );\r
- }\r
-\r
- bool operator!=( ShaderResourceUsageAMD const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t numUsedVgprs;\r
- uint32_t numUsedSgprs;\r
- uint32_t ldsSizePerLocalWorkGroup;\r
- size_t ldsUsageSizeInBytes;\r
- size_t scratchMemUsageInBytes;\r
- };\r
- static_assert( sizeof( ShaderResourceUsageAMD ) == sizeof( VkShaderResourceUsageAMD ), "struct and wrapper have different size!" );\r
-\r
- struct VertexInputBindingDivisorDescriptionEXT\r
- {\r
- VertexInputBindingDivisorDescriptionEXT( uint32_t binding_ = 0, uint32_t divisor_ = 0 )\r
- : binding( binding_ )\r
- , divisor( divisor_ )\r
- {\r
- }\r
-\r
- VertexInputBindingDivisorDescriptionEXT( VkVertexInputBindingDivisorDescriptionEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( VertexInputBindingDivisorDescriptionEXT ) );\r
- }\r
-\r
- VertexInputBindingDivisorDescriptionEXT& operator=( VkVertexInputBindingDivisorDescriptionEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( VertexInputBindingDivisorDescriptionEXT ) );\r
- return *this;\r
- }\r
- VertexInputBindingDivisorDescriptionEXT& setBinding( uint32_t binding_ )\r
- {\r
- binding = binding_;\r
- return *this;\r
- }\r
-\r
- VertexInputBindingDivisorDescriptionEXT& setDivisor( uint32_t divisor_ )\r
- {\r
- divisor = divisor_;\r
- return *this;\r
- }\r
-\r
- operator const VkVertexInputBindingDivisorDescriptionEXT&() const\r
- {\r
- return *reinterpret_cast<const VkVertexInputBindingDivisorDescriptionEXT*>(this);\r
- }\r
-\r
- bool operator==( VertexInputBindingDivisorDescriptionEXT const& rhs ) const\r
- {\r
- return ( binding == rhs.binding )\r
- && ( divisor == rhs.divisor );\r
- }\r
-\r
- bool operator!=( VertexInputBindingDivisorDescriptionEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t binding;\r
- uint32_t divisor;\r
- };\r
- static_assert( sizeof( VertexInputBindingDivisorDescriptionEXT ) == sizeof( VkVertexInputBindingDivisorDescriptionEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class ImageLayout\r
- {\r
- eUndefined = VK_IMAGE_LAYOUT_UNDEFINED,\r
- eGeneral = VK_IMAGE_LAYOUT_GENERAL,\r
- eColorAttachmentOptimal = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,\r
- eDepthStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL,\r
- eDepthStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL,\r
- eShaderReadOnlyOptimal = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,\r
- eTransferSrcOptimal = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,\r
- eTransferDstOptimal = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,\r
- ePreinitialized = VK_IMAGE_LAYOUT_PREINITIALIZED,\r
- eDepthReadOnlyStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL,\r
- eDepthReadOnlyStencilAttachmentOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL,\r
- eDepthAttachmentStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL,\r
- eDepthAttachmentStencilReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL,\r
- ePresentSrcKHR = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,\r
- eSharedPresentKHR = VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR\r
- };\r
-\r
- struct DescriptorImageInfo\r
- {\r
- DescriptorImageInfo( Sampler sampler_ = Sampler(), ImageView imageView_ = ImageView(), ImageLayout imageLayout_ = ImageLayout::eUndefined )\r
- : sampler( sampler_ )\r
- , imageView( imageView_ )\r
- , imageLayout( imageLayout_ )\r
- {\r
- }\r
-\r
- DescriptorImageInfo( VkDescriptorImageInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorImageInfo ) );\r
- }\r
-\r
- DescriptorImageInfo& operator=( VkDescriptorImageInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorImageInfo ) );\r
- return *this;\r
- }\r
- DescriptorImageInfo& setSampler( Sampler sampler_ )\r
- {\r
- sampler = sampler_;\r
- return *this;\r
- }\r
-\r
- DescriptorImageInfo& setImageView( ImageView imageView_ )\r
- {\r
- imageView = imageView_;\r
- return *this;\r
- }\r
-\r
- DescriptorImageInfo& setImageLayout( ImageLayout imageLayout_ )\r
- {\r
- imageLayout = imageLayout_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorImageInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorImageInfo*>(this);\r
- }\r
-\r
- bool operator==( DescriptorImageInfo const& rhs ) const\r
- {\r
- return ( sampler == rhs.sampler )\r
- && ( imageView == rhs.imageView )\r
- && ( imageLayout == rhs.imageLayout );\r
- }\r
-\r
- bool operator!=( DescriptorImageInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Sampler sampler;\r
- ImageView imageView;\r
- ImageLayout imageLayout;\r
- };\r
- static_assert( sizeof( DescriptorImageInfo ) == sizeof( VkDescriptorImageInfo ), "struct and wrapper have different size!" );\r
-\r
- struct AttachmentReference\r
- {\r
- AttachmentReference( uint32_t attachment_ = 0, ImageLayout layout_ = ImageLayout::eUndefined )\r
- : attachment( attachment_ )\r
- , layout( layout_ )\r
- {\r
- }\r
-\r
- AttachmentReference( VkAttachmentReference const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AttachmentReference ) );\r
- }\r
-\r
- AttachmentReference& operator=( VkAttachmentReference const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AttachmentReference ) );\r
- return *this;\r
- }\r
- AttachmentReference& setAttachment( uint32_t attachment_ )\r
- {\r
- attachment = attachment_;\r
- return *this;\r
- }\r
-\r
- AttachmentReference& setLayout( ImageLayout layout_ )\r
- {\r
- layout = layout_;\r
- return *this;\r
- }\r
-\r
- operator const VkAttachmentReference&() const\r
- {\r
- return *reinterpret_cast<const VkAttachmentReference*>(this);\r
- }\r
-\r
- bool operator==( AttachmentReference const& rhs ) const\r
- {\r
- return ( attachment == rhs.attachment )\r
- && ( layout == rhs.layout );\r
- }\r
-\r
- bool operator!=( AttachmentReference const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t attachment;\r
- ImageLayout layout;\r
- };\r
- static_assert( sizeof( AttachmentReference ) == sizeof( VkAttachmentReference ), "struct and wrapper have different size!" );\r
-\r
- enum class AttachmentLoadOp\r
- {\r
- eLoad = VK_ATTACHMENT_LOAD_OP_LOAD,\r
- eClear = VK_ATTACHMENT_LOAD_OP_CLEAR,\r
- eDontCare = VK_ATTACHMENT_LOAD_OP_DONT_CARE\r
- };\r
-\r
- enum class AttachmentStoreOp\r
- {\r
- eStore = VK_ATTACHMENT_STORE_OP_STORE,\r
- eDontCare = VK_ATTACHMENT_STORE_OP_DONT_CARE\r
- };\r
-\r
- enum class ImageType\r
- {\r
- e1D = VK_IMAGE_TYPE_1D,\r
- e2D = VK_IMAGE_TYPE_2D,\r
- e3D = VK_IMAGE_TYPE_3D\r
- };\r
-\r
- enum class ImageTiling\r
- {\r
- eOptimal = VK_IMAGE_TILING_OPTIMAL,\r
- eLinear = VK_IMAGE_TILING_LINEAR\r
- };\r
-\r
- enum class ImageViewType\r
- {\r
- e1D = VK_IMAGE_VIEW_TYPE_1D,\r
- e2D = VK_IMAGE_VIEW_TYPE_2D,\r
- e3D = VK_IMAGE_VIEW_TYPE_3D,\r
- eCube = VK_IMAGE_VIEW_TYPE_CUBE,\r
- e1DArray = VK_IMAGE_VIEW_TYPE_1D_ARRAY,\r
- e2DArray = VK_IMAGE_VIEW_TYPE_2D_ARRAY,\r
- eCubeArray = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY\r
- };\r
-\r
- enum class CommandBufferLevel\r
- {\r
- ePrimary = VK_COMMAND_BUFFER_LEVEL_PRIMARY,\r
- eSecondary = VK_COMMAND_BUFFER_LEVEL_SECONDARY\r
- };\r
-\r
- enum class ComponentSwizzle\r
- {\r
- eIdentity = VK_COMPONENT_SWIZZLE_IDENTITY,\r
- eZero = VK_COMPONENT_SWIZZLE_ZERO,\r
- eOne = VK_COMPONENT_SWIZZLE_ONE,\r
- eR = VK_COMPONENT_SWIZZLE_R,\r
- eG = VK_COMPONENT_SWIZZLE_G,\r
- eB = VK_COMPONENT_SWIZZLE_B,\r
- eA = VK_COMPONENT_SWIZZLE_A\r
- };\r
-\r
- struct ComponentMapping\r
- {\r
- ComponentMapping( ComponentSwizzle r_ = ComponentSwizzle::eIdentity, ComponentSwizzle g_ = ComponentSwizzle::eIdentity, ComponentSwizzle b_ = ComponentSwizzle::eIdentity, ComponentSwizzle a_ = ComponentSwizzle::eIdentity )\r
- : r( r_ )\r
- , g( g_ )\r
- , b( b_ )\r
- , a( a_ )\r
- {\r
- }\r
-\r
- ComponentMapping( VkComponentMapping const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ComponentMapping ) );\r
- }\r
-\r
- ComponentMapping& operator=( VkComponentMapping const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ComponentMapping ) );\r
- return *this;\r
- }\r
- ComponentMapping& setR( ComponentSwizzle r_ )\r
- {\r
- r = r_;\r
- return *this;\r
- }\r
-\r
- ComponentMapping& setG( ComponentSwizzle g_ )\r
- {\r
- g = g_;\r
- return *this;\r
- }\r
-\r
- ComponentMapping& setB( ComponentSwizzle b_ )\r
- {\r
- b = b_;\r
- return *this;\r
- }\r
-\r
- ComponentMapping& setA( ComponentSwizzle a_ )\r
- {\r
- a = a_;\r
- return *this;\r
- }\r
-\r
- operator const VkComponentMapping&() const\r
- {\r
- return *reinterpret_cast<const VkComponentMapping*>(this);\r
- }\r
-\r
- bool operator==( ComponentMapping const& rhs ) const\r
- {\r
- return ( r == rhs.r )\r
- && ( g == rhs.g )\r
- && ( b == rhs.b )\r
- && ( a == rhs.a );\r
- }\r
-\r
- bool operator!=( ComponentMapping const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ComponentSwizzle r;\r
- ComponentSwizzle g;\r
- ComponentSwizzle b;\r
- ComponentSwizzle a;\r
- };\r
- static_assert( sizeof( ComponentMapping ) == sizeof( VkComponentMapping ), "struct and wrapper have different size!" );\r
-\r
- enum class DescriptorType\r
- {\r
- eSampler = VK_DESCRIPTOR_TYPE_SAMPLER,\r
- eCombinedImageSampler = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,\r
- eSampledImage = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,\r
- eStorageImage = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,\r
- eUniformTexelBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER,\r
- eStorageTexelBuffer = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER,\r
- eUniformBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,\r
- eStorageBuffer = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,\r
- eUniformBufferDynamic = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC,\r
- eStorageBufferDynamic = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC,\r
- eInputAttachment = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT\r
- };\r
-\r
- struct DescriptorPoolSize\r
- {\r
- DescriptorPoolSize( DescriptorType type_ = DescriptorType::eSampler, uint32_t descriptorCount_ = 0 )\r
- : type( type_ )\r
- , descriptorCount( descriptorCount_ )\r
- {\r
- }\r
-\r
- DescriptorPoolSize( VkDescriptorPoolSize const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorPoolSize ) );\r
- }\r
-\r
- DescriptorPoolSize& operator=( VkDescriptorPoolSize const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorPoolSize ) );\r
- return *this;\r
- }\r
- DescriptorPoolSize& setType( DescriptorType type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- DescriptorPoolSize& setDescriptorCount( uint32_t descriptorCount_ )\r
- {\r
- descriptorCount = descriptorCount_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorPoolSize&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorPoolSize*>(this);\r
- }\r
-\r
- bool operator==( DescriptorPoolSize const& rhs ) const\r
- {\r
- return ( type == rhs.type )\r
- && ( descriptorCount == rhs.descriptorCount );\r
- }\r
-\r
- bool operator!=( DescriptorPoolSize const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DescriptorType type;\r
- uint32_t descriptorCount;\r
- };\r
- static_assert( sizeof( DescriptorPoolSize ) == sizeof( VkDescriptorPoolSize ), "struct and wrapper have different size!" );\r
-\r
- struct DescriptorUpdateTemplateEntry\r
- {\r
- DescriptorUpdateTemplateEntry( uint32_t dstBinding_ = 0, uint32_t dstArrayElement_ = 0, uint32_t descriptorCount_ = 0, DescriptorType descriptorType_ = DescriptorType::eSampler, size_t offset_ = 0, size_t stride_ = 0 )\r
- : dstBinding( dstBinding_ )\r
- , dstArrayElement( dstArrayElement_ )\r
- , descriptorCount( descriptorCount_ )\r
- , descriptorType( descriptorType_ )\r
- , offset( offset_ )\r
- , stride( stride_ )\r
- {\r
- }\r
-\r
- DescriptorUpdateTemplateEntry( VkDescriptorUpdateTemplateEntry const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateEntry ) );\r
- }\r
-\r
- DescriptorUpdateTemplateEntry& operator=( VkDescriptorUpdateTemplateEntry const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateEntry ) );\r
- return *this;\r
- }\r
- DescriptorUpdateTemplateEntry& setDstBinding( uint32_t dstBinding_ )\r
- {\r
- dstBinding = dstBinding_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateEntry& setDstArrayElement( uint32_t dstArrayElement_ )\r
- {\r
- dstArrayElement = dstArrayElement_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateEntry& setDescriptorCount( uint32_t descriptorCount_ )\r
- {\r
- descriptorCount = descriptorCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateEntry& setDescriptorType( DescriptorType descriptorType_ )\r
- {\r
- descriptorType = descriptorType_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateEntry& setOffset( size_t offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateEntry& setStride( size_t stride_ )\r
- {\r
- stride = stride_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorUpdateTemplateEntry&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorUpdateTemplateEntry*>(this);\r
- }\r
-\r
- bool operator==( DescriptorUpdateTemplateEntry const& rhs ) const\r
- {\r
- return ( dstBinding == rhs.dstBinding )\r
- && ( dstArrayElement == rhs.dstArrayElement )\r
- && ( descriptorCount == rhs.descriptorCount )\r
- && ( descriptorType == rhs.descriptorType )\r
- && ( offset == rhs.offset )\r
- && ( stride == rhs.stride );\r
- }\r
-\r
- bool operator!=( DescriptorUpdateTemplateEntry const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t dstBinding;\r
- uint32_t dstArrayElement;\r
- uint32_t descriptorCount;\r
- DescriptorType descriptorType;\r
- size_t offset;\r
- size_t stride;\r
- };\r
- static_assert( sizeof( DescriptorUpdateTemplateEntry ) == sizeof( VkDescriptorUpdateTemplateEntry ), "struct and wrapper have different size!" );\r
-\r
- using DescriptorUpdateTemplateEntryKHR = DescriptorUpdateTemplateEntry;\r
-\r
- enum class QueryType\r
- {\r
- eOcclusion = VK_QUERY_TYPE_OCCLUSION,\r
- ePipelineStatistics = VK_QUERY_TYPE_PIPELINE_STATISTICS,\r
- eTimestamp = VK_QUERY_TYPE_TIMESTAMP\r
- };\r
-\r
- enum class BorderColor\r
- {\r
- eFloatTransparentBlack = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK,\r
- eIntTransparentBlack = VK_BORDER_COLOR_INT_TRANSPARENT_BLACK,\r
- eFloatOpaqueBlack = VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK,\r
- eIntOpaqueBlack = VK_BORDER_COLOR_INT_OPAQUE_BLACK,\r
- eFloatOpaqueWhite = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE,\r
- eIntOpaqueWhite = VK_BORDER_COLOR_INT_OPAQUE_WHITE\r
- };\r
-\r
- enum class PipelineBindPoint\r
- {\r
- eGraphics = VK_PIPELINE_BIND_POINT_GRAPHICS,\r
- eCompute = VK_PIPELINE_BIND_POINT_COMPUTE\r
- };\r
-\r
- enum class PipelineCacheHeaderVersion\r
- {\r
- eOne = VK_PIPELINE_CACHE_HEADER_VERSION_ONE\r
- };\r
-\r
- enum class PrimitiveTopology\r
- {\r
- ePointList = VK_PRIMITIVE_TOPOLOGY_POINT_LIST,\r
- eLineList = VK_PRIMITIVE_TOPOLOGY_LINE_LIST,\r
- eLineStrip = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP,\r
- eTriangleList = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,\r
- eTriangleStrip = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,\r
- eTriangleFan = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN,\r
- eLineListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY,\r
- eLineStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY,\r
- eTriangleListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY,\r
- eTriangleStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY,\r
- ePatchList = VK_PRIMITIVE_TOPOLOGY_PATCH_LIST\r
- };\r
-\r
- enum class SharingMode\r
- {\r
- eExclusive = VK_SHARING_MODE_EXCLUSIVE,\r
- eConcurrent = VK_SHARING_MODE_CONCURRENT\r
- };\r
-\r
- enum class IndexType\r
- {\r
- eUint16 = VK_INDEX_TYPE_UINT16,\r
- eUint32 = VK_INDEX_TYPE_UINT32\r
- };\r
-\r
- enum class Filter\r
- {\r
- eNearest = VK_FILTER_NEAREST,\r
- eLinear = VK_FILTER_LINEAR,\r
- eCubicIMG = VK_FILTER_CUBIC_IMG\r
- };\r
-\r
- enum class SamplerMipmapMode\r
- {\r
- eNearest = VK_SAMPLER_MIPMAP_MODE_NEAREST,\r
- eLinear = VK_SAMPLER_MIPMAP_MODE_LINEAR\r
- };\r
-\r
- enum class SamplerAddressMode\r
- {\r
- eRepeat = VK_SAMPLER_ADDRESS_MODE_REPEAT,\r
- eMirroredRepeat = VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT,\r
- eClampToEdge = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,\r
- eClampToBorder = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,\r
- eMirrorClampToEdge = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE\r
- };\r
-\r
- enum class CompareOp\r
- {\r
- eNever = VK_COMPARE_OP_NEVER,\r
- eLess = VK_COMPARE_OP_LESS,\r
- eEqual = VK_COMPARE_OP_EQUAL,\r
- eLessOrEqual = VK_COMPARE_OP_LESS_OR_EQUAL,\r
- eGreater = VK_COMPARE_OP_GREATER,\r
- eNotEqual = VK_COMPARE_OP_NOT_EQUAL,\r
- eGreaterOrEqual = VK_COMPARE_OP_GREATER_OR_EQUAL,\r
- eAlways = VK_COMPARE_OP_ALWAYS\r
- };\r
-\r
- enum class PolygonMode\r
- {\r
- eFill = VK_POLYGON_MODE_FILL,\r
- eLine = VK_POLYGON_MODE_LINE,\r
- ePoint = VK_POLYGON_MODE_POINT,\r
- eFillRectangleNV = VK_POLYGON_MODE_FILL_RECTANGLE_NV\r
- };\r
-\r
- enum class CullModeFlagBits\r
- {\r
- eNone = VK_CULL_MODE_NONE,\r
- eFront = VK_CULL_MODE_FRONT_BIT,\r
- eBack = VK_CULL_MODE_BACK_BIT,\r
- eFrontAndBack = VK_CULL_MODE_FRONT_AND_BACK\r
- };\r
-\r
- using CullModeFlags = Flags<CullModeFlagBits, VkCullModeFlags>;\r
-\r
- VULKAN_HPP_INLINE CullModeFlags operator|( CullModeFlagBits bit0, CullModeFlagBits bit1 )\r
- {\r
- return CullModeFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE CullModeFlags operator~( CullModeFlagBits bits )\r
- {\r
- return ~( CullModeFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<CullModeFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(CullModeFlagBits::eNone) | VkFlags(CullModeFlagBits::eFront) | VkFlags(CullModeFlagBits::eBack) | VkFlags(CullModeFlagBits::eFrontAndBack)\r
- };\r
- };\r
-\r
- enum class FrontFace\r
- {\r
- eCounterClockwise = VK_FRONT_FACE_COUNTER_CLOCKWISE,\r
- eClockwise = VK_FRONT_FACE_CLOCKWISE\r
- };\r
-\r
- enum class BlendFactor\r
- {\r
- eZero = VK_BLEND_FACTOR_ZERO,\r
- eOne = VK_BLEND_FACTOR_ONE,\r
- eSrcColor = VK_BLEND_FACTOR_SRC_COLOR,\r
- eOneMinusSrcColor = VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR,\r
- eDstColor = VK_BLEND_FACTOR_DST_COLOR,\r
- eOneMinusDstColor = VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR,\r
- eSrcAlpha = VK_BLEND_FACTOR_SRC_ALPHA,\r
- eOneMinusSrcAlpha = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA,\r
- eDstAlpha = VK_BLEND_FACTOR_DST_ALPHA,\r
- eOneMinusDstAlpha = VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA,\r
- eConstantColor = VK_BLEND_FACTOR_CONSTANT_COLOR,\r
- eOneMinusConstantColor = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,\r
- eConstantAlpha = VK_BLEND_FACTOR_CONSTANT_ALPHA,\r
- eOneMinusConstantAlpha = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA,\r
- eSrcAlphaSaturate = VK_BLEND_FACTOR_SRC_ALPHA_SATURATE,\r
- eSrc1Color = VK_BLEND_FACTOR_SRC1_COLOR,\r
- eOneMinusSrc1Color = VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR,\r
- eSrc1Alpha = VK_BLEND_FACTOR_SRC1_ALPHA,\r
- eOneMinusSrc1Alpha = VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA\r
- };\r
-\r
- enum class BlendOp\r
- {\r
- eAdd = VK_BLEND_OP_ADD,\r
- eSubtract = VK_BLEND_OP_SUBTRACT,\r
- eReverseSubtract = VK_BLEND_OP_REVERSE_SUBTRACT,\r
- eMin = VK_BLEND_OP_MIN,\r
- eMax = VK_BLEND_OP_MAX,\r
- eZeroEXT = VK_BLEND_OP_ZERO_EXT,\r
- eSrcEXT = VK_BLEND_OP_SRC_EXT,\r
- eDstEXT = VK_BLEND_OP_DST_EXT,\r
- eSrcOverEXT = VK_BLEND_OP_SRC_OVER_EXT,\r
- eDstOverEXT = VK_BLEND_OP_DST_OVER_EXT,\r
- eSrcInEXT = VK_BLEND_OP_SRC_IN_EXT,\r
- eDstInEXT = VK_BLEND_OP_DST_IN_EXT,\r
- eSrcOutEXT = VK_BLEND_OP_SRC_OUT_EXT,\r
- eDstOutEXT = VK_BLEND_OP_DST_OUT_EXT,\r
- eSrcAtopEXT = VK_BLEND_OP_SRC_ATOP_EXT,\r
- eDstAtopEXT = VK_BLEND_OP_DST_ATOP_EXT,\r
- eXorEXT = VK_BLEND_OP_XOR_EXT,\r
- eMultiplyEXT = VK_BLEND_OP_MULTIPLY_EXT,\r
- eScreenEXT = VK_BLEND_OP_SCREEN_EXT,\r
- eOverlayEXT = VK_BLEND_OP_OVERLAY_EXT,\r
- eDarkenEXT = VK_BLEND_OP_DARKEN_EXT,\r
- eLightenEXT = VK_BLEND_OP_LIGHTEN_EXT,\r
- eColordodgeEXT = VK_BLEND_OP_COLORDODGE_EXT,\r
- eColorburnEXT = VK_BLEND_OP_COLORBURN_EXT,\r
- eHardlightEXT = VK_BLEND_OP_HARDLIGHT_EXT,\r
- eSoftlightEXT = VK_BLEND_OP_SOFTLIGHT_EXT,\r
- eDifferenceEXT = VK_BLEND_OP_DIFFERENCE_EXT,\r
- eExclusionEXT = VK_BLEND_OP_EXCLUSION_EXT,\r
- eInvertEXT = VK_BLEND_OP_INVERT_EXT,\r
- eInvertRgbEXT = VK_BLEND_OP_INVERT_RGB_EXT,\r
- eLineardodgeEXT = VK_BLEND_OP_LINEARDODGE_EXT,\r
- eLinearburnEXT = VK_BLEND_OP_LINEARBURN_EXT,\r
- eVividlightEXT = VK_BLEND_OP_VIVIDLIGHT_EXT,\r
- eLinearlightEXT = VK_BLEND_OP_LINEARLIGHT_EXT,\r
- ePinlightEXT = VK_BLEND_OP_PINLIGHT_EXT,\r
- eHardmixEXT = VK_BLEND_OP_HARDMIX_EXT,\r
- eHslHueEXT = VK_BLEND_OP_HSL_HUE_EXT,\r
- eHslSaturationEXT = VK_BLEND_OP_HSL_SATURATION_EXT,\r
- eHslColorEXT = VK_BLEND_OP_HSL_COLOR_EXT,\r
- eHslLuminosityEXT = VK_BLEND_OP_HSL_LUMINOSITY_EXT,\r
- ePlusEXT = VK_BLEND_OP_PLUS_EXT,\r
- ePlusClampedEXT = VK_BLEND_OP_PLUS_CLAMPED_EXT,\r
- ePlusClampedAlphaEXT = VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT,\r
- ePlusDarkerEXT = VK_BLEND_OP_PLUS_DARKER_EXT,\r
- eMinusEXT = VK_BLEND_OP_MINUS_EXT,\r
- eMinusClampedEXT = VK_BLEND_OP_MINUS_CLAMPED_EXT,\r
- eContrastEXT = VK_BLEND_OP_CONTRAST_EXT,\r
- eInvertOvgEXT = VK_BLEND_OP_INVERT_OVG_EXT,\r
- eRedEXT = VK_BLEND_OP_RED_EXT,\r
- eGreenEXT = VK_BLEND_OP_GREEN_EXT,\r
- eBlueEXT = VK_BLEND_OP_BLUE_EXT\r
- };\r
-\r
- enum class StencilOp\r
- {\r
- eKeep = VK_STENCIL_OP_KEEP,\r
- eZero = VK_STENCIL_OP_ZERO,\r
- eReplace = VK_STENCIL_OP_REPLACE,\r
- eIncrementAndClamp = VK_STENCIL_OP_INCREMENT_AND_CLAMP,\r
- eDecrementAndClamp = VK_STENCIL_OP_DECREMENT_AND_CLAMP,\r
- eInvert = VK_STENCIL_OP_INVERT,\r
- eIncrementAndWrap = VK_STENCIL_OP_INCREMENT_AND_WRAP,\r
- eDecrementAndWrap = VK_STENCIL_OP_DECREMENT_AND_WRAP\r
- };\r
-\r
- struct StencilOpState\r
- {\r
- StencilOpState( StencilOp failOp_ = StencilOp::eKeep, StencilOp passOp_ = StencilOp::eKeep, StencilOp depthFailOp_ = StencilOp::eKeep, CompareOp compareOp_ = CompareOp::eNever, uint32_t compareMask_ = 0, uint32_t writeMask_ = 0, uint32_t reference_ = 0 )\r
- : failOp( failOp_ )\r
- , passOp( passOp_ )\r
- , depthFailOp( depthFailOp_ )\r
- , compareOp( compareOp_ )\r
- , compareMask( compareMask_ )\r
- , writeMask( writeMask_ )\r
- , reference( reference_ )\r
- {\r
- }\r
-\r
- StencilOpState( VkStencilOpState const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( StencilOpState ) );\r
- }\r
-\r
- StencilOpState& operator=( VkStencilOpState const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( StencilOpState ) );\r
- return *this;\r
- }\r
- StencilOpState& setFailOp( StencilOp failOp_ )\r
- {\r
- failOp = failOp_;\r
- return *this;\r
- }\r
-\r
- StencilOpState& setPassOp( StencilOp passOp_ )\r
- {\r
- passOp = passOp_;\r
- return *this;\r
- }\r
-\r
- StencilOpState& setDepthFailOp( StencilOp depthFailOp_ )\r
- {\r
- depthFailOp = depthFailOp_;\r
- return *this;\r
- }\r
-\r
- StencilOpState& setCompareOp( CompareOp compareOp_ )\r
- {\r
- compareOp = compareOp_;\r
- return *this;\r
- }\r
-\r
- StencilOpState& setCompareMask( uint32_t compareMask_ )\r
- {\r
- compareMask = compareMask_;\r
- return *this;\r
- }\r
-\r
- StencilOpState& setWriteMask( uint32_t writeMask_ )\r
- {\r
- writeMask = writeMask_;\r
- return *this;\r
- }\r
-\r
- StencilOpState& setReference( uint32_t reference_ )\r
- {\r
- reference = reference_;\r
- return *this;\r
- }\r
-\r
- operator const VkStencilOpState&() const\r
- {\r
- return *reinterpret_cast<const VkStencilOpState*>(this);\r
- }\r
-\r
- bool operator==( StencilOpState const& rhs ) const\r
- {\r
- return ( failOp == rhs.failOp )\r
- && ( passOp == rhs.passOp )\r
- && ( depthFailOp == rhs.depthFailOp )\r
- && ( compareOp == rhs.compareOp )\r
- && ( compareMask == rhs.compareMask )\r
- && ( writeMask == rhs.writeMask )\r
- && ( reference == rhs.reference );\r
- }\r
-\r
- bool operator!=( StencilOpState const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- StencilOp failOp;\r
- StencilOp passOp;\r
- StencilOp depthFailOp;\r
- CompareOp compareOp;\r
- uint32_t compareMask;\r
- uint32_t writeMask;\r
- uint32_t reference;\r
- };\r
- static_assert( sizeof( StencilOpState ) == sizeof( VkStencilOpState ), "struct and wrapper have different size!" );\r
-\r
- enum class LogicOp\r
- {\r
- eClear = VK_LOGIC_OP_CLEAR,\r
- eAnd = VK_LOGIC_OP_AND,\r
- eAndReverse = VK_LOGIC_OP_AND_REVERSE,\r
- eCopy = VK_LOGIC_OP_COPY,\r
- eAndInverted = VK_LOGIC_OP_AND_INVERTED,\r
- eNoOp = VK_LOGIC_OP_NO_OP,\r
- eXor = VK_LOGIC_OP_XOR,\r
- eOr = VK_LOGIC_OP_OR,\r
- eNor = VK_LOGIC_OP_NOR,\r
- eEquivalent = VK_LOGIC_OP_EQUIVALENT,\r
- eInvert = VK_LOGIC_OP_INVERT,\r
- eOrReverse = VK_LOGIC_OP_OR_REVERSE,\r
- eCopyInverted = VK_LOGIC_OP_COPY_INVERTED,\r
- eOrInverted = VK_LOGIC_OP_OR_INVERTED,\r
- eNand = VK_LOGIC_OP_NAND,\r
- eSet = VK_LOGIC_OP_SET\r
- };\r
-\r
- enum class InternalAllocationType\r
- {\r
- eExecutable = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE\r
- };\r
-\r
- enum class SystemAllocationScope\r
- {\r
- eCommand = VK_SYSTEM_ALLOCATION_SCOPE_COMMAND,\r
- eObject = VK_SYSTEM_ALLOCATION_SCOPE_OBJECT,\r
- eCache = VK_SYSTEM_ALLOCATION_SCOPE_CACHE,\r
- eDevice = VK_SYSTEM_ALLOCATION_SCOPE_DEVICE,\r
- eInstance = VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE\r
- };\r
-\r
- enum class PhysicalDeviceType\r
- {\r
- eOther = VK_PHYSICAL_DEVICE_TYPE_OTHER,\r
- eIntegratedGpu = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,\r
- eDiscreteGpu = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU,\r
- eVirtualGpu = VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU,\r
- eCpu = VK_PHYSICAL_DEVICE_TYPE_CPU\r
- };\r
-\r
- enum class VertexInputRate\r
- {\r
- eVertex = VK_VERTEX_INPUT_RATE_VERTEX,\r
- eInstance = VK_VERTEX_INPUT_RATE_INSTANCE\r
- };\r
-\r
- struct VertexInputBindingDescription\r
- {\r
- VertexInputBindingDescription( uint32_t binding_ = 0, uint32_t stride_ = 0, VertexInputRate inputRate_ = VertexInputRate::eVertex )\r
- : binding( binding_ )\r
- , stride( stride_ )\r
- , inputRate( inputRate_ )\r
- {\r
- }\r
-\r
- VertexInputBindingDescription( VkVertexInputBindingDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( VertexInputBindingDescription ) );\r
- }\r
-\r
- VertexInputBindingDescription& operator=( VkVertexInputBindingDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( VertexInputBindingDescription ) );\r
- return *this;\r
- }\r
- VertexInputBindingDescription& setBinding( uint32_t binding_ )\r
- {\r
- binding = binding_;\r
- return *this;\r
- }\r
-\r
- VertexInputBindingDescription& setStride( uint32_t stride_ )\r
- {\r
- stride = stride_;\r
- return *this;\r
- }\r
-\r
- VertexInputBindingDescription& setInputRate( VertexInputRate inputRate_ )\r
- {\r
- inputRate = inputRate_;\r
- return *this;\r
- }\r
-\r
- operator const VkVertexInputBindingDescription&() const\r
- {\r
- return *reinterpret_cast<const VkVertexInputBindingDescription*>(this);\r
- }\r
-\r
- bool operator==( VertexInputBindingDescription const& rhs ) const\r
- {\r
- return ( binding == rhs.binding )\r
- && ( stride == rhs.stride )\r
- && ( inputRate == rhs.inputRate );\r
- }\r
-\r
- bool operator!=( VertexInputBindingDescription const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t binding;\r
- uint32_t stride;\r
- VertexInputRate inputRate;\r
- };\r
- static_assert( sizeof( VertexInputBindingDescription ) == sizeof( VkVertexInputBindingDescription ), "struct and wrapper have different size!" );\r
-\r
- enum class Format\r
- {\r
- eUndefined = VK_FORMAT_UNDEFINED,\r
- eR4G4UnormPack8 = VK_FORMAT_R4G4_UNORM_PACK8,\r
- eR4G4B4A4UnormPack16 = VK_FORMAT_R4G4B4A4_UNORM_PACK16,\r
- eB4G4R4A4UnormPack16 = VK_FORMAT_B4G4R4A4_UNORM_PACK16,\r
- eR5G6B5UnormPack16 = VK_FORMAT_R5G6B5_UNORM_PACK16,\r
- eB5G6R5UnormPack16 = VK_FORMAT_B5G6R5_UNORM_PACK16,\r
- eR5G5B5A1UnormPack16 = VK_FORMAT_R5G5B5A1_UNORM_PACK16,\r
- eB5G5R5A1UnormPack16 = VK_FORMAT_B5G5R5A1_UNORM_PACK16,\r
- eA1R5G5B5UnormPack16 = VK_FORMAT_A1R5G5B5_UNORM_PACK16,\r
- eR8Unorm = VK_FORMAT_R8_UNORM,\r
- eR8Snorm = VK_FORMAT_R8_SNORM,\r
- eR8Uscaled = VK_FORMAT_R8_USCALED,\r
- eR8Sscaled = VK_FORMAT_R8_SSCALED,\r
- eR8Uint = VK_FORMAT_R8_UINT,\r
- eR8Sint = VK_FORMAT_R8_SINT,\r
- eR8Srgb = VK_FORMAT_R8_SRGB,\r
- eR8G8Unorm = VK_FORMAT_R8G8_UNORM,\r
- eR8G8Snorm = VK_FORMAT_R8G8_SNORM,\r
- eR8G8Uscaled = VK_FORMAT_R8G8_USCALED,\r
- eR8G8Sscaled = VK_FORMAT_R8G8_SSCALED,\r
- eR8G8Uint = VK_FORMAT_R8G8_UINT,\r
- eR8G8Sint = VK_FORMAT_R8G8_SINT,\r
- eR8G8Srgb = VK_FORMAT_R8G8_SRGB,\r
- eR8G8B8Unorm = VK_FORMAT_R8G8B8_UNORM,\r
- eR8G8B8Snorm = VK_FORMAT_R8G8B8_SNORM,\r
- eR8G8B8Uscaled = VK_FORMAT_R8G8B8_USCALED,\r
- eR8G8B8Sscaled = VK_FORMAT_R8G8B8_SSCALED,\r
- eR8G8B8Uint = VK_FORMAT_R8G8B8_UINT,\r
- eR8G8B8Sint = VK_FORMAT_R8G8B8_SINT,\r
- eR8G8B8Srgb = VK_FORMAT_R8G8B8_SRGB,\r
- eB8G8R8Unorm = VK_FORMAT_B8G8R8_UNORM,\r
- eB8G8R8Snorm = VK_FORMAT_B8G8R8_SNORM,\r
- eB8G8R8Uscaled = VK_FORMAT_B8G8R8_USCALED,\r
- eB8G8R8Sscaled = VK_FORMAT_B8G8R8_SSCALED,\r
- eB8G8R8Uint = VK_FORMAT_B8G8R8_UINT,\r
- eB8G8R8Sint = VK_FORMAT_B8G8R8_SINT,\r
- eB8G8R8Srgb = VK_FORMAT_B8G8R8_SRGB,\r
- eR8G8B8A8Unorm = VK_FORMAT_R8G8B8A8_UNORM,\r
- eR8G8B8A8Snorm = VK_FORMAT_R8G8B8A8_SNORM,\r
- eR8G8B8A8Uscaled = VK_FORMAT_R8G8B8A8_USCALED,\r
- eR8G8B8A8Sscaled = VK_FORMAT_R8G8B8A8_SSCALED,\r
- eR8G8B8A8Uint = VK_FORMAT_R8G8B8A8_UINT,\r
- eR8G8B8A8Sint = VK_FORMAT_R8G8B8A8_SINT,\r
- eR8G8B8A8Srgb = VK_FORMAT_R8G8B8A8_SRGB,\r
- eB8G8R8A8Unorm = VK_FORMAT_B8G8R8A8_UNORM,\r
- eB8G8R8A8Snorm = VK_FORMAT_B8G8R8A8_SNORM,\r
- eB8G8R8A8Uscaled = VK_FORMAT_B8G8R8A8_USCALED,\r
- eB8G8R8A8Sscaled = VK_FORMAT_B8G8R8A8_SSCALED,\r
- eB8G8R8A8Uint = VK_FORMAT_B8G8R8A8_UINT,\r
- eB8G8R8A8Sint = VK_FORMAT_B8G8R8A8_SINT,\r
- eB8G8R8A8Srgb = VK_FORMAT_B8G8R8A8_SRGB,\r
- eA8B8G8R8UnormPack32 = VK_FORMAT_A8B8G8R8_UNORM_PACK32,\r
- eA8B8G8R8SnormPack32 = VK_FORMAT_A8B8G8R8_SNORM_PACK32,\r
- eA8B8G8R8UscaledPack32 = VK_FORMAT_A8B8G8R8_USCALED_PACK32,\r
- eA8B8G8R8SscaledPack32 = VK_FORMAT_A8B8G8R8_SSCALED_PACK32,\r
- eA8B8G8R8UintPack32 = VK_FORMAT_A8B8G8R8_UINT_PACK32,\r
- eA8B8G8R8SintPack32 = VK_FORMAT_A8B8G8R8_SINT_PACK32,\r
- eA8B8G8R8SrgbPack32 = VK_FORMAT_A8B8G8R8_SRGB_PACK32,\r
- eA2R10G10B10UnormPack32 = VK_FORMAT_A2R10G10B10_UNORM_PACK32,\r
- eA2R10G10B10SnormPack32 = VK_FORMAT_A2R10G10B10_SNORM_PACK32,\r
- eA2R10G10B10UscaledPack32 = VK_FORMAT_A2R10G10B10_USCALED_PACK32,\r
- eA2R10G10B10SscaledPack32 = VK_FORMAT_A2R10G10B10_SSCALED_PACK32,\r
- eA2R10G10B10UintPack32 = VK_FORMAT_A2R10G10B10_UINT_PACK32,\r
- eA2R10G10B10SintPack32 = VK_FORMAT_A2R10G10B10_SINT_PACK32,\r
- eA2B10G10R10UnormPack32 = VK_FORMAT_A2B10G10R10_UNORM_PACK32,\r
- eA2B10G10R10SnormPack32 = VK_FORMAT_A2B10G10R10_SNORM_PACK32,\r
- eA2B10G10R10UscaledPack32 = VK_FORMAT_A2B10G10R10_USCALED_PACK32,\r
- eA2B10G10R10SscaledPack32 = VK_FORMAT_A2B10G10R10_SSCALED_PACK32,\r
- eA2B10G10R10UintPack32 = VK_FORMAT_A2B10G10R10_UINT_PACK32,\r
- eA2B10G10R10SintPack32 = VK_FORMAT_A2B10G10R10_SINT_PACK32,\r
- eR16Unorm = VK_FORMAT_R16_UNORM,\r
- eR16Snorm = VK_FORMAT_R16_SNORM,\r
- eR16Uscaled = VK_FORMAT_R16_USCALED,\r
- eR16Sscaled = VK_FORMAT_R16_SSCALED,\r
- eR16Uint = VK_FORMAT_R16_UINT,\r
- eR16Sint = VK_FORMAT_R16_SINT,\r
- eR16Sfloat = VK_FORMAT_R16_SFLOAT,\r
- eR16G16Unorm = VK_FORMAT_R16G16_UNORM,\r
- eR16G16Snorm = VK_FORMAT_R16G16_SNORM,\r
- eR16G16Uscaled = VK_FORMAT_R16G16_USCALED,\r
- eR16G16Sscaled = VK_FORMAT_R16G16_SSCALED,\r
- eR16G16Uint = VK_FORMAT_R16G16_UINT,\r
- eR16G16Sint = VK_FORMAT_R16G16_SINT,\r
- eR16G16Sfloat = VK_FORMAT_R16G16_SFLOAT,\r
- eR16G16B16Unorm = VK_FORMAT_R16G16B16_UNORM,\r
- eR16G16B16Snorm = VK_FORMAT_R16G16B16_SNORM,\r
- eR16G16B16Uscaled = VK_FORMAT_R16G16B16_USCALED,\r
- eR16G16B16Sscaled = VK_FORMAT_R16G16B16_SSCALED,\r
- eR16G16B16Uint = VK_FORMAT_R16G16B16_UINT,\r
- eR16G16B16Sint = VK_FORMAT_R16G16B16_SINT,\r
- eR16G16B16Sfloat = VK_FORMAT_R16G16B16_SFLOAT,\r
- eR16G16B16A16Unorm = VK_FORMAT_R16G16B16A16_UNORM,\r
- eR16G16B16A16Snorm = VK_FORMAT_R16G16B16A16_SNORM,\r
- eR16G16B16A16Uscaled = VK_FORMAT_R16G16B16A16_USCALED,\r
- eR16G16B16A16Sscaled = VK_FORMAT_R16G16B16A16_SSCALED,\r
- eR16G16B16A16Uint = VK_FORMAT_R16G16B16A16_UINT,\r
- eR16G16B16A16Sint = VK_FORMAT_R16G16B16A16_SINT,\r
- eR16G16B16A16Sfloat = VK_FORMAT_R16G16B16A16_SFLOAT,\r
- eR32Uint = VK_FORMAT_R32_UINT,\r
- eR32Sint = VK_FORMAT_R32_SINT,\r
- eR32Sfloat = VK_FORMAT_R32_SFLOAT,\r
- eR32G32Uint = VK_FORMAT_R32G32_UINT,\r
- eR32G32Sint = VK_FORMAT_R32G32_SINT,\r
- eR32G32Sfloat = VK_FORMAT_R32G32_SFLOAT,\r
- eR32G32B32Uint = VK_FORMAT_R32G32B32_UINT,\r
- eR32G32B32Sint = VK_FORMAT_R32G32B32_SINT,\r
- eR32G32B32Sfloat = VK_FORMAT_R32G32B32_SFLOAT,\r
- eR32G32B32A32Uint = VK_FORMAT_R32G32B32A32_UINT,\r
- eR32G32B32A32Sint = VK_FORMAT_R32G32B32A32_SINT,\r
- eR32G32B32A32Sfloat = VK_FORMAT_R32G32B32A32_SFLOAT,\r
- eR64Uint = VK_FORMAT_R64_UINT,\r
- eR64Sint = VK_FORMAT_R64_SINT,\r
- eR64Sfloat = VK_FORMAT_R64_SFLOAT,\r
- eR64G64Uint = VK_FORMAT_R64G64_UINT,\r
- eR64G64Sint = VK_FORMAT_R64G64_SINT,\r
- eR64G64Sfloat = VK_FORMAT_R64G64_SFLOAT,\r
- eR64G64B64Uint = VK_FORMAT_R64G64B64_UINT,\r
- eR64G64B64Sint = VK_FORMAT_R64G64B64_SINT,\r
- eR64G64B64Sfloat = VK_FORMAT_R64G64B64_SFLOAT,\r
- eR64G64B64A64Uint = VK_FORMAT_R64G64B64A64_UINT,\r
- eR64G64B64A64Sint = VK_FORMAT_R64G64B64A64_SINT,\r
- eR64G64B64A64Sfloat = VK_FORMAT_R64G64B64A64_SFLOAT,\r
- eB10G11R11UfloatPack32 = VK_FORMAT_B10G11R11_UFLOAT_PACK32,\r
- eE5B9G9R9UfloatPack32 = VK_FORMAT_E5B9G9R9_UFLOAT_PACK32,\r
- eD16Unorm = VK_FORMAT_D16_UNORM,\r
- eX8D24UnormPack32 = VK_FORMAT_X8_D24_UNORM_PACK32,\r
- eD32Sfloat = VK_FORMAT_D32_SFLOAT,\r
- eS8Uint = VK_FORMAT_S8_UINT,\r
- eD16UnormS8Uint = VK_FORMAT_D16_UNORM_S8_UINT,\r
- eD24UnormS8Uint = VK_FORMAT_D24_UNORM_S8_UINT,\r
- eD32SfloatS8Uint = VK_FORMAT_D32_SFLOAT_S8_UINT,\r
- eBc1RgbUnormBlock = VK_FORMAT_BC1_RGB_UNORM_BLOCK,\r
- eBc1RgbSrgbBlock = VK_FORMAT_BC1_RGB_SRGB_BLOCK,\r
- eBc1RgbaUnormBlock = VK_FORMAT_BC1_RGBA_UNORM_BLOCK,\r
- eBc1RgbaSrgbBlock = VK_FORMAT_BC1_RGBA_SRGB_BLOCK,\r
- eBc2UnormBlock = VK_FORMAT_BC2_UNORM_BLOCK,\r
- eBc2SrgbBlock = VK_FORMAT_BC2_SRGB_BLOCK,\r
- eBc3UnormBlock = VK_FORMAT_BC3_UNORM_BLOCK,\r
- eBc3SrgbBlock = VK_FORMAT_BC3_SRGB_BLOCK,\r
- eBc4UnormBlock = VK_FORMAT_BC4_UNORM_BLOCK,\r
- eBc4SnormBlock = VK_FORMAT_BC4_SNORM_BLOCK,\r
- eBc5UnormBlock = VK_FORMAT_BC5_UNORM_BLOCK,\r
- eBc5SnormBlock = VK_FORMAT_BC5_SNORM_BLOCK,\r
- eBc6HUfloatBlock = VK_FORMAT_BC6H_UFLOAT_BLOCK,\r
- eBc6HSfloatBlock = VK_FORMAT_BC6H_SFLOAT_BLOCK,\r
- eBc7UnormBlock = VK_FORMAT_BC7_UNORM_BLOCK,\r
- eBc7SrgbBlock = VK_FORMAT_BC7_SRGB_BLOCK,\r
- eEtc2R8G8B8UnormBlock = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK,\r
- eEtc2R8G8B8SrgbBlock = VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK,\r
- eEtc2R8G8B8A1UnormBlock = VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK,\r
- eEtc2R8G8B8A1SrgbBlock = VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK,\r
- eEtc2R8G8B8A8UnormBlock = VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK,\r
- eEtc2R8G8B8A8SrgbBlock = VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK,\r
- eEacR11UnormBlock = VK_FORMAT_EAC_R11_UNORM_BLOCK,\r
- eEacR11SnormBlock = VK_FORMAT_EAC_R11_SNORM_BLOCK,\r
- eEacR11G11UnormBlock = VK_FORMAT_EAC_R11G11_UNORM_BLOCK,\r
- eEacR11G11SnormBlock = VK_FORMAT_EAC_R11G11_SNORM_BLOCK,\r
- eAstc4x4UnormBlock = VK_FORMAT_ASTC_4x4_UNORM_BLOCK,\r
- eAstc4x4SrgbBlock = VK_FORMAT_ASTC_4x4_SRGB_BLOCK,\r
- eAstc5x4UnormBlock = VK_FORMAT_ASTC_5x4_UNORM_BLOCK,\r
- eAstc5x4SrgbBlock = VK_FORMAT_ASTC_5x4_SRGB_BLOCK,\r
- eAstc5x5UnormBlock = VK_FORMAT_ASTC_5x5_UNORM_BLOCK,\r
- eAstc5x5SrgbBlock = VK_FORMAT_ASTC_5x5_SRGB_BLOCK,\r
- eAstc6x5UnormBlock = VK_FORMAT_ASTC_6x5_UNORM_BLOCK,\r
- eAstc6x5SrgbBlock = VK_FORMAT_ASTC_6x5_SRGB_BLOCK,\r
- eAstc6x6UnormBlock = VK_FORMAT_ASTC_6x6_UNORM_BLOCK,\r
- eAstc6x6SrgbBlock = VK_FORMAT_ASTC_6x6_SRGB_BLOCK,\r
- eAstc8x5UnormBlock = VK_FORMAT_ASTC_8x5_UNORM_BLOCK,\r
- eAstc8x5SrgbBlock = VK_FORMAT_ASTC_8x5_SRGB_BLOCK,\r
- eAstc8x6UnormBlock = VK_FORMAT_ASTC_8x6_UNORM_BLOCK,\r
- eAstc8x6SrgbBlock = VK_FORMAT_ASTC_8x6_SRGB_BLOCK,\r
- eAstc8x8UnormBlock = VK_FORMAT_ASTC_8x8_UNORM_BLOCK,\r
- eAstc8x8SrgbBlock = VK_FORMAT_ASTC_8x8_SRGB_BLOCK,\r
- eAstc10x5UnormBlock = VK_FORMAT_ASTC_10x5_UNORM_BLOCK,\r
- eAstc10x5SrgbBlock = VK_FORMAT_ASTC_10x5_SRGB_BLOCK,\r
- eAstc10x6UnormBlock = VK_FORMAT_ASTC_10x6_UNORM_BLOCK,\r
- eAstc10x6SrgbBlock = VK_FORMAT_ASTC_10x6_SRGB_BLOCK,\r
- eAstc10x8UnormBlock = VK_FORMAT_ASTC_10x8_UNORM_BLOCK,\r
- eAstc10x8SrgbBlock = VK_FORMAT_ASTC_10x8_SRGB_BLOCK,\r
- eAstc10x10UnormBlock = VK_FORMAT_ASTC_10x10_UNORM_BLOCK,\r
- eAstc10x10SrgbBlock = VK_FORMAT_ASTC_10x10_SRGB_BLOCK,\r
- eAstc12x10UnormBlock = VK_FORMAT_ASTC_12x10_UNORM_BLOCK,\r
- eAstc12x10SrgbBlock = VK_FORMAT_ASTC_12x10_SRGB_BLOCK,\r
- eAstc12x12UnormBlock = VK_FORMAT_ASTC_12x12_UNORM_BLOCK,\r
- eAstc12x12SrgbBlock = VK_FORMAT_ASTC_12x12_SRGB_BLOCK,\r
- eG8B8G8R8422Unorm = VK_FORMAT_G8B8G8R8_422_UNORM,\r
- eG8B8G8R8422UnormKHR = VK_FORMAT_G8B8G8R8_422_UNORM,\r
- eB8G8R8G8422Unorm = VK_FORMAT_B8G8R8G8_422_UNORM,\r
- eB8G8R8G8422UnormKHR = VK_FORMAT_B8G8R8G8_422_UNORM,\r
- eG8B8R83Plane420Unorm = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM,\r
- eG8B8R83Plane420UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM,\r
- eG8B8R82Plane420Unorm = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM,\r
- eG8B8R82Plane420UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM,\r
- eG8B8R83Plane422Unorm = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM,\r
- eG8B8R83Plane422UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM,\r
- eG8B8R82Plane422Unorm = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM,\r
- eG8B8R82Plane422UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM,\r
- eG8B8R83Plane444Unorm = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM,\r
- eG8B8R83Plane444UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM,\r
- eR10X6UnormPack16 = VK_FORMAT_R10X6_UNORM_PACK16,\r
- eR10X6UnormPack16KHR = VK_FORMAT_R10X6_UNORM_PACK16,\r
- eR10X6G10X6Unorm2Pack16 = VK_FORMAT_R10X6G10X6_UNORM_2PACK16,\r
- eR10X6G10X6Unorm2Pack16KHR = VK_FORMAT_R10X6G10X6_UNORM_2PACK16,\r
- eR10X6G10X6B10X6A10X6Unorm4Pack16 = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16,\r
- eR10X6G10X6B10X6A10X6Unorm4Pack16KHR = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16,\r
- eG10X6B10X6G10X6R10X6422Unorm4Pack16 = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16,\r
- eG10X6B10X6G10X6R10X6422Unorm4Pack16KHR = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16,\r
- eB10X6G10X6R10X6G10X6422Unorm4Pack16 = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16,\r
- eB10X6G10X6R10X6G10X6422Unorm4Pack16KHR = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16,\r
- eG10X6B10X6R10X63Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16,\r
- eG10X6B10X6R10X63Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16,\r
- eG10X6B10X6R10X62Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16,\r
- eG10X6B10X6R10X62Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16,\r
- eG10X6B10X6R10X63Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16,\r
- eG10X6B10X6R10X63Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16,\r
- eG10X6B10X6R10X62Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16,\r
- eG10X6B10X6R10X62Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16,\r
- eG10X6B10X6R10X63Plane444Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16,\r
- eG10X6B10X6R10X63Plane444Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16,\r
- eR12X4UnormPack16 = VK_FORMAT_R12X4_UNORM_PACK16,\r
- eR12X4UnormPack16KHR = VK_FORMAT_R12X4_UNORM_PACK16,\r
- eR12X4G12X4Unorm2Pack16 = VK_FORMAT_R12X4G12X4_UNORM_2PACK16,\r
- eR12X4G12X4Unorm2Pack16KHR = VK_FORMAT_R12X4G12X4_UNORM_2PACK16,\r
- eR12X4G12X4B12X4A12X4Unorm4Pack16 = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16,\r
- eR12X4G12X4B12X4A12X4Unorm4Pack16KHR = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16,\r
- eG12X4B12X4G12X4R12X4422Unorm4Pack16 = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16,\r
- eG12X4B12X4G12X4R12X4422Unorm4Pack16KHR = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16,\r
- eB12X4G12X4R12X4G12X4422Unorm4Pack16 = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16,\r
- eB12X4G12X4R12X4G12X4422Unorm4Pack16KHR = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16,\r
- eG12X4B12X4R12X43Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16,\r
- eG12X4B12X4R12X43Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16,\r
- eG12X4B12X4R12X42Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16,\r
- eG12X4B12X4R12X42Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16,\r
- eG12X4B12X4R12X43Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16,\r
- eG12X4B12X4R12X43Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16,\r
- eG12X4B12X4R12X42Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16,\r
- eG12X4B12X4R12X42Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16,\r
- eG12X4B12X4R12X43Plane444Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16,\r
- eG12X4B12X4R12X43Plane444Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16,\r
- eG16B16G16R16422Unorm = VK_FORMAT_G16B16G16R16_422_UNORM,\r
- eG16B16G16R16422UnormKHR = VK_FORMAT_G16B16G16R16_422_UNORM,\r
- eB16G16R16G16422Unorm = VK_FORMAT_B16G16R16G16_422_UNORM,\r
- eB16G16R16G16422UnormKHR = VK_FORMAT_B16G16R16G16_422_UNORM,\r
- eG16B16R163Plane420Unorm = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM,\r
- eG16B16R163Plane420UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM,\r
- eG16B16R162Plane420Unorm = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM,\r
- eG16B16R162Plane420UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM,\r
- eG16B16R163Plane422Unorm = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM,\r
- eG16B16R163Plane422UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM,\r
- eG16B16R162Plane422Unorm = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM,\r
- eG16B16R162Plane422UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM,\r
- eG16B16R163Plane444Unorm = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM,\r
- eG16B16R163Plane444UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM,\r
- ePvrtc12BppUnormBlockIMG = VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG,\r
- ePvrtc14BppUnormBlockIMG = VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG,\r
- ePvrtc22BppUnormBlockIMG = VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG,\r
- ePvrtc24BppUnormBlockIMG = VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG,\r
- ePvrtc12BppSrgbBlockIMG = VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG,\r
- ePvrtc14BppSrgbBlockIMG = VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG,\r
- ePvrtc22BppSrgbBlockIMG = VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG,\r
- ePvrtc24BppSrgbBlockIMG = VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG\r
- };\r
-\r
- struct VertexInputAttributeDescription\r
- {\r
- VertexInputAttributeDescription( uint32_t location_ = 0, uint32_t binding_ = 0, Format format_ = Format::eUndefined, uint32_t offset_ = 0 )\r
- : location( location_ )\r
- , binding( binding_ )\r
- , format( format_ )\r
- , offset( offset_ )\r
- {\r
- }\r
-\r
- VertexInputAttributeDescription( VkVertexInputAttributeDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( VertexInputAttributeDescription ) );\r
- }\r
-\r
- VertexInputAttributeDescription& operator=( VkVertexInputAttributeDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( VertexInputAttributeDescription ) );\r
- return *this;\r
- }\r
- VertexInputAttributeDescription& setLocation( uint32_t location_ )\r
- {\r
- location = location_;\r
- return *this;\r
- }\r
-\r
- VertexInputAttributeDescription& setBinding( uint32_t binding_ )\r
- {\r
- binding = binding_;\r
- return *this;\r
- }\r
-\r
- VertexInputAttributeDescription& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- VertexInputAttributeDescription& setOffset( uint32_t offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- operator const VkVertexInputAttributeDescription&() const\r
- {\r
- return *reinterpret_cast<const VkVertexInputAttributeDescription*>(this);\r
- }\r
-\r
- bool operator==( VertexInputAttributeDescription const& rhs ) const\r
- {\r
- return ( location == rhs.location )\r
- && ( binding == rhs.binding )\r
- && ( format == rhs.format )\r
- && ( offset == rhs.offset );\r
- }\r
-\r
- bool operator!=( VertexInputAttributeDescription const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t location;\r
- uint32_t binding;\r
- Format format;\r
- uint32_t offset;\r
- };\r
- static_assert( sizeof( VertexInputAttributeDescription ) == sizeof( VkVertexInputAttributeDescription ), "struct and wrapper have different size!" );\r
-\r
- enum class StructureType\r
- {\r
- eApplicationInfo = VK_STRUCTURE_TYPE_APPLICATION_INFO,\r
- eInstanceCreateInfo = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,\r
- eDeviceQueueCreateInfo = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO,\r
- eDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO,\r
- eSubmitInfo = VK_STRUCTURE_TYPE_SUBMIT_INFO,\r
- eMemoryAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO,\r
- eMappedMemoryRange = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE,\r
- eBindSparseInfo = VK_STRUCTURE_TYPE_BIND_SPARSE_INFO,\r
- eFenceCreateInfo = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO,\r
- eSemaphoreCreateInfo = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO,\r
- eEventCreateInfo = VK_STRUCTURE_TYPE_EVENT_CREATE_INFO,\r
- eQueryPoolCreateInfo = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO,\r
- eBufferCreateInfo = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,\r
- eBufferViewCreateInfo = VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO,\r
- eImageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO,\r
- eImageViewCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,\r
- eShaderModuleCreateInfo = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO,\r
- ePipelineCacheCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO,\r
- ePipelineShaderStageCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,\r
- ePipelineVertexInputStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO,\r
- ePipelineInputAssemblyStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO,\r
- ePipelineTessellationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO,\r
- ePipelineViewportStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO,\r
- ePipelineRasterizationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO,\r
- ePipelineMultisampleStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO,\r
- ePipelineDepthStencilStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO,\r
- ePipelineColorBlendStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO,\r
- ePipelineDynamicStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO,\r
- eGraphicsPipelineCreateInfo = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO,\r
- eComputePipelineCreateInfo = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,\r
- ePipelineLayoutCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO,\r
- eSamplerCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO,\r
- eDescriptorSetLayoutCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO,\r
- eDescriptorPoolCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,\r
- eDescriptorSetAllocateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO,\r
- eWriteDescriptorSet = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET,\r
- eCopyDescriptorSet = VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET,\r
- eFramebufferCreateInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO,\r
- eRenderPassCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO,\r
- eCommandPoolCreateInfo = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO,\r
- eCommandBufferAllocateInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO,\r
- eCommandBufferInheritanceInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO,\r
- eCommandBufferBeginInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,\r
- eRenderPassBeginInfo = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,\r
- eBufferMemoryBarrier = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER,\r
- eImageMemoryBarrier = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,\r
- eMemoryBarrier = VK_STRUCTURE_TYPE_MEMORY_BARRIER,\r
- eLoaderInstanceCreateInfo = VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO,\r
- eLoaderDeviceCreateInfo = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO,\r
- ePhysicalDeviceSubgroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES,\r
- eBindBufferMemoryInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO,\r
- eBindBufferMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO,\r
- eBindImageMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO,\r
- eBindImageMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO,\r
- ePhysicalDevice16BitStorageFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES,\r
- ePhysicalDevice16BitStorageFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES,\r
- eMemoryDedicatedRequirements = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS,\r
- eMemoryDedicatedRequirementsKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS,\r
- eMemoryDedicatedAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO,\r
- eMemoryDedicatedAllocateInfoKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO,\r
- eMemoryAllocateFlagsInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO,\r
- eMemoryAllocateFlagsInfoKHR = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO,\r
- eDeviceGroupRenderPassBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO,\r
- eDeviceGroupRenderPassBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO,\r
- eDeviceGroupCommandBufferBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO,\r
- eDeviceGroupCommandBufferBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO,\r
- eDeviceGroupSubmitInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO,\r
- eDeviceGroupSubmitInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO,\r
- eDeviceGroupBindSparseInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO,\r
- eDeviceGroupBindSparseInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO,\r
- eBindBufferMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO,\r
- eBindBufferMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO,\r
- eBindImageMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO,\r
- eBindImageMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO,\r
- ePhysicalDeviceGroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES,\r
- ePhysicalDeviceGroupPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES,\r
- eDeviceGroupDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO,\r
- eDeviceGroupDeviceCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO,\r
- eBufferMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2,\r
- eBufferMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2,\r
- eImageMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2,\r
- eImageMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2,\r
- eImageSparseMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2,\r
- eImageSparseMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2,\r
- eMemoryRequirements2 = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2,\r
- eMemoryRequirements2KHR = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2,\r
- eSparseImageMemoryRequirements2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2,\r
- eSparseImageMemoryRequirements2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2,\r
- ePhysicalDeviceFeatures2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2,\r
- ePhysicalDeviceFeatures2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2,\r
- ePhysicalDeviceProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2,\r
- ePhysicalDeviceProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2,\r
- eFormatProperties2 = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2,\r
- eFormatProperties2KHR = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2,\r
- eImageFormatProperties2 = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,\r
- eImageFormatProperties2KHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,\r
- ePhysicalDeviceImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2,\r
- ePhysicalDeviceImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2,\r
- eQueueFamilyProperties2 = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2,\r
- eQueueFamilyProperties2KHR = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2,\r
- ePhysicalDeviceMemoryProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2,\r
- ePhysicalDeviceMemoryProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2,\r
- eSparseImageFormatProperties2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2,\r
- eSparseImageFormatProperties2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2,\r
- ePhysicalDeviceSparseImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2,\r
- ePhysicalDeviceSparseImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2,\r
- ePhysicalDevicePointClippingProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES,\r
- ePhysicalDevicePointClippingPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES,\r
- eRenderPassInputAttachmentAspectCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO,\r
- eRenderPassInputAttachmentAspectCreateInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO,\r
- eImageViewUsageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO,\r
- eImageViewUsageCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO,\r
- ePipelineTessellationDomainOriginStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO,\r
- ePipelineTessellationDomainOriginStateCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO,\r
- eRenderPassMultiviewCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO,\r
- eRenderPassMultiviewCreateInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO,\r
- ePhysicalDeviceMultiviewFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES,\r
- ePhysicalDeviceMultiviewFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES,\r
- ePhysicalDeviceMultiviewProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES,\r
- ePhysicalDeviceMultiviewPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES,\r
- ePhysicalDeviceVariablePointerFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES,\r
- ePhysicalDeviceVariablePointerFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES,\r
- eProtectedSubmitInfo = VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO,\r
- ePhysicalDeviceProtectedMemoryFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES,\r
- ePhysicalDeviceProtectedMemoryProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES,\r
- eDeviceQueueInfo2 = VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2,\r
- eSamplerYcbcrConversionCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO,\r
- eSamplerYcbcrConversionCreateInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO,\r
- eSamplerYcbcrConversionInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO,\r
- eSamplerYcbcrConversionInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO,\r
- eBindImagePlaneMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO,\r
- eBindImagePlaneMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO,\r
- eImagePlaneMemoryRequirementsInfo = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO,\r
- eImagePlaneMemoryRequirementsInfoKHR = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO,\r
- ePhysicalDeviceSamplerYcbcrConversionFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES,\r
- ePhysicalDeviceSamplerYcbcrConversionFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES,\r
- eSamplerYcbcrConversionImageFormatProperties = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES,\r
- eSamplerYcbcrConversionImageFormatPropertiesKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES,\r
- eDescriptorUpdateTemplateCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,\r
- eDescriptorUpdateTemplateCreateInfoKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,\r
- ePhysicalDeviceExternalImageFormatInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO,\r
- ePhysicalDeviceExternalImageFormatInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO,\r
- eExternalImageFormatProperties = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES,\r
- eExternalImageFormatPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES,\r
- ePhysicalDeviceExternalBufferInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO,\r
- ePhysicalDeviceExternalBufferInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO,\r
- eExternalBufferProperties = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES,\r
- eExternalBufferPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES,\r
- ePhysicalDeviceIdProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES,\r
- ePhysicalDeviceIdPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES,\r
- eExternalMemoryBufferCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO,\r
- eExternalMemoryBufferCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO,\r
- eExternalMemoryImageCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO,\r
- eExternalMemoryImageCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO,\r
- eExportMemoryAllocateInfo = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO,\r
- eExportMemoryAllocateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO,\r
- ePhysicalDeviceExternalFenceInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO,\r
- ePhysicalDeviceExternalFenceInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO,\r
- eExternalFenceProperties = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES,\r
- eExternalFencePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES,\r
- eExportFenceCreateInfo = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO,\r
- eExportFenceCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO,\r
- eExportSemaphoreCreateInfo = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO,\r
- eExportSemaphoreCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO,\r
- ePhysicalDeviceExternalSemaphoreInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO,\r
- ePhysicalDeviceExternalSemaphoreInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO,\r
- eExternalSemaphoreProperties = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES,\r
- eExternalSemaphorePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES,\r
- ePhysicalDeviceMaintenance3Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES,\r
- ePhysicalDeviceMaintenance3PropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES,\r
- eDescriptorSetLayoutSupport = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT,\r
- eDescriptorSetLayoutSupportKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT,\r
- ePhysicalDeviceShaderDrawParameterFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES,\r
- eSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR,\r
- ePresentInfoKHR = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR,\r
- eDeviceGroupPresentCapabilitiesKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR,\r
- eImageSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR,\r
- eBindImageMemorySwapchainInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR,\r
- eAcquireNextImageInfoKHR = VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR,\r
- eDeviceGroupPresentInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR,\r
- eDeviceGroupSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR,\r
- eDisplayModeCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR,\r
- eDisplaySurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR,\r
- eDisplayPresentInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR,\r
- eXlibSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR,\r
- eXcbSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR,\r
- eWaylandSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR,\r
- eMirSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR,\r
- eAndroidSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR,\r
- eWin32SurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR,\r
- eDebugReportCallbackCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT,\r
- ePipelineRasterizationStateRasterizationOrderAMD = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD,\r
- eDebugMarkerObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT,\r
- eDebugMarkerObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT,\r
- eDebugMarkerMarkerInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT,\r
- eDedicatedAllocationImageCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV,\r
- eDedicatedAllocationBufferCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV,\r
- eDedicatedAllocationMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV,\r
- eTextureLodGatherFormatPropertiesAMD = VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD,\r
- eExternalMemoryImageCreateInfoNV = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV,\r
- eExportMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV,\r
- eImportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV,\r
- eExportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV,\r
- eWin32KeyedMutexAcquireReleaseInfoNV = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV,\r
- eValidationFlagsEXT = VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT,\r
- eViSurfaceCreateInfoNN = VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN,\r
- eImportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR,\r
- eExportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR,\r
- eMemoryWin32HandlePropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR,\r
- eMemoryGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR,\r
- eImportMemoryFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR,\r
- eMemoryFdPropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR,\r
- eMemoryGetFdInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR,\r
- eWin32KeyedMutexAcquireReleaseInfoKHR = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR,\r
- eImportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR,\r
- eExportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR,\r
- eD3D12FenceSubmitInfoKHR = VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR,\r
- eSemaphoreGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR,\r
- eImportSemaphoreFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR,\r
- eSemaphoreGetFdInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR,\r
- ePhysicalDevicePushDescriptorPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR,\r
- ePresentRegionsKHR = VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR,\r
- eObjectTableCreateInfoNVX = VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX,\r
- eIndirectCommandsLayoutCreateInfoNVX = VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX,\r
- eCmdProcessCommandsInfoNVX = VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX,\r
- eCmdReserveSpaceForCommandsInfoNVX = VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX,\r
- eDeviceGeneratedCommandsLimitsNVX = VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX,\r
- eDeviceGeneratedCommandsFeaturesNVX = VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX,\r
- ePipelineViewportWScalingStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV,\r
- eSurfaceCapabilities2EXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT,\r
- eDisplayPowerInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT,\r
- eDeviceEventInfoEXT = VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT,\r
- eDisplayEventInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT,\r
- eSwapchainCounterCreateInfoEXT = VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT,\r
- ePresentTimesInfoGOOGLE = VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE,\r
- ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX,\r
- ePipelineViewportSwizzleStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV,\r
- ePhysicalDeviceDiscardRectanglePropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT,\r
- ePipelineDiscardRectangleStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT,\r
- ePhysicalDeviceConservativeRasterizationPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT,\r
- ePipelineRasterizationConservativeStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT,\r
- eHdrMetadataEXT = VK_STRUCTURE_TYPE_HDR_METADATA_EXT,\r
- eSharedPresentSurfaceCapabilitiesKHR = VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR,\r
- eImportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR,\r
- eExportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR,\r
- eFenceGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR,\r
- eImportFenceFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR,\r
- eFenceGetFdInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR,\r
- ePhysicalDeviceSurfaceInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR,\r
- eSurfaceCapabilities2KHR = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR,\r
- eSurfaceFormat2KHR = VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR,\r
- eIosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK,\r
- eMacosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK,\r
- eDebugUtilsObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT,\r
- eDebugUtilsObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT,\r
- eDebugUtilsLabelEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT,\r
- eDebugUtilsMessengerCallbackDataEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT,\r
- eDebugUtilsMessengerCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT,\r
- eAndroidHardwareBufferUsageANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID,\r
- eAndroidHardwareBufferPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID,\r
- eAndroidHardwareBufferFormatPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID,\r
- eImportAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID,\r
- eMemoryGetAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID,\r
- eExternalFormatANDROID = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID,\r
- ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT,\r
- eSamplerReductionModeCreateInfoEXT = VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT,\r
- eSampleLocationsInfoEXT = VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT,\r
- eRenderPassSampleLocationsBeginInfoEXT = VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT,\r
- ePipelineSampleLocationsStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT,\r
- ePhysicalDeviceSampleLocationsPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT,\r
- eMultisamplePropertiesEXT = VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT,\r
- eImageFormatListCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR,\r
- ePhysicalDeviceBlendOperationAdvancedFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT,\r
- ePhysicalDeviceBlendOperationAdvancedPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT,\r
- ePipelineColorBlendAdvancedStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT,\r
- ePipelineCoverageToColorStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV,\r
- ePipelineCoverageModulationStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV,\r
- eValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT,\r
- eShaderModuleValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT,\r
- eDescriptorSetLayoutBindingFlagsCreateInfoEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT,\r
- ePhysicalDeviceDescriptorIndexingFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT,\r
- ePhysicalDeviceDescriptorIndexingPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT,\r
- eDescriptorSetVariableDescriptorCountAllocateInfoEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT,\r
- eDescriptorSetVariableDescriptorCountLayoutSupportEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT,\r
- eDeviceQueueGlobalPriorityCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT,\r
- eImportMemoryHostPointerInfoEXT = VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT,\r
- eMemoryHostPointerPropertiesEXT = VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT,\r
- ePhysicalDeviceExternalMemoryHostPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT,\r
- ePhysicalDeviceShaderCorePropertiesAMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD,\r
- ePhysicalDeviceVertexAttributeDivisorPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT,\r
- ePipelineVertexInputDivisorStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT\r
- };\r
-\r
- struct ApplicationInfo\r
- {\r
- ApplicationInfo( const char* pApplicationName_ = nullptr, uint32_t applicationVersion_ = 0, const char* pEngineName_ = nullptr, uint32_t engineVersion_ = 0, uint32_t apiVersion_ = 0 )\r
- : pApplicationName( pApplicationName_ )\r
- , applicationVersion( applicationVersion_ )\r
- , pEngineName( pEngineName_ )\r
- , engineVersion( engineVersion_ )\r
- , apiVersion( apiVersion_ )\r
- {\r
- }\r
-\r
- ApplicationInfo( VkApplicationInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ApplicationInfo ) );\r
- }\r
-\r
- ApplicationInfo& operator=( VkApplicationInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ApplicationInfo ) );\r
- return *this;\r
- }\r
- ApplicationInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ApplicationInfo& setPApplicationName( const char* pApplicationName_ )\r
- {\r
- pApplicationName = pApplicationName_;\r
- return *this;\r
- }\r
-\r
- ApplicationInfo& setApplicationVersion( uint32_t applicationVersion_ )\r
- {\r
- applicationVersion = applicationVersion_;\r
- return *this;\r
- }\r
-\r
- ApplicationInfo& setPEngineName( const char* pEngineName_ )\r
- {\r
- pEngineName = pEngineName_;\r
- return *this;\r
- }\r
-\r
- ApplicationInfo& setEngineVersion( uint32_t engineVersion_ )\r
- {\r
- engineVersion = engineVersion_;\r
- return *this;\r
- }\r
-\r
- ApplicationInfo& setApiVersion( uint32_t apiVersion_ )\r
- {\r
- apiVersion = apiVersion_;\r
- return *this;\r
- }\r
-\r
- operator const VkApplicationInfo&() const\r
- {\r
- return *reinterpret_cast<const VkApplicationInfo*>(this);\r
- }\r
-\r
- bool operator==( ApplicationInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pApplicationName == rhs.pApplicationName )\r
- && ( applicationVersion == rhs.applicationVersion )\r
- && ( pEngineName == rhs.pEngineName )\r
- && ( engineVersion == rhs.engineVersion )\r
- && ( apiVersion == rhs.apiVersion );\r
- }\r
-\r
- bool operator!=( ApplicationInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eApplicationInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- const char* pApplicationName;\r
- uint32_t applicationVersion;\r
- const char* pEngineName;\r
- uint32_t engineVersion;\r
- uint32_t apiVersion;\r
- };\r
- static_assert( sizeof( ApplicationInfo ) == sizeof( VkApplicationInfo ), "struct and wrapper have different size!" );\r
-\r
- struct InstanceCreateInfo\r
- {\r
- InstanceCreateInfo( InstanceCreateFlags flags_ = InstanceCreateFlags(), const ApplicationInfo* pApplicationInfo_ = nullptr, uint32_t enabledLayerCount_ = 0, const char* const* ppEnabledLayerNames_ = nullptr, uint32_t enabledExtensionCount_ = 0, const char* const* ppEnabledExtensionNames_ = nullptr )\r
- : flags( flags_ )\r
- , pApplicationInfo( pApplicationInfo_ )\r
- , enabledLayerCount( enabledLayerCount_ )\r
- , ppEnabledLayerNames( ppEnabledLayerNames_ )\r
- , enabledExtensionCount( enabledExtensionCount_ )\r
- , ppEnabledExtensionNames( ppEnabledExtensionNames_ )\r
- {\r
- }\r
-\r
- InstanceCreateInfo( VkInstanceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( InstanceCreateInfo ) );\r
- }\r
-\r
- InstanceCreateInfo& operator=( VkInstanceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( InstanceCreateInfo ) );\r
- return *this;\r
- }\r
- InstanceCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- InstanceCreateInfo& setFlags( InstanceCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- InstanceCreateInfo& setPApplicationInfo( const ApplicationInfo* pApplicationInfo_ )\r
- {\r
- pApplicationInfo = pApplicationInfo_;\r
- return *this;\r
- }\r
-\r
- InstanceCreateInfo& setEnabledLayerCount( uint32_t enabledLayerCount_ )\r
- {\r
- enabledLayerCount = enabledLayerCount_;\r
- return *this;\r
- }\r
-\r
- InstanceCreateInfo& setPpEnabledLayerNames( const char* const* ppEnabledLayerNames_ )\r
- {\r
- ppEnabledLayerNames = ppEnabledLayerNames_;\r
- return *this;\r
- }\r
-\r
- InstanceCreateInfo& setEnabledExtensionCount( uint32_t enabledExtensionCount_ )\r
- {\r
- enabledExtensionCount = enabledExtensionCount_;\r
- return *this;\r
- }\r
-\r
- InstanceCreateInfo& setPpEnabledExtensionNames( const char* const* ppEnabledExtensionNames_ )\r
- {\r
- ppEnabledExtensionNames = ppEnabledExtensionNames_;\r
- return *this;\r
- }\r
-\r
- operator const VkInstanceCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkInstanceCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( InstanceCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( pApplicationInfo == rhs.pApplicationInfo )\r
- && ( enabledLayerCount == rhs.enabledLayerCount )\r
- && ( ppEnabledLayerNames == rhs.ppEnabledLayerNames )\r
- && ( enabledExtensionCount == rhs.enabledExtensionCount )\r
- && ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames );\r
- }\r
-\r
- bool operator!=( InstanceCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eInstanceCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- InstanceCreateFlags flags;\r
- const ApplicationInfo* pApplicationInfo;\r
- uint32_t enabledLayerCount;\r
- const char* const* ppEnabledLayerNames;\r
- uint32_t enabledExtensionCount;\r
- const char* const* ppEnabledExtensionNames;\r
- };\r
- static_assert( sizeof( InstanceCreateInfo ) == sizeof( VkInstanceCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct MemoryAllocateInfo\r
- {\r
- MemoryAllocateInfo( DeviceSize allocationSize_ = 0, uint32_t memoryTypeIndex_ = 0 )\r
- : allocationSize( allocationSize_ )\r
- , memoryTypeIndex( memoryTypeIndex_ )\r
- {\r
- }\r
-\r
- MemoryAllocateInfo( VkMemoryAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryAllocateInfo ) );\r
- }\r
-\r
- MemoryAllocateInfo& operator=( VkMemoryAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryAllocateInfo ) );\r
- return *this;\r
- }\r
- MemoryAllocateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryAllocateInfo& setAllocationSize( DeviceSize allocationSize_ )\r
- {\r
- allocationSize = allocationSize_;\r
- return *this;\r
- }\r
-\r
- MemoryAllocateInfo& setMemoryTypeIndex( uint32_t memoryTypeIndex_ )\r
- {\r
- memoryTypeIndex = memoryTypeIndex_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryAllocateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryAllocateInfo*>(this);\r
- }\r
-\r
- bool operator==( MemoryAllocateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( allocationSize == rhs.allocationSize )\r
- && ( memoryTypeIndex == rhs.memoryTypeIndex );\r
- }\r
-\r
- bool operator!=( MemoryAllocateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryAllocateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceSize allocationSize;\r
- uint32_t memoryTypeIndex;\r
- };\r
- static_assert( sizeof( MemoryAllocateInfo ) == sizeof( VkMemoryAllocateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct MappedMemoryRange\r
- {\r
- MappedMemoryRange( DeviceMemory memory_ = DeviceMemory(), DeviceSize offset_ = 0, DeviceSize size_ = 0 )\r
- : memory( memory_ )\r
- , offset( offset_ )\r
- , size( size_ )\r
- {\r
- }\r
-\r
- MappedMemoryRange( VkMappedMemoryRange const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MappedMemoryRange ) );\r
- }\r
-\r
- MappedMemoryRange& operator=( VkMappedMemoryRange const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MappedMemoryRange ) );\r
- return *this;\r
- }\r
- MappedMemoryRange& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MappedMemoryRange& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- MappedMemoryRange& setOffset( DeviceSize offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- MappedMemoryRange& setSize( DeviceSize size_ )\r
- {\r
- size = size_;\r
- return *this;\r
- }\r
-\r
- operator const VkMappedMemoryRange&() const\r
- {\r
- return *reinterpret_cast<const VkMappedMemoryRange*>(this);\r
- }\r
-\r
- bool operator==( MappedMemoryRange const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memory == rhs.memory )\r
- && ( offset == rhs.offset )\r
- && ( size == rhs.size );\r
- }\r
-\r
- bool operator!=( MappedMemoryRange const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMappedMemoryRange;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceMemory memory;\r
- DeviceSize offset;\r
- DeviceSize size;\r
- };\r
- static_assert( sizeof( MappedMemoryRange ) == sizeof( VkMappedMemoryRange ), "struct and wrapper have different size!" );\r
-\r
- struct WriteDescriptorSet\r
- {\r
- WriteDescriptorSet( DescriptorSet dstSet_ = DescriptorSet(), uint32_t dstBinding_ = 0, uint32_t dstArrayElement_ = 0, uint32_t descriptorCount_ = 0, DescriptorType descriptorType_ = DescriptorType::eSampler, const DescriptorImageInfo* pImageInfo_ = nullptr, const DescriptorBufferInfo* pBufferInfo_ = nullptr, const BufferView* pTexelBufferView_ = nullptr )\r
- : dstSet( dstSet_ )\r
- , dstBinding( dstBinding_ )\r
- , dstArrayElement( dstArrayElement_ )\r
- , descriptorCount( descriptorCount_ )\r
- , descriptorType( descriptorType_ )\r
- , pImageInfo( pImageInfo_ )\r
- , pBufferInfo( pBufferInfo_ )\r
- , pTexelBufferView( pTexelBufferView_ )\r
- {\r
- }\r
-\r
- WriteDescriptorSet( VkWriteDescriptorSet const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( WriteDescriptorSet ) );\r
- }\r
-\r
- WriteDescriptorSet& operator=( VkWriteDescriptorSet const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( WriteDescriptorSet ) );\r
- return *this;\r
- }\r
- WriteDescriptorSet& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setDstSet( DescriptorSet dstSet_ )\r
- {\r
- dstSet = dstSet_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setDstBinding( uint32_t dstBinding_ )\r
- {\r
- dstBinding = dstBinding_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setDstArrayElement( uint32_t dstArrayElement_ )\r
- {\r
- dstArrayElement = dstArrayElement_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setDescriptorCount( uint32_t descriptorCount_ )\r
- {\r
- descriptorCount = descriptorCount_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setDescriptorType( DescriptorType descriptorType_ )\r
- {\r
- descriptorType = descriptorType_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setPImageInfo( const DescriptorImageInfo* pImageInfo_ )\r
- {\r
- pImageInfo = pImageInfo_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setPBufferInfo( const DescriptorBufferInfo* pBufferInfo_ )\r
- {\r
- pBufferInfo = pBufferInfo_;\r
- return *this;\r
- }\r
-\r
- WriteDescriptorSet& setPTexelBufferView( const BufferView* pTexelBufferView_ )\r
- {\r
- pTexelBufferView = pTexelBufferView_;\r
- return *this;\r
- }\r
-\r
- operator const VkWriteDescriptorSet&() const\r
- {\r
- return *reinterpret_cast<const VkWriteDescriptorSet*>(this);\r
- }\r
-\r
- bool operator==( WriteDescriptorSet const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( dstSet == rhs.dstSet )\r
- && ( dstBinding == rhs.dstBinding )\r
- && ( dstArrayElement == rhs.dstArrayElement )\r
- && ( descriptorCount == rhs.descriptorCount )\r
- && ( descriptorType == rhs.descriptorType )\r
- && ( pImageInfo == rhs.pImageInfo )\r
- && ( pBufferInfo == rhs.pBufferInfo )\r
- && ( pTexelBufferView == rhs.pTexelBufferView );\r
- }\r
-\r
- bool operator!=( WriteDescriptorSet const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eWriteDescriptorSet;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DescriptorSet dstSet;\r
- uint32_t dstBinding;\r
- uint32_t dstArrayElement;\r
- uint32_t descriptorCount;\r
- DescriptorType descriptorType;\r
- const DescriptorImageInfo* pImageInfo;\r
- const DescriptorBufferInfo* pBufferInfo;\r
- const BufferView* pTexelBufferView;\r
- };\r
- static_assert( sizeof( WriteDescriptorSet ) == sizeof( VkWriteDescriptorSet ), "struct and wrapper have different size!" );\r
-\r
- struct CopyDescriptorSet\r
- {\r
- CopyDescriptorSet( DescriptorSet srcSet_ = DescriptorSet(), uint32_t srcBinding_ = 0, uint32_t srcArrayElement_ = 0, DescriptorSet dstSet_ = DescriptorSet(), uint32_t dstBinding_ = 0, uint32_t dstArrayElement_ = 0, uint32_t descriptorCount_ = 0 )\r
- : srcSet( srcSet_ )\r
- , srcBinding( srcBinding_ )\r
- , srcArrayElement( srcArrayElement_ )\r
- , dstSet( dstSet_ )\r
- , dstBinding( dstBinding_ )\r
- , dstArrayElement( dstArrayElement_ )\r
- , descriptorCount( descriptorCount_ )\r
- {\r
- }\r
-\r
- CopyDescriptorSet( VkCopyDescriptorSet const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CopyDescriptorSet ) );\r
- }\r
-\r
- CopyDescriptorSet& operator=( VkCopyDescriptorSet const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CopyDescriptorSet ) );\r
- return *this;\r
- }\r
- CopyDescriptorSet& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- CopyDescriptorSet& setSrcSet( DescriptorSet srcSet_ )\r
- {\r
- srcSet = srcSet_;\r
- return *this;\r
- }\r
-\r
- CopyDescriptorSet& setSrcBinding( uint32_t srcBinding_ )\r
- {\r
- srcBinding = srcBinding_;\r
- return *this;\r
- }\r
-\r
- CopyDescriptorSet& setSrcArrayElement( uint32_t srcArrayElement_ )\r
- {\r
- srcArrayElement = srcArrayElement_;\r
- return *this;\r
- }\r
-\r
- CopyDescriptorSet& setDstSet( DescriptorSet dstSet_ )\r
- {\r
- dstSet = dstSet_;\r
- return *this;\r
- }\r
-\r
- CopyDescriptorSet& setDstBinding( uint32_t dstBinding_ )\r
- {\r
- dstBinding = dstBinding_;\r
- return *this;\r
- }\r
-\r
- CopyDescriptorSet& setDstArrayElement( uint32_t dstArrayElement_ )\r
- {\r
- dstArrayElement = dstArrayElement_;\r
- return *this;\r
- }\r
-\r
- CopyDescriptorSet& setDescriptorCount( uint32_t descriptorCount_ )\r
- {\r
- descriptorCount = descriptorCount_;\r
- return *this;\r
- }\r
-\r
- operator const VkCopyDescriptorSet&() const\r
- {\r
- return *reinterpret_cast<const VkCopyDescriptorSet*>(this);\r
- }\r
-\r
- bool operator==( CopyDescriptorSet const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( srcSet == rhs.srcSet )\r
- && ( srcBinding == rhs.srcBinding )\r
- && ( srcArrayElement == rhs.srcArrayElement )\r
- && ( dstSet == rhs.dstSet )\r
- && ( dstBinding == rhs.dstBinding )\r
- && ( dstArrayElement == rhs.dstArrayElement )\r
- && ( descriptorCount == rhs.descriptorCount );\r
- }\r
-\r
- bool operator!=( CopyDescriptorSet const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eCopyDescriptorSet;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DescriptorSet srcSet;\r
- uint32_t srcBinding;\r
- uint32_t srcArrayElement;\r
- DescriptorSet dstSet;\r
- uint32_t dstBinding;\r
- uint32_t dstArrayElement;\r
- uint32_t descriptorCount;\r
- };\r
- static_assert( sizeof( CopyDescriptorSet ) == sizeof( VkCopyDescriptorSet ), "struct and wrapper have different size!" );\r
-\r
- struct BufferViewCreateInfo\r
- {\r
- BufferViewCreateInfo( BufferViewCreateFlags flags_ = BufferViewCreateFlags(), Buffer buffer_ = Buffer(), Format format_ = Format::eUndefined, DeviceSize offset_ = 0, DeviceSize range_ = 0 )\r
- : flags( flags_ )\r
- , buffer( buffer_ )\r
- , format( format_ )\r
- , offset( offset_ )\r
- , range( range_ )\r
- {\r
- }\r
-\r
- BufferViewCreateInfo( VkBufferViewCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferViewCreateInfo ) );\r
- }\r
-\r
- BufferViewCreateInfo& operator=( VkBufferViewCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferViewCreateInfo ) );\r
- return *this;\r
- }\r
- BufferViewCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BufferViewCreateInfo& setFlags( BufferViewCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- BufferViewCreateInfo& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- BufferViewCreateInfo& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- BufferViewCreateInfo& setOffset( DeviceSize offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- BufferViewCreateInfo& setRange( DeviceSize range_ )\r
- {\r
- range = range_;\r
- return *this;\r
- }\r
-\r
- operator const VkBufferViewCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBufferViewCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( BufferViewCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( buffer == rhs.buffer )\r
- && ( format == rhs.format )\r
- && ( offset == rhs.offset )\r
- && ( range == rhs.range );\r
- }\r
-\r
- bool operator!=( BufferViewCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBufferViewCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- BufferViewCreateFlags flags;\r
- Buffer buffer;\r
- Format format;\r
- DeviceSize offset;\r
- DeviceSize range;\r
- };\r
- static_assert( sizeof( BufferViewCreateInfo ) == sizeof( VkBufferViewCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct ShaderModuleCreateInfo\r
- {\r
- ShaderModuleCreateInfo( ShaderModuleCreateFlags flags_ = ShaderModuleCreateFlags(), size_t codeSize_ = 0, const uint32_t* pCode_ = nullptr )\r
- : flags( flags_ )\r
- , codeSize( codeSize_ )\r
- , pCode( pCode_ )\r
- {\r
- }\r
-\r
- ShaderModuleCreateInfo( VkShaderModuleCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ShaderModuleCreateInfo ) );\r
- }\r
-\r
- ShaderModuleCreateInfo& operator=( VkShaderModuleCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ShaderModuleCreateInfo ) );\r
- return *this;\r
- }\r
- ShaderModuleCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ShaderModuleCreateInfo& setFlags( ShaderModuleCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ShaderModuleCreateInfo& setCodeSize( size_t codeSize_ )\r
- {\r
- codeSize = codeSize_;\r
- return *this;\r
- }\r
-\r
- ShaderModuleCreateInfo& setPCode( const uint32_t* pCode_ )\r
- {\r
- pCode = pCode_;\r
- return *this;\r
- }\r
-\r
- operator const VkShaderModuleCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkShaderModuleCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ShaderModuleCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( codeSize == rhs.codeSize )\r
- && ( pCode == rhs.pCode );\r
- }\r
-\r
- bool operator!=( ShaderModuleCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eShaderModuleCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ShaderModuleCreateFlags flags;\r
- size_t codeSize;\r
- const uint32_t* pCode;\r
- };\r
- static_assert( sizeof( ShaderModuleCreateInfo ) == sizeof( VkShaderModuleCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct DescriptorSetAllocateInfo\r
- {\r
- DescriptorSetAllocateInfo( DescriptorPool descriptorPool_ = DescriptorPool(), uint32_t descriptorSetCount_ = 0, const DescriptorSetLayout* pSetLayouts_ = nullptr )\r
- : descriptorPool( descriptorPool_ )\r
- , descriptorSetCount( descriptorSetCount_ )\r
- , pSetLayouts( pSetLayouts_ )\r
- {\r
- }\r
-\r
- DescriptorSetAllocateInfo( VkDescriptorSetAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetAllocateInfo ) );\r
- }\r
-\r
- DescriptorSetAllocateInfo& operator=( VkDescriptorSetAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetAllocateInfo ) );\r
- return *this;\r
- }\r
- DescriptorSetAllocateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetAllocateInfo& setDescriptorPool( DescriptorPool descriptorPool_ )\r
- {\r
- descriptorPool = descriptorPool_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetAllocateInfo& setDescriptorSetCount( uint32_t descriptorSetCount_ )\r
- {\r
- descriptorSetCount = descriptorSetCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetAllocateInfo& setPSetLayouts( const DescriptorSetLayout* pSetLayouts_ )\r
- {\r
- pSetLayouts = pSetLayouts_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorSetAllocateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorSetAllocateInfo*>(this);\r
- }\r
-\r
- bool operator==( DescriptorSetAllocateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( descriptorPool == rhs.descriptorPool )\r
- && ( descriptorSetCount == rhs.descriptorSetCount )\r
- && ( pSetLayouts == rhs.pSetLayouts );\r
- }\r
-\r
- bool operator!=( DescriptorSetAllocateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorSetAllocateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DescriptorPool descriptorPool;\r
- uint32_t descriptorSetCount;\r
- const DescriptorSetLayout* pSetLayouts;\r
- };\r
- static_assert( sizeof( DescriptorSetAllocateInfo ) == sizeof( VkDescriptorSetAllocateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineVertexInputStateCreateInfo\r
- {\r
- PipelineVertexInputStateCreateInfo( PipelineVertexInputStateCreateFlags flags_ = PipelineVertexInputStateCreateFlags(), uint32_t vertexBindingDescriptionCount_ = 0, const VertexInputBindingDescription* pVertexBindingDescriptions_ = nullptr, uint32_t vertexAttributeDescriptionCount_ = 0, const VertexInputAttributeDescription* pVertexAttributeDescriptions_ = nullptr )\r
- : flags( flags_ )\r
- , vertexBindingDescriptionCount( vertexBindingDescriptionCount_ )\r
- , pVertexBindingDescriptions( pVertexBindingDescriptions_ )\r
- , vertexAttributeDescriptionCount( vertexAttributeDescriptionCount_ )\r
- , pVertexAttributeDescriptions( pVertexAttributeDescriptions_ )\r
- {\r
- }\r
-\r
- PipelineVertexInputStateCreateInfo( VkPipelineVertexInputStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineVertexInputStateCreateInfo ) );\r
- }\r
-\r
- PipelineVertexInputStateCreateInfo& operator=( VkPipelineVertexInputStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineVertexInputStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineVertexInputStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineVertexInputStateCreateInfo& setFlags( PipelineVertexInputStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineVertexInputStateCreateInfo& setVertexBindingDescriptionCount( uint32_t vertexBindingDescriptionCount_ )\r
- {\r
- vertexBindingDescriptionCount = vertexBindingDescriptionCount_;\r
- return *this;\r
- }\r
-\r
- PipelineVertexInputStateCreateInfo& setPVertexBindingDescriptions( const VertexInputBindingDescription* pVertexBindingDescriptions_ )\r
- {\r
- pVertexBindingDescriptions = pVertexBindingDescriptions_;\r
- return *this;\r
- }\r
-\r
- PipelineVertexInputStateCreateInfo& setVertexAttributeDescriptionCount( uint32_t vertexAttributeDescriptionCount_ )\r
- {\r
- vertexAttributeDescriptionCount = vertexAttributeDescriptionCount_;\r
- return *this;\r
- }\r
-\r
- PipelineVertexInputStateCreateInfo& setPVertexAttributeDescriptions( const VertexInputAttributeDescription* pVertexAttributeDescriptions_ )\r
- {\r
- pVertexAttributeDescriptions = pVertexAttributeDescriptions_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineVertexInputStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineVertexInputStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineVertexInputStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( vertexBindingDescriptionCount == rhs.vertexBindingDescriptionCount )\r
- && ( pVertexBindingDescriptions == rhs.pVertexBindingDescriptions )\r
- && ( vertexAttributeDescriptionCount == rhs.vertexAttributeDescriptionCount )\r
- && ( pVertexAttributeDescriptions == rhs.pVertexAttributeDescriptions );\r
- }\r
-\r
- bool operator!=( PipelineVertexInputStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineVertexInputStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineVertexInputStateCreateFlags flags;\r
- uint32_t vertexBindingDescriptionCount;\r
- const VertexInputBindingDescription* pVertexBindingDescriptions;\r
- uint32_t vertexAttributeDescriptionCount;\r
- const VertexInputAttributeDescription* pVertexAttributeDescriptions;\r
- };\r
- static_assert( sizeof( PipelineVertexInputStateCreateInfo ) == sizeof( VkPipelineVertexInputStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineInputAssemblyStateCreateInfo\r
- {\r
- PipelineInputAssemblyStateCreateInfo( PipelineInputAssemblyStateCreateFlags flags_ = PipelineInputAssemblyStateCreateFlags(), PrimitiveTopology topology_ = PrimitiveTopology::ePointList, Bool32 primitiveRestartEnable_ = 0 )\r
- : flags( flags_ )\r
- , topology( topology_ )\r
- , primitiveRestartEnable( primitiveRestartEnable_ )\r
- {\r
- }\r
-\r
- PipelineInputAssemblyStateCreateInfo( VkPipelineInputAssemblyStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineInputAssemblyStateCreateInfo ) );\r
- }\r
-\r
- PipelineInputAssemblyStateCreateInfo& operator=( VkPipelineInputAssemblyStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineInputAssemblyStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineInputAssemblyStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineInputAssemblyStateCreateInfo& setFlags( PipelineInputAssemblyStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineInputAssemblyStateCreateInfo& setTopology( PrimitiveTopology topology_ )\r
- {\r
- topology = topology_;\r
- return *this;\r
- }\r
-\r
- PipelineInputAssemblyStateCreateInfo& setPrimitiveRestartEnable( Bool32 primitiveRestartEnable_ )\r
- {\r
- primitiveRestartEnable = primitiveRestartEnable_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineInputAssemblyStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineInputAssemblyStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineInputAssemblyStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( topology == rhs.topology )\r
- && ( primitiveRestartEnable == rhs.primitiveRestartEnable );\r
- }\r
-\r
- bool operator!=( PipelineInputAssemblyStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineInputAssemblyStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineInputAssemblyStateCreateFlags flags;\r
- PrimitiveTopology topology;\r
- Bool32 primitiveRestartEnable;\r
- };\r
- static_assert( sizeof( PipelineInputAssemblyStateCreateInfo ) == sizeof( VkPipelineInputAssemblyStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineTessellationStateCreateInfo\r
- {\r
- PipelineTessellationStateCreateInfo( PipelineTessellationStateCreateFlags flags_ = PipelineTessellationStateCreateFlags(), uint32_t patchControlPoints_ = 0 )\r
- : flags( flags_ )\r
- , patchControlPoints( patchControlPoints_ )\r
- {\r
- }\r
-\r
- PipelineTessellationStateCreateInfo( VkPipelineTessellationStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineTessellationStateCreateInfo ) );\r
- }\r
-\r
- PipelineTessellationStateCreateInfo& operator=( VkPipelineTessellationStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineTessellationStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineTessellationStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineTessellationStateCreateInfo& setFlags( PipelineTessellationStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineTessellationStateCreateInfo& setPatchControlPoints( uint32_t patchControlPoints_ )\r
- {\r
- patchControlPoints = patchControlPoints_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineTessellationStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineTessellationStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineTessellationStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( patchControlPoints == rhs.patchControlPoints );\r
- }\r
-\r
- bool operator!=( PipelineTessellationStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineTessellationStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineTessellationStateCreateFlags flags;\r
- uint32_t patchControlPoints;\r
- };\r
- static_assert( sizeof( PipelineTessellationStateCreateInfo ) == sizeof( VkPipelineTessellationStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineViewportStateCreateInfo\r
- {\r
- PipelineViewportStateCreateInfo( PipelineViewportStateCreateFlags flags_ = PipelineViewportStateCreateFlags(), uint32_t viewportCount_ = 0, const Viewport* pViewports_ = nullptr, uint32_t scissorCount_ = 0, const Rect2D* pScissors_ = nullptr )\r
- : flags( flags_ )\r
- , viewportCount( viewportCount_ )\r
- , pViewports( pViewports_ )\r
- , scissorCount( scissorCount_ )\r
- , pScissors( pScissors_ )\r
- {\r
- }\r
-\r
- PipelineViewportStateCreateInfo( VkPipelineViewportStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineViewportStateCreateInfo ) );\r
- }\r
-\r
- PipelineViewportStateCreateInfo& operator=( VkPipelineViewportStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineViewportStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineViewportStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportStateCreateInfo& setFlags( PipelineViewportStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportStateCreateInfo& setViewportCount( uint32_t viewportCount_ )\r
- {\r
- viewportCount = viewportCount_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportStateCreateInfo& setPViewports( const Viewport* pViewports_ )\r
- {\r
- pViewports = pViewports_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportStateCreateInfo& setScissorCount( uint32_t scissorCount_ )\r
- {\r
- scissorCount = scissorCount_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportStateCreateInfo& setPScissors( const Rect2D* pScissors_ )\r
- {\r
- pScissors = pScissors_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineViewportStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineViewportStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineViewportStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( viewportCount == rhs.viewportCount )\r
- && ( pViewports == rhs.pViewports )\r
- && ( scissorCount == rhs.scissorCount )\r
- && ( pScissors == rhs.pScissors );\r
- }\r
-\r
- bool operator!=( PipelineViewportStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineViewportStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineViewportStateCreateFlags flags;\r
- uint32_t viewportCount;\r
- const Viewport* pViewports;\r
- uint32_t scissorCount;\r
- const Rect2D* pScissors;\r
- };\r
- static_assert( sizeof( PipelineViewportStateCreateInfo ) == sizeof( VkPipelineViewportStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineRasterizationStateCreateInfo\r
- {\r
- PipelineRasterizationStateCreateInfo( PipelineRasterizationStateCreateFlags flags_ = PipelineRasterizationStateCreateFlags(), Bool32 depthClampEnable_ = 0, Bool32 rasterizerDiscardEnable_ = 0, PolygonMode polygonMode_ = PolygonMode::eFill, CullModeFlags cullMode_ = CullModeFlags(), FrontFace frontFace_ = FrontFace::eCounterClockwise, Bool32 depthBiasEnable_ = 0, float depthBiasConstantFactor_ = 0, float depthBiasClamp_ = 0, float depthBiasSlopeFactor_ = 0, float lineWidth_ = 0 )\r
- : flags( flags_ )\r
- , depthClampEnable( depthClampEnable_ )\r
- , rasterizerDiscardEnable( rasterizerDiscardEnable_ )\r
- , polygonMode( polygonMode_ )\r
- , cullMode( cullMode_ )\r
- , frontFace( frontFace_ )\r
- , depthBiasEnable( depthBiasEnable_ )\r
- , depthBiasConstantFactor( depthBiasConstantFactor_ )\r
- , depthBiasClamp( depthBiasClamp_ )\r
- , depthBiasSlopeFactor( depthBiasSlopeFactor_ )\r
- , lineWidth( lineWidth_ )\r
- {\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo( VkPipelineRasterizationStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineRasterizationStateCreateInfo ) );\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& operator=( VkPipelineRasterizationStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineRasterizationStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineRasterizationStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setFlags( PipelineRasterizationStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setDepthClampEnable( Bool32 depthClampEnable_ )\r
- {\r
- depthClampEnable = depthClampEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setRasterizerDiscardEnable( Bool32 rasterizerDiscardEnable_ )\r
- {\r
- rasterizerDiscardEnable = rasterizerDiscardEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setPolygonMode( PolygonMode polygonMode_ )\r
- {\r
- polygonMode = polygonMode_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setCullMode( CullModeFlags cullMode_ )\r
- {\r
- cullMode = cullMode_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setFrontFace( FrontFace frontFace_ )\r
- {\r
- frontFace = frontFace_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setDepthBiasEnable( Bool32 depthBiasEnable_ )\r
- {\r
- depthBiasEnable = depthBiasEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setDepthBiasConstantFactor( float depthBiasConstantFactor_ )\r
- {\r
- depthBiasConstantFactor = depthBiasConstantFactor_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setDepthBiasClamp( float depthBiasClamp_ )\r
- {\r
- depthBiasClamp = depthBiasClamp_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setDepthBiasSlopeFactor( float depthBiasSlopeFactor_ )\r
- {\r
- depthBiasSlopeFactor = depthBiasSlopeFactor_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateCreateInfo& setLineWidth( float lineWidth_ )\r
- {\r
- lineWidth = lineWidth_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineRasterizationStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineRasterizationStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineRasterizationStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( depthClampEnable == rhs.depthClampEnable )\r
- && ( rasterizerDiscardEnable == rhs.rasterizerDiscardEnable )\r
- && ( polygonMode == rhs.polygonMode )\r
- && ( cullMode == rhs.cullMode )\r
- && ( frontFace == rhs.frontFace )\r
- && ( depthBiasEnable == rhs.depthBiasEnable )\r
- && ( depthBiasConstantFactor == rhs.depthBiasConstantFactor )\r
- && ( depthBiasClamp == rhs.depthBiasClamp )\r
- && ( depthBiasSlopeFactor == rhs.depthBiasSlopeFactor )\r
- && ( lineWidth == rhs.lineWidth );\r
- }\r
-\r
- bool operator!=( PipelineRasterizationStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineRasterizationStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineRasterizationStateCreateFlags flags;\r
- Bool32 depthClampEnable;\r
- Bool32 rasterizerDiscardEnable;\r
- PolygonMode polygonMode;\r
- CullModeFlags cullMode;\r
- FrontFace frontFace;\r
- Bool32 depthBiasEnable;\r
- float depthBiasConstantFactor;\r
- float depthBiasClamp;\r
- float depthBiasSlopeFactor;\r
- float lineWidth;\r
- };\r
- static_assert( sizeof( PipelineRasterizationStateCreateInfo ) == sizeof( VkPipelineRasterizationStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineDepthStencilStateCreateInfo\r
- {\r
- PipelineDepthStencilStateCreateInfo( PipelineDepthStencilStateCreateFlags flags_ = PipelineDepthStencilStateCreateFlags(), Bool32 depthTestEnable_ = 0, Bool32 depthWriteEnable_ = 0, CompareOp depthCompareOp_ = CompareOp::eNever, Bool32 depthBoundsTestEnable_ = 0, Bool32 stencilTestEnable_ = 0, StencilOpState front_ = StencilOpState(), StencilOpState back_ = StencilOpState(), float minDepthBounds_ = 0, float maxDepthBounds_ = 0 )\r
- : flags( flags_ )\r
- , depthTestEnable( depthTestEnable_ )\r
- , depthWriteEnable( depthWriteEnable_ )\r
- , depthCompareOp( depthCompareOp_ )\r
- , depthBoundsTestEnable( depthBoundsTestEnable_ )\r
- , stencilTestEnable( stencilTestEnable_ )\r
- , front( front_ )\r
- , back( back_ )\r
- , minDepthBounds( minDepthBounds_ )\r
- , maxDepthBounds( maxDepthBounds_ )\r
- {\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo( VkPipelineDepthStencilStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineDepthStencilStateCreateInfo ) );\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& operator=( VkPipelineDepthStencilStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineDepthStencilStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineDepthStencilStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setFlags( PipelineDepthStencilStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setDepthTestEnable( Bool32 depthTestEnable_ )\r
- {\r
- depthTestEnable = depthTestEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setDepthWriteEnable( Bool32 depthWriteEnable_ )\r
- {\r
- depthWriteEnable = depthWriteEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setDepthCompareOp( CompareOp depthCompareOp_ )\r
- {\r
- depthCompareOp = depthCompareOp_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setDepthBoundsTestEnable( Bool32 depthBoundsTestEnable_ )\r
- {\r
- depthBoundsTestEnable = depthBoundsTestEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setStencilTestEnable( Bool32 stencilTestEnable_ )\r
- {\r
- stencilTestEnable = stencilTestEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setFront( StencilOpState front_ )\r
- {\r
- front = front_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setBack( StencilOpState back_ )\r
- {\r
- back = back_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setMinDepthBounds( float minDepthBounds_ )\r
- {\r
- minDepthBounds = minDepthBounds_;\r
- return *this;\r
- }\r
-\r
- PipelineDepthStencilStateCreateInfo& setMaxDepthBounds( float maxDepthBounds_ )\r
- {\r
- maxDepthBounds = maxDepthBounds_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineDepthStencilStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineDepthStencilStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineDepthStencilStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( depthTestEnable == rhs.depthTestEnable )\r
- && ( depthWriteEnable == rhs.depthWriteEnable )\r
- && ( depthCompareOp == rhs.depthCompareOp )\r
- && ( depthBoundsTestEnable == rhs.depthBoundsTestEnable )\r
- && ( stencilTestEnable == rhs.stencilTestEnable )\r
- && ( front == rhs.front )\r
- && ( back == rhs.back )\r
- && ( minDepthBounds == rhs.minDepthBounds )\r
- && ( maxDepthBounds == rhs.maxDepthBounds );\r
- }\r
-\r
- bool operator!=( PipelineDepthStencilStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineDepthStencilStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineDepthStencilStateCreateFlags flags;\r
- Bool32 depthTestEnable;\r
- Bool32 depthWriteEnable;\r
- CompareOp depthCompareOp;\r
- Bool32 depthBoundsTestEnable;\r
- Bool32 stencilTestEnable;\r
- StencilOpState front;\r
- StencilOpState back;\r
- float minDepthBounds;\r
- float maxDepthBounds;\r
- };\r
- static_assert( sizeof( PipelineDepthStencilStateCreateInfo ) == sizeof( VkPipelineDepthStencilStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineCacheCreateInfo\r
- {\r
- PipelineCacheCreateInfo( PipelineCacheCreateFlags flags_ = PipelineCacheCreateFlags(), size_t initialDataSize_ = 0, const void* pInitialData_ = nullptr )\r
- : flags( flags_ )\r
- , initialDataSize( initialDataSize_ )\r
- , pInitialData( pInitialData_ )\r
- {\r
- }\r
-\r
- PipelineCacheCreateInfo( VkPipelineCacheCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineCacheCreateInfo ) );\r
- }\r
-\r
- PipelineCacheCreateInfo& operator=( VkPipelineCacheCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineCacheCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineCacheCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineCacheCreateInfo& setFlags( PipelineCacheCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineCacheCreateInfo& setInitialDataSize( size_t initialDataSize_ )\r
- {\r
- initialDataSize = initialDataSize_;\r
- return *this;\r
- }\r
-\r
- PipelineCacheCreateInfo& setPInitialData( const void* pInitialData_ )\r
- {\r
- pInitialData = pInitialData_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineCacheCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineCacheCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineCacheCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( initialDataSize == rhs.initialDataSize )\r
- && ( pInitialData == rhs.pInitialData );\r
- }\r
-\r
- bool operator!=( PipelineCacheCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineCacheCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineCacheCreateFlags flags;\r
- size_t initialDataSize;\r
- const void* pInitialData;\r
- };\r
- static_assert( sizeof( PipelineCacheCreateInfo ) == sizeof( VkPipelineCacheCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct SamplerCreateInfo\r
- {\r
- SamplerCreateInfo( SamplerCreateFlags flags_ = SamplerCreateFlags(), Filter magFilter_ = Filter::eNearest, Filter minFilter_ = Filter::eNearest, SamplerMipmapMode mipmapMode_ = SamplerMipmapMode::eNearest, SamplerAddressMode addressModeU_ = SamplerAddressMode::eRepeat, SamplerAddressMode addressModeV_ = SamplerAddressMode::eRepeat, SamplerAddressMode addressModeW_ = SamplerAddressMode::eRepeat, float mipLodBias_ = 0, Bool32 anisotropyEnable_ = 0, float maxAnisotropy_ = 0, Bool32 compareEnable_ = 0, CompareOp compareOp_ = CompareOp::eNever, float minLod_ = 0, float maxLod_ = 0, BorderColor borderColor_ = BorderColor::eFloatTransparentBlack, Bool32 unnormalizedCoordinates_ = 0 )\r
- : flags( flags_ )\r
- , magFilter( magFilter_ )\r
- , minFilter( minFilter_ )\r
- , mipmapMode( mipmapMode_ )\r
- , addressModeU( addressModeU_ )\r
- , addressModeV( addressModeV_ )\r
- , addressModeW( addressModeW_ )\r
- , mipLodBias( mipLodBias_ )\r
- , anisotropyEnable( anisotropyEnable_ )\r
- , maxAnisotropy( maxAnisotropy_ )\r
- , compareEnable( compareEnable_ )\r
- , compareOp( compareOp_ )\r
- , minLod( minLod_ )\r
- , maxLod( maxLod_ )\r
- , borderColor( borderColor_ )\r
- , unnormalizedCoordinates( unnormalizedCoordinates_ )\r
- {\r
- }\r
-\r
- SamplerCreateInfo( VkSamplerCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerCreateInfo ) );\r
- }\r
-\r
- SamplerCreateInfo& operator=( VkSamplerCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerCreateInfo ) );\r
- return *this;\r
- }\r
- SamplerCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setFlags( SamplerCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setMagFilter( Filter magFilter_ )\r
- {\r
- magFilter = magFilter_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setMinFilter( Filter minFilter_ )\r
- {\r
- minFilter = minFilter_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setMipmapMode( SamplerMipmapMode mipmapMode_ )\r
- {\r
- mipmapMode = mipmapMode_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setAddressModeU( SamplerAddressMode addressModeU_ )\r
- {\r
- addressModeU = addressModeU_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setAddressModeV( SamplerAddressMode addressModeV_ )\r
- {\r
- addressModeV = addressModeV_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setAddressModeW( SamplerAddressMode addressModeW_ )\r
- {\r
- addressModeW = addressModeW_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setMipLodBias( float mipLodBias_ )\r
- {\r
- mipLodBias = mipLodBias_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setAnisotropyEnable( Bool32 anisotropyEnable_ )\r
- {\r
- anisotropyEnable = anisotropyEnable_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setMaxAnisotropy( float maxAnisotropy_ )\r
- {\r
- maxAnisotropy = maxAnisotropy_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setCompareEnable( Bool32 compareEnable_ )\r
- {\r
- compareEnable = compareEnable_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setCompareOp( CompareOp compareOp_ )\r
- {\r
- compareOp = compareOp_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setMinLod( float minLod_ )\r
- {\r
- minLod = minLod_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setMaxLod( float maxLod_ )\r
- {\r
- maxLod = maxLod_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setBorderColor( BorderColor borderColor_ )\r
- {\r
- borderColor = borderColor_;\r
- return *this;\r
- }\r
-\r
- SamplerCreateInfo& setUnnormalizedCoordinates( Bool32 unnormalizedCoordinates_ )\r
- {\r
- unnormalizedCoordinates = unnormalizedCoordinates_;\r
- return *this;\r
- }\r
-\r
- operator const VkSamplerCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSamplerCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( SamplerCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( magFilter == rhs.magFilter )\r
- && ( minFilter == rhs.minFilter )\r
- && ( mipmapMode == rhs.mipmapMode )\r
- && ( addressModeU == rhs.addressModeU )\r
- && ( addressModeV == rhs.addressModeV )\r
- && ( addressModeW == rhs.addressModeW )\r
- && ( mipLodBias == rhs.mipLodBias )\r
- && ( anisotropyEnable == rhs.anisotropyEnable )\r
- && ( maxAnisotropy == rhs.maxAnisotropy )\r
- && ( compareEnable == rhs.compareEnable )\r
- && ( compareOp == rhs.compareOp )\r
- && ( minLod == rhs.minLod )\r
- && ( maxLod == rhs.maxLod )\r
- && ( borderColor == rhs.borderColor )\r
- && ( unnormalizedCoordinates == rhs.unnormalizedCoordinates );\r
- }\r
-\r
- bool operator!=( SamplerCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSamplerCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SamplerCreateFlags flags;\r
- Filter magFilter;\r
- Filter minFilter;\r
- SamplerMipmapMode mipmapMode;\r
- SamplerAddressMode addressModeU;\r
- SamplerAddressMode addressModeV;\r
- SamplerAddressMode addressModeW;\r
- float mipLodBias;\r
- Bool32 anisotropyEnable;\r
- float maxAnisotropy;\r
- Bool32 compareEnable;\r
- CompareOp compareOp;\r
- float minLod;\r
- float maxLod;\r
- BorderColor borderColor;\r
- Bool32 unnormalizedCoordinates;\r
- };\r
- static_assert( sizeof( SamplerCreateInfo ) == sizeof( VkSamplerCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct CommandBufferAllocateInfo\r
- {\r
- CommandBufferAllocateInfo( CommandPool commandPool_ = CommandPool(), CommandBufferLevel level_ = CommandBufferLevel::ePrimary, uint32_t commandBufferCount_ = 0 )\r
- : commandPool( commandPool_ )\r
- , level( level_ )\r
- , commandBufferCount( commandBufferCount_ )\r
- {\r
- }\r
-\r
- CommandBufferAllocateInfo( VkCommandBufferAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandBufferAllocateInfo ) );\r
- }\r
-\r
- CommandBufferAllocateInfo& operator=( VkCommandBufferAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandBufferAllocateInfo ) );\r
- return *this;\r
- }\r
- CommandBufferAllocateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- CommandBufferAllocateInfo& setCommandPool( CommandPool commandPool_ )\r
- {\r
- commandPool = commandPool_;\r
- return *this;\r
- }\r
-\r
- CommandBufferAllocateInfo& setLevel( CommandBufferLevel level_ )\r
- {\r
- level = level_;\r
- return *this;\r
- }\r
-\r
- CommandBufferAllocateInfo& setCommandBufferCount( uint32_t commandBufferCount_ )\r
- {\r
- commandBufferCount = commandBufferCount_;\r
- return *this;\r
- }\r
-\r
- operator const VkCommandBufferAllocateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkCommandBufferAllocateInfo*>(this);\r
- }\r
-\r
- bool operator==( CommandBufferAllocateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( commandPool == rhs.commandPool )\r
- && ( level == rhs.level )\r
- && ( commandBufferCount == rhs.commandBufferCount );\r
- }\r
-\r
- bool operator!=( CommandBufferAllocateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eCommandBufferAllocateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- CommandPool commandPool;\r
- CommandBufferLevel level;\r
- uint32_t commandBufferCount;\r
- };\r
- static_assert( sizeof( CommandBufferAllocateInfo ) == sizeof( VkCommandBufferAllocateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct RenderPassBeginInfo\r
- {\r
- RenderPassBeginInfo( RenderPass renderPass_ = RenderPass(), Framebuffer framebuffer_ = Framebuffer(), Rect2D renderArea_ = Rect2D(), uint32_t clearValueCount_ = 0, const ClearValue* pClearValues_ = nullptr )\r
- : renderPass( renderPass_ )\r
- , framebuffer( framebuffer_ )\r
- , renderArea( renderArea_ )\r
- , clearValueCount( clearValueCount_ )\r
- , pClearValues( pClearValues_ )\r
- {\r
- }\r
-\r
- RenderPassBeginInfo( VkRenderPassBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassBeginInfo ) );\r
- }\r
-\r
- RenderPassBeginInfo& operator=( VkRenderPassBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassBeginInfo ) );\r
- return *this;\r
- }\r
- RenderPassBeginInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- RenderPassBeginInfo& setRenderPass( RenderPass renderPass_ )\r
- {\r
- renderPass = renderPass_;\r
- return *this;\r
- }\r
-\r
- RenderPassBeginInfo& setFramebuffer( Framebuffer framebuffer_ )\r
- {\r
- framebuffer = framebuffer_;\r
- return *this;\r
- }\r
-\r
- RenderPassBeginInfo& setRenderArea( Rect2D renderArea_ )\r
- {\r
- renderArea = renderArea_;\r
- return *this;\r
- }\r
-\r
- RenderPassBeginInfo& setClearValueCount( uint32_t clearValueCount_ )\r
- {\r
- clearValueCount = clearValueCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassBeginInfo& setPClearValues( const ClearValue* pClearValues_ )\r
- {\r
- pClearValues = pClearValues_;\r
- return *this;\r
- }\r
-\r
- operator const VkRenderPassBeginInfo&() const\r
- {\r
- return *reinterpret_cast<const VkRenderPassBeginInfo*>(this);\r
- }\r
-\r
- bool operator==( RenderPassBeginInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( renderPass == rhs.renderPass )\r
- && ( framebuffer == rhs.framebuffer )\r
- && ( renderArea == rhs.renderArea )\r
- && ( clearValueCount == rhs.clearValueCount )\r
- && ( pClearValues == rhs.pClearValues );\r
- }\r
-\r
- bool operator!=( RenderPassBeginInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eRenderPassBeginInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- RenderPass renderPass;\r
- Framebuffer framebuffer;\r
- Rect2D renderArea;\r
- uint32_t clearValueCount;\r
- const ClearValue* pClearValues;\r
- };\r
- static_assert( sizeof( RenderPassBeginInfo ) == sizeof( VkRenderPassBeginInfo ), "struct and wrapper have different size!" );\r
-\r
- struct EventCreateInfo\r
- {\r
- EventCreateInfo( EventCreateFlags flags_ = EventCreateFlags() )\r
- : flags( flags_ )\r
- {\r
- }\r
-\r
- EventCreateInfo( VkEventCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( EventCreateInfo ) );\r
- }\r
-\r
- EventCreateInfo& operator=( VkEventCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( EventCreateInfo ) );\r
- return *this;\r
- }\r
- EventCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- EventCreateInfo& setFlags( EventCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- operator const VkEventCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkEventCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( EventCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( EventCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eEventCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- EventCreateFlags flags;\r
- };\r
- static_assert( sizeof( EventCreateInfo ) == sizeof( VkEventCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct SemaphoreCreateInfo\r
- {\r
- SemaphoreCreateInfo( SemaphoreCreateFlags flags_ = SemaphoreCreateFlags() )\r
- : flags( flags_ )\r
- {\r
- }\r
-\r
- SemaphoreCreateInfo( VkSemaphoreCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SemaphoreCreateInfo ) );\r
- }\r
-\r
- SemaphoreCreateInfo& operator=( VkSemaphoreCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SemaphoreCreateInfo ) );\r
- return *this;\r
- }\r
- SemaphoreCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SemaphoreCreateInfo& setFlags( SemaphoreCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- operator const VkSemaphoreCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSemaphoreCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( SemaphoreCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( SemaphoreCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSemaphoreCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SemaphoreCreateFlags flags;\r
- };\r
- static_assert( sizeof( SemaphoreCreateInfo ) == sizeof( VkSemaphoreCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct FramebufferCreateInfo\r
- {\r
- FramebufferCreateInfo( FramebufferCreateFlags flags_ = FramebufferCreateFlags(), RenderPass renderPass_ = RenderPass(), uint32_t attachmentCount_ = 0, const ImageView* pAttachments_ = nullptr, uint32_t width_ = 0, uint32_t height_ = 0, uint32_t layers_ = 0 )\r
- : flags( flags_ )\r
- , renderPass( renderPass_ )\r
- , attachmentCount( attachmentCount_ )\r
- , pAttachments( pAttachments_ )\r
- , width( width_ )\r
- , height( height_ )\r
- , layers( layers_ )\r
- {\r
- }\r
-\r
- FramebufferCreateInfo( VkFramebufferCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FramebufferCreateInfo ) );\r
- }\r
-\r
- FramebufferCreateInfo& operator=( VkFramebufferCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FramebufferCreateInfo ) );\r
- return *this;\r
- }\r
- FramebufferCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- FramebufferCreateInfo& setFlags( FramebufferCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- FramebufferCreateInfo& setRenderPass( RenderPass renderPass_ )\r
- {\r
- renderPass = renderPass_;\r
- return *this;\r
- }\r
-\r
- FramebufferCreateInfo& setAttachmentCount( uint32_t attachmentCount_ )\r
- {\r
- attachmentCount = attachmentCount_;\r
- return *this;\r
- }\r
-\r
- FramebufferCreateInfo& setPAttachments( const ImageView* pAttachments_ )\r
- {\r
- pAttachments = pAttachments_;\r
- return *this;\r
- }\r
-\r
- FramebufferCreateInfo& setWidth( uint32_t width_ )\r
- {\r
- width = width_;\r
- return *this;\r
- }\r
-\r
- FramebufferCreateInfo& setHeight( uint32_t height_ )\r
- {\r
- height = height_;\r
- return *this;\r
- }\r
-\r
- FramebufferCreateInfo& setLayers( uint32_t layers_ )\r
- {\r
- layers = layers_;\r
- return *this;\r
- }\r
-\r
- operator const VkFramebufferCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkFramebufferCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( FramebufferCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( renderPass == rhs.renderPass )\r
- && ( attachmentCount == rhs.attachmentCount )\r
- && ( pAttachments == rhs.pAttachments )\r
- && ( width == rhs.width )\r
- && ( height == rhs.height )\r
- && ( layers == rhs.layers );\r
- }\r
-\r
- bool operator!=( FramebufferCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eFramebufferCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- FramebufferCreateFlags flags;\r
- RenderPass renderPass;\r
- uint32_t attachmentCount;\r
- const ImageView* pAttachments;\r
- uint32_t width;\r
- uint32_t height;\r
- uint32_t layers;\r
- };\r
- static_assert( sizeof( FramebufferCreateInfo ) == sizeof( VkFramebufferCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct DisplayModeCreateInfoKHR\r
- {\r
- DisplayModeCreateInfoKHR( DisplayModeCreateFlagsKHR flags_ = DisplayModeCreateFlagsKHR(), DisplayModeParametersKHR parameters_ = DisplayModeParametersKHR() )\r
- : flags( flags_ )\r
- , parameters( parameters_ )\r
- {\r
- }\r
-\r
- DisplayModeCreateInfoKHR( VkDisplayModeCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayModeCreateInfoKHR ) );\r
- }\r
-\r
- DisplayModeCreateInfoKHR& operator=( VkDisplayModeCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayModeCreateInfoKHR ) );\r
- return *this;\r
- }\r
- DisplayModeCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DisplayModeCreateInfoKHR& setFlags( DisplayModeCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DisplayModeCreateInfoKHR& setParameters( DisplayModeParametersKHR parameters_ )\r
- {\r
- parameters = parameters_;\r
- return *this;\r
- }\r
-\r
- operator const VkDisplayModeCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayModeCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplayModeCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( parameters == rhs.parameters );\r
- }\r
-\r
- bool operator!=( DisplayModeCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDisplayModeCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DisplayModeCreateFlagsKHR flags;\r
- DisplayModeParametersKHR parameters;\r
- };\r
- static_assert( sizeof( DisplayModeCreateInfoKHR ) == sizeof( VkDisplayModeCreateInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct DisplayPresentInfoKHR\r
- {\r
- DisplayPresentInfoKHR( Rect2D srcRect_ = Rect2D(), Rect2D dstRect_ = Rect2D(), Bool32 persistent_ = 0 )\r
- : srcRect( srcRect_ )\r
- , dstRect( dstRect_ )\r
- , persistent( persistent_ )\r
- {\r
- }\r
-\r
- DisplayPresentInfoKHR( VkDisplayPresentInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayPresentInfoKHR ) );\r
- }\r
-\r
- DisplayPresentInfoKHR& operator=( VkDisplayPresentInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayPresentInfoKHR ) );\r
- return *this;\r
- }\r
- DisplayPresentInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DisplayPresentInfoKHR& setSrcRect( Rect2D srcRect_ )\r
- {\r
- srcRect = srcRect_;\r
- return *this;\r
- }\r
-\r
- DisplayPresentInfoKHR& setDstRect( Rect2D dstRect_ )\r
- {\r
- dstRect = dstRect_;\r
- return *this;\r
- }\r
-\r
- DisplayPresentInfoKHR& setPersistent( Bool32 persistent_ )\r
- {\r
- persistent = persistent_;\r
- return *this;\r
- }\r
-\r
- operator const VkDisplayPresentInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayPresentInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplayPresentInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( srcRect == rhs.srcRect )\r
- && ( dstRect == rhs.dstRect )\r
- && ( persistent == rhs.persistent );\r
- }\r
-\r
- bool operator!=( DisplayPresentInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDisplayPresentInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Rect2D srcRect;\r
- Rect2D dstRect;\r
- Bool32 persistent;\r
- };\r
- static_assert( sizeof( DisplayPresentInfoKHR ) == sizeof( VkDisplayPresentInfoKHR ), "struct and wrapper have different size!" );\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- struct AndroidSurfaceCreateInfoKHR\r
- {\r
- AndroidSurfaceCreateInfoKHR( AndroidSurfaceCreateFlagsKHR flags_ = AndroidSurfaceCreateFlagsKHR(), struct ANativeWindow* window_ = nullptr )\r
- : flags( flags_ )\r
- , window( window_ )\r
- {\r
- }\r
-\r
- AndroidSurfaceCreateInfoKHR( VkAndroidSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AndroidSurfaceCreateInfoKHR ) );\r
- }\r
-\r
- AndroidSurfaceCreateInfoKHR& operator=( VkAndroidSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AndroidSurfaceCreateInfoKHR ) );\r
- return *this;\r
- }\r
- AndroidSurfaceCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- AndroidSurfaceCreateInfoKHR& setFlags( AndroidSurfaceCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- AndroidSurfaceCreateInfoKHR& setWindow( struct ANativeWindow* window_ )\r
- {\r
- window = window_;\r
- return *this;\r
- }\r
-\r
- operator const VkAndroidSurfaceCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( AndroidSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( window == rhs.window );\r
- }\r
-\r
- bool operator!=( AndroidSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eAndroidSurfaceCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- AndroidSurfaceCreateFlagsKHR flags;\r
- struct ANativeWindow* window;\r
- };\r
- static_assert( sizeof( AndroidSurfaceCreateInfoKHR ) == sizeof( VkAndroidSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- struct MirSurfaceCreateInfoKHR\r
- {\r
- MirSurfaceCreateInfoKHR( MirSurfaceCreateFlagsKHR flags_ = MirSurfaceCreateFlagsKHR(), MirConnection* connection_ = nullptr, MirSurface* mirSurface_ = nullptr )\r
- : flags( flags_ )\r
- , connection( connection_ )\r
- , mirSurface( mirSurface_ )\r
- {\r
- }\r
-\r
- MirSurfaceCreateInfoKHR( VkMirSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MirSurfaceCreateInfoKHR ) );\r
- }\r
-\r
- MirSurfaceCreateInfoKHR& operator=( VkMirSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MirSurfaceCreateInfoKHR ) );\r
- return *this;\r
- }\r
- MirSurfaceCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MirSurfaceCreateInfoKHR& setFlags( MirSurfaceCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- MirSurfaceCreateInfoKHR& setConnection( MirConnection* connection_ )\r
- {\r
- connection = connection_;\r
- return *this;\r
- }\r
-\r
- MirSurfaceCreateInfoKHR& setMirSurface( MirSurface* mirSurface_ )\r
- {\r
- mirSurface = mirSurface_;\r
- return *this;\r
- }\r
-\r
- operator const VkMirSurfaceCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( MirSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( connection == rhs.connection )\r
- && ( mirSurface == rhs.mirSurface );\r
- }\r
-\r
- bool operator!=( MirSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMirSurfaceCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- MirSurfaceCreateFlagsKHR flags;\r
- MirConnection* connection;\r
- MirSurface* mirSurface;\r
- };\r
- static_assert( sizeof( MirSurfaceCreateInfoKHR ) == sizeof( VkMirSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- struct ViSurfaceCreateInfoNN\r
- {\r
- ViSurfaceCreateInfoNN( ViSurfaceCreateFlagsNN flags_ = ViSurfaceCreateFlagsNN(), void* window_ = nullptr )\r
- : flags( flags_ )\r
- , window( window_ )\r
- {\r
- }\r
-\r
- ViSurfaceCreateInfoNN( VkViSurfaceCreateInfoNN const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ViSurfaceCreateInfoNN ) );\r
- }\r
-\r
- ViSurfaceCreateInfoNN& operator=( VkViSurfaceCreateInfoNN const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ViSurfaceCreateInfoNN ) );\r
- return *this;\r
- }\r
- ViSurfaceCreateInfoNN& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ViSurfaceCreateInfoNN& setFlags( ViSurfaceCreateFlagsNN flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ViSurfaceCreateInfoNN& setWindow( void* window_ )\r
- {\r
- window = window_;\r
- return *this;\r
- }\r
-\r
- operator const VkViSurfaceCreateInfoNN&() const\r
- {\r
- return *reinterpret_cast<const VkViSurfaceCreateInfoNN*>(this);\r
- }\r
-\r
- bool operator==( ViSurfaceCreateInfoNN const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( window == rhs.window );\r
- }\r
-\r
- bool operator!=( ViSurfaceCreateInfoNN const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eViSurfaceCreateInfoNN;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ViSurfaceCreateFlagsNN flags;\r
- void* window;\r
- };\r
- static_assert( sizeof( ViSurfaceCreateInfoNN ) == sizeof( VkViSurfaceCreateInfoNN ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- struct WaylandSurfaceCreateInfoKHR\r
- {\r
- WaylandSurfaceCreateInfoKHR( WaylandSurfaceCreateFlagsKHR flags_ = WaylandSurfaceCreateFlagsKHR(), struct wl_display* display_ = nullptr, struct wl_surface* surface_ = nullptr )\r
- : flags( flags_ )\r
- , display( display_ )\r
- , surface( surface_ )\r
- {\r
- }\r
-\r
- WaylandSurfaceCreateInfoKHR( VkWaylandSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( WaylandSurfaceCreateInfoKHR ) );\r
- }\r
-\r
- WaylandSurfaceCreateInfoKHR& operator=( VkWaylandSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( WaylandSurfaceCreateInfoKHR ) );\r
- return *this;\r
- }\r
- WaylandSurfaceCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- WaylandSurfaceCreateInfoKHR& setFlags( WaylandSurfaceCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- WaylandSurfaceCreateInfoKHR& setDisplay( struct wl_display* display_ )\r
- {\r
- display = display_;\r
- return *this;\r
- }\r
-\r
- WaylandSurfaceCreateInfoKHR& setSurface( struct wl_surface* surface_ )\r
- {\r
- surface = surface_;\r
- return *this;\r
- }\r
-\r
- operator const VkWaylandSurfaceCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( WaylandSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( display == rhs.display )\r
- && ( surface == rhs.surface );\r
- }\r
-\r
- bool operator!=( WaylandSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eWaylandSurfaceCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- WaylandSurfaceCreateFlagsKHR flags;\r
- struct wl_display* display;\r
- struct wl_surface* surface;\r
- };\r
- static_assert( sizeof( WaylandSurfaceCreateInfoKHR ) == sizeof( VkWaylandSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct Win32SurfaceCreateInfoKHR\r
- {\r
- Win32SurfaceCreateInfoKHR( Win32SurfaceCreateFlagsKHR flags_ = Win32SurfaceCreateFlagsKHR(), HINSTANCE hinstance_ = 0, HWND hwnd_ = 0 )\r
- : flags( flags_ )\r
- , hinstance( hinstance_ )\r
- , hwnd( hwnd_ )\r
- {\r
- }\r
-\r
- Win32SurfaceCreateInfoKHR( VkWin32SurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Win32SurfaceCreateInfoKHR ) );\r
- }\r
-\r
- Win32SurfaceCreateInfoKHR& operator=( VkWin32SurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Win32SurfaceCreateInfoKHR ) );\r
- return *this;\r
- }\r
- Win32SurfaceCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- Win32SurfaceCreateInfoKHR& setFlags( Win32SurfaceCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- Win32SurfaceCreateInfoKHR& setHinstance( HINSTANCE hinstance_ )\r
- {\r
- hinstance = hinstance_;\r
- return *this;\r
- }\r
-\r
- Win32SurfaceCreateInfoKHR& setHwnd( HWND hwnd_ )\r
- {\r
- hwnd = hwnd_;\r
- return *this;\r
- }\r
-\r
- operator const VkWin32SurfaceCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( Win32SurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( hinstance == rhs.hinstance )\r
- && ( hwnd == rhs.hwnd );\r
- }\r
-\r
- bool operator!=( Win32SurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eWin32SurfaceCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Win32SurfaceCreateFlagsKHR flags;\r
- HINSTANCE hinstance;\r
- HWND hwnd;\r
- };\r
- static_assert( sizeof( Win32SurfaceCreateInfoKHR ) == sizeof( VkWin32SurfaceCreateInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- struct XlibSurfaceCreateInfoKHR\r
- {\r
- XlibSurfaceCreateInfoKHR( XlibSurfaceCreateFlagsKHR flags_ = XlibSurfaceCreateFlagsKHR(), Display* dpy_ = nullptr, Window window_ = 0 )\r
- : flags( flags_ )\r
- , dpy( dpy_ )\r
- , window( window_ )\r
- {\r
- }\r
-\r
- XlibSurfaceCreateInfoKHR( VkXlibSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( XlibSurfaceCreateInfoKHR ) );\r
- }\r
-\r
- XlibSurfaceCreateInfoKHR& operator=( VkXlibSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( XlibSurfaceCreateInfoKHR ) );\r
- return *this;\r
- }\r
- XlibSurfaceCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- XlibSurfaceCreateInfoKHR& setFlags( XlibSurfaceCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- XlibSurfaceCreateInfoKHR& setDpy( Display* dpy_ )\r
- {\r
- dpy = dpy_;\r
- return *this;\r
- }\r
-\r
- XlibSurfaceCreateInfoKHR& setWindow( Window window_ )\r
- {\r
- window = window_;\r
- return *this;\r
- }\r
-\r
- operator const VkXlibSurfaceCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( XlibSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( dpy == rhs.dpy )\r
- && ( window == rhs.window );\r
- }\r
-\r
- bool operator!=( XlibSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eXlibSurfaceCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- XlibSurfaceCreateFlagsKHR flags;\r
- Display* dpy;\r
- Window window;\r
- };\r
- static_assert( sizeof( XlibSurfaceCreateInfoKHR ) == sizeof( VkXlibSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- struct XcbSurfaceCreateInfoKHR\r
- {\r
- XcbSurfaceCreateInfoKHR( XcbSurfaceCreateFlagsKHR flags_ = XcbSurfaceCreateFlagsKHR(), xcb_connection_t* connection_ = nullptr, xcb_window_t window_ = 0 )\r
- : flags( flags_ )\r
- , connection( connection_ )\r
- , window( window_ )\r
- {\r
- }\r
-\r
- XcbSurfaceCreateInfoKHR( VkXcbSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( XcbSurfaceCreateInfoKHR ) );\r
- }\r
-\r
- XcbSurfaceCreateInfoKHR& operator=( VkXcbSurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( XcbSurfaceCreateInfoKHR ) );\r
- return *this;\r
- }\r
- XcbSurfaceCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- XcbSurfaceCreateInfoKHR& setFlags( XcbSurfaceCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- XcbSurfaceCreateInfoKHR& setConnection( xcb_connection_t* connection_ )\r
- {\r
- connection = connection_;\r
- return *this;\r
- }\r
-\r
- XcbSurfaceCreateInfoKHR& setWindow( xcb_window_t window_ )\r
- {\r
- window = window_;\r
- return *this;\r
- }\r
-\r
- operator const VkXcbSurfaceCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( XcbSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( connection == rhs.connection )\r
- && ( window == rhs.window );\r
- }\r
-\r
- bool operator!=( XcbSurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eXcbSurfaceCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- XcbSurfaceCreateFlagsKHR flags;\r
- xcb_connection_t* connection;\r
- xcb_window_t window;\r
- };\r
- static_assert( sizeof( XcbSurfaceCreateInfoKHR ) == sizeof( VkXcbSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
- struct DebugMarkerMarkerInfoEXT\r
- {\r
- DebugMarkerMarkerInfoEXT( const char* pMarkerName_ = nullptr, std::array<float,4> const& color_ = { { 0, 0, 0, 0 } } )\r
- : pMarkerName( pMarkerName_ )\r
- {\r
- memcpy( &color, color_.data(), 4 * sizeof( float ) );\r
- }\r
-\r
- DebugMarkerMarkerInfoEXT( VkDebugMarkerMarkerInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugMarkerMarkerInfoEXT ) );\r
- }\r
-\r
- DebugMarkerMarkerInfoEXT& operator=( VkDebugMarkerMarkerInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugMarkerMarkerInfoEXT ) );\r
- return *this;\r
- }\r
- DebugMarkerMarkerInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerMarkerInfoEXT& setPMarkerName( const char* pMarkerName_ )\r
- {\r
- pMarkerName = pMarkerName_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerMarkerInfoEXT& setColor( std::array<float,4> color_ )\r
- {\r
- memcpy( &color, color_.data(), 4 * sizeof( float ) );\r
- return *this;\r
- }\r
-\r
- operator const VkDebugMarkerMarkerInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugMarkerMarkerInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pMarkerName == rhs.pMarkerName )\r
- && ( memcmp( color, rhs.color, 4 * sizeof( float ) ) == 0 );\r
- }\r
-\r
- bool operator!=( DebugMarkerMarkerInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugMarkerMarkerInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- const char* pMarkerName;\r
- float color[4];\r
- };\r
- static_assert( sizeof( DebugMarkerMarkerInfoEXT ) == sizeof( VkDebugMarkerMarkerInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct DedicatedAllocationImageCreateInfoNV\r
- {\r
- DedicatedAllocationImageCreateInfoNV( Bool32 dedicatedAllocation_ = 0 )\r
- : dedicatedAllocation( dedicatedAllocation_ )\r
- {\r
- }\r
-\r
- DedicatedAllocationImageCreateInfoNV( VkDedicatedAllocationImageCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );\r
- }\r
-\r
- DedicatedAllocationImageCreateInfoNV& operator=( VkDedicatedAllocationImageCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );\r
- return *this;\r
- }\r
- DedicatedAllocationImageCreateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DedicatedAllocationImageCreateInfoNV& setDedicatedAllocation( Bool32 dedicatedAllocation_ )\r
- {\r
- dedicatedAllocation = dedicatedAllocation_;\r
- return *this;\r
- }\r
-\r
- operator const VkDedicatedAllocationImageCreateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkDedicatedAllocationImageCreateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( DedicatedAllocationImageCreateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( dedicatedAllocation == rhs.dedicatedAllocation );\r
- }\r
-\r
- bool operator!=( DedicatedAllocationImageCreateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDedicatedAllocationImageCreateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Bool32 dedicatedAllocation;\r
- };\r
- static_assert( sizeof( DedicatedAllocationImageCreateInfoNV ) == sizeof( VkDedicatedAllocationImageCreateInfoNV ), "struct and wrapper have different size!" );\r
-\r
- struct DedicatedAllocationBufferCreateInfoNV\r
- {\r
- DedicatedAllocationBufferCreateInfoNV( Bool32 dedicatedAllocation_ = 0 )\r
- : dedicatedAllocation( dedicatedAllocation_ )\r
- {\r
- }\r
-\r
- DedicatedAllocationBufferCreateInfoNV( VkDedicatedAllocationBufferCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) );\r
- }\r
-\r
- DedicatedAllocationBufferCreateInfoNV& operator=( VkDedicatedAllocationBufferCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) );\r
- return *this;\r
- }\r
- DedicatedAllocationBufferCreateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DedicatedAllocationBufferCreateInfoNV& setDedicatedAllocation( Bool32 dedicatedAllocation_ )\r
- {\r
- dedicatedAllocation = dedicatedAllocation_;\r
- return *this;\r
- }\r
-\r
- operator const VkDedicatedAllocationBufferCreateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkDedicatedAllocationBufferCreateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( DedicatedAllocationBufferCreateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( dedicatedAllocation == rhs.dedicatedAllocation );\r
- }\r
-\r
- bool operator!=( DedicatedAllocationBufferCreateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDedicatedAllocationBufferCreateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Bool32 dedicatedAllocation;\r
- };\r
- static_assert( sizeof( DedicatedAllocationBufferCreateInfoNV ) == sizeof( VkDedicatedAllocationBufferCreateInfoNV ), "struct and wrapper have different size!" );\r
-\r
- struct DedicatedAllocationMemoryAllocateInfoNV\r
- {\r
- DedicatedAllocationMemoryAllocateInfoNV( Image image_ = Image(), Buffer buffer_ = Buffer() )\r
- : image( image_ )\r
- , buffer( buffer_ )\r
- {\r
- }\r
-\r
- DedicatedAllocationMemoryAllocateInfoNV( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) );\r
- }\r
-\r
- DedicatedAllocationMemoryAllocateInfoNV& operator=( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) );\r
- return *this;\r
- }\r
- DedicatedAllocationMemoryAllocateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DedicatedAllocationMemoryAllocateInfoNV& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- DedicatedAllocationMemoryAllocateInfoNV& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- operator const VkDedicatedAllocationMemoryAllocateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkDedicatedAllocationMemoryAllocateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( DedicatedAllocationMemoryAllocateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( image == rhs.image )\r
- && ( buffer == rhs.buffer );\r
- }\r
-\r
- bool operator!=( DedicatedAllocationMemoryAllocateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Image image;\r
- Buffer buffer;\r
- };\r
- static_assert( sizeof( DedicatedAllocationMemoryAllocateInfoNV ) == sizeof( VkDedicatedAllocationMemoryAllocateInfoNV ), "struct and wrapper have different size!" );\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- struct ExportMemoryWin32HandleInfoNV\r
- {\r
- ExportMemoryWin32HandleInfoNV( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0 )\r
- : pAttributes( pAttributes_ )\r
- , dwAccess( dwAccess_ )\r
- {\r
- }\r
-\r
- ExportMemoryWin32HandleInfoNV( VkExportMemoryWin32HandleInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoNV ) );\r
- }\r
-\r
- ExportMemoryWin32HandleInfoNV& operator=( VkExportMemoryWin32HandleInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoNV ) );\r
- return *this;\r
- }\r
- ExportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportMemoryWin32HandleInfoNV& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )\r
- {\r
- pAttributes = pAttributes_;\r
- return *this;\r
- }\r
-\r
- ExportMemoryWin32HandleInfoNV& setDwAccess( DWORD dwAccess_ )\r
- {\r
- dwAccess = dwAccess_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportMemoryWin32HandleInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkExportMemoryWin32HandleInfoNV*>(this);\r
- }\r
-\r
- bool operator==( ExportMemoryWin32HandleInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pAttributes == rhs.pAttributes )\r
- && ( dwAccess == rhs.dwAccess );\r
- }\r
-\r
- bool operator!=( ExportMemoryWin32HandleInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportMemoryWin32HandleInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- const SECURITY_ATTRIBUTES* pAttributes;\r
- DWORD dwAccess;\r
- };\r
- static_assert( sizeof( ExportMemoryWin32HandleInfoNV ) == sizeof( VkExportMemoryWin32HandleInfoNV ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- struct Win32KeyedMutexAcquireReleaseInfoNV\r
- {\r
- Win32KeyedMutexAcquireReleaseInfoNV( uint32_t acquireCount_ = 0, const DeviceMemory* pAcquireSyncs_ = nullptr, const uint64_t* pAcquireKeys_ = nullptr, const uint32_t* pAcquireTimeoutMilliseconds_ = nullptr, uint32_t releaseCount_ = 0, const DeviceMemory* pReleaseSyncs_ = nullptr, const uint64_t* pReleaseKeys_ = nullptr )\r
- : acquireCount( acquireCount_ )\r
- , pAcquireSyncs( pAcquireSyncs_ )\r
- , pAcquireKeys( pAcquireKeys_ )\r
- , pAcquireTimeoutMilliseconds( pAcquireTimeoutMilliseconds_ )\r
- , releaseCount( releaseCount_ )\r
- , pReleaseSyncs( pReleaseSyncs_ )\r
- , pReleaseKeys( pReleaseKeys_ )\r
- {\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) );\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& operator=( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) );\r
- return *this;\r
- }\r
- Win32KeyedMutexAcquireReleaseInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& setAcquireCount( uint32_t acquireCount_ )\r
- {\r
- acquireCount = acquireCount_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& setPAcquireSyncs( const DeviceMemory* pAcquireSyncs_ )\r
- {\r
- pAcquireSyncs = pAcquireSyncs_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& setPAcquireKeys( const uint64_t* pAcquireKeys_ )\r
- {\r
- pAcquireKeys = pAcquireKeys_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& setPAcquireTimeoutMilliseconds( const uint32_t* pAcquireTimeoutMilliseconds_ )\r
- {\r
- pAcquireTimeoutMilliseconds = pAcquireTimeoutMilliseconds_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& setReleaseCount( uint32_t releaseCount_ )\r
- {\r
- releaseCount = releaseCount_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& setPReleaseSyncs( const DeviceMemory* pReleaseSyncs_ )\r
- {\r
- pReleaseSyncs = pReleaseSyncs_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoNV& setPReleaseKeys( const uint64_t* pReleaseKeys_ )\r
- {\r
- pReleaseKeys = pReleaseKeys_;\r
- return *this;\r
- }\r
-\r
- operator const VkWin32KeyedMutexAcquireReleaseInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkWin32KeyedMutexAcquireReleaseInfoNV*>(this);\r
- }\r
-\r
- bool operator==( Win32KeyedMutexAcquireReleaseInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( acquireCount == rhs.acquireCount )\r
- && ( pAcquireSyncs == rhs.pAcquireSyncs )\r
- && ( pAcquireKeys == rhs.pAcquireKeys )\r
- && ( pAcquireTimeoutMilliseconds == rhs.pAcquireTimeoutMilliseconds )\r
- && ( releaseCount == rhs.releaseCount )\r
- && ( pReleaseSyncs == rhs.pReleaseSyncs )\r
- && ( pReleaseKeys == rhs.pReleaseKeys );\r
- }\r
-\r
- bool operator!=( Win32KeyedMutexAcquireReleaseInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t acquireCount;\r
- const DeviceMemory* pAcquireSyncs;\r
- const uint64_t* pAcquireKeys;\r
- const uint32_t* pAcquireTimeoutMilliseconds;\r
- uint32_t releaseCount;\r
- const DeviceMemory* pReleaseSyncs;\r
- const uint64_t* pReleaseKeys;\r
- };\r
- static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoNV ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-\r
- struct DeviceGeneratedCommandsFeaturesNVX\r
- {\r
- DeviceGeneratedCommandsFeaturesNVX( Bool32 computeBindingPointSupport_ = 0 )\r
- : computeBindingPointSupport( computeBindingPointSupport_ )\r
- {\r
- }\r
-\r
- DeviceGeneratedCommandsFeaturesNVX( VkDeviceGeneratedCommandsFeaturesNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsFeaturesNVX ) );\r
- }\r
-\r
- DeviceGeneratedCommandsFeaturesNVX& operator=( VkDeviceGeneratedCommandsFeaturesNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsFeaturesNVX ) );\r
- return *this;\r
- }\r
- DeviceGeneratedCommandsFeaturesNVX& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGeneratedCommandsFeaturesNVX& setComputeBindingPointSupport( Bool32 computeBindingPointSupport_ )\r
- {\r
- computeBindingPointSupport = computeBindingPointSupport_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGeneratedCommandsFeaturesNVX&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGeneratedCommandsFeaturesNVX*>(this);\r
- }\r
-\r
- bool operator==( DeviceGeneratedCommandsFeaturesNVX const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( computeBindingPointSupport == rhs.computeBindingPointSupport );\r
- }\r
-\r
- bool operator!=( DeviceGeneratedCommandsFeaturesNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGeneratedCommandsFeaturesNVX;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Bool32 computeBindingPointSupport;\r
- };\r
- static_assert( sizeof( DeviceGeneratedCommandsFeaturesNVX ) == sizeof( VkDeviceGeneratedCommandsFeaturesNVX ), "struct and wrapper have different size!" );\r
-\r
- struct DeviceGeneratedCommandsLimitsNVX\r
- {\r
- DeviceGeneratedCommandsLimitsNVX( uint32_t maxIndirectCommandsLayoutTokenCount_ = 0, uint32_t maxObjectEntryCounts_ = 0, uint32_t minSequenceCountBufferOffsetAlignment_ = 0, uint32_t minSequenceIndexBufferOffsetAlignment_ = 0, uint32_t minCommandsTokenBufferOffsetAlignment_ = 0 )\r
- : maxIndirectCommandsLayoutTokenCount( maxIndirectCommandsLayoutTokenCount_ )\r
- , maxObjectEntryCounts( maxObjectEntryCounts_ )\r
- , minSequenceCountBufferOffsetAlignment( minSequenceCountBufferOffsetAlignment_ )\r
- , minSequenceIndexBufferOffsetAlignment( minSequenceIndexBufferOffsetAlignment_ )\r
- , minCommandsTokenBufferOffsetAlignment( minCommandsTokenBufferOffsetAlignment_ )\r
- {\r
- }\r
-\r
- DeviceGeneratedCommandsLimitsNVX( VkDeviceGeneratedCommandsLimitsNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsLimitsNVX ) );\r
- }\r
-\r
- DeviceGeneratedCommandsLimitsNVX& operator=( VkDeviceGeneratedCommandsLimitsNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsLimitsNVX ) );\r
- return *this;\r
- }\r
- DeviceGeneratedCommandsLimitsNVX& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGeneratedCommandsLimitsNVX& setMaxIndirectCommandsLayoutTokenCount( uint32_t maxIndirectCommandsLayoutTokenCount_ )\r
- {\r
- maxIndirectCommandsLayoutTokenCount = maxIndirectCommandsLayoutTokenCount_;\r
- return *this;\r
- }\r
-\r
- DeviceGeneratedCommandsLimitsNVX& setMaxObjectEntryCounts( uint32_t maxObjectEntryCounts_ )\r
- {\r
- maxObjectEntryCounts = maxObjectEntryCounts_;\r
- return *this;\r
- }\r
-\r
- DeviceGeneratedCommandsLimitsNVX& setMinSequenceCountBufferOffsetAlignment( uint32_t minSequenceCountBufferOffsetAlignment_ )\r
- {\r
- minSequenceCountBufferOffsetAlignment = minSequenceCountBufferOffsetAlignment_;\r
- return *this;\r
- }\r
-\r
- DeviceGeneratedCommandsLimitsNVX& setMinSequenceIndexBufferOffsetAlignment( uint32_t minSequenceIndexBufferOffsetAlignment_ )\r
- {\r
- minSequenceIndexBufferOffsetAlignment = minSequenceIndexBufferOffsetAlignment_;\r
- return *this;\r
- }\r
-\r
- DeviceGeneratedCommandsLimitsNVX& setMinCommandsTokenBufferOffsetAlignment( uint32_t minCommandsTokenBufferOffsetAlignment_ )\r
- {\r
- minCommandsTokenBufferOffsetAlignment = minCommandsTokenBufferOffsetAlignment_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGeneratedCommandsLimitsNVX&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGeneratedCommandsLimitsNVX*>(this);\r
- }\r
-\r
- bool operator==( DeviceGeneratedCommandsLimitsNVX const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxIndirectCommandsLayoutTokenCount == rhs.maxIndirectCommandsLayoutTokenCount )\r
- && ( maxObjectEntryCounts == rhs.maxObjectEntryCounts )\r
- && ( minSequenceCountBufferOffsetAlignment == rhs.minSequenceCountBufferOffsetAlignment )\r
- && ( minSequenceIndexBufferOffsetAlignment == rhs.minSequenceIndexBufferOffsetAlignment )\r
- && ( minCommandsTokenBufferOffsetAlignment == rhs.minCommandsTokenBufferOffsetAlignment );\r
- }\r
-\r
- bool operator!=( DeviceGeneratedCommandsLimitsNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGeneratedCommandsLimitsNVX;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t maxIndirectCommandsLayoutTokenCount;\r
- uint32_t maxObjectEntryCounts;\r
- uint32_t minSequenceCountBufferOffsetAlignment;\r
- uint32_t minSequenceIndexBufferOffsetAlignment;\r
- uint32_t minCommandsTokenBufferOffsetAlignment;\r
- };\r
- static_assert( sizeof( DeviceGeneratedCommandsLimitsNVX ) == sizeof( VkDeviceGeneratedCommandsLimitsNVX ), "struct and wrapper have different size!" );\r
-\r
- struct CmdReserveSpaceForCommandsInfoNVX\r
- {\r
- CmdReserveSpaceForCommandsInfoNVX( ObjectTableNVX objectTable_ = ObjectTableNVX(), IndirectCommandsLayoutNVX indirectCommandsLayout_ = IndirectCommandsLayoutNVX(), uint32_t maxSequencesCount_ = 0 )\r
- : objectTable( objectTable_ )\r
- , indirectCommandsLayout( indirectCommandsLayout_ )\r
- , maxSequencesCount( maxSequencesCount_ )\r
- {\r
- }\r
-\r
- CmdReserveSpaceForCommandsInfoNVX( VkCmdReserveSpaceForCommandsInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CmdReserveSpaceForCommandsInfoNVX ) );\r
- }\r
-\r
- CmdReserveSpaceForCommandsInfoNVX& operator=( VkCmdReserveSpaceForCommandsInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CmdReserveSpaceForCommandsInfoNVX ) );\r
- return *this;\r
- }\r
- CmdReserveSpaceForCommandsInfoNVX& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- CmdReserveSpaceForCommandsInfoNVX& setObjectTable( ObjectTableNVX objectTable_ )\r
- {\r
- objectTable = objectTable_;\r
- return *this;\r
- }\r
-\r
- CmdReserveSpaceForCommandsInfoNVX& setIndirectCommandsLayout( IndirectCommandsLayoutNVX indirectCommandsLayout_ )\r
- {\r
- indirectCommandsLayout = indirectCommandsLayout_;\r
- return *this;\r
- }\r
-\r
- CmdReserveSpaceForCommandsInfoNVX& setMaxSequencesCount( uint32_t maxSequencesCount_ )\r
- {\r
- maxSequencesCount = maxSequencesCount_;\r
- return *this;\r
- }\r
-\r
- operator const VkCmdReserveSpaceForCommandsInfoNVX&() const\r
- {\r
- return *reinterpret_cast<const VkCmdReserveSpaceForCommandsInfoNVX*>(this);\r
- }\r
-\r
- bool operator==( CmdReserveSpaceForCommandsInfoNVX const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( objectTable == rhs.objectTable )\r
- && ( indirectCommandsLayout == rhs.indirectCommandsLayout )\r
- && ( maxSequencesCount == rhs.maxSequencesCount );\r
- }\r
-\r
- bool operator!=( CmdReserveSpaceForCommandsInfoNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eCmdReserveSpaceForCommandsInfoNVX;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ObjectTableNVX objectTable;\r
- IndirectCommandsLayoutNVX indirectCommandsLayout;\r
- uint32_t maxSequencesCount;\r
- };\r
- static_assert( sizeof( CmdReserveSpaceForCommandsInfoNVX ) == sizeof( VkCmdReserveSpaceForCommandsInfoNVX ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceFeatures2\r
- {\r
- PhysicalDeviceFeatures2( PhysicalDeviceFeatures features_ = PhysicalDeviceFeatures() )\r
- : features( features_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceFeatures2( VkPhysicalDeviceFeatures2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures2 ) );\r
- }\r
-\r
- PhysicalDeviceFeatures2& operator=( VkPhysicalDeviceFeatures2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures2 ) );\r
- return *this;\r
- }\r
- PhysicalDeviceFeatures2& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceFeatures2& setFeatures( PhysicalDeviceFeatures features_ )\r
- {\r
- features = features_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceFeatures2&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceFeatures2*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceFeatures2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( features == rhs.features );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceFeatures2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceFeatures2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- PhysicalDeviceFeatures features;\r
- };\r
- static_assert( sizeof( PhysicalDeviceFeatures2 ) == sizeof( VkPhysicalDeviceFeatures2 ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceFeatures2KHR = PhysicalDeviceFeatures2;\r
-\r
- struct PhysicalDevicePushDescriptorPropertiesKHR\r
- {\r
- PhysicalDevicePushDescriptorPropertiesKHR( uint32_t maxPushDescriptors_ = 0 )\r
- : maxPushDescriptors( maxPushDescriptors_ )\r
- {\r
- }\r
-\r
- PhysicalDevicePushDescriptorPropertiesKHR( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) );\r
- }\r
-\r
- PhysicalDevicePushDescriptorPropertiesKHR& operator=( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) );\r
- return *this;\r
- }\r
- PhysicalDevicePushDescriptorPropertiesKHR& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDevicePushDescriptorPropertiesKHR& setMaxPushDescriptors( uint32_t maxPushDescriptors_ )\r
- {\r
- maxPushDescriptors = maxPushDescriptors_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDevicePushDescriptorPropertiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDevicePushDescriptorPropertiesKHR*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDevicePushDescriptorPropertiesKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxPushDescriptors == rhs.maxPushDescriptors );\r
- }\r
-\r
- bool operator!=( PhysicalDevicePushDescriptorPropertiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDevicePushDescriptorPropertiesKHR;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t maxPushDescriptors;\r
- };\r
- static_assert( sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) == sizeof( VkPhysicalDevicePushDescriptorPropertiesKHR ), "struct and wrapper have different size!" );\r
-\r
- struct PresentRegionsKHR\r
- {\r
- PresentRegionsKHR( uint32_t swapchainCount_ = 0, const PresentRegionKHR* pRegions_ = nullptr )\r
- : swapchainCount( swapchainCount_ )\r
- , pRegions( pRegions_ )\r
- {\r
- }\r
-\r
- PresentRegionsKHR( VkPresentRegionsKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentRegionsKHR ) );\r
- }\r
-\r
- PresentRegionsKHR& operator=( VkPresentRegionsKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentRegionsKHR ) );\r
- return *this;\r
- }\r
- PresentRegionsKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PresentRegionsKHR& setSwapchainCount( uint32_t swapchainCount_ )\r
- {\r
- swapchainCount = swapchainCount_;\r
- return *this;\r
- }\r
-\r
- PresentRegionsKHR& setPRegions( const PresentRegionKHR* pRegions_ )\r
- {\r
- pRegions = pRegions_;\r
- return *this;\r
- }\r
-\r
- operator const VkPresentRegionsKHR&() const\r
- {\r
- return *reinterpret_cast<const VkPresentRegionsKHR*>(this);\r
- }\r
-\r
- bool operator==( PresentRegionsKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( swapchainCount == rhs.swapchainCount )\r
- && ( pRegions == rhs.pRegions );\r
- }\r
-\r
- bool operator!=( PresentRegionsKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePresentRegionsKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t swapchainCount;\r
- const PresentRegionKHR* pRegions;\r
- };\r
- static_assert( sizeof( PresentRegionsKHR ) == sizeof( VkPresentRegionsKHR ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceVariablePointerFeatures\r
- {\r
- PhysicalDeviceVariablePointerFeatures( Bool32 variablePointersStorageBuffer_ = 0, Bool32 variablePointers_ = 0 )\r
- : variablePointersStorageBuffer( variablePointersStorageBuffer_ )\r
- , variablePointers( variablePointers_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceVariablePointerFeatures( VkPhysicalDeviceVariablePointerFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceVariablePointerFeatures ) );\r
- }\r
-\r
- PhysicalDeviceVariablePointerFeatures& operator=( VkPhysicalDeviceVariablePointerFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceVariablePointerFeatures ) );\r
- return *this;\r
- }\r
- PhysicalDeviceVariablePointerFeatures& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceVariablePointerFeatures& setVariablePointersStorageBuffer( Bool32 variablePointersStorageBuffer_ )\r
- {\r
- variablePointersStorageBuffer = variablePointersStorageBuffer_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceVariablePointerFeatures& setVariablePointers( Bool32 variablePointers_ )\r
- {\r
- variablePointers = variablePointers_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceVariablePointerFeatures&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceVariablePointerFeatures*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceVariablePointerFeatures const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( variablePointersStorageBuffer == rhs.variablePointersStorageBuffer )\r
- && ( variablePointers == rhs.variablePointers );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceVariablePointerFeatures const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceVariablePointerFeatures;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 variablePointersStorageBuffer;\r
- Bool32 variablePointers;\r
- };\r
- static_assert( sizeof( PhysicalDeviceVariablePointerFeatures ) == sizeof( VkPhysicalDeviceVariablePointerFeatures ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceVariablePointerFeaturesKHR = PhysicalDeviceVariablePointerFeatures;\r
-\r
- struct PhysicalDeviceIDProperties\r
- {\r
- operator const VkPhysicalDeviceIDProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceIDProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceIDProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memcmp( deviceUUID, rhs.deviceUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )\r
- && ( memcmp( driverUUID, rhs.driverUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )\r
- && ( memcmp( deviceLUID, rhs.deviceLUID, VK_LUID_SIZE * sizeof( uint8_t ) ) == 0 )\r
- && ( deviceNodeMask == rhs.deviceNodeMask )\r
- && ( deviceLUIDValid == rhs.deviceLUIDValid );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceIDProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceIdProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint8_t deviceUUID[VK_UUID_SIZE];\r
- uint8_t driverUUID[VK_UUID_SIZE];\r
- uint8_t deviceLUID[VK_LUID_SIZE];\r
- uint32_t deviceNodeMask;\r
- Bool32 deviceLUIDValid;\r
- };\r
- static_assert( sizeof( PhysicalDeviceIDProperties ) == sizeof( VkPhysicalDeviceIDProperties ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceIDPropertiesKHR = PhysicalDeviceIDProperties;\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct ExportMemoryWin32HandleInfoKHR\r
- {\r
- ExportMemoryWin32HandleInfoKHR( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0, LPCWSTR name_ = 0 )\r
- : pAttributes( pAttributes_ )\r
- , dwAccess( dwAccess_ )\r
- , name( name_ )\r
- {\r
- }\r
-\r
- ExportMemoryWin32HandleInfoKHR( VkExportMemoryWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoKHR ) );\r
- }\r
-\r
- ExportMemoryWin32HandleInfoKHR& operator=( VkExportMemoryWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- ExportMemoryWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportMemoryWin32HandleInfoKHR& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )\r
- {\r
- pAttributes = pAttributes_;\r
- return *this;\r
- }\r
-\r
- ExportMemoryWin32HandleInfoKHR& setDwAccess( DWORD dwAccess_ )\r
- {\r
- dwAccess = dwAccess_;\r
- return *this;\r
- }\r
-\r
- ExportMemoryWin32HandleInfoKHR& setName( LPCWSTR name_ )\r
- {\r
- name = name_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportMemoryWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkExportMemoryWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ExportMemoryWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pAttributes == rhs.pAttributes )\r
- && ( dwAccess == rhs.dwAccess )\r
- && ( name == rhs.name );\r
- }\r
-\r
- bool operator!=( ExportMemoryWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportMemoryWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- const SECURITY_ATTRIBUTES* pAttributes;\r
- DWORD dwAccess;\r
- LPCWSTR name;\r
- };\r
- static_assert( sizeof( ExportMemoryWin32HandleInfoKHR ) == sizeof( VkExportMemoryWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct MemoryWin32HandlePropertiesKHR\r
- {\r
- operator const VkMemoryWin32HandlePropertiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryWin32HandlePropertiesKHR*>(this);\r
- }\r
-\r
- bool operator==( MemoryWin32HandlePropertiesKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memoryTypeBits == rhs.memoryTypeBits );\r
- }\r
-\r
- bool operator!=( MemoryWin32HandlePropertiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryWin32HandlePropertiesKHR;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t memoryTypeBits;\r
- };\r
- static_assert( sizeof( MemoryWin32HandlePropertiesKHR ) == sizeof( VkMemoryWin32HandlePropertiesKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- struct MemoryFdPropertiesKHR\r
- {\r
- operator const VkMemoryFdPropertiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryFdPropertiesKHR*>(this);\r
- }\r
-\r
- bool operator==( MemoryFdPropertiesKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memoryTypeBits == rhs.memoryTypeBits );\r
- }\r
-\r
- bool operator!=( MemoryFdPropertiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryFdPropertiesKHR;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t memoryTypeBits;\r
- };\r
- static_assert( sizeof( MemoryFdPropertiesKHR ) == sizeof( VkMemoryFdPropertiesKHR ), "struct and wrapper have different size!" );\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct Win32KeyedMutexAcquireReleaseInfoKHR\r
- {\r
- Win32KeyedMutexAcquireReleaseInfoKHR( uint32_t acquireCount_ = 0, const DeviceMemory* pAcquireSyncs_ = nullptr, const uint64_t* pAcquireKeys_ = nullptr, const uint32_t* pAcquireTimeouts_ = nullptr, uint32_t releaseCount_ = 0, const DeviceMemory* pReleaseSyncs_ = nullptr, const uint64_t* pReleaseKeys_ = nullptr )\r
- : acquireCount( acquireCount_ )\r
- , pAcquireSyncs( pAcquireSyncs_ )\r
- , pAcquireKeys( pAcquireKeys_ )\r
- , pAcquireTimeouts( pAcquireTimeouts_ )\r
- , releaseCount( releaseCount_ )\r
- , pReleaseSyncs( pReleaseSyncs_ )\r
- , pReleaseKeys( pReleaseKeys_ )\r
- {\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) );\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& operator=( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) );\r
- return *this;\r
- }\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setAcquireCount( uint32_t acquireCount_ )\r
- {\r
- acquireCount = acquireCount_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setPAcquireSyncs( const DeviceMemory* pAcquireSyncs_ )\r
- {\r
- pAcquireSyncs = pAcquireSyncs_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setPAcquireKeys( const uint64_t* pAcquireKeys_ )\r
- {\r
- pAcquireKeys = pAcquireKeys_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setPAcquireTimeouts( const uint32_t* pAcquireTimeouts_ )\r
- {\r
- pAcquireTimeouts = pAcquireTimeouts_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setReleaseCount( uint32_t releaseCount_ )\r
- {\r
- releaseCount = releaseCount_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setPReleaseSyncs( const DeviceMemory* pReleaseSyncs_ )\r
- {\r
- pReleaseSyncs = pReleaseSyncs_;\r
- return *this;\r
- }\r
-\r
- Win32KeyedMutexAcquireReleaseInfoKHR& setPReleaseKeys( const uint64_t* pReleaseKeys_ )\r
- {\r
- pReleaseKeys = pReleaseKeys_;\r
- return *this;\r
- }\r
-\r
- operator const VkWin32KeyedMutexAcquireReleaseInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkWin32KeyedMutexAcquireReleaseInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( Win32KeyedMutexAcquireReleaseInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( acquireCount == rhs.acquireCount )\r
- && ( pAcquireSyncs == rhs.pAcquireSyncs )\r
- && ( pAcquireKeys == rhs.pAcquireKeys )\r
- && ( pAcquireTimeouts == rhs.pAcquireTimeouts )\r
- && ( releaseCount == rhs.releaseCount )\r
- && ( pReleaseSyncs == rhs.pReleaseSyncs )\r
- && ( pReleaseKeys == rhs.pReleaseKeys );\r
- }\r
-\r
- bool operator!=( Win32KeyedMutexAcquireReleaseInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t acquireCount;\r
- const DeviceMemory* pAcquireSyncs;\r
- const uint64_t* pAcquireKeys;\r
- const uint32_t* pAcquireTimeouts;\r
- uint32_t releaseCount;\r
- const DeviceMemory* pReleaseSyncs;\r
- const uint64_t* pReleaseKeys;\r
- };\r
- static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct ExportSemaphoreWin32HandleInfoKHR\r
- {\r
- ExportSemaphoreWin32HandleInfoKHR( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0, LPCWSTR name_ = 0 )\r
- : pAttributes( pAttributes_ )\r
- , dwAccess( dwAccess_ )\r
- , name( name_ )\r
- {\r
- }\r
-\r
- ExportSemaphoreWin32HandleInfoKHR( VkExportSemaphoreWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportSemaphoreWin32HandleInfoKHR ) );\r
- }\r
-\r
- ExportSemaphoreWin32HandleInfoKHR& operator=( VkExportSemaphoreWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportSemaphoreWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- ExportSemaphoreWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportSemaphoreWin32HandleInfoKHR& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )\r
- {\r
- pAttributes = pAttributes_;\r
- return *this;\r
- }\r
-\r
- ExportSemaphoreWin32HandleInfoKHR& setDwAccess( DWORD dwAccess_ )\r
- {\r
- dwAccess = dwAccess_;\r
- return *this;\r
- }\r
-\r
- ExportSemaphoreWin32HandleInfoKHR& setName( LPCWSTR name_ )\r
- {\r
- name = name_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportSemaphoreWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkExportSemaphoreWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ExportSemaphoreWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pAttributes == rhs.pAttributes )\r
- && ( dwAccess == rhs.dwAccess )\r
- && ( name == rhs.name );\r
- }\r
-\r
- bool operator!=( ExportSemaphoreWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportSemaphoreWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- const SECURITY_ATTRIBUTES* pAttributes;\r
- DWORD dwAccess;\r
- LPCWSTR name;\r
- };\r
- static_assert( sizeof( ExportSemaphoreWin32HandleInfoKHR ) == sizeof( VkExportSemaphoreWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct D3D12FenceSubmitInfoKHR\r
- {\r
- D3D12FenceSubmitInfoKHR( uint32_t waitSemaphoreValuesCount_ = 0, const uint64_t* pWaitSemaphoreValues_ = nullptr, uint32_t signalSemaphoreValuesCount_ = 0, const uint64_t* pSignalSemaphoreValues_ = nullptr )\r
- : waitSemaphoreValuesCount( waitSemaphoreValuesCount_ )\r
- , pWaitSemaphoreValues( pWaitSemaphoreValues_ )\r
- , signalSemaphoreValuesCount( signalSemaphoreValuesCount_ )\r
- , pSignalSemaphoreValues( pSignalSemaphoreValues_ )\r
- {\r
- }\r
-\r
- D3D12FenceSubmitInfoKHR( VkD3D12FenceSubmitInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( D3D12FenceSubmitInfoKHR ) );\r
- }\r
-\r
- D3D12FenceSubmitInfoKHR& operator=( VkD3D12FenceSubmitInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( D3D12FenceSubmitInfoKHR ) );\r
- return *this;\r
- }\r
- D3D12FenceSubmitInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- D3D12FenceSubmitInfoKHR& setWaitSemaphoreValuesCount( uint32_t waitSemaphoreValuesCount_ )\r
- {\r
- waitSemaphoreValuesCount = waitSemaphoreValuesCount_;\r
- return *this;\r
- }\r
-\r
- D3D12FenceSubmitInfoKHR& setPWaitSemaphoreValues( const uint64_t* pWaitSemaphoreValues_ )\r
- {\r
- pWaitSemaphoreValues = pWaitSemaphoreValues_;\r
- return *this;\r
- }\r
-\r
- D3D12FenceSubmitInfoKHR& setSignalSemaphoreValuesCount( uint32_t signalSemaphoreValuesCount_ )\r
- {\r
- signalSemaphoreValuesCount = signalSemaphoreValuesCount_;\r
- return *this;\r
- }\r
-\r
- D3D12FenceSubmitInfoKHR& setPSignalSemaphoreValues( const uint64_t* pSignalSemaphoreValues_ )\r
- {\r
- pSignalSemaphoreValues = pSignalSemaphoreValues_;\r
- return *this;\r
- }\r
-\r
- operator const VkD3D12FenceSubmitInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkD3D12FenceSubmitInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( D3D12FenceSubmitInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( waitSemaphoreValuesCount == rhs.waitSemaphoreValuesCount )\r
- && ( pWaitSemaphoreValues == rhs.pWaitSemaphoreValues )\r
- && ( signalSemaphoreValuesCount == rhs.signalSemaphoreValuesCount )\r
- && ( pSignalSemaphoreValues == rhs.pSignalSemaphoreValues );\r
- }\r
-\r
- bool operator!=( D3D12FenceSubmitInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eD3D12FenceSubmitInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t waitSemaphoreValuesCount;\r
- const uint64_t* pWaitSemaphoreValues;\r
- uint32_t signalSemaphoreValuesCount;\r
- const uint64_t* pSignalSemaphoreValues;\r
- };\r
- static_assert( sizeof( D3D12FenceSubmitInfoKHR ) == sizeof( VkD3D12FenceSubmitInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct ExportFenceWin32HandleInfoKHR\r
- {\r
- ExportFenceWin32HandleInfoKHR( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0, LPCWSTR name_ = 0 )\r
- : pAttributes( pAttributes_ )\r
- , dwAccess( dwAccess_ )\r
- , name( name_ )\r
- {\r
- }\r
-\r
- ExportFenceWin32HandleInfoKHR( VkExportFenceWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportFenceWin32HandleInfoKHR ) );\r
- }\r
-\r
- ExportFenceWin32HandleInfoKHR& operator=( VkExportFenceWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportFenceWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- ExportFenceWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportFenceWin32HandleInfoKHR& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )\r
- {\r
- pAttributes = pAttributes_;\r
- return *this;\r
- }\r
-\r
- ExportFenceWin32HandleInfoKHR& setDwAccess( DWORD dwAccess_ )\r
- {\r
- dwAccess = dwAccess_;\r
- return *this;\r
- }\r
-\r
- ExportFenceWin32HandleInfoKHR& setName( LPCWSTR name_ )\r
- {\r
- name = name_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportFenceWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkExportFenceWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ExportFenceWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pAttributes == rhs.pAttributes )\r
- && ( dwAccess == rhs.dwAccess )\r
- && ( name == rhs.name );\r
- }\r
-\r
- bool operator!=( ExportFenceWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportFenceWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- const SECURITY_ATTRIBUTES* pAttributes;\r
- DWORD dwAccess;\r
- LPCWSTR name;\r
- };\r
- static_assert( sizeof( ExportFenceWin32HandleInfoKHR ) == sizeof( VkExportFenceWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- struct PhysicalDeviceMultiviewFeatures\r
- {\r
- PhysicalDeviceMultiviewFeatures( Bool32 multiview_ = 0, Bool32 multiviewGeometryShader_ = 0, Bool32 multiviewTessellationShader_ = 0 )\r
- : multiview( multiview_ )\r
- , multiviewGeometryShader( multiviewGeometryShader_ )\r
- , multiviewTessellationShader( multiviewTessellationShader_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceMultiviewFeatures( VkPhysicalDeviceMultiviewFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceMultiviewFeatures ) );\r
- }\r
-\r
- PhysicalDeviceMultiviewFeatures& operator=( VkPhysicalDeviceMultiviewFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceMultiviewFeatures ) );\r
- return *this;\r
- }\r
- PhysicalDeviceMultiviewFeatures& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceMultiviewFeatures& setMultiview( Bool32 multiview_ )\r
- {\r
- multiview = multiview_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceMultiviewFeatures& setMultiviewGeometryShader( Bool32 multiviewGeometryShader_ )\r
- {\r
- multiviewGeometryShader = multiviewGeometryShader_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceMultiviewFeatures& setMultiviewTessellationShader( Bool32 multiviewTessellationShader_ )\r
- {\r
- multiviewTessellationShader = multiviewTessellationShader_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceMultiviewFeatures&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceMultiviewFeatures*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceMultiviewFeatures const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( multiview == rhs.multiview )\r
- && ( multiviewGeometryShader == rhs.multiviewGeometryShader )\r
- && ( multiviewTessellationShader == rhs.multiviewTessellationShader );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceMultiviewFeatures const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceMultiviewFeatures;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 multiview;\r
- Bool32 multiviewGeometryShader;\r
- Bool32 multiviewTessellationShader;\r
- };\r
- static_assert( sizeof( PhysicalDeviceMultiviewFeatures ) == sizeof( VkPhysicalDeviceMultiviewFeatures ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceMultiviewFeaturesKHR = PhysicalDeviceMultiviewFeatures;\r
-\r
- struct PhysicalDeviceMultiviewProperties\r
- {\r
- operator const VkPhysicalDeviceMultiviewProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceMultiviewProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceMultiviewProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxMultiviewViewCount == rhs.maxMultiviewViewCount )\r
- && ( maxMultiviewInstanceIndex == rhs.maxMultiviewInstanceIndex );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceMultiviewProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceMultiviewProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t maxMultiviewViewCount;\r
- uint32_t maxMultiviewInstanceIndex;\r
- };\r
- static_assert( sizeof( PhysicalDeviceMultiviewProperties ) == sizeof( VkPhysicalDeviceMultiviewProperties ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceMultiviewPropertiesKHR = PhysicalDeviceMultiviewProperties;\r
-\r
- struct RenderPassMultiviewCreateInfo\r
- {\r
- RenderPassMultiviewCreateInfo( uint32_t subpassCount_ = 0, const uint32_t* pViewMasks_ = nullptr, uint32_t dependencyCount_ = 0, const int32_t* pViewOffsets_ = nullptr, uint32_t correlationMaskCount_ = 0, const uint32_t* pCorrelationMasks_ = nullptr )\r
- : subpassCount( subpassCount_ )\r
- , pViewMasks( pViewMasks_ )\r
- , dependencyCount( dependencyCount_ )\r
- , pViewOffsets( pViewOffsets_ )\r
- , correlationMaskCount( correlationMaskCount_ )\r
- , pCorrelationMasks( pCorrelationMasks_ )\r
- {\r
- }\r
-\r
- RenderPassMultiviewCreateInfo( VkRenderPassMultiviewCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassMultiviewCreateInfo ) );\r
- }\r
-\r
- RenderPassMultiviewCreateInfo& operator=( VkRenderPassMultiviewCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassMultiviewCreateInfo ) );\r
- return *this;\r
- }\r
- RenderPassMultiviewCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- RenderPassMultiviewCreateInfo& setSubpassCount( uint32_t subpassCount_ )\r
- {\r
- subpassCount = subpassCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassMultiviewCreateInfo& setPViewMasks( const uint32_t* pViewMasks_ )\r
- {\r
- pViewMasks = pViewMasks_;\r
- return *this;\r
- }\r
-\r
- RenderPassMultiviewCreateInfo& setDependencyCount( uint32_t dependencyCount_ )\r
- {\r
- dependencyCount = dependencyCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassMultiviewCreateInfo& setPViewOffsets( const int32_t* pViewOffsets_ )\r
- {\r
- pViewOffsets = pViewOffsets_;\r
- return *this;\r
- }\r
-\r
- RenderPassMultiviewCreateInfo& setCorrelationMaskCount( uint32_t correlationMaskCount_ )\r
- {\r
- correlationMaskCount = correlationMaskCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassMultiviewCreateInfo& setPCorrelationMasks( const uint32_t* pCorrelationMasks_ )\r
- {\r
- pCorrelationMasks = pCorrelationMasks_;\r
- return *this;\r
- }\r
-\r
- operator const VkRenderPassMultiviewCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkRenderPassMultiviewCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( RenderPassMultiviewCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( subpassCount == rhs.subpassCount )\r
- && ( pViewMasks == rhs.pViewMasks )\r
- && ( dependencyCount == rhs.dependencyCount )\r
- && ( pViewOffsets == rhs.pViewOffsets )\r
- && ( correlationMaskCount == rhs.correlationMaskCount )\r
- && ( pCorrelationMasks == rhs.pCorrelationMasks );\r
- }\r
-\r
- bool operator!=( RenderPassMultiviewCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eRenderPassMultiviewCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t subpassCount;\r
- const uint32_t* pViewMasks;\r
- uint32_t dependencyCount;\r
- const int32_t* pViewOffsets;\r
- uint32_t correlationMaskCount;\r
- const uint32_t* pCorrelationMasks;\r
- };\r
- static_assert( sizeof( RenderPassMultiviewCreateInfo ) == sizeof( VkRenderPassMultiviewCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using RenderPassMultiviewCreateInfoKHR = RenderPassMultiviewCreateInfo;\r
-\r
- struct BindBufferMemoryInfo\r
- {\r
- BindBufferMemoryInfo( Buffer buffer_ = Buffer(), DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0 )\r
- : buffer( buffer_ )\r
- , memory( memory_ )\r
- , memoryOffset( memoryOffset_ )\r
- {\r
- }\r
-\r
- BindBufferMemoryInfo( VkBindBufferMemoryInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindBufferMemoryInfo ) );\r
- }\r
-\r
- BindBufferMemoryInfo& operator=( VkBindBufferMemoryInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindBufferMemoryInfo ) );\r
- return *this;\r
- }\r
- BindBufferMemoryInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BindBufferMemoryInfo& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- BindBufferMemoryInfo& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- BindBufferMemoryInfo& setMemoryOffset( DeviceSize memoryOffset_ )\r
- {\r
- memoryOffset = memoryOffset_;\r
- return *this;\r
- }\r
-\r
- operator const VkBindBufferMemoryInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBindBufferMemoryInfo*>(this);\r
- }\r
-\r
- bool operator==( BindBufferMemoryInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( buffer == rhs.buffer )\r
- && ( memory == rhs.memory )\r
- && ( memoryOffset == rhs.memoryOffset );\r
- }\r
-\r
- bool operator!=( BindBufferMemoryInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBindBufferMemoryInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Buffer buffer;\r
- DeviceMemory memory;\r
- DeviceSize memoryOffset;\r
- };\r
- static_assert( sizeof( BindBufferMemoryInfo ) == sizeof( VkBindBufferMemoryInfo ), "struct and wrapper have different size!" );\r
-\r
- using BindBufferMemoryInfoKHR = BindBufferMemoryInfo;\r
-\r
- struct BindBufferMemoryDeviceGroupInfo\r
- {\r
- BindBufferMemoryDeviceGroupInfo( uint32_t deviceIndexCount_ = 0, const uint32_t* pDeviceIndices_ = nullptr )\r
- : deviceIndexCount( deviceIndexCount_ )\r
- , pDeviceIndices( pDeviceIndices_ )\r
- {\r
- }\r
-\r
- BindBufferMemoryDeviceGroupInfo( VkBindBufferMemoryDeviceGroupInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindBufferMemoryDeviceGroupInfo ) );\r
- }\r
-\r
- BindBufferMemoryDeviceGroupInfo& operator=( VkBindBufferMemoryDeviceGroupInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindBufferMemoryDeviceGroupInfo ) );\r
- return *this;\r
- }\r
- BindBufferMemoryDeviceGroupInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BindBufferMemoryDeviceGroupInfo& setDeviceIndexCount( uint32_t deviceIndexCount_ )\r
- {\r
- deviceIndexCount = deviceIndexCount_;\r
- return *this;\r
- }\r
-\r
- BindBufferMemoryDeviceGroupInfo& setPDeviceIndices( const uint32_t* pDeviceIndices_ )\r
- {\r
- pDeviceIndices = pDeviceIndices_;\r
- return *this;\r
- }\r
-\r
- operator const VkBindBufferMemoryDeviceGroupInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBindBufferMemoryDeviceGroupInfo*>(this);\r
- }\r
-\r
- bool operator==( BindBufferMemoryDeviceGroupInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( deviceIndexCount == rhs.deviceIndexCount )\r
- && ( pDeviceIndices == rhs.pDeviceIndices );\r
- }\r
-\r
- bool operator!=( BindBufferMemoryDeviceGroupInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBindBufferMemoryDeviceGroupInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t deviceIndexCount;\r
- const uint32_t* pDeviceIndices;\r
- };\r
- static_assert( sizeof( BindBufferMemoryDeviceGroupInfo ) == sizeof( VkBindBufferMemoryDeviceGroupInfo ), "struct and wrapper have different size!" );\r
-\r
- using BindBufferMemoryDeviceGroupInfoKHR = BindBufferMemoryDeviceGroupInfo;\r
-\r
- struct BindImageMemoryInfo\r
- {\r
- BindImageMemoryInfo( Image image_ = Image(), DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0 )\r
- : image( image_ )\r
- , memory( memory_ )\r
- , memoryOffset( memoryOffset_ )\r
- {\r
- }\r
-\r
- BindImageMemoryInfo( VkBindImageMemoryInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImageMemoryInfo ) );\r
- }\r
-\r
- BindImageMemoryInfo& operator=( VkBindImageMemoryInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImageMemoryInfo ) );\r
- return *this;\r
- }\r
- BindImageMemoryInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BindImageMemoryInfo& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- BindImageMemoryInfo& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- BindImageMemoryInfo& setMemoryOffset( DeviceSize memoryOffset_ )\r
- {\r
- memoryOffset = memoryOffset_;\r
- return *this;\r
- }\r
-\r
- operator const VkBindImageMemoryInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBindImageMemoryInfo*>(this);\r
- }\r
-\r
- bool operator==( BindImageMemoryInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( image == rhs.image )\r
- && ( memory == rhs.memory )\r
- && ( memoryOffset == rhs.memoryOffset );\r
- }\r
-\r
- bool operator!=( BindImageMemoryInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBindImageMemoryInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Image image;\r
- DeviceMemory memory;\r
- DeviceSize memoryOffset;\r
- };\r
- static_assert( sizeof( BindImageMemoryInfo ) == sizeof( VkBindImageMemoryInfo ), "struct and wrapper have different size!" );\r
-\r
- using BindImageMemoryInfoKHR = BindImageMemoryInfo;\r
-\r
- struct BindImageMemoryDeviceGroupInfo\r
- {\r
- BindImageMemoryDeviceGroupInfo( uint32_t deviceIndexCount_ = 0, const uint32_t* pDeviceIndices_ = nullptr, uint32_t splitInstanceBindRegionCount_ = 0, const Rect2D* pSplitInstanceBindRegions_ = nullptr )\r
- : deviceIndexCount( deviceIndexCount_ )\r
- , pDeviceIndices( pDeviceIndices_ )\r
- , splitInstanceBindRegionCount( splitInstanceBindRegionCount_ )\r
- , pSplitInstanceBindRegions( pSplitInstanceBindRegions_ )\r
- {\r
- }\r
-\r
- BindImageMemoryDeviceGroupInfo( VkBindImageMemoryDeviceGroupInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImageMemoryDeviceGroupInfo ) );\r
- }\r
-\r
- BindImageMemoryDeviceGroupInfo& operator=( VkBindImageMemoryDeviceGroupInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImageMemoryDeviceGroupInfo ) );\r
- return *this;\r
- }\r
- BindImageMemoryDeviceGroupInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BindImageMemoryDeviceGroupInfo& setDeviceIndexCount( uint32_t deviceIndexCount_ )\r
- {\r
- deviceIndexCount = deviceIndexCount_;\r
- return *this;\r
- }\r
-\r
- BindImageMemoryDeviceGroupInfo& setPDeviceIndices( const uint32_t* pDeviceIndices_ )\r
- {\r
- pDeviceIndices = pDeviceIndices_;\r
- return *this;\r
- }\r
-\r
- BindImageMemoryDeviceGroupInfo& setSplitInstanceBindRegionCount( uint32_t splitInstanceBindRegionCount_ )\r
- {\r
- splitInstanceBindRegionCount = splitInstanceBindRegionCount_;\r
- return *this;\r
- }\r
-\r
- BindImageMemoryDeviceGroupInfo& setPSplitInstanceBindRegions( const Rect2D* pSplitInstanceBindRegions_ )\r
- {\r
- pSplitInstanceBindRegions = pSplitInstanceBindRegions_;\r
- return *this;\r
- }\r
-\r
- operator const VkBindImageMemoryDeviceGroupInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBindImageMemoryDeviceGroupInfo*>(this);\r
- }\r
-\r
- bool operator==( BindImageMemoryDeviceGroupInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( deviceIndexCount == rhs.deviceIndexCount )\r
- && ( pDeviceIndices == rhs.pDeviceIndices )\r
- && ( splitInstanceBindRegionCount == rhs.splitInstanceBindRegionCount )\r
- && ( pSplitInstanceBindRegions == rhs.pSplitInstanceBindRegions );\r
- }\r
-\r
- bool operator!=( BindImageMemoryDeviceGroupInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBindImageMemoryDeviceGroupInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t deviceIndexCount;\r
- const uint32_t* pDeviceIndices;\r
- uint32_t splitInstanceBindRegionCount;\r
- const Rect2D* pSplitInstanceBindRegions;\r
- };\r
- static_assert( sizeof( BindImageMemoryDeviceGroupInfo ) == sizeof( VkBindImageMemoryDeviceGroupInfo ), "struct and wrapper have different size!" );\r
-\r
- using BindImageMemoryDeviceGroupInfoKHR = BindImageMemoryDeviceGroupInfo;\r
-\r
- struct DeviceGroupRenderPassBeginInfo\r
- {\r
- DeviceGroupRenderPassBeginInfo( uint32_t deviceMask_ = 0, uint32_t deviceRenderAreaCount_ = 0, const Rect2D* pDeviceRenderAreas_ = nullptr )\r
- : deviceMask( deviceMask_ )\r
- , deviceRenderAreaCount( deviceRenderAreaCount_ )\r
- , pDeviceRenderAreas( pDeviceRenderAreas_ )\r
- {\r
- }\r
-\r
- DeviceGroupRenderPassBeginInfo( VkDeviceGroupRenderPassBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupRenderPassBeginInfo ) );\r
- }\r
-\r
- DeviceGroupRenderPassBeginInfo& operator=( VkDeviceGroupRenderPassBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupRenderPassBeginInfo ) );\r
- return *this;\r
- }\r
- DeviceGroupRenderPassBeginInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupRenderPassBeginInfo& setDeviceMask( uint32_t deviceMask_ )\r
- {\r
- deviceMask = deviceMask_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupRenderPassBeginInfo& setDeviceRenderAreaCount( uint32_t deviceRenderAreaCount_ )\r
- {\r
- deviceRenderAreaCount = deviceRenderAreaCount_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupRenderPassBeginInfo& setPDeviceRenderAreas( const Rect2D* pDeviceRenderAreas_ )\r
- {\r
- pDeviceRenderAreas = pDeviceRenderAreas_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGroupRenderPassBeginInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupRenderPassBeginInfo*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupRenderPassBeginInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( deviceMask == rhs.deviceMask )\r
- && ( deviceRenderAreaCount == rhs.deviceRenderAreaCount )\r
- && ( pDeviceRenderAreas == rhs.pDeviceRenderAreas );\r
- }\r
-\r
- bool operator!=( DeviceGroupRenderPassBeginInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupRenderPassBeginInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t deviceMask;\r
- uint32_t deviceRenderAreaCount;\r
- const Rect2D* pDeviceRenderAreas;\r
- };\r
- static_assert( sizeof( DeviceGroupRenderPassBeginInfo ) == sizeof( VkDeviceGroupRenderPassBeginInfo ), "struct and wrapper have different size!" );\r
-\r
- using DeviceGroupRenderPassBeginInfoKHR = DeviceGroupRenderPassBeginInfo;\r
-\r
- struct DeviceGroupCommandBufferBeginInfo\r
- {\r
- DeviceGroupCommandBufferBeginInfo( uint32_t deviceMask_ = 0 )\r
- : deviceMask( deviceMask_ )\r
- {\r
- }\r
-\r
- DeviceGroupCommandBufferBeginInfo( VkDeviceGroupCommandBufferBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupCommandBufferBeginInfo ) );\r
- }\r
-\r
- DeviceGroupCommandBufferBeginInfo& operator=( VkDeviceGroupCommandBufferBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupCommandBufferBeginInfo ) );\r
- return *this;\r
- }\r
- DeviceGroupCommandBufferBeginInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupCommandBufferBeginInfo& setDeviceMask( uint32_t deviceMask_ )\r
- {\r
- deviceMask = deviceMask_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGroupCommandBufferBeginInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupCommandBufferBeginInfo*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupCommandBufferBeginInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( deviceMask == rhs.deviceMask );\r
- }\r
-\r
- bool operator!=( DeviceGroupCommandBufferBeginInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupCommandBufferBeginInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t deviceMask;\r
- };\r
- static_assert( sizeof( DeviceGroupCommandBufferBeginInfo ) == sizeof( VkDeviceGroupCommandBufferBeginInfo ), "struct and wrapper have different size!" );\r
-\r
- using DeviceGroupCommandBufferBeginInfoKHR = DeviceGroupCommandBufferBeginInfo;\r
-\r
- struct DeviceGroupSubmitInfo\r
- {\r
- DeviceGroupSubmitInfo( uint32_t waitSemaphoreCount_ = 0, const uint32_t* pWaitSemaphoreDeviceIndices_ = nullptr, uint32_t commandBufferCount_ = 0, const uint32_t* pCommandBufferDeviceMasks_ = nullptr, uint32_t signalSemaphoreCount_ = 0, const uint32_t* pSignalSemaphoreDeviceIndices_ = nullptr )\r
- : waitSemaphoreCount( waitSemaphoreCount_ )\r
- , pWaitSemaphoreDeviceIndices( pWaitSemaphoreDeviceIndices_ )\r
- , commandBufferCount( commandBufferCount_ )\r
- , pCommandBufferDeviceMasks( pCommandBufferDeviceMasks_ )\r
- , signalSemaphoreCount( signalSemaphoreCount_ )\r
- , pSignalSemaphoreDeviceIndices( pSignalSemaphoreDeviceIndices_ )\r
- {\r
- }\r
-\r
- DeviceGroupSubmitInfo( VkDeviceGroupSubmitInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupSubmitInfo ) );\r
- }\r
-\r
- DeviceGroupSubmitInfo& operator=( VkDeviceGroupSubmitInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupSubmitInfo ) );\r
- return *this;\r
- }\r
- DeviceGroupSubmitInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupSubmitInfo& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )\r
- {\r
- waitSemaphoreCount = waitSemaphoreCount_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupSubmitInfo& setPWaitSemaphoreDeviceIndices( const uint32_t* pWaitSemaphoreDeviceIndices_ )\r
- {\r
- pWaitSemaphoreDeviceIndices = pWaitSemaphoreDeviceIndices_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupSubmitInfo& setCommandBufferCount( uint32_t commandBufferCount_ )\r
- {\r
- commandBufferCount = commandBufferCount_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupSubmitInfo& setPCommandBufferDeviceMasks( const uint32_t* pCommandBufferDeviceMasks_ )\r
- {\r
- pCommandBufferDeviceMasks = pCommandBufferDeviceMasks_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupSubmitInfo& setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ )\r
- {\r
- signalSemaphoreCount = signalSemaphoreCount_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupSubmitInfo& setPSignalSemaphoreDeviceIndices( const uint32_t* pSignalSemaphoreDeviceIndices_ )\r
- {\r
- pSignalSemaphoreDeviceIndices = pSignalSemaphoreDeviceIndices_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGroupSubmitInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupSubmitInfo*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupSubmitInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( waitSemaphoreCount == rhs.waitSemaphoreCount )\r
- && ( pWaitSemaphoreDeviceIndices == rhs.pWaitSemaphoreDeviceIndices )\r
- && ( commandBufferCount == rhs.commandBufferCount )\r
- && ( pCommandBufferDeviceMasks == rhs.pCommandBufferDeviceMasks )\r
- && ( signalSemaphoreCount == rhs.signalSemaphoreCount )\r
- && ( pSignalSemaphoreDeviceIndices == rhs.pSignalSemaphoreDeviceIndices );\r
- }\r
-\r
- bool operator!=( DeviceGroupSubmitInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupSubmitInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t waitSemaphoreCount;\r
- const uint32_t* pWaitSemaphoreDeviceIndices;\r
- uint32_t commandBufferCount;\r
- const uint32_t* pCommandBufferDeviceMasks;\r
- uint32_t signalSemaphoreCount;\r
- const uint32_t* pSignalSemaphoreDeviceIndices;\r
- };\r
- static_assert( sizeof( DeviceGroupSubmitInfo ) == sizeof( VkDeviceGroupSubmitInfo ), "struct and wrapper have different size!" );\r
-\r
- using DeviceGroupSubmitInfoKHR = DeviceGroupSubmitInfo;\r
-\r
- struct DeviceGroupBindSparseInfo\r
- {\r
- DeviceGroupBindSparseInfo( uint32_t resourceDeviceIndex_ = 0, uint32_t memoryDeviceIndex_ = 0 )\r
- : resourceDeviceIndex( resourceDeviceIndex_ )\r
- , memoryDeviceIndex( memoryDeviceIndex_ )\r
- {\r
- }\r
-\r
- DeviceGroupBindSparseInfo( VkDeviceGroupBindSparseInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupBindSparseInfo ) );\r
- }\r
-\r
- DeviceGroupBindSparseInfo& operator=( VkDeviceGroupBindSparseInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupBindSparseInfo ) );\r
- return *this;\r
- }\r
- DeviceGroupBindSparseInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupBindSparseInfo& setResourceDeviceIndex( uint32_t resourceDeviceIndex_ )\r
- {\r
- resourceDeviceIndex = resourceDeviceIndex_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupBindSparseInfo& setMemoryDeviceIndex( uint32_t memoryDeviceIndex_ )\r
- {\r
- memoryDeviceIndex = memoryDeviceIndex_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGroupBindSparseInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupBindSparseInfo*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupBindSparseInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( resourceDeviceIndex == rhs.resourceDeviceIndex )\r
- && ( memoryDeviceIndex == rhs.memoryDeviceIndex );\r
- }\r
-\r
- bool operator!=( DeviceGroupBindSparseInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupBindSparseInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t resourceDeviceIndex;\r
- uint32_t memoryDeviceIndex;\r
- };\r
- static_assert( sizeof( DeviceGroupBindSparseInfo ) == sizeof( VkDeviceGroupBindSparseInfo ), "struct and wrapper have different size!" );\r
-\r
- using DeviceGroupBindSparseInfoKHR = DeviceGroupBindSparseInfo;\r
-\r
- struct ImageSwapchainCreateInfoKHR\r
- {\r
- ImageSwapchainCreateInfoKHR( SwapchainKHR swapchain_ = SwapchainKHR() )\r
- : swapchain( swapchain_ )\r
- {\r
- }\r
-\r
- ImageSwapchainCreateInfoKHR( VkImageSwapchainCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSwapchainCreateInfoKHR ) );\r
- }\r
-\r
- ImageSwapchainCreateInfoKHR& operator=( VkImageSwapchainCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSwapchainCreateInfoKHR ) );\r
- return *this;\r
- }\r
- ImageSwapchainCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageSwapchainCreateInfoKHR& setSwapchain( SwapchainKHR swapchain_ )\r
- {\r
- swapchain = swapchain_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageSwapchainCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImageSwapchainCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImageSwapchainCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( swapchain == rhs.swapchain );\r
- }\r
-\r
- bool operator!=( ImageSwapchainCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageSwapchainCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SwapchainKHR swapchain;\r
- };\r
- static_assert( sizeof( ImageSwapchainCreateInfoKHR ) == sizeof( VkImageSwapchainCreateInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct BindImageMemorySwapchainInfoKHR\r
- {\r
- BindImageMemorySwapchainInfoKHR( SwapchainKHR swapchain_ = SwapchainKHR(), uint32_t imageIndex_ = 0 )\r
- : swapchain( swapchain_ )\r
- , imageIndex( imageIndex_ )\r
- {\r
- }\r
-\r
- BindImageMemorySwapchainInfoKHR( VkBindImageMemorySwapchainInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImageMemorySwapchainInfoKHR ) );\r
- }\r
-\r
- BindImageMemorySwapchainInfoKHR& operator=( VkBindImageMemorySwapchainInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImageMemorySwapchainInfoKHR ) );\r
- return *this;\r
- }\r
- BindImageMemorySwapchainInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BindImageMemorySwapchainInfoKHR& setSwapchain( SwapchainKHR swapchain_ )\r
- {\r
- swapchain = swapchain_;\r
- return *this;\r
- }\r
-\r
- BindImageMemorySwapchainInfoKHR& setImageIndex( uint32_t imageIndex_ )\r
- {\r
- imageIndex = imageIndex_;\r
- return *this;\r
- }\r
-\r
- operator const VkBindImageMemorySwapchainInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkBindImageMemorySwapchainInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( BindImageMemorySwapchainInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( swapchain == rhs.swapchain )\r
- && ( imageIndex == rhs.imageIndex );\r
- }\r
-\r
- bool operator!=( BindImageMemorySwapchainInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBindImageMemorySwapchainInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SwapchainKHR swapchain;\r
- uint32_t imageIndex;\r
- };\r
- static_assert( sizeof( BindImageMemorySwapchainInfoKHR ) == sizeof( VkBindImageMemorySwapchainInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct AcquireNextImageInfoKHR\r
- {\r
- AcquireNextImageInfoKHR( SwapchainKHR swapchain_ = SwapchainKHR(), uint64_t timeout_ = 0, Semaphore semaphore_ = Semaphore(), Fence fence_ = Fence(), uint32_t deviceMask_ = 0 )\r
- : swapchain( swapchain_ )\r
- , timeout( timeout_ )\r
- , semaphore( semaphore_ )\r
- , fence( fence_ )\r
- , deviceMask( deviceMask_ )\r
- {\r
- }\r
-\r
- AcquireNextImageInfoKHR( VkAcquireNextImageInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AcquireNextImageInfoKHR ) );\r
- }\r
-\r
- AcquireNextImageInfoKHR& operator=( VkAcquireNextImageInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AcquireNextImageInfoKHR ) );\r
- return *this;\r
- }\r
- AcquireNextImageInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- AcquireNextImageInfoKHR& setSwapchain( SwapchainKHR swapchain_ )\r
- {\r
- swapchain = swapchain_;\r
- return *this;\r
- }\r
-\r
- AcquireNextImageInfoKHR& setTimeout( uint64_t timeout_ )\r
- {\r
- timeout = timeout_;\r
- return *this;\r
- }\r
-\r
- AcquireNextImageInfoKHR& setSemaphore( Semaphore semaphore_ )\r
- {\r
- semaphore = semaphore_;\r
- return *this;\r
- }\r
-\r
- AcquireNextImageInfoKHR& setFence( Fence fence_ )\r
- {\r
- fence = fence_;\r
- return *this;\r
- }\r
-\r
- AcquireNextImageInfoKHR& setDeviceMask( uint32_t deviceMask_ )\r
- {\r
- deviceMask = deviceMask_;\r
- return *this;\r
- }\r
-\r
- operator const VkAcquireNextImageInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkAcquireNextImageInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( AcquireNextImageInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( swapchain == rhs.swapchain )\r
- && ( timeout == rhs.timeout )\r
- && ( semaphore == rhs.semaphore )\r
- && ( fence == rhs.fence )\r
- && ( deviceMask == rhs.deviceMask );\r
- }\r
-\r
- bool operator!=( AcquireNextImageInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eAcquireNextImageInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SwapchainKHR swapchain;\r
- uint64_t timeout;\r
- Semaphore semaphore;\r
- Fence fence;\r
- uint32_t deviceMask;\r
- };\r
- static_assert( sizeof( AcquireNextImageInfoKHR ) == sizeof( VkAcquireNextImageInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct HdrMetadataEXT\r
- {\r
- HdrMetadataEXT( XYColorEXT displayPrimaryRed_ = XYColorEXT(), XYColorEXT displayPrimaryGreen_ = XYColorEXT(), XYColorEXT displayPrimaryBlue_ = XYColorEXT(), XYColorEXT whitePoint_ = XYColorEXT(), float maxLuminance_ = 0, float minLuminance_ = 0, float maxContentLightLevel_ = 0, float maxFrameAverageLightLevel_ = 0 )\r
- : displayPrimaryRed( displayPrimaryRed_ )\r
- , displayPrimaryGreen( displayPrimaryGreen_ )\r
- , displayPrimaryBlue( displayPrimaryBlue_ )\r
- , whitePoint( whitePoint_ )\r
- , maxLuminance( maxLuminance_ )\r
- , minLuminance( minLuminance_ )\r
- , maxContentLightLevel( maxContentLightLevel_ )\r
- , maxFrameAverageLightLevel( maxFrameAverageLightLevel_ )\r
- {\r
- }\r
-\r
- HdrMetadataEXT( VkHdrMetadataEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( HdrMetadataEXT ) );\r
- }\r
-\r
- HdrMetadataEXT& operator=( VkHdrMetadataEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( HdrMetadataEXT ) );\r
- return *this;\r
- }\r
- HdrMetadataEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setDisplayPrimaryRed( XYColorEXT displayPrimaryRed_ )\r
- {\r
- displayPrimaryRed = displayPrimaryRed_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setDisplayPrimaryGreen( XYColorEXT displayPrimaryGreen_ )\r
- {\r
- displayPrimaryGreen = displayPrimaryGreen_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setDisplayPrimaryBlue( XYColorEXT displayPrimaryBlue_ )\r
- {\r
- displayPrimaryBlue = displayPrimaryBlue_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setWhitePoint( XYColorEXT whitePoint_ )\r
- {\r
- whitePoint = whitePoint_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setMaxLuminance( float maxLuminance_ )\r
- {\r
- maxLuminance = maxLuminance_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setMinLuminance( float minLuminance_ )\r
- {\r
- minLuminance = minLuminance_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setMaxContentLightLevel( float maxContentLightLevel_ )\r
- {\r
- maxContentLightLevel = maxContentLightLevel_;\r
- return *this;\r
- }\r
-\r
- HdrMetadataEXT& setMaxFrameAverageLightLevel( float maxFrameAverageLightLevel_ )\r
- {\r
- maxFrameAverageLightLevel = maxFrameAverageLightLevel_;\r
- return *this;\r
- }\r
-\r
- operator const VkHdrMetadataEXT&() const\r
- {\r
- return *reinterpret_cast<const VkHdrMetadataEXT*>(this);\r
- }\r
-\r
- bool operator==( HdrMetadataEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( displayPrimaryRed == rhs.displayPrimaryRed )\r
- && ( displayPrimaryGreen == rhs.displayPrimaryGreen )\r
- && ( displayPrimaryBlue == rhs.displayPrimaryBlue )\r
- && ( whitePoint == rhs.whitePoint )\r
- && ( maxLuminance == rhs.maxLuminance )\r
- && ( minLuminance == rhs.minLuminance )\r
- && ( maxContentLightLevel == rhs.maxContentLightLevel )\r
- && ( maxFrameAverageLightLevel == rhs.maxFrameAverageLightLevel );\r
- }\r
-\r
- bool operator!=( HdrMetadataEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eHdrMetadataEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- XYColorEXT displayPrimaryRed;\r
- XYColorEXT displayPrimaryGreen;\r
- XYColorEXT displayPrimaryBlue;\r
- XYColorEXT whitePoint;\r
- float maxLuminance;\r
- float minLuminance;\r
- float maxContentLightLevel;\r
- float maxFrameAverageLightLevel;\r
- };\r
- static_assert( sizeof( HdrMetadataEXT ) == sizeof( VkHdrMetadataEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PresentTimesInfoGOOGLE\r
- {\r
- PresentTimesInfoGOOGLE( uint32_t swapchainCount_ = 0, const PresentTimeGOOGLE* pTimes_ = nullptr )\r
- : swapchainCount( swapchainCount_ )\r
- , pTimes( pTimes_ )\r
- {\r
- }\r
-\r
- PresentTimesInfoGOOGLE( VkPresentTimesInfoGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentTimesInfoGOOGLE ) );\r
- }\r
-\r
- PresentTimesInfoGOOGLE& operator=( VkPresentTimesInfoGOOGLE const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentTimesInfoGOOGLE ) );\r
- return *this;\r
- }\r
- PresentTimesInfoGOOGLE& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PresentTimesInfoGOOGLE& setSwapchainCount( uint32_t swapchainCount_ )\r
- {\r
- swapchainCount = swapchainCount_;\r
- return *this;\r
- }\r
-\r
- PresentTimesInfoGOOGLE& setPTimes( const PresentTimeGOOGLE* pTimes_ )\r
- {\r
- pTimes = pTimes_;\r
- return *this;\r
- }\r
-\r
- operator const VkPresentTimesInfoGOOGLE&() const\r
- {\r
- return *reinterpret_cast<const VkPresentTimesInfoGOOGLE*>(this);\r
- }\r
-\r
- bool operator==( PresentTimesInfoGOOGLE const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( swapchainCount == rhs.swapchainCount )\r
- && ( pTimes == rhs.pTimes );\r
- }\r
-\r
- bool operator!=( PresentTimesInfoGOOGLE const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePresentTimesInfoGOOGLE;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t swapchainCount;\r
- const PresentTimeGOOGLE* pTimes;\r
- };\r
- static_assert( sizeof( PresentTimesInfoGOOGLE ) == sizeof( VkPresentTimesInfoGOOGLE ), "struct and wrapper have different size!" );\r
-\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- struct IOSSurfaceCreateInfoMVK\r
- {\r
- IOSSurfaceCreateInfoMVK( IOSSurfaceCreateFlagsMVK flags_ = IOSSurfaceCreateFlagsMVK(), const void* pView_ = nullptr )\r
- : flags( flags_ )\r
- , pView( pView_ )\r
- {\r
- }\r
-\r
- IOSSurfaceCreateInfoMVK( VkIOSSurfaceCreateInfoMVK const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IOSSurfaceCreateInfoMVK ) );\r
- }\r
-\r
- IOSSurfaceCreateInfoMVK& operator=( VkIOSSurfaceCreateInfoMVK const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IOSSurfaceCreateInfoMVK ) );\r
- return *this;\r
- }\r
- IOSSurfaceCreateInfoMVK& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- IOSSurfaceCreateInfoMVK& setFlags( IOSSurfaceCreateFlagsMVK flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- IOSSurfaceCreateInfoMVK& setPView( const void* pView_ )\r
- {\r
- pView = pView_;\r
- return *this;\r
- }\r
-\r
- operator const VkIOSSurfaceCreateInfoMVK&() const\r
- {\r
- return *reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>(this);\r
- }\r
-\r
- bool operator==( IOSSurfaceCreateInfoMVK const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( pView == rhs.pView );\r
- }\r
-\r
- bool operator!=( IOSSurfaceCreateInfoMVK const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eIosSurfaceCreateInfoMVK;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- IOSSurfaceCreateFlagsMVK flags;\r
- const void* pView;\r
- };\r
- static_assert( sizeof( IOSSurfaceCreateInfoMVK ) == sizeof( VkIOSSurfaceCreateInfoMVK ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- struct MacOSSurfaceCreateInfoMVK\r
- {\r
- MacOSSurfaceCreateInfoMVK( MacOSSurfaceCreateFlagsMVK flags_ = MacOSSurfaceCreateFlagsMVK(), const void* pView_ = nullptr )\r
- : flags( flags_ )\r
- , pView( pView_ )\r
- {\r
- }\r
-\r
- MacOSSurfaceCreateInfoMVK( VkMacOSSurfaceCreateInfoMVK const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MacOSSurfaceCreateInfoMVK ) );\r
- }\r
-\r
- MacOSSurfaceCreateInfoMVK& operator=( VkMacOSSurfaceCreateInfoMVK const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MacOSSurfaceCreateInfoMVK ) );\r
- return *this;\r
- }\r
- MacOSSurfaceCreateInfoMVK& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MacOSSurfaceCreateInfoMVK& setFlags( MacOSSurfaceCreateFlagsMVK flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- MacOSSurfaceCreateInfoMVK& setPView( const void* pView_ )\r
- {\r
- pView = pView_;\r
- return *this;\r
- }\r
-\r
- operator const VkMacOSSurfaceCreateInfoMVK&() const\r
- {\r
- return *reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>(this);\r
- }\r
-\r
- bool operator==( MacOSSurfaceCreateInfoMVK const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( pView == rhs.pView );\r
- }\r
-\r
- bool operator!=( MacOSSurfaceCreateInfoMVK const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMacosSurfaceCreateInfoMVK;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- MacOSSurfaceCreateFlagsMVK flags;\r
- const void* pView;\r
- };\r
- static_assert( sizeof( MacOSSurfaceCreateInfoMVK ) == sizeof( VkMacOSSurfaceCreateInfoMVK ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-\r
- struct PipelineViewportWScalingStateCreateInfoNV\r
- {\r
- PipelineViewportWScalingStateCreateInfoNV( Bool32 viewportWScalingEnable_ = 0, uint32_t viewportCount_ = 0, const ViewportWScalingNV* pViewportWScalings_ = nullptr )\r
- : viewportWScalingEnable( viewportWScalingEnable_ )\r
- , viewportCount( viewportCount_ )\r
- , pViewportWScalings( pViewportWScalings_ )\r
- {\r
- }\r
-\r
- PipelineViewportWScalingStateCreateInfoNV( VkPipelineViewportWScalingStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineViewportWScalingStateCreateInfoNV ) );\r
- }\r
-\r
- PipelineViewportWScalingStateCreateInfoNV& operator=( VkPipelineViewportWScalingStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineViewportWScalingStateCreateInfoNV ) );\r
- return *this;\r
- }\r
- PipelineViewportWScalingStateCreateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportWScalingStateCreateInfoNV& setViewportWScalingEnable( Bool32 viewportWScalingEnable_ )\r
- {\r
- viewportWScalingEnable = viewportWScalingEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportWScalingStateCreateInfoNV& setViewportCount( uint32_t viewportCount_ )\r
- {\r
- viewportCount = viewportCount_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportWScalingStateCreateInfoNV& setPViewportWScalings( const ViewportWScalingNV* pViewportWScalings_ )\r
- {\r
- pViewportWScalings = pViewportWScalings_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineViewportWScalingStateCreateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineViewportWScalingStateCreateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( PipelineViewportWScalingStateCreateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( viewportWScalingEnable == rhs.viewportWScalingEnable )\r
- && ( viewportCount == rhs.viewportCount )\r
- && ( pViewportWScalings == rhs.pViewportWScalings );\r
- }\r
-\r
- bool operator!=( PipelineViewportWScalingStateCreateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineViewportWScalingStateCreateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Bool32 viewportWScalingEnable;\r
- uint32_t viewportCount;\r
- const ViewportWScalingNV* pViewportWScalings;\r
- };\r
- static_assert( sizeof( PipelineViewportWScalingStateCreateInfoNV ) == sizeof( VkPipelineViewportWScalingStateCreateInfoNV ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceDiscardRectanglePropertiesEXT\r
- {\r
- PhysicalDeviceDiscardRectanglePropertiesEXT( uint32_t maxDiscardRectangles_ = 0 )\r
- : maxDiscardRectangles( maxDiscardRectangles_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceDiscardRectanglePropertiesEXT( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) );\r
- }\r
-\r
- PhysicalDeviceDiscardRectanglePropertiesEXT& operator=( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) );\r
- return *this;\r
- }\r
- PhysicalDeviceDiscardRectanglePropertiesEXT& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDiscardRectanglePropertiesEXT& setMaxDiscardRectangles( uint32_t maxDiscardRectangles_ )\r
- {\r
- maxDiscardRectangles = maxDiscardRectangles_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceDiscardRectanglePropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceDiscardRectanglePropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceDiscardRectanglePropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxDiscardRectangles == rhs.maxDiscardRectangles );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceDiscardRectanglePropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t maxDiscardRectangles;\r
- };\r
- static_assert( sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) == sizeof( VkPhysicalDeviceDiscardRectanglePropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX\r
- {\r
- operator const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( perViewPositionAllComponents == rhs.perViewPositionAllComponents );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 perViewPositionAllComponents;\r
- };\r
- static_assert( sizeof( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ) == sizeof( VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceSurfaceInfo2KHR\r
- {\r
- PhysicalDeviceSurfaceInfo2KHR( SurfaceKHR surface_ = SurfaceKHR() )\r
- : surface( surface_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceSurfaceInfo2KHR( VkPhysicalDeviceSurfaceInfo2KHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceSurfaceInfo2KHR ) );\r
- }\r
-\r
- PhysicalDeviceSurfaceInfo2KHR& operator=( VkPhysicalDeviceSurfaceInfo2KHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceSurfaceInfo2KHR ) );\r
- return *this;\r
- }\r
- PhysicalDeviceSurfaceInfo2KHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceSurfaceInfo2KHR& setSurface( SurfaceKHR surface_ )\r
- {\r
- surface = surface_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceSurfaceInfo2KHR&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceSurfaceInfo2KHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( surface == rhs.surface );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceSurfaceInfo2KHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceSurfaceInfo2KHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SurfaceKHR surface;\r
- };\r
- static_assert( sizeof( PhysicalDeviceSurfaceInfo2KHR ) == sizeof( VkPhysicalDeviceSurfaceInfo2KHR ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDevice16BitStorageFeatures\r
- {\r
- PhysicalDevice16BitStorageFeatures( Bool32 storageBuffer16BitAccess_ = 0, Bool32 uniformAndStorageBuffer16BitAccess_ = 0, Bool32 storagePushConstant16_ = 0, Bool32 storageInputOutput16_ = 0 )\r
- : storageBuffer16BitAccess( storageBuffer16BitAccess_ )\r
- , uniformAndStorageBuffer16BitAccess( uniformAndStorageBuffer16BitAccess_ )\r
- , storagePushConstant16( storagePushConstant16_ )\r
- , storageInputOutput16( storageInputOutput16_ )\r
- {\r
- }\r
-\r
- PhysicalDevice16BitStorageFeatures( VkPhysicalDevice16BitStorageFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDevice16BitStorageFeatures ) );\r
- }\r
-\r
- PhysicalDevice16BitStorageFeatures& operator=( VkPhysicalDevice16BitStorageFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDevice16BitStorageFeatures ) );\r
- return *this;\r
- }\r
- PhysicalDevice16BitStorageFeatures& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDevice16BitStorageFeatures& setStorageBuffer16BitAccess( Bool32 storageBuffer16BitAccess_ )\r
- {\r
- storageBuffer16BitAccess = storageBuffer16BitAccess_;\r
- return *this;\r
- }\r
-\r
- PhysicalDevice16BitStorageFeatures& setUniformAndStorageBuffer16BitAccess( Bool32 uniformAndStorageBuffer16BitAccess_ )\r
- {\r
- uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess_;\r
- return *this;\r
- }\r
-\r
- PhysicalDevice16BitStorageFeatures& setStoragePushConstant16( Bool32 storagePushConstant16_ )\r
- {\r
- storagePushConstant16 = storagePushConstant16_;\r
- return *this;\r
- }\r
-\r
- PhysicalDevice16BitStorageFeatures& setStorageInputOutput16( Bool32 storageInputOutput16_ )\r
- {\r
- storageInputOutput16 = storageInputOutput16_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDevice16BitStorageFeatures&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDevice16BitStorageFeatures*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDevice16BitStorageFeatures const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( storageBuffer16BitAccess == rhs.storageBuffer16BitAccess )\r
- && ( uniformAndStorageBuffer16BitAccess == rhs.uniformAndStorageBuffer16BitAccess )\r
- && ( storagePushConstant16 == rhs.storagePushConstant16 )\r
- && ( storageInputOutput16 == rhs.storageInputOutput16 );\r
- }\r
-\r
- bool operator!=( PhysicalDevice16BitStorageFeatures const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDevice16BitStorageFeatures;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 storageBuffer16BitAccess;\r
- Bool32 uniformAndStorageBuffer16BitAccess;\r
- Bool32 storagePushConstant16;\r
- Bool32 storageInputOutput16;\r
- };\r
- static_assert( sizeof( PhysicalDevice16BitStorageFeatures ) == sizeof( VkPhysicalDevice16BitStorageFeatures ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDevice16BitStorageFeaturesKHR = PhysicalDevice16BitStorageFeatures;\r
-\r
- struct BufferMemoryRequirementsInfo2\r
- {\r
- BufferMemoryRequirementsInfo2( Buffer buffer_ = Buffer() )\r
- : buffer( buffer_ )\r
- {\r
- }\r
-\r
- BufferMemoryRequirementsInfo2( VkBufferMemoryRequirementsInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferMemoryRequirementsInfo2 ) );\r
- }\r
-\r
- BufferMemoryRequirementsInfo2& operator=( VkBufferMemoryRequirementsInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferMemoryRequirementsInfo2 ) );\r
- return *this;\r
- }\r
- BufferMemoryRequirementsInfo2& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryRequirementsInfo2& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- operator const VkBufferMemoryRequirementsInfo2&() const\r
- {\r
- return *reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>(this);\r
- }\r
-\r
- bool operator==( BufferMemoryRequirementsInfo2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( buffer == rhs.buffer );\r
- }\r
-\r
- bool operator!=( BufferMemoryRequirementsInfo2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBufferMemoryRequirementsInfo2;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Buffer buffer;\r
- };\r
- static_assert( sizeof( BufferMemoryRequirementsInfo2 ) == sizeof( VkBufferMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );\r
-\r
- using BufferMemoryRequirementsInfo2KHR = BufferMemoryRequirementsInfo2;\r
-\r
- struct ImageMemoryRequirementsInfo2\r
- {\r
- ImageMemoryRequirementsInfo2( Image image_ = Image() )\r
- : image( image_ )\r
- {\r
- }\r
-\r
- ImageMemoryRequirementsInfo2( VkImageMemoryRequirementsInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageMemoryRequirementsInfo2 ) );\r
- }\r
-\r
- ImageMemoryRequirementsInfo2& operator=( VkImageMemoryRequirementsInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageMemoryRequirementsInfo2 ) );\r
- return *this;\r
- }\r
- ImageMemoryRequirementsInfo2& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryRequirementsInfo2& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageMemoryRequirementsInfo2&() const\r
- {\r
- return *reinterpret_cast<const VkImageMemoryRequirementsInfo2*>(this);\r
- }\r
-\r
- bool operator==( ImageMemoryRequirementsInfo2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( image == rhs.image );\r
- }\r
-\r
- bool operator!=( ImageMemoryRequirementsInfo2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageMemoryRequirementsInfo2;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Image image;\r
- };\r
- static_assert( sizeof( ImageMemoryRequirementsInfo2 ) == sizeof( VkImageMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );\r
-\r
- using ImageMemoryRequirementsInfo2KHR = ImageMemoryRequirementsInfo2;\r
-\r
- struct ImageSparseMemoryRequirementsInfo2\r
- {\r
- ImageSparseMemoryRequirementsInfo2( Image image_ = Image() )\r
- : image( image_ )\r
- {\r
- }\r
-\r
- ImageSparseMemoryRequirementsInfo2( VkImageSparseMemoryRequirementsInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSparseMemoryRequirementsInfo2 ) );\r
- }\r
-\r
- ImageSparseMemoryRequirementsInfo2& operator=( VkImageSparseMemoryRequirementsInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSparseMemoryRequirementsInfo2 ) );\r
- return *this;\r
- }\r
- ImageSparseMemoryRequirementsInfo2& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageSparseMemoryRequirementsInfo2& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageSparseMemoryRequirementsInfo2&() const\r
- {\r
- return *reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>(this);\r
- }\r
-\r
- bool operator==( ImageSparseMemoryRequirementsInfo2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( image == rhs.image );\r
- }\r
-\r
- bool operator!=( ImageSparseMemoryRequirementsInfo2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageSparseMemoryRequirementsInfo2;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Image image;\r
- };\r
- static_assert( sizeof( ImageSparseMemoryRequirementsInfo2 ) == sizeof( VkImageSparseMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );\r
-\r
- using ImageSparseMemoryRequirementsInfo2KHR = ImageSparseMemoryRequirementsInfo2;\r
-\r
- struct MemoryRequirements2\r
- {\r
- operator const VkMemoryRequirements2&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryRequirements2*>(this);\r
- }\r
-\r
- bool operator==( MemoryRequirements2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memoryRequirements == rhs.memoryRequirements );\r
- }\r
-\r
- bool operator!=( MemoryRequirements2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryRequirements2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- MemoryRequirements memoryRequirements;\r
- };\r
- static_assert( sizeof( MemoryRequirements2 ) == sizeof( VkMemoryRequirements2 ), "struct and wrapper have different size!" );\r
-\r
- using MemoryRequirements2KHR = MemoryRequirements2;\r
-\r
- struct MemoryDedicatedRequirements\r
- {\r
- operator const VkMemoryDedicatedRequirements&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryDedicatedRequirements*>(this);\r
- }\r
-\r
- bool operator==( MemoryDedicatedRequirements const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( prefersDedicatedAllocation == rhs.prefersDedicatedAllocation )\r
- && ( requiresDedicatedAllocation == rhs.requiresDedicatedAllocation );\r
- }\r
-\r
- bool operator!=( MemoryDedicatedRequirements const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryDedicatedRequirements;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 prefersDedicatedAllocation;\r
- Bool32 requiresDedicatedAllocation;\r
- };\r
- static_assert( sizeof( MemoryDedicatedRequirements ) == sizeof( VkMemoryDedicatedRequirements ), "struct and wrapper have different size!" );\r
-\r
- using MemoryDedicatedRequirementsKHR = MemoryDedicatedRequirements;\r
-\r
- struct MemoryDedicatedAllocateInfo\r
- {\r
- MemoryDedicatedAllocateInfo( Image image_ = Image(), Buffer buffer_ = Buffer() )\r
- : image( image_ )\r
- , buffer( buffer_ )\r
- {\r
- }\r
-\r
- MemoryDedicatedAllocateInfo( VkMemoryDedicatedAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryDedicatedAllocateInfo ) );\r
- }\r
-\r
- MemoryDedicatedAllocateInfo& operator=( VkMemoryDedicatedAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryDedicatedAllocateInfo ) );\r
- return *this;\r
- }\r
- MemoryDedicatedAllocateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryDedicatedAllocateInfo& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- MemoryDedicatedAllocateInfo& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryDedicatedAllocateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryDedicatedAllocateInfo*>(this);\r
- }\r
-\r
- bool operator==( MemoryDedicatedAllocateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( image == rhs.image )\r
- && ( buffer == rhs.buffer );\r
- }\r
-\r
- bool operator!=( MemoryDedicatedAllocateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryDedicatedAllocateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Image image;\r
- Buffer buffer;\r
- };\r
- static_assert( sizeof( MemoryDedicatedAllocateInfo ) == sizeof( VkMemoryDedicatedAllocateInfo ), "struct and wrapper have different size!" );\r
-\r
- using MemoryDedicatedAllocateInfoKHR = MemoryDedicatedAllocateInfo;\r
-\r
- struct SamplerYcbcrConversionInfo\r
- {\r
- SamplerYcbcrConversionInfo( SamplerYcbcrConversion conversion_ = SamplerYcbcrConversion() )\r
- : conversion( conversion_ )\r
- {\r
- }\r
-\r
- SamplerYcbcrConversionInfo( VkSamplerYcbcrConversionInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerYcbcrConversionInfo ) );\r
- }\r
-\r
- SamplerYcbcrConversionInfo& operator=( VkSamplerYcbcrConversionInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerYcbcrConversionInfo ) );\r
- return *this;\r
- }\r
- SamplerYcbcrConversionInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionInfo& setConversion( SamplerYcbcrConversion conversion_ )\r
- {\r
- conversion = conversion_;\r
- return *this;\r
- }\r
-\r
- operator const VkSamplerYcbcrConversionInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSamplerYcbcrConversionInfo*>(this);\r
- }\r
-\r
- bool operator==( SamplerYcbcrConversionInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( conversion == rhs.conversion );\r
- }\r
-\r
- bool operator!=( SamplerYcbcrConversionInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSamplerYcbcrConversionInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SamplerYcbcrConversion conversion;\r
- };\r
- static_assert( sizeof( SamplerYcbcrConversionInfo ) == sizeof( VkSamplerYcbcrConversionInfo ), "struct and wrapper have different size!" );\r
-\r
- using SamplerYcbcrConversionInfoKHR = SamplerYcbcrConversionInfo;\r
-\r
- struct PhysicalDeviceSamplerYcbcrConversionFeatures\r
- {\r
- PhysicalDeviceSamplerYcbcrConversionFeatures( Bool32 samplerYcbcrConversion_ = 0 )\r
- : samplerYcbcrConversion( samplerYcbcrConversion_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceSamplerYcbcrConversionFeatures( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) );\r
- }\r
-\r
- PhysicalDeviceSamplerYcbcrConversionFeatures& operator=( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) );\r
- return *this;\r
- }\r
- PhysicalDeviceSamplerYcbcrConversionFeatures& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceSamplerYcbcrConversionFeatures& setSamplerYcbcrConversion( Bool32 samplerYcbcrConversion_ )\r
- {\r
- samplerYcbcrConversion = samplerYcbcrConversion_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceSamplerYcbcrConversionFeatures&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceSamplerYcbcrConversionFeatures*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceSamplerYcbcrConversionFeatures const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( samplerYcbcrConversion == rhs.samplerYcbcrConversion );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceSamplerYcbcrConversionFeatures const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 samplerYcbcrConversion;\r
- };\r
- static_assert( sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) == sizeof( VkPhysicalDeviceSamplerYcbcrConversionFeatures ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceSamplerYcbcrConversionFeaturesKHR = PhysicalDeviceSamplerYcbcrConversionFeatures;\r
-\r
- struct SamplerYcbcrConversionImageFormatProperties\r
- {\r
- operator const VkSamplerYcbcrConversionImageFormatProperties&() const\r
- {\r
- return *reinterpret_cast<const VkSamplerYcbcrConversionImageFormatProperties*>(this);\r
- }\r
-\r
- bool operator==( SamplerYcbcrConversionImageFormatProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( combinedImageSamplerDescriptorCount == rhs.combinedImageSamplerDescriptorCount );\r
- }\r
-\r
- bool operator!=( SamplerYcbcrConversionImageFormatProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSamplerYcbcrConversionImageFormatProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t combinedImageSamplerDescriptorCount;\r
- };\r
- static_assert( sizeof( SamplerYcbcrConversionImageFormatProperties ) == sizeof( VkSamplerYcbcrConversionImageFormatProperties ), "struct and wrapper have different size!" );\r
-\r
- using SamplerYcbcrConversionImageFormatPropertiesKHR = SamplerYcbcrConversionImageFormatProperties;\r
-\r
- struct TextureLODGatherFormatPropertiesAMD\r
- {\r
- operator const VkTextureLODGatherFormatPropertiesAMD&() const\r
- {\r
- return *reinterpret_cast<const VkTextureLODGatherFormatPropertiesAMD*>(this);\r
- }\r
-\r
- bool operator==( TextureLODGatherFormatPropertiesAMD const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( supportsTextureGatherLODBiasAMD == rhs.supportsTextureGatherLODBiasAMD );\r
- }\r
-\r
- bool operator!=( TextureLODGatherFormatPropertiesAMD const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eTextureLodGatherFormatPropertiesAMD;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 supportsTextureGatherLODBiasAMD;\r
- };\r
- static_assert( sizeof( TextureLODGatherFormatPropertiesAMD ) == sizeof( VkTextureLODGatherFormatPropertiesAMD ), "struct and wrapper have different size!" );\r
-\r
- struct ProtectedSubmitInfo\r
- {\r
- ProtectedSubmitInfo( Bool32 protectedSubmit_ = 0 )\r
- : protectedSubmit( protectedSubmit_ )\r
- {\r
- }\r
-\r
- ProtectedSubmitInfo( VkProtectedSubmitInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ProtectedSubmitInfo ) );\r
- }\r
-\r
- ProtectedSubmitInfo& operator=( VkProtectedSubmitInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ProtectedSubmitInfo ) );\r
- return *this;\r
- }\r
- ProtectedSubmitInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ProtectedSubmitInfo& setProtectedSubmit( Bool32 protectedSubmit_ )\r
- {\r
- protectedSubmit = protectedSubmit_;\r
- return *this;\r
- }\r
-\r
- operator const VkProtectedSubmitInfo&() const\r
- {\r
- return *reinterpret_cast<const VkProtectedSubmitInfo*>(this);\r
- }\r
-\r
- bool operator==( ProtectedSubmitInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( protectedSubmit == rhs.protectedSubmit );\r
- }\r
-\r
- bool operator!=( ProtectedSubmitInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eProtectedSubmitInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Bool32 protectedSubmit;\r
- };\r
- static_assert( sizeof( ProtectedSubmitInfo ) == sizeof( VkProtectedSubmitInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceProtectedMemoryFeatures\r
- {\r
- PhysicalDeviceProtectedMemoryFeatures( Bool32 protectedMemory_ = 0 )\r
- : protectedMemory( protectedMemory_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceProtectedMemoryFeatures( VkPhysicalDeviceProtectedMemoryFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) );\r
- }\r
-\r
- PhysicalDeviceProtectedMemoryFeatures& operator=( VkPhysicalDeviceProtectedMemoryFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) );\r
- return *this;\r
- }\r
- PhysicalDeviceProtectedMemoryFeatures& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceProtectedMemoryFeatures& setProtectedMemory( Bool32 protectedMemory_ )\r
- {\r
- protectedMemory = protectedMemory_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceProtectedMemoryFeatures&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceProtectedMemoryFeatures*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceProtectedMemoryFeatures const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( protectedMemory == rhs.protectedMemory );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceProtectedMemoryFeatures const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 protectedMemory;\r
- };\r
- static_assert( sizeof( PhysicalDeviceProtectedMemoryFeatures ) == sizeof( VkPhysicalDeviceProtectedMemoryFeatures ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceProtectedMemoryProperties\r
- {\r
- PhysicalDeviceProtectedMemoryProperties( Bool32 protectedNoFault_ = 0 )\r
- : protectedNoFault( protectedNoFault_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceProtectedMemoryProperties( VkPhysicalDeviceProtectedMemoryProperties const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryProperties ) );\r
- }\r
-\r
- PhysicalDeviceProtectedMemoryProperties& operator=( VkPhysicalDeviceProtectedMemoryProperties const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryProperties ) );\r
- return *this;\r
- }\r
- PhysicalDeviceProtectedMemoryProperties& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceProtectedMemoryProperties& setProtectedNoFault( Bool32 protectedNoFault_ )\r
- {\r
- protectedNoFault = protectedNoFault_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceProtectedMemoryProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceProtectedMemoryProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceProtectedMemoryProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( protectedNoFault == rhs.protectedNoFault );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceProtectedMemoryProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 protectedNoFault;\r
- };\r
- static_assert( sizeof( PhysicalDeviceProtectedMemoryProperties ) == sizeof( VkPhysicalDeviceProtectedMemoryProperties ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineCoverageToColorStateCreateInfoNV\r
- {\r
- PipelineCoverageToColorStateCreateInfoNV( PipelineCoverageToColorStateCreateFlagsNV flags_ = PipelineCoverageToColorStateCreateFlagsNV(), Bool32 coverageToColorEnable_ = 0, uint32_t coverageToColorLocation_ = 0 )\r
- : flags( flags_ )\r
- , coverageToColorEnable( coverageToColorEnable_ )\r
- , coverageToColorLocation( coverageToColorLocation_ )\r
- {\r
- }\r
-\r
- PipelineCoverageToColorStateCreateInfoNV( VkPipelineCoverageToColorStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineCoverageToColorStateCreateInfoNV ) );\r
- }\r
-\r
- PipelineCoverageToColorStateCreateInfoNV& operator=( VkPipelineCoverageToColorStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineCoverageToColorStateCreateInfoNV ) );\r
- return *this;\r
- }\r
- PipelineCoverageToColorStateCreateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageToColorStateCreateInfoNV& setFlags( PipelineCoverageToColorStateCreateFlagsNV flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageToColorStateCreateInfoNV& setCoverageToColorEnable( Bool32 coverageToColorEnable_ )\r
- {\r
- coverageToColorEnable = coverageToColorEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageToColorStateCreateInfoNV& setCoverageToColorLocation( uint32_t coverageToColorLocation_ )\r
- {\r
- coverageToColorLocation = coverageToColorLocation_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineCoverageToColorStateCreateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineCoverageToColorStateCreateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( PipelineCoverageToColorStateCreateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( coverageToColorEnable == rhs.coverageToColorEnable )\r
- && ( coverageToColorLocation == rhs.coverageToColorLocation );\r
- }\r
-\r
- bool operator!=( PipelineCoverageToColorStateCreateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineCoverageToColorStateCreateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineCoverageToColorStateCreateFlagsNV flags;\r
- Bool32 coverageToColorEnable;\r
- uint32_t coverageToColorLocation;\r
- };\r
- static_assert( sizeof( PipelineCoverageToColorStateCreateInfoNV ) == sizeof( VkPipelineCoverageToColorStateCreateInfoNV ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceSamplerFilterMinmaxPropertiesEXT\r
- {\r
- operator const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceSamplerFilterMinmaxPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( filterMinmaxSingleComponentFormats == rhs.filterMinmaxSingleComponentFormats )\r
- && ( filterMinmaxImageComponentMapping == rhs.filterMinmaxImageComponentMapping );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceSamplerFilterMinmaxPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 filterMinmaxSingleComponentFormats;\r
- Bool32 filterMinmaxImageComponentMapping;\r
- };\r
- static_assert( sizeof( PhysicalDeviceSamplerFilterMinmaxPropertiesEXT ) == sizeof( VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct MultisamplePropertiesEXT\r
- {\r
- operator const VkMultisamplePropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkMultisamplePropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( MultisamplePropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize );\r
- }\r
-\r
- bool operator!=( MultisamplePropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMultisamplePropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Extent2D maxSampleLocationGridSize;\r
- };\r
- static_assert( sizeof( MultisamplePropertiesEXT ) == sizeof( VkMultisamplePropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceBlendOperationAdvancedFeaturesEXT\r
- {\r
- PhysicalDeviceBlendOperationAdvancedFeaturesEXT( Bool32 advancedBlendCoherentOperations_ = 0 )\r
- : advancedBlendCoherentOperations( advancedBlendCoherentOperations_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceBlendOperationAdvancedFeaturesEXT( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) );\r
- }\r
-\r
- PhysicalDeviceBlendOperationAdvancedFeaturesEXT& operator=( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) );\r
- return *this;\r
- }\r
- PhysicalDeviceBlendOperationAdvancedFeaturesEXT& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceBlendOperationAdvancedFeaturesEXT& setAdvancedBlendCoherentOperations( Bool32 advancedBlendCoherentOperations_ )\r
- {\r
- advancedBlendCoherentOperations = advancedBlendCoherentOperations_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( advancedBlendCoherentOperations == rhs.advancedBlendCoherentOperations );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 advancedBlendCoherentOperations;\r
- };\r
- static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) == sizeof( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceBlendOperationAdvancedPropertiesEXT\r
- {\r
- operator const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( advancedBlendMaxColorAttachments == rhs.advancedBlendMaxColorAttachments )\r
- && ( advancedBlendIndependentBlend == rhs.advancedBlendIndependentBlend )\r
- && ( advancedBlendNonPremultipliedSrcColor == rhs.advancedBlendNonPremultipliedSrcColor )\r
- && ( advancedBlendNonPremultipliedDstColor == rhs.advancedBlendNonPremultipliedDstColor )\r
- && ( advancedBlendCorrelatedOverlap == rhs.advancedBlendCorrelatedOverlap )\r
- && ( advancedBlendAllOperations == rhs.advancedBlendAllOperations );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t advancedBlendMaxColorAttachments;\r
- Bool32 advancedBlendIndependentBlend;\r
- Bool32 advancedBlendNonPremultipliedSrcColor;\r
- Bool32 advancedBlendNonPremultipliedDstColor;\r
- Bool32 advancedBlendCorrelatedOverlap;\r
- Bool32 advancedBlendAllOperations;\r
- };\r
- static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedPropertiesEXT ) == sizeof( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct ImageFormatListCreateInfoKHR\r
- {\r
- ImageFormatListCreateInfoKHR( uint32_t viewFormatCount_ = 0, const Format* pViewFormats_ = nullptr )\r
- : viewFormatCount( viewFormatCount_ )\r
- , pViewFormats( pViewFormats_ )\r
- {\r
- }\r
-\r
- ImageFormatListCreateInfoKHR( VkImageFormatListCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageFormatListCreateInfoKHR ) );\r
- }\r
-\r
- ImageFormatListCreateInfoKHR& operator=( VkImageFormatListCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageFormatListCreateInfoKHR ) );\r
- return *this;\r
- }\r
- ImageFormatListCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageFormatListCreateInfoKHR& setViewFormatCount( uint32_t viewFormatCount_ )\r
- {\r
- viewFormatCount = viewFormatCount_;\r
- return *this;\r
- }\r
-\r
- ImageFormatListCreateInfoKHR& setPViewFormats( const Format* pViewFormats_ )\r
- {\r
- pViewFormats = pViewFormats_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageFormatListCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImageFormatListCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImageFormatListCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( viewFormatCount == rhs.viewFormatCount )\r
- && ( pViewFormats == rhs.pViewFormats );\r
- }\r
-\r
- bool operator!=( ImageFormatListCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageFormatListCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t viewFormatCount;\r
- const Format* pViewFormats;\r
- };\r
- static_assert( sizeof( ImageFormatListCreateInfoKHR ) == sizeof( VkImageFormatListCreateInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct ValidationCacheCreateInfoEXT\r
- {\r
- ValidationCacheCreateInfoEXT( ValidationCacheCreateFlagsEXT flags_ = ValidationCacheCreateFlagsEXT(), size_t initialDataSize_ = 0, const void* pInitialData_ = nullptr )\r
- : flags( flags_ )\r
- , initialDataSize( initialDataSize_ )\r
- , pInitialData( pInitialData_ )\r
- {\r
- }\r
-\r
- ValidationCacheCreateInfoEXT( VkValidationCacheCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ValidationCacheCreateInfoEXT ) );\r
- }\r
-\r
- ValidationCacheCreateInfoEXT& operator=( VkValidationCacheCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ValidationCacheCreateInfoEXT ) );\r
- return *this;\r
- }\r
- ValidationCacheCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ValidationCacheCreateInfoEXT& setFlags( ValidationCacheCreateFlagsEXT flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ValidationCacheCreateInfoEXT& setInitialDataSize( size_t initialDataSize_ )\r
- {\r
- initialDataSize = initialDataSize_;\r
- return *this;\r
- }\r
-\r
- ValidationCacheCreateInfoEXT& setPInitialData( const void* pInitialData_ )\r
- {\r
- pInitialData = pInitialData_;\r
- return *this;\r
- }\r
-\r
- operator const VkValidationCacheCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkValidationCacheCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( ValidationCacheCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( initialDataSize == rhs.initialDataSize )\r
- && ( pInitialData == rhs.pInitialData );\r
- }\r
-\r
- bool operator!=( ValidationCacheCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eValidationCacheCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ValidationCacheCreateFlagsEXT flags;\r
- size_t initialDataSize;\r
- const void* pInitialData;\r
- };\r
- static_assert( sizeof( ValidationCacheCreateInfoEXT ) == sizeof( VkValidationCacheCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct ShaderModuleValidationCacheCreateInfoEXT\r
- {\r
- ShaderModuleValidationCacheCreateInfoEXT( ValidationCacheEXT validationCache_ = ValidationCacheEXT() )\r
- : validationCache( validationCache_ )\r
- {\r
- }\r
-\r
- ShaderModuleValidationCacheCreateInfoEXT( VkShaderModuleValidationCacheCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ShaderModuleValidationCacheCreateInfoEXT ) );\r
- }\r
-\r
- ShaderModuleValidationCacheCreateInfoEXT& operator=( VkShaderModuleValidationCacheCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ShaderModuleValidationCacheCreateInfoEXT ) );\r
- return *this;\r
- }\r
- ShaderModuleValidationCacheCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ShaderModuleValidationCacheCreateInfoEXT& setValidationCache( ValidationCacheEXT validationCache_ )\r
- {\r
- validationCache = validationCache_;\r
- return *this;\r
- }\r
-\r
- operator const VkShaderModuleValidationCacheCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkShaderModuleValidationCacheCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( ShaderModuleValidationCacheCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( validationCache == rhs.validationCache );\r
- }\r
-\r
- bool operator!=( ShaderModuleValidationCacheCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eShaderModuleValidationCacheCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ValidationCacheEXT validationCache;\r
- };\r
- static_assert( sizeof( ShaderModuleValidationCacheCreateInfoEXT ) == sizeof( VkShaderModuleValidationCacheCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceMaintenance3Properties\r
- {\r
- operator const VkPhysicalDeviceMaintenance3Properties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceMaintenance3Properties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceMaintenance3Properties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxPerSetDescriptors == rhs.maxPerSetDescriptors )\r
- && ( maxMemoryAllocationSize == rhs.maxMemoryAllocationSize );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceMaintenance3Properties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceMaintenance3Properties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t maxPerSetDescriptors;\r
- DeviceSize maxMemoryAllocationSize;\r
- };\r
- static_assert( sizeof( PhysicalDeviceMaintenance3Properties ) == sizeof( VkPhysicalDeviceMaintenance3Properties ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceMaintenance3PropertiesKHR = PhysicalDeviceMaintenance3Properties;\r
-\r
- struct DescriptorSetLayoutSupport\r
- {\r
- operator const VkDescriptorSetLayoutSupport&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorSetLayoutSupport*>(this);\r
- }\r
-\r
- bool operator==( DescriptorSetLayoutSupport const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( supported == rhs.supported );\r
- }\r
-\r
- bool operator!=( DescriptorSetLayoutSupport const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorSetLayoutSupport;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 supported;\r
- };\r
- static_assert( sizeof( DescriptorSetLayoutSupport ) == sizeof( VkDescriptorSetLayoutSupport ), "struct and wrapper have different size!" );\r
-\r
- using DescriptorSetLayoutSupportKHR = DescriptorSetLayoutSupport;\r
-\r
- struct PhysicalDeviceShaderDrawParameterFeatures\r
- {\r
- PhysicalDeviceShaderDrawParameterFeatures( Bool32 shaderDrawParameters_ = 0 )\r
- : shaderDrawParameters( shaderDrawParameters_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceShaderDrawParameterFeatures( VkPhysicalDeviceShaderDrawParameterFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceShaderDrawParameterFeatures ) );\r
- }\r
-\r
- PhysicalDeviceShaderDrawParameterFeatures& operator=( VkPhysicalDeviceShaderDrawParameterFeatures const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceShaderDrawParameterFeatures ) );\r
- return *this;\r
- }\r
- PhysicalDeviceShaderDrawParameterFeatures& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceShaderDrawParameterFeatures& setShaderDrawParameters( Bool32 shaderDrawParameters_ )\r
- {\r
- shaderDrawParameters = shaderDrawParameters_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceShaderDrawParameterFeatures&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceShaderDrawParameterFeatures*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceShaderDrawParameterFeatures const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( shaderDrawParameters == rhs.shaderDrawParameters );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceShaderDrawParameterFeatures const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceShaderDrawParameterFeatures;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 shaderDrawParameters;\r
- };\r
- static_assert( sizeof( PhysicalDeviceShaderDrawParameterFeatures ) == sizeof( VkPhysicalDeviceShaderDrawParameterFeatures ), "struct and wrapper have different size!" );\r
-\r
- struct DebugUtilsLabelEXT\r
- {\r
- DebugUtilsLabelEXT( const char* pLabelName_ = nullptr, std::array<float,4> const& color_ = { { 0, 0, 0, 0 } } )\r
- : pLabelName( pLabelName_ )\r
- {\r
- memcpy( &color, color_.data(), 4 * sizeof( float ) );\r
- }\r
-\r
- DebugUtilsLabelEXT( VkDebugUtilsLabelEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsLabelEXT ) );\r
- }\r
-\r
- DebugUtilsLabelEXT& operator=( VkDebugUtilsLabelEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsLabelEXT ) );\r
- return *this;\r
- }\r
- DebugUtilsLabelEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsLabelEXT& setPLabelName( const char* pLabelName_ )\r
- {\r
- pLabelName = pLabelName_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsLabelEXT& setColor( std::array<float,4> color_ )\r
- {\r
- memcpy( &color, color_.data(), 4 * sizeof( float ) );\r
- return *this;\r
- }\r
-\r
- operator const VkDebugUtilsLabelEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugUtilsLabelEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugUtilsLabelEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pLabelName == rhs.pLabelName )\r
- && ( memcmp( color, rhs.color, 4 * sizeof( float ) ) == 0 );\r
- }\r
-\r
- bool operator!=( DebugUtilsLabelEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugUtilsLabelEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- const char* pLabelName;\r
- float color[4];\r
- };\r
- static_assert( sizeof( DebugUtilsLabelEXT ) == sizeof( VkDebugUtilsLabelEXT ), "struct and wrapper have different size!" );\r
-\r
- struct MemoryHostPointerPropertiesEXT\r
- {\r
- MemoryHostPointerPropertiesEXT( uint32_t memoryTypeBits_ = 0 )\r
- : memoryTypeBits( memoryTypeBits_ )\r
- {\r
- }\r
-\r
- MemoryHostPointerPropertiesEXT( VkMemoryHostPointerPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryHostPointerPropertiesEXT ) );\r
- }\r
-\r
- MemoryHostPointerPropertiesEXT& operator=( VkMemoryHostPointerPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryHostPointerPropertiesEXT ) );\r
- return *this;\r
- }\r
- MemoryHostPointerPropertiesEXT& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryHostPointerPropertiesEXT& setMemoryTypeBits( uint32_t memoryTypeBits_ )\r
- {\r
- memoryTypeBits = memoryTypeBits_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryHostPointerPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryHostPointerPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( MemoryHostPointerPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memoryTypeBits == rhs.memoryTypeBits );\r
- }\r
-\r
- bool operator!=( MemoryHostPointerPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryHostPointerPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t memoryTypeBits;\r
- };\r
- static_assert( sizeof( MemoryHostPointerPropertiesEXT ) == sizeof( VkMemoryHostPointerPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceExternalMemoryHostPropertiesEXT\r
- {\r
- PhysicalDeviceExternalMemoryHostPropertiesEXT( DeviceSize minImportedHostPointerAlignment_ = 0 )\r
- : minImportedHostPointerAlignment( minImportedHostPointerAlignment_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceExternalMemoryHostPropertiesEXT( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) );\r
- }\r
-\r
- PhysicalDeviceExternalMemoryHostPropertiesEXT& operator=( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) );\r
- return *this;\r
- }\r
- PhysicalDeviceExternalMemoryHostPropertiesEXT& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceExternalMemoryHostPropertiesEXT& setMinImportedHostPointerAlignment( DeviceSize minImportedHostPointerAlignment_ )\r
- {\r
- minImportedHostPointerAlignment = minImportedHostPointerAlignment_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceExternalMemoryHostPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceExternalMemoryHostPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( minImportedHostPointerAlignment == rhs.minImportedHostPointerAlignment );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- DeviceSize minImportedHostPointerAlignment;\r
- };\r
- static_assert( sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) == sizeof( VkPhysicalDeviceExternalMemoryHostPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceConservativeRasterizationPropertiesEXT\r
- {\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT( float primitiveOverestimationSize_ = 0, float maxExtraPrimitiveOverestimationSize_ = 0, float extraPrimitiveOverestimationSizeGranularity_ = 0, Bool32 primitiveUnderestimation_ = 0, Bool32 conservativePointAndLineRasterization_ = 0, Bool32 degenerateTrianglesRasterized_ = 0, Bool32 degenerateLinesRasterized_ = 0, Bool32 fullyCoveredFragmentShaderInputVariable_ = 0, Bool32 conservativeRasterizationPostDepthCoverage_ = 0 )\r
- : primitiveOverestimationSize( primitiveOverestimationSize_ )\r
- , maxExtraPrimitiveOverestimationSize( maxExtraPrimitiveOverestimationSize_ )\r
- , extraPrimitiveOverestimationSizeGranularity( extraPrimitiveOverestimationSizeGranularity_ )\r
- , primitiveUnderestimation( primitiveUnderestimation_ )\r
- , conservativePointAndLineRasterization( conservativePointAndLineRasterization_ )\r
- , degenerateTrianglesRasterized( degenerateTrianglesRasterized_ )\r
- , degenerateLinesRasterized( degenerateLinesRasterized_ )\r
- , fullyCoveredFragmentShaderInputVariable( fullyCoveredFragmentShaderInputVariable_ )\r
- , conservativeRasterizationPostDepthCoverage( conservativeRasterizationPostDepthCoverage_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT( VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) );\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& operator=( VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) );\r
- return *this;\r
- }\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setPrimitiveOverestimationSize( float primitiveOverestimationSize_ )\r
- {\r
- primitiveOverestimationSize = primitiveOverestimationSize_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setMaxExtraPrimitiveOverestimationSize( float maxExtraPrimitiveOverestimationSize_ )\r
- {\r
- maxExtraPrimitiveOverestimationSize = maxExtraPrimitiveOverestimationSize_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setExtraPrimitiveOverestimationSizeGranularity( float extraPrimitiveOverestimationSizeGranularity_ )\r
- {\r
- extraPrimitiveOverestimationSizeGranularity = extraPrimitiveOverestimationSizeGranularity_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setPrimitiveUnderestimation( Bool32 primitiveUnderestimation_ )\r
- {\r
- primitiveUnderestimation = primitiveUnderestimation_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setConservativePointAndLineRasterization( Bool32 conservativePointAndLineRasterization_ )\r
- {\r
- conservativePointAndLineRasterization = conservativePointAndLineRasterization_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setDegenerateTrianglesRasterized( Bool32 degenerateTrianglesRasterized_ )\r
- {\r
- degenerateTrianglesRasterized = degenerateTrianglesRasterized_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setDegenerateLinesRasterized( Bool32 degenerateLinesRasterized_ )\r
- {\r
- degenerateLinesRasterized = degenerateLinesRasterized_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setFullyCoveredFragmentShaderInputVariable( Bool32 fullyCoveredFragmentShaderInputVariable_ )\r
- {\r
- fullyCoveredFragmentShaderInputVariable = fullyCoveredFragmentShaderInputVariable_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceConservativeRasterizationPropertiesEXT& setConservativeRasterizationPostDepthCoverage( Bool32 conservativeRasterizationPostDepthCoverage_ )\r
- {\r
- conservativeRasterizationPostDepthCoverage = conservativeRasterizationPostDepthCoverage_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceConservativeRasterizationPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceConservativeRasterizationPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceConservativeRasterizationPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( primitiveOverestimationSize == rhs.primitiveOverestimationSize )\r
- && ( maxExtraPrimitiveOverestimationSize == rhs.maxExtraPrimitiveOverestimationSize )\r
- && ( extraPrimitiveOverestimationSizeGranularity == rhs.extraPrimitiveOverestimationSizeGranularity )\r
- && ( primitiveUnderestimation == rhs.primitiveUnderestimation )\r
- && ( conservativePointAndLineRasterization == rhs.conservativePointAndLineRasterization )\r
- && ( degenerateTrianglesRasterized == rhs.degenerateTrianglesRasterized )\r
- && ( degenerateLinesRasterized == rhs.degenerateLinesRasterized )\r
- && ( fullyCoveredFragmentShaderInputVariable == rhs.fullyCoveredFragmentShaderInputVariable )\r
- && ( conservativeRasterizationPostDepthCoverage == rhs.conservativeRasterizationPostDepthCoverage );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceConservativeRasterizationPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- float primitiveOverestimationSize;\r
- float maxExtraPrimitiveOverestimationSize;\r
- float extraPrimitiveOverestimationSizeGranularity;\r
- Bool32 primitiveUnderestimation;\r
- Bool32 conservativePointAndLineRasterization;\r
- Bool32 degenerateTrianglesRasterized;\r
- Bool32 degenerateLinesRasterized;\r
- Bool32 fullyCoveredFragmentShaderInputVariable;\r
- Bool32 conservativeRasterizationPostDepthCoverage;\r
- };\r
- static_assert( sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) == sizeof( VkPhysicalDeviceConservativeRasterizationPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceShaderCorePropertiesAMD\r
- {\r
- operator const VkPhysicalDeviceShaderCorePropertiesAMD&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceShaderCorePropertiesAMD*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceShaderCorePropertiesAMD const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( shaderEngineCount == rhs.shaderEngineCount )\r
- && ( shaderArraysPerEngineCount == rhs.shaderArraysPerEngineCount )\r
- && ( computeUnitsPerShaderArray == rhs.computeUnitsPerShaderArray )\r
- && ( simdPerComputeUnit == rhs.simdPerComputeUnit )\r
- && ( wavefrontsPerSimd == rhs.wavefrontsPerSimd )\r
- && ( wavefrontSize == rhs.wavefrontSize )\r
- && ( sgprsPerSimd == rhs.sgprsPerSimd )\r
- && ( minSgprAllocation == rhs.minSgprAllocation )\r
- && ( maxSgprAllocation == rhs.maxSgprAllocation )\r
- && ( sgprAllocationGranularity == rhs.sgprAllocationGranularity )\r
- && ( vgprsPerSimd == rhs.vgprsPerSimd )\r
- && ( minVgprAllocation == rhs.minVgprAllocation )\r
- && ( maxVgprAllocation == rhs.maxVgprAllocation )\r
- && ( vgprAllocationGranularity == rhs.vgprAllocationGranularity );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceShaderCorePropertiesAMD const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceShaderCorePropertiesAMD;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t shaderEngineCount;\r
- uint32_t shaderArraysPerEngineCount;\r
- uint32_t computeUnitsPerShaderArray;\r
- uint32_t simdPerComputeUnit;\r
- uint32_t wavefrontsPerSimd;\r
- uint32_t wavefrontSize;\r
- uint32_t sgprsPerSimd;\r
- uint32_t minSgprAllocation;\r
- uint32_t maxSgprAllocation;\r
- uint32_t sgprAllocationGranularity;\r
- uint32_t vgprsPerSimd;\r
- uint32_t minVgprAllocation;\r
- uint32_t maxVgprAllocation;\r
- uint32_t vgprAllocationGranularity;\r
- };\r
- static_assert( sizeof( PhysicalDeviceShaderCorePropertiesAMD ) == sizeof( VkPhysicalDeviceShaderCorePropertiesAMD ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceDescriptorIndexingFeaturesEXT\r
- {\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT( Bool32 shaderInputAttachmentArrayDynamicIndexing_ = 0, Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ = 0, Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ = 0, Bool32 shaderUniformBufferArrayNonUniformIndexing_ = 0, Bool32 shaderSampledImageArrayNonUniformIndexing_ = 0, Bool32 shaderStorageBufferArrayNonUniformIndexing_ = 0, Bool32 shaderStorageImageArrayNonUniformIndexing_ = 0, Bool32 shaderInputAttachmentArrayNonUniformIndexing_ = 0, Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ = 0, Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ = 0, Bool32 descriptorBindingUniformBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingSampledImageUpdateAfterBind_ = 0, Bool32 descriptorBindingStorageImageUpdateAfterBind_ = 0, Bool32 descriptorBindingStorageBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingUpdateUnusedWhilePending_ = 0, Bool32 descriptorBindingPartiallyBound_ = 0, Bool32 descriptorBindingVariableDescriptorCount_ = 0, Bool32 runtimeDescriptorArray_ = 0 )\r
- : shaderInputAttachmentArrayDynamicIndexing( shaderInputAttachmentArrayDynamicIndexing_ )\r
- , shaderUniformTexelBufferArrayDynamicIndexing( shaderUniformTexelBufferArrayDynamicIndexing_ )\r
- , shaderStorageTexelBufferArrayDynamicIndexing( shaderStorageTexelBufferArrayDynamicIndexing_ )\r
- , shaderUniformBufferArrayNonUniformIndexing( shaderUniformBufferArrayNonUniformIndexing_ )\r
- , shaderSampledImageArrayNonUniformIndexing( shaderSampledImageArrayNonUniformIndexing_ )\r
- , shaderStorageBufferArrayNonUniformIndexing( shaderStorageBufferArrayNonUniformIndexing_ )\r
- , shaderStorageImageArrayNonUniformIndexing( shaderStorageImageArrayNonUniformIndexing_ )\r
- , shaderInputAttachmentArrayNonUniformIndexing( shaderInputAttachmentArrayNonUniformIndexing_ )\r
- , shaderUniformTexelBufferArrayNonUniformIndexing( shaderUniformTexelBufferArrayNonUniformIndexing_ )\r
- , shaderStorageTexelBufferArrayNonUniformIndexing( shaderStorageTexelBufferArrayNonUniformIndexing_ )\r
- , descriptorBindingUniformBufferUpdateAfterBind( descriptorBindingUniformBufferUpdateAfterBind_ )\r
- , descriptorBindingSampledImageUpdateAfterBind( descriptorBindingSampledImageUpdateAfterBind_ )\r
- , descriptorBindingStorageImageUpdateAfterBind( descriptorBindingStorageImageUpdateAfterBind_ )\r
- , descriptorBindingStorageBufferUpdateAfterBind( descriptorBindingStorageBufferUpdateAfterBind_ )\r
- , descriptorBindingUniformTexelBufferUpdateAfterBind( descriptorBindingUniformTexelBufferUpdateAfterBind_ )\r
- , descriptorBindingStorageTexelBufferUpdateAfterBind( descriptorBindingStorageTexelBufferUpdateAfterBind_ )\r
- , descriptorBindingUpdateUnusedWhilePending( descriptorBindingUpdateUnusedWhilePending_ )\r
- , descriptorBindingPartiallyBound( descriptorBindingPartiallyBound_ )\r
- , descriptorBindingVariableDescriptorCount( descriptorBindingVariableDescriptorCount_ )\r
- , runtimeDescriptorArray( runtimeDescriptorArray_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT( VkPhysicalDeviceDescriptorIndexingFeaturesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceDescriptorIndexingFeaturesEXT ) );\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& operator=( VkPhysicalDeviceDescriptorIndexingFeaturesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceDescriptorIndexingFeaturesEXT ) );\r
- return *this;\r
- }\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderInputAttachmentArrayDynamicIndexing( Bool32 shaderInputAttachmentArrayDynamicIndexing_ )\r
- {\r
- shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderUniformTexelBufferArrayDynamicIndexing( Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ )\r
- {\r
- shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageTexelBufferArrayDynamicIndexing( Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ )\r
- {\r
- shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderUniformBufferArrayNonUniformIndexing( Bool32 shaderUniformBufferArrayNonUniformIndexing_ )\r
- {\r
- shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderSampledImageArrayNonUniformIndexing( Bool32 shaderSampledImageArrayNonUniformIndexing_ )\r
- {\r
- shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageBufferArrayNonUniformIndexing( Bool32 shaderStorageBufferArrayNonUniformIndexing_ )\r
- {\r
- shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageImageArrayNonUniformIndexing( Bool32 shaderStorageImageArrayNonUniformIndexing_ )\r
- {\r
- shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderInputAttachmentArrayNonUniformIndexing( Bool32 shaderInputAttachmentArrayNonUniformIndexing_ )\r
- {\r
- shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderUniformTexelBufferArrayNonUniformIndexing( Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ )\r
- {\r
- shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageTexelBufferArrayNonUniformIndexing( Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ )\r
- {\r
- shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingUniformBufferUpdateAfterBind( Bool32 descriptorBindingUniformBufferUpdateAfterBind_ )\r
- {\r
- descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingSampledImageUpdateAfterBind( Bool32 descriptorBindingSampledImageUpdateAfterBind_ )\r
- {\r
- descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingStorageImageUpdateAfterBind( Bool32 descriptorBindingStorageImageUpdateAfterBind_ )\r
- {\r
- descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingStorageBufferUpdateAfterBind( Bool32 descriptorBindingStorageBufferUpdateAfterBind_ )\r
- {\r
- descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingUniformTexelBufferUpdateAfterBind( Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ )\r
- {\r
- descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingStorageTexelBufferUpdateAfterBind( Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ )\r
- {\r
- descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingUpdateUnusedWhilePending( Bool32 descriptorBindingUpdateUnusedWhilePending_ )\r
- {\r
- descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingPartiallyBound( Bool32 descriptorBindingPartiallyBound_ )\r
- {\r
- descriptorBindingPartiallyBound = descriptorBindingPartiallyBound_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingVariableDescriptorCount( Bool32 descriptorBindingVariableDescriptorCount_ )\r
- {\r
- descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceDescriptorIndexingFeaturesEXT& setRuntimeDescriptorArray( Bool32 runtimeDescriptorArray_ )\r
- {\r
- runtimeDescriptorArray = runtimeDescriptorArray_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceDescriptorIndexingFeaturesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceDescriptorIndexingFeaturesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceDescriptorIndexingFeaturesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( shaderInputAttachmentArrayDynamicIndexing == rhs.shaderInputAttachmentArrayDynamicIndexing )\r
- && ( shaderUniformTexelBufferArrayDynamicIndexing == rhs.shaderUniformTexelBufferArrayDynamicIndexing )\r
- && ( shaderStorageTexelBufferArrayDynamicIndexing == rhs.shaderStorageTexelBufferArrayDynamicIndexing )\r
- && ( shaderUniformBufferArrayNonUniformIndexing == rhs.shaderUniformBufferArrayNonUniformIndexing )\r
- && ( shaderSampledImageArrayNonUniformIndexing == rhs.shaderSampledImageArrayNonUniformIndexing )\r
- && ( shaderStorageBufferArrayNonUniformIndexing == rhs.shaderStorageBufferArrayNonUniformIndexing )\r
- && ( shaderStorageImageArrayNonUniformIndexing == rhs.shaderStorageImageArrayNonUniformIndexing )\r
- && ( shaderInputAttachmentArrayNonUniformIndexing == rhs.shaderInputAttachmentArrayNonUniformIndexing )\r
- && ( shaderUniformTexelBufferArrayNonUniformIndexing == rhs.shaderUniformTexelBufferArrayNonUniformIndexing )\r
- && ( shaderStorageTexelBufferArrayNonUniformIndexing == rhs.shaderStorageTexelBufferArrayNonUniformIndexing )\r
- && ( descriptorBindingUniformBufferUpdateAfterBind == rhs.descriptorBindingUniformBufferUpdateAfterBind )\r
- && ( descriptorBindingSampledImageUpdateAfterBind == rhs.descriptorBindingSampledImageUpdateAfterBind )\r
- && ( descriptorBindingStorageImageUpdateAfterBind == rhs.descriptorBindingStorageImageUpdateAfterBind )\r
- && ( descriptorBindingStorageBufferUpdateAfterBind == rhs.descriptorBindingStorageBufferUpdateAfterBind )\r
- && ( descriptorBindingUniformTexelBufferUpdateAfterBind == rhs.descriptorBindingUniformTexelBufferUpdateAfterBind )\r
- && ( descriptorBindingStorageTexelBufferUpdateAfterBind == rhs.descriptorBindingStorageTexelBufferUpdateAfterBind )\r
- && ( descriptorBindingUpdateUnusedWhilePending == rhs.descriptorBindingUpdateUnusedWhilePending )\r
- && ( descriptorBindingPartiallyBound == rhs.descriptorBindingPartiallyBound )\r
- && ( descriptorBindingVariableDescriptorCount == rhs.descriptorBindingVariableDescriptorCount )\r
- && ( runtimeDescriptorArray == rhs.runtimeDescriptorArray );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceDescriptorIndexingFeaturesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingFeaturesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Bool32 shaderInputAttachmentArrayDynamicIndexing;\r
- Bool32 shaderUniformTexelBufferArrayDynamicIndexing;\r
- Bool32 shaderStorageTexelBufferArrayDynamicIndexing;\r
- Bool32 shaderUniformBufferArrayNonUniformIndexing;\r
- Bool32 shaderSampledImageArrayNonUniformIndexing;\r
- Bool32 shaderStorageBufferArrayNonUniformIndexing;\r
- Bool32 shaderStorageImageArrayNonUniformIndexing;\r
- Bool32 shaderInputAttachmentArrayNonUniformIndexing;\r
- Bool32 shaderUniformTexelBufferArrayNonUniformIndexing;\r
- Bool32 shaderStorageTexelBufferArrayNonUniformIndexing;\r
- Bool32 descriptorBindingUniformBufferUpdateAfterBind;\r
- Bool32 descriptorBindingSampledImageUpdateAfterBind;\r
- Bool32 descriptorBindingStorageImageUpdateAfterBind;\r
- Bool32 descriptorBindingStorageBufferUpdateAfterBind;\r
- Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind;\r
- Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind;\r
- Bool32 descriptorBindingUpdateUnusedWhilePending;\r
- Bool32 descriptorBindingPartiallyBound;\r
- Bool32 descriptorBindingVariableDescriptorCount;\r
- Bool32 runtimeDescriptorArray;\r
- };\r
- static_assert( sizeof( PhysicalDeviceDescriptorIndexingFeaturesEXT ) == sizeof( VkPhysicalDeviceDescriptorIndexingFeaturesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceDescriptorIndexingPropertiesEXT\r
- {\r
- operator const VkPhysicalDeviceDescriptorIndexingPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceDescriptorIndexingPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceDescriptorIndexingPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxUpdateAfterBindDescriptorsInAllPools == rhs.maxUpdateAfterBindDescriptorsInAllPools )\r
- && ( shaderUniformBufferArrayNonUniformIndexingNative == rhs.shaderUniformBufferArrayNonUniformIndexingNative )\r
- && ( shaderSampledImageArrayNonUniformIndexingNative == rhs.shaderSampledImageArrayNonUniformIndexingNative )\r
- && ( shaderStorageBufferArrayNonUniformIndexingNative == rhs.shaderStorageBufferArrayNonUniformIndexingNative )\r
- && ( shaderStorageImageArrayNonUniformIndexingNative == rhs.shaderStorageImageArrayNonUniformIndexingNative )\r
- && ( shaderInputAttachmentArrayNonUniformIndexingNative == rhs.shaderInputAttachmentArrayNonUniformIndexingNative )\r
- && ( robustBufferAccessUpdateAfterBind == rhs.robustBufferAccessUpdateAfterBind )\r
- && ( quadDivergentImplicitLod == rhs.quadDivergentImplicitLod )\r
- && ( maxPerStageDescriptorUpdateAfterBindSamplers == rhs.maxPerStageDescriptorUpdateAfterBindSamplers )\r
- && ( maxPerStageDescriptorUpdateAfterBindUniformBuffers == rhs.maxPerStageDescriptorUpdateAfterBindUniformBuffers )\r
- && ( maxPerStageDescriptorUpdateAfterBindStorageBuffers == rhs.maxPerStageDescriptorUpdateAfterBindStorageBuffers )\r
- && ( maxPerStageDescriptorUpdateAfterBindSampledImages == rhs.maxPerStageDescriptorUpdateAfterBindSampledImages )\r
- && ( maxPerStageDescriptorUpdateAfterBindStorageImages == rhs.maxPerStageDescriptorUpdateAfterBindStorageImages )\r
- && ( maxPerStageDescriptorUpdateAfterBindInputAttachments == rhs.maxPerStageDescriptorUpdateAfterBindInputAttachments )\r
- && ( maxPerStageUpdateAfterBindResources == rhs.maxPerStageUpdateAfterBindResources )\r
- && ( maxDescriptorSetUpdateAfterBindSamplers == rhs.maxDescriptorSetUpdateAfterBindSamplers )\r
- && ( maxDescriptorSetUpdateAfterBindUniformBuffers == rhs.maxDescriptorSetUpdateAfterBindUniformBuffers )\r
- && ( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic )\r
- && ( maxDescriptorSetUpdateAfterBindStorageBuffers == rhs.maxDescriptorSetUpdateAfterBindStorageBuffers )\r
- && ( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic )\r
- && ( maxDescriptorSetUpdateAfterBindSampledImages == rhs.maxDescriptorSetUpdateAfterBindSampledImages )\r
- && ( maxDescriptorSetUpdateAfterBindStorageImages == rhs.maxDescriptorSetUpdateAfterBindStorageImages )\r
- && ( maxDescriptorSetUpdateAfterBindInputAttachments == rhs.maxDescriptorSetUpdateAfterBindInputAttachments );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceDescriptorIndexingPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t maxUpdateAfterBindDescriptorsInAllPools;\r
- Bool32 shaderUniformBufferArrayNonUniformIndexingNative;\r
- Bool32 shaderSampledImageArrayNonUniformIndexingNative;\r
- Bool32 shaderStorageBufferArrayNonUniformIndexingNative;\r
- Bool32 shaderStorageImageArrayNonUniformIndexingNative;\r
- Bool32 shaderInputAttachmentArrayNonUniformIndexingNative;\r
- Bool32 robustBufferAccessUpdateAfterBind;\r
- Bool32 quadDivergentImplicitLod;\r
- uint32_t maxPerStageDescriptorUpdateAfterBindSamplers;\r
- uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers;\r
- uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers;\r
- uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages;\r
- uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages;\r
- uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments;\r
- uint32_t maxPerStageUpdateAfterBindResources;\r
- uint32_t maxDescriptorSetUpdateAfterBindSamplers;\r
- uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers;\r
- uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;\r
- uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers;\r
- uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;\r
- uint32_t maxDescriptorSetUpdateAfterBindSampledImages;\r
- uint32_t maxDescriptorSetUpdateAfterBindStorageImages;\r
- uint32_t maxDescriptorSetUpdateAfterBindInputAttachments;\r
- };\r
- static_assert( sizeof( PhysicalDeviceDescriptorIndexingPropertiesEXT ) == sizeof( VkPhysicalDeviceDescriptorIndexingPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- struct DescriptorSetVariableDescriptorCountAllocateInfoEXT\r
- {\r
- DescriptorSetVariableDescriptorCountAllocateInfoEXT( uint32_t descriptorSetCount_ = 0, const uint32_t* pDescriptorCounts_ = nullptr )\r
- : descriptorSetCount( descriptorSetCount_ )\r
- , pDescriptorCounts( pDescriptorCounts_ )\r
- {\r
- }\r
-\r
- DescriptorSetVariableDescriptorCountAllocateInfoEXT( VkDescriptorSetVariableDescriptorCountAllocateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetVariableDescriptorCountAllocateInfoEXT ) );\r
- }\r
-\r
- DescriptorSetVariableDescriptorCountAllocateInfoEXT& operator=( VkDescriptorSetVariableDescriptorCountAllocateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetVariableDescriptorCountAllocateInfoEXT ) );\r
- return *this;\r
- }\r
- DescriptorSetVariableDescriptorCountAllocateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetVariableDescriptorCountAllocateInfoEXT& setDescriptorSetCount( uint32_t descriptorSetCount_ )\r
- {\r
- descriptorSetCount = descriptorSetCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetVariableDescriptorCountAllocateInfoEXT& setPDescriptorCounts( const uint32_t* pDescriptorCounts_ )\r
- {\r
- pDescriptorCounts = pDescriptorCounts_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DescriptorSetVariableDescriptorCountAllocateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( descriptorSetCount == rhs.descriptorSetCount )\r
- && ( pDescriptorCounts == rhs.pDescriptorCounts );\r
- }\r
-\r
- bool operator!=( DescriptorSetVariableDescriptorCountAllocateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountAllocateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t descriptorSetCount;\r
- const uint32_t* pDescriptorCounts;\r
- };\r
- static_assert( sizeof( DescriptorSetVariableDescriptorCountAllocateInfoEXT ) == sizeof( VkDescriptorSetVariableDescriptorCountAllocateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct DescriptorSetVariableDescriptorCountLayoutSupportEXT\r
- {\r
- operator const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT*>(this);\r
- }\r
-\r
- bool operator==( DescriptorSetVariableDescriptorCountLayoutSupportEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxVariableDescriptorCount == rhs.maxVariableDescriptorCount );\r
- }\r
-\r
- bool operator!=( DescriptorSetVariableDescriptorCountLayoutSupportEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountLayoutSupportEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t maxVariableDescriptorCount;\r
- };\r
- static_assert( sizeof( DescriptorSetVariableDescriptorCountLayoutSupportEXT ) == sizeof( VkDescriptorSetVariableDescriptorCountLayoutSupportEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineVertexInputDivisorStateCreateInfoEXT\r
- {\r
- PipelineVertexInputDivisorStateCreateInfoEXT( uint32_t vertexBindingDivisorCount_ = 0, const VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors_ = nullptr )\r
- : vertexBindingDivisorCount( vertexBindingDivisorCount_ )\r
- , pVertexBindingDivisors( pVertexBindingDivisors_ )\r
- {\r
- }\r
-\r
- PipelineVertexInputDivisorStateCreateInfoEXT( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) );\r
- }\r
-\r
- PipelineVertexInputDivisorStateCreateInfoEXT& operator=( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) );\r
- return *this;\r
- }\r
- PipelineVertexInputDivisorStateCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineVertexInputDivisorStateCreateInfoEXT& setVertexBindingDivisorCount( uint32_t vertexBindingDivisorCount_ )\r
- {\r
- vertexBindingDivisorCount = vertexBindingDivisorCount_;\r
- return *this;\r
- }\r
-\r
- PipelineVertexInputDivisorStateCreateInfoEXT& setPVertexBindingDivisors( const VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors_ )\r
- {\r
- pVertexBindingDivisors = pVertexBindingDivisors_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineVertexInputDivisorStateCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineVertexInputDivisorStateCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( PipelineVertexInputDivisorStateCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( vertexBindingDivisorCount == rhs.vertexBindingDivisorCount )\r
- && ( pVertexBindingDivisors == rhs.pVertexBindingDivisors );\r
- }\r
-\r
- bool operator!=( PipelineVertexInputDivisorStateCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t vertexBindingDivisorCount;\r
- const VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors;\r
- };\r
- static_assert( sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) == sizeof( VkPipelineVertexInputDivisorStateCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceVertexAttributeDivisorPropertiesEXT\r
- {\r
- PhysicalDeviceVertexAttributeDivisorPropertiesEXT( uint32_t maxVertexAttribDivisor_ = 0 )\r
- : maxVertexAttribDivisor( maxVertexAttribDivisor_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceVertexAttributeDivisorPropertiesEXT( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) );\r
- }\r
-\r
- PhysicalDeviceVertexAttributeDivisorPropertiesEXT& operator=( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) );\r
- return *this;\r
- }\r
- PhysicalDeviceVertexAttributeDivisorPropertiesEXT& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceVertexAttributeDivisorPropertiesEXT& setMaxVertexAttribDivisor( uint32_t maxVertexAttribDivisor_ )\r
- {\r
- maxVertexAttribDivisor = maxVertexAttribDivisor_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( maxVertexAttribDivisor == rhs.maxVertexAttribDivisor );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t maxVertexAttribDivisor;\r
- };\r
- static_assert( sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) == sizeof( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- struct ImportAndroidHardwareBufferInfoANDROID\r
- {\r
- ImportAndroidHardwareBufferInfoANDROID( struct AHardwareBuffer* buffer_ = nullptr )\r
- : buffer( buffer_ )\r
- {\r
- }\r
-\r
- ImportAndroidHardwareBufferInfoANDROID( VkImportAndroidHardwareBufferInfoANDROID const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportAndroidHardwareBufferInfoANDROID ) );\r
- }\r
-\r
- ImportAndroidHardwareBufferInfoANDROID& operator=( VkImportAndroidHardwareBufferInfoANDROID const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportAndroidHardwareBufferInfoANDROID ) );\r
- return *this;\r
- }\r
- ImportAndroidHardwareBufferInfoANDROID& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportAndroidHardwareBufferInfoANDROID& setBuffer( struct AHardwareBuffer* buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportAndroidHardwareBufferInfoANDROID&() const\r
- {\r
- return *reinterpret_cast<const VkImportAndroidHardwareBufferInfoANDROID*>(this);\r
- }\r
-\r
- bool operator==( ImportAndroidHardwareBufferInfoANDROID const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( buffer == rhs.buffer );\r
- }\r
-\r
- bool operator!=( ImportAndroidHardwareBufferInfoANDROID const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportAndroidHardwareBufferInfoANDROID;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- struct AHardwareBuffer* buffer;\r
- };\r
- static_assert( sizeof( ImportAndroidHardwareBufferInfoANDROID ) == sizeof( VkImportAndroidHardwareBufferInfoANDROID ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- struct AndroidHardwareBufferUsageANDROID\r
- {\r
- operator const VkAndroidHardwareBufferUsageANDROID&() const\r
- {\r
- return *reinterpret_cast<const VkAndroidHardwareBufferUsageANDROID*>(this);\r
- }\r
-\r
- bool operator==( AndroidHardwareBufferUsageANDROID const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( androidHardwareBufferUsage == rhs.androidHardwareBufferUsage );\r
- }\r
-\r
- bool operator!=( AndroidHardwareBufferUsageANDROID const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eAndroidHardwareBufferUsageANDROID;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint64_t androidHardwareBufferUsage;\r
- };\r
- static_assert( sizeof( AndroidHardwareBufferUsageANDROID ) == sizeof( VkAndroidHardwareBufferUsageANDROID ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- struct AndroidHardwareBufferPropertiesANDROID\r
- {\r
- operator const VkAndroidHardwareBufferPropertiesANDROID&() const\r
- {\r
- return *reinterpret_cast<const VkAndroidHardwareBufferPropertiesANDROID*>(this);\r
- }\r
-\r
- bool operator==( AndroidHardwareBufferPropertiesANDROID const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( allocationSize == rhs.allocationSize )\r
- && ( memoryTypeBits == rhs.memoryTypeBits );\r
- }\r
-\r
- bool operator!=( AndroidHardwareBufferPropertiesANDROID const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eAndroidHardwareBufferPropertiesANDROID;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- DeviceSize allocationSize;\r
- uint32_t memoryTypeBits;\r
- };\r
- static_assert( sizeof( AndroidHardwareBufferPropertiesANDROID ) == sizeof( VkAndroidHardwareBufferPropertiesANDROID ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- struct MemoryGetAndroidHardwareBufferInfoANDROID\r
- {\r
- MemoryGetAndroidHardwareBufferInfoANDROID( DeviceMemory memory_ = DeviceMemory() )\r
- : memory( memory_ )\r
- {\r
- }\r
-\r
- MemoryGetAndroidHardwareBufferInfoANDROID( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) );\r
- }\r
-\r
- MemoryGetAndroidHardwareBufferInfoANDROID& operator=( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) );\r
- return *this;\r
- }\r
- MemoryGetAndroidHardwareBufferInfoANDROID& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryGetAndroidHardwareBufferInfoANDROID& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryGetAndroidHardwareBufferInfoANDROID&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryGetAndroidHardwareBufferInfoANDROID*>(this);\r
- }\r
-\r
- bool operator==( MemoryGetAndroidHardwareBufferInfoANDROID const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memory == rhs.memory );\r
- }\r
-\r
- bool operator!=( MemoryGetAndroidHardwareBufferInfoANDROID const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceMemory memory;\r
- };\r
- static_assert( sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) == sizeof( VkMemoryGetAndroidHardwareBufferInfoANDROID ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- struct ExternalFormatANDROID\r
- {\r
- ExternalFormatANDROID( uint64_t externalFormat_ = 0 )\r
- : externalFormat( externalFormat_ )\r
- {\r
- }\r
-\r
- ExternalFormatANDROID( VkExternalFormatANDROID const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalFormatANDROID ) );\r
- }\r
-\r
- ExternalFormatANDROID& operator=( VkExternalFormatANDROID const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalFormatANDROID ) );\r
- return *this;\r
- }\r
- ExternalFormatANDROID& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExternalFormatANDROID& setExternalFormat( uint64_t externalFormat_ )\r
- {\r
- externalFormat = externalFormat_;\r
- return *this;\r
- }\r
-\r
- operator const VkExternalFormatANDROID&() const\r
- {\r
- return *reinterpret_cast<const VkExternalFormatANDROID*>(this);\r
- }\r
-\r
- bool operator==( ExternalFormatANDROID const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( externalFormat == rhs.externalFormat );\r
- }\r
-\r
- bool operator!=( ExternalFormatANDROID const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalFormatANDROID;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint64_t externalFormat;\r
- };\r
- static_assert( sizeof( ExternalFormatANDROID ) == sizeof( VkExternalFormatANDROID ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
- enum class SubpassContents\r
- {\r
- eInline = VK_SUBPASS_CONTENTS_INLINE,\r
- eSecondaryCommandBuffers = VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS\r
- };\r
-\r
- struct PresentInfoKHR\r
- {\r
- PresentInfoKHR( uint32_t waitSemaphoreCount_ = 0, const Semaphore* pWaitSemaphores_ = nullptr, uint32_t swapchainCount_ = 0, const SwapchainKHR* pSwapchains_ = nullptr, const uint32_t* pImageIndices_ = nullptr, Result* pResults_ = nullptr )\r
- : waitSemaphoreCount( waitSemaphoreCount_ )\r
- , pWaitSemaphores( pWaitSemaphores_ )\r
- , swapchainCount( swapchainCount_ )\r
- , pSwapchains( pSwapchains_ )\r
- , pImageIndices( pImageIndices_ )\r
- , pResults( pResults_ )\r
- {\r
- }\r
-\r
- PresentInfoKHR( VkPresentInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentInfoKHR ) );\r
- }\r
-\r
- PresentInfoKHR& operator=( VkPresentInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PresentInfoKHR ) );\r
- return *this;\r
- }\r
- PresentInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PresentInfoKHR& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )\r
- {\r
- waitSemaphoreCount = waitSemaphoreCount_;\r
- return *this;\r
- }\r
-\r
- PresentInfoKHR& setPWaitSemaphores( const Semaphore* pWaitSemaphores_ )\r
- {\r
- pWaitSemaphores = pWaitSemaphores_;\r
- return *this;\r
- }\r
-\r
- PresentInfoKHR& setSwapchainCount( uint32_t swapchainCount_ )\r
- {\r
- swapchainCount = swapchainCount_;\r
- return *this;\r
- }\r
-\r
- PresentInfoKHR& setPSwapchains( const SwapchainKHR* pSwapchains_ )\r
- {\r
- pSwapchains = pSwapchains_;\r
- return *this;\r
- }\r
-\r
- PresentInfoKHR& setPImageIndices( const uint32_t* pImageIndices_ )\r
- {\r
- pImageIndices = pImageIndices_;\r
- return *this;\r
- }\r
-\r
- PresentInfoKHR& setPResults( Result* pResults_ )\r
- {\r
- pResults = pResults_;\r
- return *this;\r
- }\r
-\r
- operator const VkPresentInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkPresentInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( PresentInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( waitSemaphoreCount == rhs.waitSemaphoreCount )\r
- && ( pWaitSemaphores == rhs.pWaitSemaphores )\r
- && ( swapchainCount == rhs.swapchainCount )\r
- && ( pSwapchains == rhs.pSwapchains )\r
- && ( pImageIndices == rhs.pImageIndices )\r
- && ( pResults == rhs.pResults );\r
- }\r
-\r
- bool operator!=( PresentInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePresentInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t waitSemaphoreCount;\r
- const Semaphore* pWaitSemaphores;\r
- uint32_t swapchainCount;\r
- const SwapchainKHR* pSwapchains;\r
- const uint32_t* pImageIndices;\r
- Result* pResults;\r
- };\r
- static_assert( sizeof( PresentInfoKHR ) == sizeof( VkPresentInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class DynamicState\r
- {\r
- eViewport = VK_DYNAMIC_STATE_VIEWPORT,\r
- eScissor = VK_DYNAMIC_STATE_SCISSOR,\r
- eLineWidth = VK_DYNAMIC_STATE_LINE_WIDTH,\r
- eDepthBias = VK_DYNAMIC_STATE_DEPTH_BIAS,\r
- eBlendConstants = VK_DYNAMIC_STATE_BLEND_CONSTANTS,\r
- eDepthBounds = VK_DYNAMIC_STATE_DEPTH_BOUNDS,\r
- eStencilCompareMask = VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK,\r
- eStencilWriteMask = VK_DYNAMIC_STATE_STENCIL_WRITE_MASK,\r
- eStencilReference = VK_DYNAMIC_STATE_STENCIL_REFERENCE,\r
- eViewportWScalingNV = VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV,\r
- eDiscardRectangleEXT = VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT,\r
- eSampleLocationsEXT = VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT\r
- };\r
-\r
- struct PipelineDynamicStateCreateInfo\r
- {\r
- PipelineDynamicStateCreateInfo( PipelineDynamicStateCreateFlags flags_ = PipelineDynamicStateCreateFlags(), uint32_t dynamicStateCount_ = 0, const DynamicState* pDynamicStates_ = nullptr )\r
- : flags( flags_ )\r
- , dynamicStateCount( dynamicStateCount_ )\r
- , pDynamicStates( pDynamicStates_ )\r
- {\r
- }\r
-\r
- PipelineDynamicStateCreateInfo( VkPipelineDynamicStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineDynamicStateCreateInfo ) );\r
- }\r
-\r
- PipelineDynamicStateCreateInfo& operator=( VkPipelineDynamicStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineDynamicStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineDynamicStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineDynamicStateCreateInfo& setFlags( PipelineDynamicStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineDynamicStateCreateInfo& setDynamicStateCount( uint32_t dynamicStateCount_ )\r
- {\r
- dynamicStateCount = dynamicStateCount_;\r
- return *this;\r
- }\r
-\r
- PipelineDynamicStateCreateInfo& setPDynamicStates( const DynamicState* pDynamicStates_ )\r
- {\r
- pDynamicStates = pDynamicStates_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineDynamicStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineDynamicStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineDynamicStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( dynamicStateCount == rhs.dynamicStateCount )\r
- && ( pDynamicStates == rhs.pDynamicStates );\r
- }\r
-\r
- bool operator!=( PipelineDynamicStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineDynamicStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineDynamicStateCreateFlags flags;\r
- uint32_t dynamicStateCount;\r
- const DynamicState* pDynamicStates;\r
- };\r
- static_assert( sizeof( PipelineDynamicStateCreateInfo ) == sizeof( VkPipelineDynamicStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class DescriptorUpdateTemplateType\r
- {\r
- eDescriptorSet = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET,\r
- eDescriptorSetKHR = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET,\r
- ePushDescriptorsKHR = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR\r
- };\r
-\r
- struct DescriptorUpdateTemplateCreateInfo\r
- {\r
- DescriptorUpdateTemplateCreateInfo( DescriptorUpdateTemplateCreateFlags flags_ = DescriptorUpdateTemplateCreateFlags(), uint32_t descriptorUpdateEntryCount_ = 0, const DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries_ = nullptr, DescriptorUpdateTemplateType templateType_ = DescriptorUpdateTemplateType::eDescriptorSet, DescriptorSetLayout descriptorSetLayout_ = DescriptorSetLayout(), PipelineBindPoint pipelineBindPoint_ = PipelineBindPoint::eGraphics, PipelineLayout pipelineLayout_ = PipelineLayout(), uint32_t set_ = 0 )\r
- : flags( flags_ )\r
- , descriptorUpdateEntryCount( descriptorUpdateEntryCount_ )\r
- , pDescriptorUpdateEntries( pDescriptorUpdateEntries_ )\r
- , templateType( templateType_ )\r
- , descriptorSetLayout( descriptorSetLayout_ )\r
- , pipelineBindPoint( pipelineBindPoint_ )\r
- , pipelineLayout( pipelineLayout_ )\r
- , set( set_ )\r
- {\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo( VkDescriptorUpdateTemplateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateCreateInfo ) );\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& operator=( VkDescriptorUpdateTemplateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateCreateInfo ) );\r
- return *this;\r
- }\r
- DescriptorUpdateTemplateCreateInfo& setPNext( void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setFlags( DescriptorUpdateTemplateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setDescriptorUpdateEntryCount( uint32_t descriptorUpdateEntryCount_ )\r
- {\r
- descriptorUpdateEntryCount = descriptorUpdateEntryCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setPDescriptorUpdateEntries( const DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries_ )\r
- {\r
- pDescriptorUpdateEntries = pDescriptorUpdateEntries_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setTemplateType( DescriptorUpdateTemplateType templateType_ )\r
- {\r
- templateType = templateType_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout_ )\r
- {\r
- descriptorSetLayout = descriptorSetLayout_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setPipelineBindPoint( PipelineBindPoint pipelineBindPoint_ )\r
- {\r
- pipelineBindPoint = pipelineBindPoint_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setPipelineLayout( PipelineLayout pipelineLayout_ )\r
- {\r
- pipelineLayout = pipelineLayout_;\r
- return *this;\r
- }\r
-\r
- DescriptorUpdateTemplateCreateInfo& setSet( uint32_t set_ )\r
- {\r
- set = set_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorUpdateTemplateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( DescriptorUpdateTemplateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( descriptorUpdateEntryCount == rhs.descriptorUpdateEntryCount )\r
- && ( pDescriptorUpdateEntries == rhs.pDescriptorUpdateEntries )\r
- && ( templateType == rhs.templateType )\r
- && ( descriptorSetLayout == rhs.descriptorSetLayout )\r
- && ( pipelineBindPoint == rhs.pipelineBindPoint )\r
- && ( pipelineLayout == rhs.pipelineLayout )\r
- && ( set == rhs.set );\r
- }\r
-\r
- bool operator!=( DescriptorUpdateTemplateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorUpdateTemplateCreateInfo;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- DescriptorUpdateTemplateCreateFlags flags;\r
- uint32_t descriptorUpdateEntryCount;\r
- const DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries;\r
- DescriptorUpdateTemplateType templateType;\r
- DescriptorSetLayout descriptorSetLayout;\r
- PipelineBindPoint pipelineBindPoint;\r
- PipelineLayout pipelineLayout;\r
- uint32_t set;\r
- };\r
- static_assert( sizeof( DescriptorUpdateTemplateCreateInfo ) == sizeof( VkDescriptorUpdateTemplateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using DescriptorUpdateTemplateCreateInfoKHR = DescriptorUpdateTemplateCreateInfo;\r
-\r
- enum class ObjectType\r
- {\r
- eUnknown = VK_OBJECT_TYPE_UNKNOWN,\r
- eInstance = VK_OBJECT_TYPE_INSTANCE,\r
- ePhysicalDevice = VK_OBJECT_TYPE_PHYSICAL_DEVICE,\r
- eDevice = VK_OBJECT_TYPE_DEVICE,\r
- eQueue = VK_OBJECT_TYPE_QUEUE,\r
- eSemaphore = VK_OBJECT_TYPE_SEMAPHORE,\r
- eCommandBuffer = VK_OBJECT_TYPE_COMMAND_BUFFER,\r
- eFence = VK_OBJECT_TYPE_FENCE,\r
- eDeviceMemory = VK_OBJECT_TYPE_DEVICE_MEMORY,\r
- eBuffer = VK_OBJECT_TYPE_BUFFER,\r
- eImage = VK_OBJECT_TYPE_IMAGE,\r
- eEvent = VK_OBJECT_TYPE_EVENT,\r
- eQueryPool = VK_OBJECT_TYPE_QUERY_POOL,\r
- eBufferView = VK_OBJECT_TYPE_BUFFER_VIEW,\r
- eImageView = VK_OBJECT_TYPE_IMAGE_VIEW,\r
- eShaderModule = VK_OBJECT_TYPE_SHADER_MODULE,\r
- ePipelineCache = VK_OBJECT_TYPE_PIPELINE_CACHE,\r
- ePipelineLayout = VK_OBJECT_TYPE_PIPELINE_LAYOUT,\r
- eRenderPass = VK_OBJECT_TYPE_RENDER_PASS,\r
- ePipeline = VK_OBJECT_TYPE_PIPELINE,\r
- eDescriptorSetLayout = VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT,\r
- eSampler = VK_OBJECT_TYPE_SAMPLER,\r
- eDescriptorPool = VK_OBJECT_TYPE_DESCRIPTOR_POOL,\r
- eDescriptorSet = VK_OBJECT_TYPE_DESCRIPTOR_SET,\r
- eFramebuffer = VK_OBJECT_TYPE_FRAMEBUFFER,\r
- eCommandPool = VK_OBJECT_TYPE_COMMAND_POOL,\r
- eSamplerYcbcrConversion = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION,\r
- eSamplerYcbcrConversionKHR = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION,\r
- eDescriptorUpdateTemplate = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE,\r
- eDescriptorUpdateTemplateKHR = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE,\r
- eSurfaceKHR = VK_OBJECT_TYPE_SURFACE_KHR,\r
- eSwapchainKHR = VK_OBJECT_TYPE_SWAPCHAIN_KHR,\r
- eDisplayKHR = VK_OBJECT_TYPE_DISPLAY_KHR,\r
- eDisplayModeKHR = VK_OBJECT_TYPE_DISPLAY_MODE_KHR,\r
- eDebugReportCallbackEXT = VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT,\r
- eObjectTableNVX = VK_OBJECT_TYPE_OBJECT_TABLE_NVX,\r
- eIndirectCommandsLayoutNVX = VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX,\r
- eDebugUtilsMessengerEXT = VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT,\r
- eValidationCacheEXT = VK_OBJECT_TYPE_VALIDATION_CACHE_EXT\r
- };\r
-\r
- struct DebugUtilsObjectNameInfoEXT\r
- {\r
- DebugUtilsObjectNameInfoEXT( ObjectType objectType_ = ObjectType::eUnknown, uint64_t objectHandle_ = 0, const char* pObjectName_ = nullptr )\r
- : objectType( objectType_ )\r
- , objectHandle( objectHandle_ )\r
- , pObjectName( pObjectName_ )\r
- {\r
- }\r
-\r
- DebugUtilsObjectNameInfoEXT( VkDebugUtilsObjectNameInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsObjectNameInfoEXT ) );\r
- }\r
-\r
- DebugUtilsObjectNameInfoEXT& operator=( VkDebugUtilsObjectNameInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsObjectNameInfoEXT ) );\r
- return *this;\r
- }\r
- DebugUtilsObjectNameInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectNameInfoEXT& setObjectType( ObjectType objectType_ )\r
- {\r
- objectType = objectType_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectNameInfoEXT& setObjectHandle( uint64_t objectHandle_ )\r
- {\r
- objectHandle = objectHandle_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectNameInfoEXT& setPObjectName( const char* pObjectName_ )\r
- {\r
- pObjectName = pObjectName_;\r
- return *this;\r
- }\r
-\r
- operator const VkDebugUtilsObjectNameInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugUtilsObjectNameInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugUtilsObjectNameInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( objectType == rhs.objectType )\r
- && ( objectHandle == rhs.objectHandle )\r
- && ( pObjectName == rhs.pObjectName );\r
- }\r
-\r
- bool operator!=( DebugUtilsObjectNameInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugUtilsObjectNameInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ObjectType objectType;\r
- uint64_t objectHandle;\r
- const char* pObjectName;\r
- };\r
- static_assert( sizeof( DebugUtilsObjectNameInfoEXT ) == sizeof( VkDebugUtilsObjectNameInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct DebugUtilsObjectTagInfoEXT\r
- {\r
- DebugUtilsObjectTagInfoEXT( ObjectType objectType_ = ObjectType::eUnknown, uint64_t objectHandle_ = 0, uint64_t tagName_ = 0, size_t tagSize_ = 0, const void* pTag_ = nullptr )\r
- : objectType( objectType_ )\r
- , objectHandle( objectHandle_ )\r
- , tagName( tagName_ )\r
- , tagSize( tagSize_ )\r
- , pTag( pTag_ )\r
- {\r
- }\r
-\r
- DebugUtilsObjectTagInfoEXT( VkDebugUtilsObjectTagInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsObjectTagInfoEXT ) );\r
- }\r
-\r
- DebugUtilsObjectTagInfoEXT& operator=( VkDebugUtilsObjectTagInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsObjectTagInfoEXT ) );\r
- return *this;\r
- }\r
- DebugUtilsObjectTagInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectTagInfoEXT& setObjectType( ObjectType objectType_ )\r
- {\r
- objectType = objectType_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectTagInfoEXT& setObjectHandle( uint64_t objectHandle_ )\r
- {\r
- objectHandle = objectHandle_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectTagInfoEXT& setTagName( uint64_t tagName_ )\r
- {\r
- tagName = tagName_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectTagInfoEXT& setTagSize( size_t tagSize_ )\r
- {\r
- tagSize = tagSize_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsObjectTagInfoEXT& setPTag( const void* pTag_ )\r
- {\r
- pTag = pTag_;\r
- return *this;\r
- }\r
-\r
- operator const VkDebugUtilsObjectTagInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugUtilsObjectTagInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugUtilsObjectTagInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( objectType == rhs.objectType )\r
- && ( objectHandle == rhs.objectHandle )\r
- && ( tagName == rhs.tagName )\r
- && ( tagSize == rhs.tagSize )\r
- && ( pTag == rhs.pTag );\r
- }\r
-\r
- bool operator!=( DebugUtilsObjectTagInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugUtilsObjectTagInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ObjectType objectType;\r
- uint64_t objectHandle;\r
- uint64_t tagName;\r
- size_t tagSize;\r
- const void* pTag;\r
- };\r
- static_assert( sizeof( DebugUtilsObjectTagInfoEXT ) == sizeof( VkDebugUtilsObjectTagInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct DebugUtilsMessengerCallbackDataEXT\r
- {\r
- DebugUtilsMessengerCallbackDataEXT( DebugUtilsMessengerCallbackDataFlagsEXT flags_ = DebugUtilsMessengerCallbackDataFlagsEXT(), const char* pMessageIdName_ = nullptr, int32_t messageIdNumber_ = 0, const char* pMessage_ = nullptr, uint32_t queueLabelCount_ = 0, DebugUtilsLabelEXT* pQueueLabels_ = nullptr, uint32_t cmdBufLabelCount_ = 0, DebugUtilsLabelEXT* pCmdBufLabels_ = nullptr, uint32_t objectCount_ = 0, DebugUtilsObjectNameInfoEXT* pObjects_ = nullptr )\r
- : flags( flags_ )\r
- , pMessageIdName( pMessageIdName_ )\r
- , messageIdNumber( messageIdNumber_ )\r
- , pMessage( pMessage_ )\r
- , queueLabelCount( queueLabelCount_ )\r
- , pQueueLabels( pQueueLabels_ )\r
- , cmdBufLabelCount( cmdBufLabelCount_ )\r
- , pCmdBufLabels( pCmdBufLabels_ )\r
- , objectCount( objectCount_ )\r
- , pObjects( pObjects_ )\r
- {\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT( VkDebugUtilsMessengerCallbackDataEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsMessengerCallbackDataEXT ) );\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& operator=( VkDebugUtilsMessengerCallbackDataEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsMessengerCallbackDataEXT ) );\r
- return *this;\r
- }\r
- DebugUtilsMessengerCallbackDataEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setFlags( DebugUtilsMessengerCallbackDataFlagsEXT flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setPMessageIdName( const char* pMessageIdName_ )\r
- {\r
- pMessageIdName = pMessageIdName_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setMessageIdNumber( int32_t messageIdNumber_ )\r
- {\r
- messageIdNumber = messageIdNumber_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setPMessage( const char* pMessage_ )\r
- {\r
- pMessage = pMessage_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setQueueLabelCount( uint32_t queueLabelCount_ )\r
- {\r
- queueLabelCount = queueLabelCount_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setPQueueLabels( DebugUtilsLabelEXT* pQueueLabels_ )\r
- {\r
- pQueueLabels = pQueueLabels_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setCmdBufLabelCount( uint32_t cmdBufLabelCount_ )\r
- {\r
- cmdBufLabelCount = cmdBufLabelCount_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setPCmdBufLabels( DebugUtilsLabelEXT* pCmdBufLabels_ )\r
- {\r
- pCmdBufLabels = pCmdBufLabels_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setObjectCount( uint32_t objectCount_ )\r
- {\r
- objectCount = objectCount_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCallbackDataEXT& setPObjects( DebugUtilsObjectNameInfoEXT* pObjects_ )\r
- {\r
- pObjects = pObjects_;\r
- return *this;\r
- }\r
-\r
- operator const VkDebugUtilsMessengerCallbackDataEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugUtilsMessengerCallbackDataEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( pMessageIdName == rhs.pMessageIdName )\r
- && ( messageIdNumber == rhs.messageIdNumber )\r
- && ( pMessage == rhs.pMessage )\r
- && ( queueLabelCount == rhs.queueLabelCount )\r
- && ( pQueueLabels == rhs.pQueueLabels )\r
- && ( cmdBufLabelCount == rhs.cmdBufLabelCount )\r
- && ( pCmdBufLabels == rhs.pCmdBufLabels )\r
- && ( objectCount == rhs.objectCount )\r
- && ( pObjects == rhs.pObjects );\r
- }\r
-\r
- bool operator!=( DebugUtilsMessengerCallbackDataEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugUtilsMessengerCallbackDataEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DebugUtilsMessengerCallbackDataFlagsEXT flags;\r
- const char* pMessageIdName;\r
- int32_t messageIdNumber;\r
- const char* pMessage;\r
- uint32_t queueLabelCount;\r
- DebugUtilsLabelEXT* pQueueLabels;\r
- uint32_t cmdBufLabelCount;\r
- DebugUtilsLabelEXT* pCmdBufLabels;\r
- uint32_t objectCount;\r
- DebugUtilsObjectNameInfoEXT* pObjects;\r
- };\r
- static_assert( sizeof( DebugUtilsMessengerCallbackDataEXT ) == sizeof( VkDebugUtilsMessengerCallbackDataEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class QueueFlagBits\r
- {\r
- eGraphics = VK_QUEUE_GRAPHICS_BIT,\r
- eCompute = VK_QUEUE_COMPUTE_BIT,\r
- eTransfer = VK_QUEUE_TRANSFER_BIT,\r
- eSparseBinding = VK_QUEUE_SPARSE_BINDING_BIT,\r
- eProtected = VK_QUEUE_PROTECTED_BIT\r
- };\r
-\r
- using QueueFlags = Flags<QueueFlagBits, VkQueueFlags>;\r
-\r
- VULKAN_HPP_INLINE QueueFlags operator|( QueueFlagBits bit0, QueueFlagBits bit1 )\r
- {\r
- return QueueFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE QueueFlags operator~( QueueFlagBits bits )\r
- {\r
- return ~( QueueFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<QueueFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(QueueFlagBits::eGraphics) | VkFlags(QueueFlagBits::eCompute) | VkFlags(QueueFlagBits::eTransfer) | VkFlags(QueueFlagBits::eSparseBinding) | VkFlags(QueueFlagBits::eProtected)\r
- };\r
- };\r
-\r
- struct QueueFamilyProperties\r
- {\r
- operator const VkQueueFamilyProperties&() const\r
- {\r
- return *reinterpret_cast<const VkQueueFamilyProperties*>(this);\r
- }\r
-\r
- bool operator==( QueueFamilyProperties const& rhs ) const\r
- {\r
- return ( queueFlags == rhs.queueFlags )\r
- && ( queueCount == rhs.queueCount )\r
- && ( timestampValidBits == rhs.timestampValidBits )\r
- && ( minImageTransferGranularity == rhs.minImageTransferGranularity );\r
- }\r
-\r
- bool operator!=( QueueFamilyProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- QueueFlags queueFlags;\r
- uint32_t queueCount;\r
- uint32_t timestampValidBits;\r
- Extent3D minImageTransferGranularity;\r
- };\r
- static_assert( sizeof( QueueFamilyProperties ) == sizeof( VkQueueFamilyProperties ), "struct and wrapper have different size!" );\r
-\r
- struct QueueFamilyProperties2\r
- {\r
- operator const VkQueueFamilyProperties2&() const\r
- {\r
- return *reinterpret_cast<const VkQueueFamilyProperties2*>(this);\r
- }\r
-\r
- bool operator==( QueueFamilyProperties2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( queueFamilyProperties == rhs.queueFamilyProperties );\r
- }\r
-\r
- bool operator!=( QueueFamilyProperties2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eQueueFamilyProperties2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- QueueFamilyProperties queueFamilyProperties;\r
- };\r
- static_assert( sizeof( QueueFamilyProperties2 ) == sizeof( VkQueueFamilyProperties2 ), "struct and wrapper have different size!" );\r
-\r
- using QueueFamilyProperties2KHR = QueueFamilyProperties2;\r
-\r
- enum class DeviceQueueCreateFlagBits\r
- {\r
- eProtected = VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT\r
- };\r
-\r
- using DeviceQueueCreateFlags = Flags<DeviceQueueCreateFlagBits, VkDeviceQueueCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE DeviceQueueCreateFlags operator|( DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1 )\r
- {\r
- return DeviceQueueCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DeviceQueueCreateFlags operator~( DeviceQueueCreateFlagBits bits )\r
- {\r
- return ~( DeviceQueueCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DeviceQueueCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DeviceQueueCreateFlagBits::eProtected)\r
- };\r
- };\r
-\r
- struct DeviceQueueCreateInfo\r
- {\r
- DeviceQueueCreateInfo( DeviceQueueCreateFlags flags_ = DeviceQueueCreateFlags(), uint32_t queueFamilyIndex_ = 0, uint32_t queueCount_ = 0, const float* pQueuePriorities_ = nullptr )\r
- : flags( flags_ )\r
- , queueFamilyIndex( queueFamilyIndex_ )\r
- , queueCount( queueCount_ )\r
- , pQueuePriorities( pQueuePriorities_ )\r
- {\r
- }\r
-\r
- DeviceQueueCreateInfo( VkDeviceQueueCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceQueueCreateInfo ) );\r
- }\r
-\r
- DeviceQueueCreateInfo& operator=( VkDeviceQueueCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceQueueCreateInfo ) );\r
- return *this;\r
- }\r
- DeviceQueueCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueCreateInfo& setFlags( DeviceQueueCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueCreateInfo& setQueueFamilyIndex( uint32_t queueFamilyIndex_ )\r
- {\r
- queueFamilyIndex = queueFamilyIndex_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueCreateInfo& setQueueCount( uint32_t queueCount_ )\r
- {\r
- queueCount = queueCount_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueCreateInfo& setPQueuePriorities( const float* pQueuePriorities_ )\r
- {\r
- pQueuePriorities = pQueuePriorities_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceQueueCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceQueueCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( DeviceQueueCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( queueFamilyIndex == rhs.queueFamilyIndex )\r
- && ( queueCount == rhs.queueCount )\r
- && ( pQueuePriorities == rhs.pQueuePriorities );\r
- }\r
-\r
- bool operator!=( DeviceQueueCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceQueueCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceQueueCreateFlags flags;\r
- uint32_t queueFamilyIndex;\r
- uint32_t queueCount;\r
- const float* pQueuePriorities;\r
- };\r
- static_assert( sizeof( DeviceQueueCreateInfo ) == sizeof( VkDeviceQueueCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct DeviceCreateInfo\r
- {\r
- DeviceCreateInfo( DeviceCreateFlags flags_ = DeviceCreateFlags(), uint32_t queueCreateInfoCount_ = 0, const DeviceQueueCreateInfo* pQueueCreateInfos_ = nullptr, uint32_t enabledLayerCount_ = 0, const char* const* ppEnabledLayerNames_ = nullptr, uint32_t enabledExtensionCount_ = 0, const char* const* ppEnabledExtensionNames_ = nullptr, const PhysicalDeviceFeatures* pEnabledFeatures_ = nullptr )\r
- : flags( flags_ )\r
- , queueCreateInfoCount( queueCreateInfoCount_ )\r
- , pQueueCreateInfos( pQueueCreateInfos_ )\r
- , enabledLayerCount( enabledLayerCount_ )\r
- , ppEnabledLayerNames( ppEnabledLayerNames_ )\r
- , enabledExtensionCount( enabledExtensionCount_ )\r
- , ppEnabledExtensionNames( ppEnabledExtensionNames_ )\r
- , pEnabledFeatures( pEnabledFeatures_ )\r
- {\r
- }\r
-\r
- DeviceCreateInfo( VkDeviceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceCreateInfo ) );\r
- }\r
-\r
- DeviceCreateInfo& operator=( VkDeviceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceCreateInfo ) );\r
- return *this;\r
- }\r
- DeviceCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setFlags( DeviceCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setQueueCreateInfoCount( uint32_t queueCreateInfoCount_ )\r
- {\r
- queueCreateInfoCount = queueCreateInfoCount_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setPQueueCreateInfos( const DeviceQueueCreateInfo* pQueueCreateInfos_ )\r
- {\r
- pQueueCreateInfos = pQueueCreateInfos_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setEnabledLayerCount( uint32_t enabledLayerCount_ )\r
- {\r
- enabledLayerCount = enabledLayerCount_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setPpEnabledLayerNames( const char* const* ppEnabledLayerNames_ )\r
- {\r
- ppEnabledLayerNames = ppEnabledLayerNames_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setEnabledExtensionCount( uint32_t enabledExtensionCount_ )\r
- {\r
- enabledExtensionCount = enabledExtensionCount_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setPpEnabledExtensionNames( const char* const* ppEnabledExtensionNames_ )\r
- {\r
- ppEnabledExtensionNames = ppEnabledExtensionNames_;\r
- return *this;\r
- }\r
-\r
- DeviceCreateInfo& setPEnabledFeatures( const PhysicalDeviceFeatures* pEnabledFeatures_ )\r
- {\r
- pEnabledFeatures = pEnabledFeatures_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( DeviceCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( queueCreateInfoCount == rhs.queueCreateInfoCount )\r
- && ( pQueueCreateInfos == rhs.pQueueCreateInfos )\r
- && ( enabledLayerCount == rhs.enabledLayerCount )\r
- && ( ppEnabledLayerNames == rhs.ppEnabledLayerNames )\r
- && ( enabledExtensionCount == rhs.enabledExtensionCount )\r
- && ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames )\r
- && ( pEnabledFeatures == rhs.pEnabledFeatures );\r
- }\r
-\r
- bool operator!=( DeviceCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceCreateFlags flags;\r
- uint32_t queueCreateInfoCount;\r
- const DeviceQueueCreateInfo* pQueueCreateInfos;\r
- uint32_t enabledLayerCount;\r
- const char* const* ppEnabledLayerNames;\r
- uint32_t enabledExtensionCount;\r
- const char* const* ppEnabledExtensionNames;\r
- const PhysicalDeviceFeatures* pEnabledFeatures;\r
- };\r
- static_assert( sizeof( DeviceCreateInfo ) == sizeof( VkDeviceCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct DeviceQueueInfo2\r
- {\r
- DeviceQueueInfo2( DeviceQueueCreateFlags flags_ = DeviceQueueCreateFlags(), uint32_t queueFamilyIndex_ = 0, uint32_t queueIndex_ = 0 )\r
- : flags( flags_ )\r
- , queueFamilyIndex( queueFamilyIndex_ )\r
- , queueIndex( queueIndex_ )\r
- {\r
- }\r
-\r
- DeviceQueueInfo2( VkDeviceQueueInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceQueueInfo2 ) );\r
- }\r
-\r
- DeviceQueueInfo2& operator=( VkDeviceQueueInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceQueueInfo2 ) );\r
- return *this;\r
- }\r
- DeviceQueueInfo2& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueInfo2& setFlags( DeviceQueueCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueInfo2& setQueueFamilyIndex( uint32_t queueFamilyIndex_ )\r
- {\r
- queueFamilyIndex = queueFamilyIndex_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueInfo2& setQueueIndex( uint32_t queueIndex_ )\r
- {\r
- queueIndex = queueIndex_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceQueueInfo2&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceQueueInfo2*>(this);\r
- }\r
-\r
- bool operator==( DeviceQueueInfo2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( queueFamilyIndex == rhs.queueFamilyIndex )\r
- && ( queueIndex == rhs.queueIndex );\r
- }\r
-\r
- bool operator!=( DeviceQueueInfo2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceQueueInfo2;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceQueueCreateFlags flags;\r
- uint32_t queueFamilyIndex;\r
- uint32_t queueIndex;\r
- };\r
- static_assert( sizeof( DeviceQueueInfo2 ) == sizeof( VkDeviceQueueInfo2 ), "struct and wrapper have different size!" );\r
-\r
- enum class MemoryPropertyFlagBits\r
- {\r
- eDeviceLocal = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,\r
- eHostVisible = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT,\r
- eHostCoherent = VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,\r
- eHostCached = VK_MEMORY_PROPERTY_HOST_CACHED_BIT,\r
- eLazilyAllocated = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT,\r
- eProtected = VK_MEMORY_PROPERTY_PROTECTED_BIT\r
- };\r
-\r
- using MemoryPropertyFlags = Flags<MemoryPropertyFlagBits, VkMemoryPropertyFlags>;\r
-\r
- VULKAN_HPP_INLINE MemoryPropertyFlags operator|( MemoryPropertyFlagBits bit0, MemoryPropertyFlagBits bit1 )\r
- {\r
- return MemoryPropertyFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE MemoryPropertyFlags operator~( MemoryPropertyFlagBits bits )\r
- {\r
- return ~( MemoryPropertyFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<MemoryPropertyFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(MemoryPropertyFlagBits::eDeviceLocal) | VkFlags(MemoryPropertyFlagBits::eHostVisible) | VkFlags(MemoryPropertyFlagBits::eHostCoherent) | VkFlags(MemoryPropertyFlagBits::eHostCached) | VkFlags(MemoryPropertyFlagBits::eLazilyAllocated) | VkFlags(MemoryPropertyFlagBits::eProtected)\r
- };\r
- };\r
-\r
- struct MemoryType\r
- {\r
- operator const VkMemoryType&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryType*>(this);\r
- }\r
-\r
- bool operator==( MemoryType const& rhs ) const\r
- {\r
- return ( propertyFlags == rhs.propertyFlags )\r
- && ( heapIndex == rhs.heapIndex );\r
- }\r
-\r
- bool operator!=( MemoryType const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- MemoryPropertyFlags propertyFlags;\r
- uint32_t heapIndex;\r
- };\r
- static_assert( sizeof( MemoryType ) == sizeof( VkMemoryType ), "struct and wrapper have different size!" );\r
-\r
- enum class MemoryHeapFlagBits\r
- {\r
- eDeviceLocal = VK_MEMORY_HEAP_DEVICE_LOCAL_BIT,\r
- eMultiInstance = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT,\r
- eMultiInstanceKHR = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT\r
- };\r
-\r
- using MemoryHeapFlags = Flags<MemoryHeapFlagBits, VkMemoryHeapFlags>;\r
-\r
- VULKAN_HPP_INLINE MemoryHeapFlags operator|( MemoryHeapFlagBits bit0, MemoryHeapFlagBits bit1 )\r
- {\r
- return MemoryHeapFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE MemoryHeapFlags operator~( MemoryHeapFlagBits bits )\r
- {\r
- return ~( MemoryHeapFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<MemoryHeapFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(MemoryHeapFlagBits::eDeviceLocal) | VkFlags(MemoryHeapFlagBits::eMultiInstance)\r
- };\r
- };\r
-\r
- struct MemoryHeap\r
- {\r
- operator const VkMemoryHeap&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryHeap*>(this);\r
- }\r
-\r
- bool operator==( MemoryHeap const& rhs ) const\r
- {\r
- return ( size == rhs.size )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( MemoryHeap const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DeviceSize size;\r
- MemoryHeapFlags flags;\r
- };\r
- static_assert( sizeof( MemoryHeap ) == sizeof( VkMemoryHeap ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceMemoryProperties\r
- {\r
- operator const VkPhysicalDeviceMemoryProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceMemoryProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceMemoryProperties const& rhs ) const\r
- {\r
- return ( memoryTypeCount == rhs.memoryTypeCount )\r
- && ( memcmp( memoryTypes, rhs.memoryTypes, VK_MAX_MEMORY_TYPES * sizeof( MemoryType ) ) == 0 )\r
- && ( memoryHeapCount == rhs.memoryHeapCount )\r
- && ( memcmp( memoryHeaps, rhs.memoryHeaps, VK_MAX_MEMORY_HEAPS * sizeof( MemoryHeap ) ) == 0 );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceMemoryProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t memoryTypeCount;\r
- MemoryType memoryTypes[VK_MAX_MEMORY_TYPES];\r
- uint32_t memoryHeapCount;\r
- MemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS];\r
- };\r
- static_assert( sizeof( PhysicalDeviceMemoryProperties ) == sizeof( VkPhysicalDeviceMemoryProperties ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceMemoryProperties2\r
- {\r
- operator const VkPhysicalDeviceMemoryProperties2&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceMemoryProperties2*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceMemoryProperties2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memoryProperties == rhs.memoryProperties );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceMemoryProperties2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceMemoryProperties2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- PhysicalDeviceMemoryProperties memoryProperties;\r
- };\r
- static_assert( sizeof( PhysicalDeviceMemoryProperties2 ) == sizeof( VkPhysicalDeviceMemoryProperties2 ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceMemoryProperties2KHR = PhysicalDeviceMemoryProperties2;\r
-\r
- enum class AccessFlagBits\r
- {\r
- eIndirectCommandRead = VK_ACCESS_INDIRECT_COMMAND_READ_BIT,\r
- eIndexRead = VK_ACCESS_INDEX_READ_BIT,\r
- eVertexAttributeRead = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT,\r
- eUniformRead = VK_ACCESS_UNIFORM_READ_BIT,\r
- eInputAttachmentRead = VK_ACCESS_INPUT_ATTACHMENT_READ_BIT,\r
- eShaderRead = VK_ACCESS_SHADER_READ_BIT,\r
- eShaderWrite = VK_ACCESS_SHADER_WRITE_BIT,\r
- eColorAttachmentRead = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT,\r
- eColorAttachmentWrite = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,\r
- eDepthStencilAttachmentRead = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT,\r
- eDepthStencilAttachmentWrite = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT,\r
- eTransferRead = VK_ACCESS_TRANSFER_READ_BIT,\r
- eTransferWrite = VK_ACCESS_TRANSFER_WRITE_BIT,\r
- eHostRead = VK_ACCESS_HOST_READ_BIT,\r
- eHostWrite = VK_ACCESS_HOST_WRITE_BIT,\r
- eMemoryRead = VK_ACCESS_MEMORY_READ_BIT,\r
- eMemoryWrite = VK_ACCESS_MEMORY_WRITE_BIT,\r
- eCommandProcessReadNVX = VK_ACCESS_COMMAND_PROCESS_READ_BIT_NVX,\r
- eCommandProcessWriteNVX = VK_ACCESS_COMMAND_PROCESS_WRITE_BIT_NVX,\r
- eColorAttachmentReadNoncoherentEXT = VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT\r
- };\r
-\r
- using AccessFlags = Flags<AccessFlagBits, VkAccessFlags>;\r
-\r
- VULKAN_HPP_INLINE AccessFlags operator|( AccessFlagBits bit0, AccessFlagBits bit1 )\r
- {\r
- return AccessFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE AccessFlags operator~( AccessFlagBits bits )\r
- {\r
- return ~( AccessFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<AccessFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(AccessFlagBits::eIndirectCommandRead) | VkFlags(AccessFlagBits::eIndexRead) | VkFlags(AccessFlagBits::eVertexAttributeRead) | VkFlags(AccessFlagBits::eUniformRead) | VkFlags(AccessFlagBits::eInputAttachmentRead) | VkFlags(AccessFlagBits::eShaderRead) | VkFlags(AccessFlagBits::eShaderWrite) | VkFlags(AccessFlagBits::eColorAttachmentRead) | VkFlags(AccessFlagBits::eColorAttachmentWrite) | VkFlags(AccessFlagBits::eDepthStencilAttachmentRead) | VkFlags(AccessFlagBits::eDepthStencilAttachmentWrite) | VkFlags(AccessFlagBits::eTransferRead) | VkFlags(AccessFlagBits::eTransferWrite) | VkFlags(AccessFlagBits::eHostRead) | VkFlags(AccessFlagBits::eHostWrite) | VkFlags(AccessFlagBits::eMemoryRead) | VkFlags(AccessFlagBits::eMemoryWrite) | VkFlags(AccessFlagBits::eCommandProcessReadNVX) | VkFlags(AccessFlagBits::eCommandProcessWriteNVX) | VkFlags(AccessFlagBits::eColorAttachmentReadNoncoherentEXT)\r
- };\r
- };\r
-\r
- struct MemoryBarrier\r
- {\r
- MemoryBarrier( AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags() )\r
- : srcAccessMask( srcAccessMask_ )\r
- , dstAccessMask( dstAccessMask_ )\r
- {\r
- }\r
-\r
- MemoryBarrier( VkMemoryBarrier const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryBarrier ) );\r
- }\r
-\r
- MemoryBarrier& operator=( VkMemoryBarrier const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryBarrier ) );\r
- return *this;\r
- }\r
- MemoryBarrier& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryBarrier& setSrcAccessMask( AccessFlags srcAccessMask_ )\r
- {\r
- srcAccessMask = srcAccessMask_;\r
- return *this;\r
- }\r
-\r
- MemoryBarrier& setDstAccessMask( AccessFlags dstAccessMask_ )\r
- {\r
- dstAccessMask = dstAccessMask_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryBarrier&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryBarrier*>(this);\r
- }\r
-\r
- bool operator==( MemoryBarrier const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( srcAccessMask == rhs.srcAccessMask )\r
- && ( dstAccessMask == rhs.dstAccessMask );\r
- }\r
-\r
- bool operator!=( MemoryBarrier const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryBarrier;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- AccessFlags srcAccessMask;\r
- AccessFlags dstAccessMask;\r
- };\r
- static_assert( sizeof( MemoryBarrier ) == sizeof( VkMemoryBarrier ), "struct and wrapper have different size!" );\r
-\r
- struct BufferMemoryBarrier\r
- {\r
- BufferMemoryBarrier( AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags(), uint32_t srcQueueFamilyIndex_ = 0, uint32_t dstQueueFamilyIndex_ = 0, Buffer buffer_ = Buffer(), DeviceSize offset_ = 0, DeviceSize size_ = 0 )\r
- : srcAccessMask( srcAccessMask_ )\r
- , dstAccessMask( dstAccessMask_ )\r
- , srcQueueFamilyIndex( srcQueueFamilyIndex_ )\r
- , dstQueueFamilyIndex( dstQueueFamilyIndex_ )\r
- , buffer( buffer_ )\r
- , offset( offset_ )\r
- , size( size_ )\r
- {\r
- }\r
-\r
- BufferMemoryBarrier( VkBufferMemoryBarrier const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferMemoryBarrier ) );\r
- }\r
-\r
- BufferMemoryBarrier& operator=( VkBufferMemoryBarrier const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferMemoryBarrier ) );\r
- return *this;\r
- }\r
- BufferMemoryBarrier& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryBarrier& setSrcAccessMask( AccessFlags srcAccessMask_ )\r
- {\r
- srcAccessMask = srcAccessMask_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryBarrier& setDstAccessMask( AccessFlags dstAccessMask_ )\r
- {\r
- dstAccessMask = dstAccessMask_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryBarrier& setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ )\r
- {\r
- srcQueueFamilyIndex = srcQueueFamilyIndex_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryBarrier& setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ )\r
- {\r
- dstQueueFamilyIndex = dstQueueFamilyIndex_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryBarrier& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryBarrier& setOffset( DeviceSize offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- BufferMemoryBarrier& setSize( DeviceSize size_ )\r
- {\r
- size = size_;\r
- return *this;\r
- }\r
-\r
- operator const VkBufferMemoryBarrier&() const\r
- {\r
- return *reinterpret_cast<const VkBufferMemoryBarrier*>(this);\r
- }\r
-\r
- bool operator==( BufferMemoryBarrier const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( srcAccessMask == rhs.srcAccessMask )\r
- && ( dstAccessMask == rhs.dstAccessMask )\r
- && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex )\r
- && ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex )\r
- && ( buffer == rhs.buffer )\r
- && ( offset == rhs.offset )\r
- && ( size == rhs.size );\r
- }\r
-\r
- bool operator!=( BufferMemoryBarrier const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBufferMemoryBarrier;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- AccessFlags srcAccessMask;\r
- AccessFlags dstAccessMask;\r
- uint32_t srcQueueFamilyIndex;\r
- uint32_t dstQueueFamilyIndex;\r
- Buffer buffer;\r
- DeviceSize offset;\r
- DeviceSize size;\r
- };\r
- static_assert( sizeof( BufferMemoryBarrier ) == sizeof( VkBufferMemoryBarrier ), "struct and wrapper have different size!" );\r
-\r
- enum class BufferUsageFlagBits\r
- {\r
- eTransferSrc = VK_BUFFER_USAGE_TRANSFER_SRC_BIT,\r
- eTransferDst = VK_BUFFER_USAGE_TRANSFER_DST_BIT,\r
- eUniformTexelBuffer = VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT,\r
- eStorageTexelBuffer = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT,\r
- eUniformBuffer = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT,\r
- eStorageBuffer = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,\r
- eIndexBuffer = VK_BUFFER_USAGE_INDEX_BUFFER_BIT,\r
- eVertexBuffer = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT,\r
- eIndirectBuffer = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT\r
- };\r
-\r
- using BufferUsageFlags = Flags<BufferUsageFlagBits, VkBufferUsageFlags>;\r
-\r
- VULKAN_HPP_INLINE BufferUsageFlags operator|( BufferUsageFlagBits bit0, BufferUsageFlagBits bit1 )\r
- {\r
- return BufferUsageFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE BufferUsageFlags operator~( BufferUsageFlagBits bits )\r
- {\r
- return ~( BufferUsageFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<BufferUsageFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(BufferUsageFlagBits::eTransferSrc) | VkFlags(BufferUsageFlagBits::eTransferDst) | VkFlags(BufferUsageFlagBits::eUniformTexelBuffer) | VkFlags(BufferUsageFlagBits::eStorageTexelBuffer) | VkFlags(BufferUsageFlagBits::eUniformBuffer) | VkFlags(BufferUsageFlagBits::eStorageBuffer) | VkFlags(BufferUsageFlagBits::eIndexBuffer) | VkFlags(BufferUsageFlagBits::eVertexBuffer) | VkFlags(BufferUsageFlagBits::eIndirectBuffer)\r
- };\r
- };\r
-\r
- enum class BufferCreateFlagBits\r
- {\r
- eSparseBinding = VK_BUFFER_CREATE_SPARSE_BINDING_BIT,\r
- eSparseResidency = VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT,\r
- eSparseAliased = VK_BUFFER_CREATE_SPARSE_ALIASED_BIT,\r
- eProtected = VK_BUFFER_CREATE_PROTECTED_BIT\r
- };\r
-\r
- using BufferCreateFlags = Flags<BufferCreateFlagBits, VkBufferCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE BufferCreateFlags operator|( BufferCreateFlagBits bit0, BufferCreateFlagBits bit1 )\r
- {\r
- return BufferCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE BufferCreateFlags operator~( BufferCreateFlagBits bits )\r
- {\r
- return ~( BufferCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<BufferCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(BufferCreateFlagBits::eSparseBinding) | VkFlags(BufferCreateFlagBits::eSparseResidency) | VkFlags(BufferCreateFlagBits::eSparseAliased) | VkFlags(BufferCreateFlagBits::eProtected)\r
- };\r
- };\r
-\r
- struct BufferCreateInfo\r
- {\r
- BufferCreateInfo( BufferCreateFlags flags_ = BufferCreateFlags(), DeviceSize size_ = 0, BufferUsageFlags usage_ = BufferUsageFlags(), SharingMode sharingMode_ = SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = 0, const uint32_t* pQueueFamilyIndices_ = nullptr )\r
- : flags( flags_ )\r
- , size( size_ )\r
- , usage( usage_ )\r
- , sharingMode( sharingMode_ )\r
- , queueFamilyIndexCount( queueFamilyIndexCount_ )\r
- , pQueueFamilyIndices( pQueueFamilyIndices_ )\r
- {\r
- }\r
-\r
- BufferCreateInfo( VkBufferCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferCreateInfo ) );\r
- }\r
-\r
- BufferCreateInfo& operator=( VkBufferCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferCreateInfo ) );\r
- return *this;\r
- }\r
- BufferCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BufferCreateInfo& setFlags( BufferCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- BufferCreateInfo& setSize( DeviceSize size_ )\r
- {\r
- size = size_;\r
- return *this;\r
- }\r
-\r
- BufferCreateInfo& setUsage( BufferUsageFlags usage_ )\r
- {\r
- usage = usage_;\r
- return *this;\r
- }\r
-\r
- BufferCreateInfo& setSharingMode( SharingMode sharingMode_ )\r
- {\r
- sharingMode = sharingMode_;\r
- return *this;\r
- }\r
-\r
- BufferCreateInfo& setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ )\r
- {\r
- queueFamilyIndexCount = queueFamilyIndexCount_;\r
- return *this;\r
- }\r
-\r
- BufferCreateInfo& setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ )\r
- {\r
- pQueueFamilyIndices = pQueueFamilyIndices_;\r
- return *this;\r
- }\r
-\r
- operator const VkBufferCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBufferCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( BufferCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( size == rhs.size )\r
- && ( usage == rhs.usage )\r
- && ( sharingMode == rhs.sharingMode )\r
- && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount )\r
- && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices );\r
- }\r
-\r
- bool operator!=( BufferCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBufferCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- BufferCreateFlags flags;\r
- DeviceSize size;\r
- BufferUsageFlags usage;\r
- SharingMode sharingMode;\r
- uint32_t queueFamilyIndexCount;\r
- const uint32_t* pQueueFamilyIndices;\r
- };\r
- static_assert( sizeof( BufferCreateInfo ) == sizeof( VkBufferCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class ShaderStageFlagBits\r
- {\r
- eVertex = VK_SHADER_STAGE_VERTEX_BIT,\r
- eTessellationControl = VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,\r
- eTessellationEvaluation = VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT,\r
- eGeometry = VK_SHADER_STAGE_GEOMETRY_BIT,\r
- eFragment = VK_SHADER_STAGE_FRAGMENT_BIT,\r
- eCompute = VK_SHADER_STAGE_COMPUTE_BIT,\r
- eAllGraphics = VK_SHADER_STAGE_ALL_GRAPHICS,\r
- eAll = VK_SHADER_STAGE_ALL\r
- };\r
-\r
- using ShaderStageFlags = Flags<ShaderStageFlagBits, VkShaderStageFlags>;\r
-\r
- VULKAN_HPP_INLINE ShaderStageFlags operator|( ShaderStageFlagBits bit0, ShaderStageFlagBits bit1 )\r
- {\r
- return ShaderStageFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ShaderStageFlags operator~( ShaderStageFlagBits bits )\r
- {\r
- return ~( ShaderStageFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ShaderStageFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ShaderStageFlagBits::eVertex) | VkFlags(ShaderStageFlagBits::eTessellationControl) | VkFlags(ShaderStageFlagBits::eTessellationEvaluation) | VkFlags(ShaderStageFlagBits::eGeometry) | VkFlags(ShaderStageFlagBits::eFragment) | VkFlags(ShaderStageFlagBits::eCompute) | VkFlags(ShaderStageFlagBits::eAllGraphics) | VkFlags(ShaderStageFlagBits::eAll)\r
- };\r
- };\r
-\r
- struct DescriptorSetLayoutBinding\r
- {\r
- DescriptorSetLayoutBinding( uint32_t binding_ = 0, DescriptorType descriptorType_ = DescriptorType::eSampler, uint32_t descriptorCount_ = 0, ShaderStageFlags stageFlags_ = ShaderStageFlags(), const Sampler* pImmutableSamplers_ = nullptr )\r
- : binding( binding_ )\r
- , descriptorType( descriptorType_ )\r
- , descriptorCount( descriptorCount_ )\r
- , stageFlags( stageFlags_ )\r
- , pImmutableSamplers( pImmutableSamplers_ )\r
- {\r
- }\r
-\r
- DescriptorSetLayoutBinding( VkDescriptorSetLayoutBinding const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetLayoutBinding ) );\r
- }\r
-\r
- DescriptorSetLayoutBinding& operator=( VkDescriptorSetLayoutBinding const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetLayoutBinding ) );\r
- return *this;\r
- }\r
- DescriptorSetLayoutBinding& setBinding( uint32_t binding_ )\r
- {\r
- binding = binding_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutBinding& setDescriptorType( DescriptorType descriptorType_ )\r
- {\r
- descriptorType = descriptorType_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutBinding& setDescriptorCount( uint32_t descriptorCount_ )\r
- {\r
- descriptorCount = descriptorCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutBinding& setStageFlags( ShaderStageFlags stageFlags_ )\r
- {\r
- stageFlags = stageFlags_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutBinding& setPImmutableSamplers( const Sampler* pImmutableSamplers_ )\r
- {\r
- pImmutableSamplers = pImmutableSamplers_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorSetLayoutBinding&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorSetLayoutBinding*>(this);\r
- }\r
-\r
- bool operator==( DescriptorSetLayoutBinding const& rhs ) const\r
- {\r
- return ( binding == rhs.binding )\r
- && ( descriptorType == rhs.descriptorType )\r
- && ( descriptorCount == rhs.descriptorCount )\r
- && ( stageFlags == rhs.stageFlags )\r
- && ( pImmutableSamplers == rhs.pImmutableSamplers );\r
- }\r
-\r
- bool operator!=( DescriptorSetLayoutBinding const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t binding;\r
- DescriptorType descriptorType;\r
- uint32_t descriptorCount;\r
- ShaderStageFlags stageFlags;\r
- const Sampler* pImmutableSamplers;\r
- };\r
- static_assert( sizeof( DescriptorSetLayoutBinding ) == sizeof( VkDescriptorSetLayoutBinding ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineShaderStageCreateInfo\r
- {\r
- PipelineShaderStageCreateInfo( PipelineShaderStageCreateFlags flags_ = PipelineShaderStageCreateFlags(), ShaderStageFlagBits stage_ = ShaderStageFlagBits::eVertex, ShaderModule module_ = ShaderModule(), const char* pName_ = nullptr, const SpecializationInfo* pSpecializationInfo_ = nullptr )\r
- : flags( flags_ )\r
- , stage( stage_ )\r
- , module( module_ )\r
- , pName( pName_ )\r
- , pSpecializationInfo( pSpecializationInfo_ )\r
- {\r
- }\r
-\r
- PipelineShaderStageCreateInfo( VkPipelineShaderStageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineShaderStageCreateInfo ) );\r
- }\r
-\r
- PipelineShaderStageCreateInfo& operator=( VkPipelineShaderStageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineShaderStageCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineShaderStageCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineShaderStageCreateInfo& setFlags( PipelineShaderStageCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineShaderStageCreateInfo& setStage( ShaderStageFlagBits stage_ )\r
- {\r
- stage = stage_;\r
- return *this;\r
- }\r
-\r
- PipelineShaderStageCreateInfo& setModule( ShaderModule module_ )\r
- {\r
- module = module_;\r
- return *this;\r
- }\r
-\r
- PipelineShaderStageCreateInfo& setPName( const char* pName_ )\r
- {\r
- pName = pName_;\r
- return *this;\r
- }\r
-\r
- PipelineShaderStageCreateInfo& setPSpecializationInfo( const SpecializationInfo* pSpecializationInfo_ )\r
- {\r
- pSpecializationInfo = pSpecializationInfo_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineShaderStageCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineShaderStageCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineShaderStageCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( stage == rhs.stage )\r
- && ( module == rhs.module )\r
- && ( pName == rhs.pName )\r
- && ( pSpecializationInfo == rhs.pSpecializationInfo );\r
- }\r
-\r
- bool operator!=( PipelineShaderStageCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineShaderStageCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineShaderStageCreateFlags flags;\r
- ShaderStageFlagBits stage;\r
- ShaderModule module;\r
- const char* pName;\r
- const SpecializationInfo* pSpecializationInfo;\r
- };\r
- static_assert( sizeof( PipelineShaderStageCreateInfo ) == sizeof( VkPipelineShaderStageCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PushConstantRange\r
- {\r
- PushConstantRange( ShaderStageFlags stageFlags_ = ShaderStageFlags(), uint32_t offset_ = 0, uint32_t size_ = 0 )\r
- : stageFlags( stageFlags_ )\r
- , offset( offset_ )\r
- , size( size_ )\r
- {\r
- }\r
-\r
- PushConstantRange( VkPushConstantRange const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PushConstantRange ) );\r
- }\r
-\r
- PushConstantRange& operator=( VkPushConstantRange const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PushConstantRange ) );\r
- return *this;\r
- }\r
- PushConstantRange& setStageFlags( ShaderStageFlags stageFlags_ )\r
- {\r
- stageFlags = stageFlags_;\r
- return *this;\r
- }\r
-\r
- PushConstantRange& setOffset( uint32_t offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- PushConstantRange& setSize( uint32_t size_ )\r
- {\r
- size = size_;\r
- return *this;\r
- }\r
-\r
- operator const VkPushConstantRange&() const\r
- {\r
- return *reinterpret_cast<const VkPushConstantRange*>(this);\r
- }\r
-\r
- bool operator==( PushConstantRange const& rhs ) const\r
- {\r
- return ( stageFlags == rhs.stageFlags )\r
- && ( offset == rhs.offset )\r
- && ( size == rhs.size );\r
- }\r
-\r
- bool operator!=( PushConstantRange const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ShaderStageFlags stageFlags;\r
- uint32_t offset;\r
- uint32_t size;\r
- };\r
- static_assert( sizeof( PushConstantRange ) == sizeof( VkPushConstantRange ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineLayoutCreateInfo\r
- {\r
- PipelineLayoutCreateInfo( PipelineLayoutCreateFlags flags_ = PipelineLayoutCreateFlags(), uint32_t setLayoutCount_ = 0, const DescriptorSetLayout* pSetLayouts_ = nullptr, uint32_t pushConstantRangeCount_ = 0, const PushConstantRange* pPushConstantRanges_ = nullptr )\r
- : flags( flags_ )\r
- , setLayoutCount( setLayoutCount_ )\r
- , pSetLayouts( pSetLayouts_ )\r
- , pushConstantRangeCount( pushConstantRangeCount_ )\r
- , pPushConstantRanges( pPushConstantRanges_ )\r
- {\r
- }\r
-\r
- PipelineLayoutCreateInfo( VkPipelineLayoutCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineLayoutCreateInfo ) );\r
- }\r
-\r
- PipelineLayoutCreateInfo& operator=( VkPipelineLayoutCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineLayoutCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineLayoutCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineLayoutCreateInfo& setFlags( PipelineLayoutCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineLayoutCreateInfo& setSetLayoutCount( uint32_t setLayoutCount_ )\r
- {\r
- setLayoutCount = setLayoutCount_;\r
- return *this;\r
- }\r
-\r
- PipelineLayoutCreateInfo& setPSetLayouts( const DescriptorSetLayout* pSetLayouts_ )\r
- {\r
- pSetLayouts = pSetLayouts_;\r
- return *this;\r
- }\r
-\r
- PipelineLayoutCreateInfo& setPushConstantRangeCount( uint32_t pushConstantRangeCount_ )\r
- {\r
- pushConstantRangeCount = pushConstantRangeCount_;\r
- return *this;\r
- }\r
-\r
- PipelineLayoutCreateInfo& setPPushConstantRanges( const PushConstantRange* pPushConstantRanges_ )\r
- {\r
- pPushConstantRanges = pPushConstantRanges_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineLayoutCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineLayoutCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineLayoutCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( setLayoutCount == rhs.setLayoutCount )\r
- && ( pSetLayouts == rhs.pSetLayouts )\r
- && ( pushConstantRangeCount == rhs.pushConstantRangeCount )\r
- && ( pPushConstantRanges == rhs.pPushConstantRanges );\r
- }\r
-\r
- bool operator!=( PipelineLayoutCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineLayoutCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineLayoutCreateFlags flags;\r
- uint32_t setLayoutCount;\r
- const DescriptorSetLayout* pSetLayouts;\r
- uint32_t pushConstantRangeCount;\r
- const PushConstantRange* pPushConstantRanges;\r
- };\r
- static_assert( sizeof( PipelineLayoutCreateInfo ) == sizeof( VkPipelineLayoutCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct ShaderStatisticsInfoAMD\r
- {\r
- operator const VkShaderStatisticsInfoAMD&() const\r
- {\r
- return *reinterpret_cast<const VkShaderStatisticsInfoAMD*>(this);\r
- }\r
-\r
- bool operator==( ShaderStatisticsInfoAMD const& rhs ) const\r
- {\r
- return ( shaderStageMask == rhs.shaderStageMask )\r
- && ( resourceUsage == rhs.resourceUsage )\r
- && ( numPhysicalVgprs == rhs.numPhysicalVgprs )\r
- && ( numPhysicalSgprs == rhs.numPhysicalSgprs )\r
- && ( numAvailableVgprs == rhs.numAvailableVgprs )\r
- && ( numAvailableSgprs == rhs.numAvailableSgprs )\r
- && ( memcmp( computeWorkGroupSize, rhs.computeWorkGroupSize, 3 * sizeof( uint32_t ) ) == 0 );\r
- }\r
-\r
- bool operator!=( ShaderStatisticsInfoAMD const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ShaderStageFlags shaderStageMask;\r
- ShaderResourceUsageAMD resourceUsage;\r
- uint32_t numPhysicalVgprs;\r
- uint32_t numPhysicalSgprs;\r
- uint32_t numAvailableVgprs;\r
- uint32_t numAvailableSgprs;\r
- uint32_t computeWorkGroupSize[3];\r
- };\r
- static_assert( sizeof( ShaderStatisticsInfoAMD ) == sizeof( VkShaderStatisticsInfoAMD ), "struct and wrapper have different size!" );\r
-\r
- enum class ImageUsageFlagBits\r
- {\r
- eTransferSrc = VK_IMAGE_USAGE_TRANSFER_SRC_BIT,\r
- eTransferDst = VK_IMAGE_USAGE_TRANSFER_DST_BIT,\r
- eSampled = VK_IMAGE_USAGE_SAMPLED_BIT,\r
- eStorage = VK_IMAGE_USAGE_STORAGE_BIT,\r
- eColorAttachment = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT,\r
- eDepthStencilAttachment = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT,\r
- eTransientAttachment = VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT,\r
- eInputAttachment = VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT\r
- };\r
-\r
- using ImageUsageFlags = Flags<ImageUsageFlagBits, VkImageUsageFlags>;\r
-\r
- VULKAN_HPP_INLINE ImageUsageFlags operator|( ImageUsageFlagBits bit0, ImageUsageFlagBits bit1 )\r
- {\r
- return ImageUsageFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ImageUsageFlags operator~( ImageUsageFlagBits bits )\r
- {\r
- return ~( ImageUsageFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ImageUsageFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ImageUsageFlagBits::eTransferSrc) | VkFlags(ImageUsageFlagBits::eTransferDst) | VkFlags(ImageUsageFlagBits::eSampled) | VkFlags(ImageUsageFlagBits::eStorage) | VkFlags(ImageUsageFlagBits::eColorAttachment) | VkFlags(ImageUsageFlagBits::eDepthStencilAttachment) | VkFlags(ImageUsageFlagBits::eTransientAttachment) | VkFlags(ImageUsageFlagBits::eInputAttachment)\r
- };\r
- };\r
-\r
- struct SharedPresentSurfaceCapabilitiesKHR\r
- {\r
- operator const VkSharedPresentSurfaceCapabilitiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkSharedPresentSurfaceCapabilitiesKHR*>(this);\r
- }\r
-\r
- bool operator==( SharedPresentSurfaceCapabilitiesKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( sharedPresentSupportedUsageFlags == rhs.sharedPresentSupportedUsageFlags );\r
- }\r
-\r
- bool operator!=( SharedPresentSurfaceCapabilitiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSharedPresentSurfaceCapabilitiesKHR;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- ImageUsageFlags sharedPresentSupportedUsageFlags;\r
- };\r
- static_assert( sizeof( SharedPresentSurfaceCapabilitiesKHR ) == sizeof( VkSharedPresentSurfaceCapabilitiesKHR ), "struct and wrapper have different size!" );\r
-\r
- struct ImageViewUsageCreateInfo\r
- {\r
- ImageViewUsageCreateInfo( ImageUsageFlags usage_ = ImageUsageFlags() )\r
- : usage( usage_ )\r
- {\r
- }\r
-\r
- ImageViewUsageCreateInfo( VkImageViewUsageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageViewUsageCreateInfo ) );\r
- }\r
-\r
- ImageViewUsageCreateInfo& operator=( VkImageViewUsageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageViewUsageCreateInfo ) );\r
- return *this;\r
- }\r
- ImageViewUsageCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageViewUsageCreateInfo& setUsage( ImageUsageFlags usage_ )\r
- {\r
- usage = usage_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageViewUsageCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkImageViewUsageCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ImageViewUsageCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( usage == rhs.usage );\r
- }\r
-\r
- bool operator!=( ImageViewUsageCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageViewUsageCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ImageUsageFlags usage;\r
- };\r
- static_assert( sizeof( ImageViewUsageCreateInfo ) == sizeof( VkImageViewUsageCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using ImageViewUsageCreateInfoKHR = ImageViewUsageCreateInfo;\r
-\r
- enum class ImageCreateFlagBits\r
- {\r
- eSparseBinding = VK_IMAGE_CREATE_SPARSE_BINDING_BIT,\r
- eSparseResidency = VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT,\r
- eSparseAliased = VK_IMAGE_CREATE_SPARSE_ALIASED_BIT,\r
- eMutableFormat = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT,\r
- eCubeCompatible = VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT,\r
- eAlias = VK_IMAGE_CREATE_ALIAS_BIT,\r
- eAliasKHR = VK_IMAGE_CREATE_ALIAS_BIT,\r
- eSplitInstanceBindRegions = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT,\r
- eSplitInstanceBindRegionsKHR = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT,\r
- e2DArrayCompatible = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT,\r
- e2DArrayCompatibleKHR = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT,\r
- eBlockTexelViewCompatible = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT,\r
- eBlockTexelViewCompatibleKHR = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT,\r
- eExtendedUsage = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT,\r
- eExtendedUsageKHR = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT,\r
- eProtected = VK_IMAGE_CREATE_PROTECTED_BIT,\r
- eDisjoint = VK_IMAGE_CREATE_DISJOINT_BIT,\r
- eDisjointKHR = VK_IMAGE_CREATE_DISJOINT_BIT,\r
- eSampleLocationsCompatibleDepthEXT = VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT\r
- };\r
-\r
- using ImageCreateFlags = Flags<ImageCreateFlagBits, VkImageCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE ImageCreateFlags operator|( ImageCreateFlagBits bit0, ImageCreateFlagBits bit1 )\r
- {\r
- return ImageCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ImageCreateFlags operator~( ImageCreateFlagBits bits )\r
- {\r
- return ~( ImageCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ImageCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ImageCreateFlagBits::eSparseBinding) | VkFlags(ImageCreateFlagBits::eSparseResidency) | VkFlags(ImageCreateFlagBits::eSparseAliased) | VkFlags(ImageCreateFlagBits::eMutableFormat) | VkFlags(ImageCreateFlagBits::eCubeCompatible) | VkFlags(ImageCreateFlagBits::eAlias) | VkFlags(ImageCreateFlagBits::eSplitInstanceBindRegions) | VkFlags(ImageCreateFlagBits::e2DArrayCompatible) | VkFlags(ImageCreateFlagBits::eBlockTexelViewCompatible) | VkFlags(ImageCreateFlagBits::eExtendedUsage) | VkFlags(ImageCreateFlagBits::eProtected) | VkFlags(ImageCreateFlagBits::eDisjoint) | VkFlags(ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT)\r
- };\r
- };\r
-\r
- struct PhysicalDeviceImageFormatInfo2\r
- {\r
- PhysicalDeviceImageFormatInfo2( Format format_ = Format::eUndefined, ImageType type_ = ImageType::e1D, ImageTiling tiling_ = ImageTiling::eOptimal, ImageUsageFlags usage_ = ImageUsageFlags(), ImageCreateFlags flags_ = ImageCreateFlags() )\r
- : format( format_ )\r
- , type( type_ )\r
- , tiling( tiling_ )\r
- , usage( usage_ )\r
- , flags( flags_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceImageFormatInfo2( VkPhysicalDeviceImageFormatInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceImageFormatInfo2 ) );\r
- }\r
-\r
- PhysicalDeviceImageFormatInfo2& operator=( VkPhysicalDeviceImageFormatInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceImageFormatInfo2 ) );\r
- return *this;\r
- }\r
- PhysicalDeviceImageFormatInfo2& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceImageFormatInfo2& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceImageFormatInfo2& setType( ImageType type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceImageFormatInfo2& setTiling( ImageTiling tiling_ )\r
- {\r
- tiling = tiling_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceImageFormatInfo2& setUsage( ImageUsageFlags usage_ )\r
- {\r
- usage = usage_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceImageFormatInfo2& setFlags( ImageCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceImageFormatInfo2&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceImageFormatInfo2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( format == rhs.format )\r
- && ( type == rhs.type )\r
- && ( tiling == rhs.tiling )\r
- && ( usage == rhs.usage )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceImageFormatInfo2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceImageFormatInfo2;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Format format;\r
- ImageType type;\r
- ImageTiling tiling;\r
- ImageUsageFlags usage;\r
- ImageCreateFlags flags;\r
- };\r
- static_assert( sizeof( PhysicalDeviceImageFormatInfo2 ) == sizeof( VkPhysicalDeviceImageFormatInfo2 ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceImageFormatInfo2KHR = PhysicalDeviceImageFormatInfo2;\r
-\r
- enum class PipelineCreateFlagBits\r
- {\r
- eDisableOptimization = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT,\r
- eAllowDerivatives = VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT,\r
- eDerivative = VK_PIPELINE_CREATE_DERIVATIVE_BIT,\r
- eViewIndexFromDeviceIndex = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT,\r
- eViewIndexFromDeviceIndexKHR = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT,\r
- eDispatchBase = VK_PIPELINE_CREATE_DISPATCH_BASE,\r
- eDispatchBaseKHR = VK_PIPELINE_CREATE_DISPATCH_BASE\r
- };\r
-\r
- using PipelineCreateFlags = Flags<PipelineCreateFlagBits, VkPipelineCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE PipelineCreateFlags operator|( PipelineCreateFlagBits bit0, PipelineCreateFlagBits bit1 )\r
- {\r
- return PipelineCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE PipelineCreateFlags operator~( PipelineCreateFlagBits bits )\r
- {\r
- return ~( PipelineCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<PipelineCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(PipelineCreateFlagBits::eDisableOptimization) | VkFlags(PipelineCreateFlagBits::eAllowDerivatives) | VkFlags(PipelineCreateFlagBits::eDerivative) | VkFlags(PipelineCreateFlagBits::eViewIndexFromDeviceIndex) | VkFlags(PipelineCreateFlagBits::eDispatchBase)\r
- };\r
- };\r
-\r
- struct ComputePipelineCreateInfo\r
- {\r
- ComputePipelineCreateInfo( PipelineCreateFlags flags_ = PipelineCreateFlags(), PipelineShaderStageCreateInfo stage_ = PipelineShaderStageCreateInfo(), PipelineLayout layout_ = PipelineLayout(), Pipeline basePipelineHandle_ = Pipeline(), int32_t basePipelineIndex_ = 0 )\r
- : flags( flags_ )\r
- , stage( stage_ )\r
- , layout( layout_ )\r
- , basePipelineHandle( basePipelineHandle_ )\r
- , basePipelineIndex( basePipelineIndex_ )\r
- {\r
- }\r
-\r
- ComputePipelineCreateInfo( VkComputePipelineCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ComputePipelineCreateInfo ) );\r
- }\r
-\r
- ComputePipelineCreateInfo& operator=( VkComputePipelineCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ComputePipelineCreateInfo ) );\r
- return *this;\r
- }\r
- ComputePipelineCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ComputePipelineCreateInfo& setFlags( PipelineCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ComputePipelineCreateInfo& setStage( PipelineShaderStageCreateInfo stage_ )\r
- {\r
- stage = stage_;\r
- return *this;\r
- }\r
-\r
- ComputePipelineCreateInfo& setLayout( PipelineLayout layout_ )\r
- {\r
- layout = layout_;\r
- return *this;\r
- }\r
-\r
- ComputePipelineCreateInfo& setBasePipelineHandle( Pipeline basePipelineHandle_ )\r
- {\r
- basePipelineHandle = basePipelineHandle_;\r
- return *this;\r
- }\r
-\r
- ComputePipelineCreateInfo& setBasePipelineIndex( int32_t basePipelineIndex_ )\r
- {\r
- basePipelineIndex = basePipelineIndex_;\r
- return *this;\r
- }\r
-\r
- operator const VkComputePipelineCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkComputePipelineCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ComputePipelineCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( stage == rhs.stage )\r
- && ( layout == rhs.layout )\r
- && ( basePipelineHandle == rhs.basePipelineHandle )\r
- && ( basePipelineIndex == rhs.basePipelineIndex );\r
- }\r
-\r
- bool operator!=( ComputePipelineCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eComputePipelineCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineCreateFlags flags;\r
- PipelineShaderStageCreateInfo stage;\r
- PipelineLayout layout;\r
- Pipeline basePipelineHandle;\r
- int32_t basePipelineIndex;\r
- };\r
- static_assert( sizeof( ComputePipelineCreateInfo ) == sizeof( VkComputePipelineCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class ColorComponentFlagBits\r
- {\r
- eR = VK_COLOR_COMPONENT_R_BIT,\r
- eG = VK_COLOR_COMPONENT_G_BIT,\r
- eB = VK_COLOR_COMPONENT_B_BIT,\r
- eA = VK_COLOR_COMPONENT_A_BIT\r
- };\r
-\r
- using ColorComponentFlags = Flags<ColorComponentFlagBits, VkColorComponentFlags>;\r
-\r
- VULKAN_HPP_INLINE ColorComponentFlags operator|( ColorComponentFlagBits bit0, ColorComponentFlagBits bit1 )\r
- {\r
- return ColorComponentFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ColorComponentFlags operator~( ColorComponentFlagBits bits )\r
- {\r
- return ~( ColorComponentFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ColorComponentFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ColorComponentFlagBits::eR) | VkFlags(ColorComponentFlagBits::eG) | VkFlags(ColorComponentFlagBits::eB) | VkFlags(ColorComponentFlagBits::eA)\r
- };\r
- };\r
-\r
- struct PipelineColorBlendAttachmentState\r
- {\r
- PipelineColorBlendAttachmentState( Bool32 blendEnable_ = 0, BlendFactor srcColorBlendFactor_ = BlendFactor::eZero, BlendFactor dstColorBlendFactor_ = BlendFactor::eZero, BlendOp colorBlendOp_ = BlendOp::eAdd, BlendFactor srcAlphaBlendFactor_ = BlendFactor::eZero, BlendFactor dstAlphaBlendFactor_ = BlendFactor::eZero, BlendOp alphaBlendOp_ = BlendOp::eAdd, ColorComponentFlags colorWriteMask_ = ColorComponentFlags() )\r
- : blendEnable( blendEnable_ )\r
- , srcColorBlendFactor( srcColorBlendFactor_ )\r
- , dstColorBlendFactor( dstColorBlendFactor_ )\r
- , colorBlendOp( colorBlendOp_ )\r
- , srcAlphaBlendFactor( srcAlphaBlendFactor_ )\r
- , dstAlphaBlendFactor( dstAlphaBlendFactor_ )\r
- , alphaBlendOp( alphaBlendOp_ )\r
- , colorWriteMask( colorWriteMask_ )\r
- {\r
- }\r
-\r
- PipelineColorBlendAttachmentState( VkPipelineColorBlendAttachmentState const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineColorBlendAttachmentState ) );\r
- }\r
-\r
- PipelineColorBlendAttachmentState& operator=( VkPipelineColorBlendAttachmentState const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineColorBlendAttachmentState ) );\r
- return *this;\r
- }\r
- PipelineColorBlendAttachmentState& setBlendEnable( Bool32 blendEnable_ )\r
- {\r
- blendEnable = blendEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAttachmentState& setSrcColorBlendFactor( BlendFactor srcColorBlendFactor_ )\r
- {\r
- srcColorBlendFactor = srcColorBlendFactor_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAttachmentState& setDstColorBlendFactor( BlendFactor dstColorBlendFactor_ )\r
- {\r
- dstColorBlendFactor = dstColorBlendFactor_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAttachmentState& setColorBlendOp( BlendOp colorBlendOp_ )\r
- {\r
- colorBlendOp = colorBlendOp_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAttachmentState& setSrcAlphaBlendFactor( BlendFactor srcAlphaBlendFactor_ )\r
- {\r
- srcAlphaBlendFactor = srcAlphaBlendFactor_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAttachmentState& setDstAlphaBlendFactor( BlendFactor dstAlphaBlendFactor_ )\r
- {\r
- dstAlphaBlendFactor = dstAlphaBlendFactor_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAttachmentState& setAlphaBlendOp( BlendOp alphaBlendOp_ )\r
- {\r
- alphaBlendOp = alphaBlendOp_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAttachmentState& setColorWriteMask( ColorComponentFlags colorWriteMask_ )\r
- {\r
- colorWriteMask = colorWriteMask_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineColorBlendAttachmentState&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineColorBlendAttachmentState*>(this);\r
- }\r
-\r
- bool operator==( PipelineColorBlendAttachmentState const& rhs ) const\r
- {\r
- return ( blendEnable == rhs.blendEnable )\r
- && ( srcColorBlendFactor == rhs.srcColorBlendFactor )\r
- && ( dstColorBlendFactor == rhs.dstColorBlendFactor )\r
- && ( colorBlendOp == rhs.colorBlendOp )\r
- && ( srcAlphaBlendFactor == rhs.srcAlphaBlendFactor )\r
- && ( dstAlphaBlendFactor == rhs.dstAlphaBlendFactor )\r
- && ( alphaBlendOp == rhs.alphaBlendOp )\r
- && ( colorWriteMask == rhs.colorWriteMask );\r
- }\r
-\r
- bool operator!=( PipelineColorBlendAttachmentState const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Bool32 blendEnable;\r
- BlendFactor srcColorBlendFactor;\r
- BlendFactor dstColorBlendFactor;\r
- BlendOp colorBlendOp;\r
- BlendFactor srcAlphaBlendFactor;\r
- BlendFactor dstAlphaBlendFactor;\r
- BlendOp alphaBlendOp;\r
- ColorComponentFlags colorWriteMask;\r
- };\r
- static_assert( sizeof( PipelineColorBlendAttachmentState ) == sizeof( VkPipelineColorBlendAttachmentState ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineColorBlendStateCreateInfo\r
- {\r
- PipelineColorBlendStateCreateInfo( PipelineColorBlendStateCreateFlags flags_ = PipelineColorBlendStateCreateFlags(), Bool32 logicOpEnable_ = 0, LogicOp logicOp_ = LogicOp::eClear, uint32_t attachmentCount_ = 0, const PipelineColorBlendAttachmentState* pAttachments_ = nullptr, std::array<float,4> const& blendConstants_ = { { 0, 0, 0, 0 } } )\r
- : flags( flags_ )\r
- , logicOpEnable( logicOpEnable_ )\r
- , logicOp( logicOp_ )\r
- , attachmentCount( attachmentCount_ )\r
- , pAttachments( pAttachments_ )\r
- {\r
- memcpy( &blendConstants, blendConstants_.data(), 4 * sizeof( float ) );\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo( VkPipelineColorBlendStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineColorBlendStateCreateInfo ) );\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo& operator=( VkPipelineColorBlendStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineColorBlendStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineColorBlendStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo& setFlags( PipelineColorBlendStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo& setLogicOpEnable( Bool32 logicOpEnable_ )\r
- {\r
- logicOpEnable = logicOpEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo& setLogicOp( LogicOp logicOp_ )\r
- {\r
- logicOp = logicOp_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo& setAttachmentCount( uint32_t attachmentCount_ )\r
- {\r
- attachmentCount = attachmentCount_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo& setPAttachments( const PipelineColorBlendAttachmentState* pAttachments_ )\r
- {\r
- pAttachments = pAttachments_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendStateCreateInfo& setBlendConstants( std::array<float,4> blendConstants_ )\r
- {\r
- memcpy( &blendConstants, blendConstants_.data(), 4 * sizeof( float ) );\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineColorBlendStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineColorBlendStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineColorBlendStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( logicOpEnable == rhs.logicOpEnable )\r
- && ( logicOp == rhs.logicOp )\r
- && ( attachmentCount == rhs.attachmentCount )\r
- && ( pAttachments == rhs.pAttachments )\r
- && ( memcmp( blendConstants, rhs.blendConstants, 4 * sizeof( float ) ) == 0 );\r
- }\r
-\r
- bool operator!=( PipelineColorBlendStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineColorBlendStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineColorBlendStateCreateFlags flags;\r
- Bool32 logicOpEnable;\r
- LogicOp logicOp;\r
- uint32_t attachmentCount;\r
- const PipelineColorBlendAttachmentState* pAttachments;\r
- float blendConstants[4];\r
- };\r
- static_assert( sizeof( PipelineColorBlendStateCreateInfo ) == sizeof( VkPipelineColorBlendStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class FenceCreateFlagBits\r
- {\r
- eSignaled = VK_FENCE_CREATE_SIGNALED_BIT\r
- };\r
-\r
- using FenceCreateFlags = Flags<FenceCreateFlagBits, VkFenceCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE FenceCreateFlags operator|( FenceCreateFlagBits bit0, FenceCreateFlagBits bit1 )\r
- {\r
- return FenceCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE FenceCreateFlags operator~( FenceCreateFlagBits bits )\r
- {\r
- return ~( FenceCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<FenceCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(FenceCreateFlagBits::eSignaled)\r
- };\r
- };\r
-\r
- struct FenceCreateInfo\r
- {\r
- FenceCreateInfo( FenceCreateFlags flags_ = FenceCreateFlags() )\r
- : flags( flags_ )\r
- {\r
- }\r
-\r
- FenceCreateInfo( VkFenceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FenceCreateInfo ) );\r
- }\r
-\r
- FenceCreateInfo& operator=( VkFenceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FenceCreateInfo ) );\r
- return *this;\r
- }\r
- FenceCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- FenceCreateInfo& setFlags( FenceCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- operator const VkFenceCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkFenceCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( FenceCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( FenceCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eFenceCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- FenceCreateFlags flags;\r
- };\r
- static_assert( sizeof( FenceCreateInfo ) == sizeof( VkFenceCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class FormatFeatureFlagBits\r
- {\r
- eSampledImage = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT,\r
- eStorageImage = VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT,\r
- eStorageImageAtomic = VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT,\r
- eUniformTexelBuffer = VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT,\r
- eStorageTexelBuffer = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT,\r
- eStorageTexelBufferAtomic = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT,\r
- eVertexBuffer = VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT,\r
- eColorAttachment = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT,\r
- eColorAttachmentBlend = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT,\r
- eDepthStencilAttachment = VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT,\r
- eBlitSrc = VK_FORMAT_FEATURE_BLIT_SRC_BIT,\r
- eBlitDst = VK_FORMAT_FEATURE_BLIT_DST_BIT,\r
- eSampledImageFilterLinear = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT,\r
- eTransferSrc = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT,\r
- eTransferSrcKHR = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT,\r
- eTransferDst = VK_FORMAT_FEATURE_TRANSFER_DST_BIT,\r
- eTransferDstKHR = VK_FORMAT_FEATURE_TRANSFER_DST_BIT,\r
- eMidpointChromaSamples = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT,\r
- eMidpointChromaSamplesKHR = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT,\r
- eSampledImageYcbcrConversionLinearFilter = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT,\r
- eSampledImageYcbcrConversionLinearFilterKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT,\r
- eSampledImageYcbcrConversionSeparateReconstructionFilter = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT,\r
- eSampledImageYcbcrConversionSeparateReconstructionFilterKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT,\r
- eSampledImageYcbcrConversionChromaReconstructionExplicit = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT,\r
- eSampledImageYcbcrConversionChromaReconstructionExplicitKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT,\r
- eSampledImageYcbcrConversionChromaReconstructionExplicitForceable = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT,\r
- eSampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT,\r
- eDisjoint = VK_FORMAT_FEATURE_DISJOINT_BIT,\r
- eDisjointKHR = VK_FORMAT_FEATURE_DISJOINT_BIT,\r
- eCositedChromaSamples = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT,\r
- eCositedChromaSamplesKHR = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT,\r
- eSampledImageFilterCubicIMG = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG,\r
- eSampledImageFilterMinmaxEXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT\r
- };\r
-\r
- using FormatFeatureFlags = Flags<FormatFeatureFlagBits, VkFormatFeatureFlags>;\r
-\r
- VULKAN_HPP_INLINE FormatFeatureFlags operator|( FormatFeatureFlagBits bit0, FormatFeatureFlagBits bit1 )\r
- {\r
- return FormatFeatureFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE FormatFeatureFlags operator~( FormatFeatureFlagBits bits )\r
- {\r
- return ~( FormatFeatureFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<FormatFeatureFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(FormatFeatureFlagBits::eSampledImage) | VkFlags(FormatFeatureFlagBits::eStorageImage) | VkFlags(FormatFeatureFlagBits::eStorageImageAtomic) | VkFlags(FormatFeatureFlagBits::eUniformTexelBuffer) | VkFlags(FormatFeatureFlagBits::eStorageTexelBuffer) | VkFlags(FormatFeatureFlagBits::eStorageTexelBufferAtomic) | VkFlags(FormatFeatureFlagBits::eVertexBuffer) | VkFlags(FormatFeatureFlagBits::eColorAttachment) | VkFlags(FormatFeatureFlagBits::eColorAttachmentBlend) | VkFlags(FormatFeatureFlagBits::eDepthStencilAttachment) | VkFlags(FormatFeatureFlagBits::eBlitSrc) | VkFlags(FormatFeatureFlagBits::eBlitDst) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterLinear) | VkFlags(FormatFeatureFlagBits::eTransferSrc) | VkFlags(FormatFeatureFlagBits::eTransferDst) | VkFlags(FormatFeatureFlagBits::eMidpointChromaSamples) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable) | VkFlags(FormatFeatureFlagBits::eDisjoint) | VkFlags(FormatFeatureFlagBits::eCositedChromaSamples) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterCubicIMG) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT)\r
- };\r
- };\r
-\r
- struct FormatProperties\r
- {\r
- operator const VkFormatProperties&() const\r
- {\r
- return *reinterpret_cast<const VkFormatProperties*>(this);\r
- }\r
-\r
- bool operator==( FormatProperties const& rhs ) const\r
- {\r
- return ( linearTilingFeatures == rhs.linearTilingFeatures )\r
- && ( optimalTilingFeatures == rhs.optimalTilingFeatures )\r
- && ( bufferFeatures == rhs.bufferFeatures );\r
- }\r
-\r
- bool operator!=( FormatProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- FormatFeatureFlags linearTilingFeatures;\r
- FormatFeatureFlags optimalTilingFeatures;\r
- FormatFeatureFlags bufferFeatures;\r
- };\r
- static_assert( sizeof( FormatProperties ) == sizeof( VkFormatProperties ), "struct and wrapper have different size!" );\r
-\r
- struct FormatProperties2\r
- {\r
- operator const VkFormatProperties2&() const\r
- {\r
- return *reinterpret_cast<const VkFormatProperties2*>(this);\r
- }\r
-\r
- bool operator==( FormatProperties2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( formatProperties == rhs.formatProperties );\r
- }\r
-\r
- bool operator!=( FormatProperties2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eFormatProperties2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- FormatProperties formatProperties;\r
- };\r
- static_assert( sizeof( FormatProperties2 ) == sizeof( VkFormatProperties2 ), "struct and wrapper have different size!" );\r
-\r
- using FormatProperties2KHR = FormatProperties2;\r
-\r
- enum class QueryControlFlagBits\r
- {\r
- ePrecise = VK_QUERY_CONTROL_PRECISE_BIT\r
- };\r
-\r
- using QueryControlFlags = Flags<QueryControlFlagBits, VkQueryControlFlags>;\r
-\r
- VULKAN_HPP_INLINE QueryControlFlags operator|( QueryControlFlagBits bit0, QueryControlFlagBits bit1 )\r
- {\r
- return QueryControlFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE QueryControlFlags operator~( QueryControlFlagBits bits )\r
- {\r
- return ~( QueryControlFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<QueryControlFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(QueryControlFlagBits::ePrecise)\r
- };\r
- };\r
-\r
- enum class QueryResultFlagBits\r
- {\r
- e64 = VK_QUERY_RESULT_64_BIT,\r
- eWait = VK_QUERY_RESULT_WAIT_BIT,\r
- eWithAvailability = VK_QUERY_RESULT_WITH_AVAILABILITY_BIT,\r
- ePartial = VK_QUERY_RESULT_PARTIAL_BIT\r
- };\r
-\r
- using QueryResultFlags = Flags<QueryResultFlagBits, VkQueryResultFlags>;\r
-\r
- VULKAN_HPP_INLINE QueryResultFlags operator|( QueryResultFlagBits bit0, QueryResultFlagBits bit1 )\r
- {\r
- return QueryResultFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE QueryResultFlags operator~( QueryResultFlagBits bits )\r
- {\r
- return ~( QueryResultFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<QueryResultFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(QueryResultFlagBits::e64) | VkFlags(QueryResultFlagBits::eWait) | VkFlags(QueryResultFlagBits::eWithAvailability) | VkFlags(QueryResultFlagBits::ePartial)\r
- };\r
- };\r
-\r
- enum class CommandBufferUsageFlagBits\r
- {\r
- eOneTimeSubmit = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,\r
- eRenderPassContinue = VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT,\r
- eSimultaneousUse = VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT\r
- };\r
-\r
- using CommandBufferUsageFlags = Flags<CommandBufferUsageFlagBits, VkCommandBufferUsageFlags>;\r
-\r
- VULKAN_HPP_INLINE CommandBufferUsageFlags operator|( CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1 )\r
- {\r
- return CommandBufferUsageFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE CommandBufferUsageFlags operator~( CommandBufferUsageFlagBits bits )\r
- {\r
- return ~( CommandBufferUsageFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<CommandBufferUsageFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(CommandBufferUsageFlagBits::eOneTimeSubmit) | VkFlags(CommandBufferUsageFlagBits::eRenderPassContinue) | VkFlags(CommandBufferUsageFlagBits::eSimultaneousUse)\r
- };\r
- };\r
-\r
- enum class QueryPipelineStatisticFlagBits\r
- {\r
- eInputAssemblyVertices = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,\r
- eInputAssemblyPrimitives = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,\r
- eVertexShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,\r
- eGeometryShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,\r
- eGeometryShaderPrimitives = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,\r
- eClippingInvocations = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,\r
- eClippingPrimitives = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,\r
- eFragmentShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT,\r
- eTessellationControlShaderPatches = VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT,\r
- eTessellationEvaluationShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT,\r
- eComputeShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT\r
- };\r
-\r
- using QueryPipelineStatisticFlags = Flags<QueryPipelineStatisticFlagBits, VkQueryPipelineStatisticFlags>;\r
-\r
- VULKAN_HPP_INLINE QueryPipelineStatisticFlags operator|( QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1 )\r
- {\r
- return QueryPipelineStatisticFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE QueryPipelineStatisticFlags operator~( QueryPipelineStatisticFlagBits bits )\r
- {\r
- return ~( QueryPipelineStatisticFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<QueryPipelineStatisticFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(QueryPipelineStatisticFlagBits::eInputAssemblyVertices) | VkFlags(QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eVertexShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eGeometryShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eClippingInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eClippingPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eFragmentShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches) | VkFlags(QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eComputeShaderInvocations)\r
- };\r
- };\r
-\r
- struct CommandBufferInheritanceInfo\r
- {\r
- CommandBufferInheritanceInfo( RenderPass renderPass_ = RenderPass(), uint32_t subpass_ = 0, Framebuffer framebuffer_ = Framebuffer(), Bool32 occlusionQueryEnable_ = 0, QueryControlFlags queryFlags_ = QueryControlFlags(), QueryPipelineStatisticFlags pipelineStatistics_ = QueryPipelineStatisticFlags() )\r
- : renderPass( renderPass_ )\r
- , subpass( subpass_ )\r
- , framebuffer( framebuffer_ )\r
- , occlusionQueryEnable( occlusionQueryEnable_ )\r
- , queryFlags( queryFlags_ )\r
- , pipelineStatistics( pipelineStatistics_ )\r
- {\r
- }\r
-\r
- CommandBufferInheritanceInfo( VkCommandBufferInheritanceInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandBufferInheritanceInfo ) );\r
- }\r
-\r
- CommandBufferInheritanceInfo& operator=( VkCommandBufferInheritanceInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandBufferInheritanceInfo ) );\r
- return *this;\r
- }\r
- CommandBufferInheritanceInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- CommandBufferInheritanceInfo& setRenderPass( RenderPass renderPass_ )\r
- {\r
- renderPass = renderPass_;\r
- return *this;\r
- }\r
-\r
- CommandBufferInheritanceInfo& setSubpass( uint32_t subpass_ )\r
- {\r
- subpass = subpass_;\r
- return *this;\r
- }\r
-\r
- CommandBufferInheritanceInfo& setFramebuffer( Framebuffer framebuffer_ )\r
- {\r
- framebuffer = framebuffer_;\r
- return *this;\r
- }\r
-\r
- CommandBufferInheritanceInfo& setOcclusionQueryEnable( Bool32 occlusionQueryEnable_ )\r
- {\r
- occlusionQueryEnable = occlusionQueryEnable_;\r
- return *this;\r
- }\r
-\r
- CommandBufferInheritanceInfo& setQueryFlags( QueryControlFlags queryFlags_ )\r
- {\r
- queryFlags = queryFlags_;\r
- return *this;\r
- }\r
-\r
- CommandBufferInheritanceInfo& setPipelineStatistics( QueryPipelineStatisticFlags pipelineStatistics_ )\r
- {\r
- pipelineStatistics = pipelineStatistics_;\r
- return *this;\r
- }\r
-\r
- operator const VkCommandBufferInheritanceInfo&() const\r
- {\r
- return *reinterpret_cast<const VkCommandBufferInheritanceInfo*>(this);\r
- }\r
-\r
- bool operator==( CommandBufferInheritanceInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( renderPass == rhs.renderPass )\r
- && ( subpass == rhs.subpass )\r
- && ( framebuffer == rhs.framebuffer )\r
- && ( occlusionQueryEnable == rhs.occlusionQueryEnable )\r
- && ( queryFlags == rhs.queryFlags )\r
- && ( pipelineStatistics == rhs.pipelineStatistics );\r
- }\r
-\r
- bool operator!=( CommandBufferInheritanceInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eCommandBufferInheritanceInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- RenderPass renderPass;\r
- uint32_t subpass;\r
- Framebuffer framebuffer;\r
- Bool32 occlusionQueryEnable;\r
- QueryControlFlags queryFlags;\r
- QueryPipelineStatisticFlags pipelineStatistics;\r
- };\r
- static_assert( sizeof( CommandBufferInheritanceInfo ) == sizeof( VkCommandBufferInheritanceInfo ), "struct and wrapper have different size!" );\r
-\r
- struct CommandBufferBeginInfo\r
- {\r
- CommandBufferBeginInfo( CommandBufferUsageFlags flags_ = CommandBufferUsageFlags(), const CommandBufferInheritanceInfo* pInheritanceInfo_ = nullptr )\r
- : flags( flags_ )\r
- , pInheritanceInfo( pInheritanceInfo_ )\r
- {\r
- }\r
-\r
- CommandBufferBeginInfo( VkCommandBufferBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandBufferBeginInfo ) );\r
- }\r
-\r
- CommandBufferBeginInfo& operator=( VkCommandBufferBeginInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandBufferBeginInfo ) );\r
- return *this;\r
- }\r
- CommandBufferBeginInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- CommandBufferBeginInfo& setFlags( CommandBufferUsageFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- CommandBufferBeginInfo& setPInheritanceInfo( const CommandBufferInheritanceInfo* pInheritanceInfo_ )\r
- {\r
- pInheritanceInfo = pInheritanceInfo_;\r
- return *this;\r
- }\r
-\r
- operator const VkCommandBufferBeginInfo&() const\r
- {\r
- return *reinterpret_cast<const VkCommandBufferBeginInfo*>(this);\r
- }\r
-\r
- bool operator==( CommandBufferBeginInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( pInheritanceInfo == rhs.pInheritanceInfo );\r
- }\r
-\r
- bool operator!=( CommandBufferBeginInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eCommandBufferBeginInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- CommandBufferUsageFlags flags;\r
- const CommandBufferInheritanceInfo* pInheritanceInfo;\r
- };\r
- static_assert( sizeof( CommandBufferBeginInfo ) == sizeof( VkCommandBufferBeginInfo ), "struct and wrapper have different size!" );\r
-\r
- struct QueryPoolCreateInfo\r
- {\r
- QueryPoolCreateInfo( QueryPoolCreateFlags flags_ = QueryPoolCreateFlags(), QueryType queryType_ = QueryType::eOcclusion, uint32_t queryCount_ = 0, QueryPipelineStatisticFlags pipelineStatistics_ = QueryPipelineStatisticFlags() )\r
- : flags( flags_ )\r
- , queryType( queryType_ )\r
- , queryCount( queryCount_ )\r
- , pipelineStatistics( pipelineStatistics_ )\r
- {\r
- }\r
-\r
- QueryPoolCreateInfo( VkQueryPoolCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( QueryPoolCreateInfo ) );\r
- }\r
-\r
- QueryPoolCreateInfo& operator=( VkQueryPoolCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( QueryPoolCreateInfo ) );\r
- return *this;\r
- }\r
- QueryPoolCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- QueryPoolCreateInfo& setFlags( QueryPoolCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- QueryPoolCreateInfo& setQueryType( QueryType queryType_ )\r
- {\r
- queryType = queryType_;\r
- return *this;\r
- }\r
-\r
- QueryPoolCreateInfo& setQueryCount( uint32_t queryCount_ )\r
- {\r
- queryCount = queryCount_;\r
- return *this;\r
- }\r
-\r
- QueryPoolCreateInfo& setPipelineStatistics( QueryPipelineStatisticFlags pipelineStatistics_ )\r
- {\r
- pipelineStatistics = pipelineStatistics_;\r
- return *this;\r
- }\r
-\r
- operator const VkQueryPoolCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkQueryPoolCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( QueryPoolCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( queryType == rhs.queryType )\r
- && ( queryCount == rhs.queryCount )\r
- && ( pipelineStatistics == rhs.pipelineStatistics );\r
- }\r
-\r
- bool operator!=( QueryPoolCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eQueryPoolCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- QueryPoolCreateFlags flags;\r
- QueryType queryType;\r
- uint32_t queryCount;\r
- QueryPipelineStatisticFlags pipelineStatistics;\r
- };\r
- static_assert( sizeof( QueryPoolCreateInfo ) == sizeof( VkQueryPoolCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class ImageAspectFlagBits\r
- {\r
- eColor = VK_IMAGE_ASPECT_COLOR_BIT,\r
- eDepth = VK_IMAGE_ASPECT_DEPTH_BIT,\r
- eStencil = VK_IMAGE_ASPECT_STENCIL_BIT,\r
- eMetadata = VK_IMAGE_ASPECT_METADATA_BIT,\r
- ePlane0 = VK_IMAGE_ASPECT_PLANE_0_BIT,\r
- ePlane0KHR = VK_IMAGE_ASPECT_PLANE_0_BIT,\r
- ePlane1 = VK_IMAGE_ASPECT_PLANE_1_BIT,\r
- ePlane1KHR = VK_IMAGE_ASPECT_PLANE_1_BIT,\r
- ePlane2 = VK_IMAGE_ASPECT_PLANE_2_BIT,\r
- ePlane2KHR = VK_IMAGE_ASPECT_PLANE_2_BIT\r
- };\r
-\r
- using ImageAspectFlags = Flags<ImageAspectFlagBits, VkImageAspectFlags>;\r
-\r
- VULKAN_HPP_INLINE ImageAspectFlags operator|( ImageAspectFlagBits bit0, ImageAspectFlagBits bit1 )\r
- {\r
- return ImageAspectFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ImageAspectFlags operator~( ImageAspectFlagBits bits )\r
- {\r
- return ~( ImageAspectFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ImageAspectFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ImageAspectFlagBits::eColor) | VkFlags(ImageAspectFlagBits::eDepth) | VkFlags(ImageAspectFlagBits::eStencil) | VkFlags(ImageAspectFlagBits::eMetadata) | VkFlags(ImageAspectFlagBits::ePlane0) | VkFlags(ImageAspectFlagBits::ePlane1) | VkFlags(ImageAspectFlagBits::ePlane2)\r
- };\r
- };\r
-\r
- struct ImageSubresource\r
- {\r
- ImageSubresource( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t mipLevel_ = 0, uint32_t arrayLayer_ = 0 )\r
- : aspectMask( aspectMask_ )\r
- , mipLevel( mipLevel_ )\r
- , arrayLayer( arrayLayer_ )\r
- {\r
- }\r
-\r
- ImageSubresource( VkImageSubresource const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSubresource ) );\r
- }\r
-\r
- ImageSubresource& operator=( VkImageSubresource const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSubresource ) );\r
- return *this;\r
- }\r
- ImageSubresource& setAspectMask( ImageAspectFlags aspectMask_ )\r
- {\r
- aspectMask = aspectMask_;\r
- return *this;\r
- }\r
-\r
- ImageSubresource& setMipLevel( uint32_t mipLevel_ )\r
- {\r
- mipLevel = mipLevel_;\r
- return *this;\r
- }\r
-\r
- ImageSubresource& setArrayLayer( uint32_t arrayLayer_ )\r
- {\r
- arrayLayer = arrayLayer_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageSubresource&() const\r
- {\r
- return *reinterpret_cast<const VkImageSubresource*>(this);\r
- }\r
-\r
- bool operator==( ImageSubresource const& rhs ) const\r
- {\r
- return ( aspectMask == rhs.aspectMask )\r
- && ( mipLevel == rhs.mipLevel )\r
- && ( arrayLayer == rhs.arrayLayer );\r
- }\r
-\r
- bool operator!=( ImageSubresource const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageAspectFlags aspectMask;\r
- uint32_t mipLevel;\r
- uint32_t arrayLayer;\r
- };\r
- static_assert( sizeof( ImageSubresource ) == sizeof( VkImageSubresource ), "struct and wrapper have different size!" );\r
-\r
- struct ImageSubresourceLayers\r
- {\r
- ImageSubresourceLayers( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t mipLevel_ = 0, uint32_t baseArrayLayer_ = 0, uint32_t layerCount_ = 0 )\r
- : aspectMask( aspectMask_ )\r
- , mipLevel( mipLevel_ )\r
- , baseArrayLayer( baseArrayLayer_ )\r
- , layerCount( layerCount_ )\r
- {\r
- }\r
-\r
- ImageSubresourceLayers( VkImageSubresourceLayers const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSubresourceLayers ) );\r
- }\r
-\r
- ImageSubresourceLayers& operator=( VkImageSubresourceLayers const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSubresourceLayers ) );\r
- return *this;\r
- }\r
- ImageSubresourceLayers& setAspectMask( ImageAspectFlags aspectMask_ )\r
- {\r
- aspectMask = aspectMask_;\r
- return *this;\r
- }\r
-\r
- ImageSubresourceLayers& setMipLevel( uint32_t mipLevel_ )\r
- {\r
- mipLevel = mipLevel_;\r
- return *this;\r
- }\r
-\r
- ImageSubresourceLayers& setBaseArrayLayer( uint32_t baseArrayLayer_ )\r
- {\r
- baseArrayLayer = baseArrayLayer_;\r
- return *this;\r
- }\r
-\r
- ImageSubresourceLayers& setLayerCount( uint32_t layerCount_ )\r
- {\r
- layerCount = layerCount_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageSubresourceLayers&() const\r
- {\r
- return *reinterpret_cast<const VkImageSubresourceLayers*>(this);\r
- }\r
-\r
- bool operator==( ImageSubresourceLayers const& rhs ) const\r
- {\r
- return ( aspectMask == rhs.aspectMask )\r
- && ( mipLevel == rhs.mipLevel )\r
- && ( baseArrayLayer == rhs.baseArrayLayer )\r
- && ( layerCount == rhs.layerCount );\r
- }\r
-\r
- bool operator!=( ImageSubresourceLayers const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageAspectFlags aspectMask;\r
- uint32_t mipLevel;\r
- uint32_t baseArrayLayer;\r
- uint32_t layerCount;\r
- };\r
- static_assert( sizeof( ImageSubresourceLayers ) == sizeof( VkImageSubresourceLayers ), "struct and wrapper have different size!" );\r
-\r
- struct ImageSubresourceRange\r
- {\r
- ImageSubresourceRange( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t baseMipLevel_ = 0, uint32_t levelCount_ = 0, uint32_t baseArrayLayer_ = 0, uint32_t layerCount_ = 0 )\r
- : aspectMask( aspectMask_ )\r
- , baseMipLevel( baseMipLevel_ )\r
- , levelCount( levelCount_ )\r
- , baseArrayLayer( baseArrayLayer_ )\r
- , layerCount( layerCount_ )\r
- {\r
- }\r
-\r
- ImageSubresourceRange( VkImageSubresourceRange const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSubresourceRange ) );\r
- }\r
-\r
- ImageSubresourceRange& operator=( VkImageSubresourceRange const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageSubresourceRange ) );\r
- return *this;\r
- }\r
- ImageSubresourceRange& setAspectMask( ImageAspectFlags aspectMask_ )\r
- {\r
- aspectMask = aspectMask_;\r
- return *this;\r
- }\r
-\r
- ImageSubresourceRange& setBaseMipLevel( uint32_t baseMipLevel_ )\r
- {\r
- baseMipLevel = baseMipLevel_;\r
- return *this;\r
- }\r
-\r
- ImageSubresourceRange& setLevelCount( uint32_t levelCount_ )\r
- {\r
- levelCount = levelCount_;\r
- return *this;\r
- }\r
-\r
- ImageSubresourceRange& setBaseArrayLayer( uint32_t baseArrayLayer_ )\r
- {\r
- baseArrayLayer = baseArrayLayer_;\r
- return *this;\r
- }\r
-\r
- ImageSubresourceRange& setLayerCount( uint32_t layerCount_ )\r
- {\r
- layerCount = layerCount_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageSubresourceRange&() const\r
- {\r
- return *reinterpret_cast<const VkImageSubresourceRange*>(this);\r
- }\r
-\r
- bool operator==( ImageSubresourceRange const& rhs ) const\r
- {\r
- return ( aspectMask == rhs.aspectMask )\r
- && ( baseMipLevel == rhs.baseMipLevel )\r
- && ( levelCount == rhs.levelCount )\r
- && ( baseArrayLayer == rhs.baseArrayLayer )\r
- && ( layerCount == rhs.layerCount );\r
- }\r
-\r
- bool operator!=( ImageSubresourceRange const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageAspectFlags aspectMask;\r
- uint32_t baseMipLevel;\r
- uint32_t levelCount;\r
- uint32_t baseArrayLayer;\r
- uint32_t layerCount;\r
- };\r
- static_assert( sizeof( ImageSubresourceRange ) == sizeof( VkImageSubresourceRange ), "struct and wrapper have different size!" );\r
-\r
- struct ImageMemoryBarrier\r
- {\r
- ImageMemoryBarrier( AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags(), ImageLayout oldLayout_ = ImageLayout::eUndefined, ImageLayout newLayout_ = ImageLayout::eUndefined, uint32_t srcQueueFamilyIndex_ = 0, uint32_t dstQueueFamilyIndex_ = 0, Image image_ = Image(), ImageSubresourceRange subresourceRange_ = ImageSubresourceRange() )\r
- : srcAccessMask( srcAccessMask_ )\r
- , dstAccessMask( dstAccessMask_ )\r
- , oldLayout( oldLayout_ )\r
- , newLayout( newLayout_ )\r
- , srcQueueFamilyIndex( srcQueueFamilyIndex_ )\r
- , dstQueueFamilyIndex( dstQueueFamilyIndex_ )\r
- , image( image_ )\r
- , subresourceRange( subresourceRange_ )\r
- {\r
- }\r
-\r
- ImageMemoryBarrier( VkImageMemoryBarrier const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageMemoryBarrier ) );\r
- }\r
-\r
- ImageMemoryBarrier& operator=( VkImageMemoryBarrier const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageMemoryBarrier ) );\r
- return *this;\r
- }\r
- ImageMemoryBarrier& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setSrcAccessMask( AccessFlags srcAccessMask_ )\r
- {\r
- srcAccessMask = srcAccessMask_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setDstAccessMask( AccessFlags dstAccessMask_ )\r
- {\r
- dstAccessMask = dstAccessMask_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setOldLayout( ImageLayout oldLayout_ )\r
- {\r
- oldLayout = oldLayout_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setNewLayout( ImageLayout newLayout_ )\r
- {\r
- newLayout = newLayout_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ )\r
- {\r
- srcQueueFamilyIndex = srcQueueFamilyIndex_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ )\r
- {\r
- dstQueueFamilyIndex = dstQueueFamilyIndex_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- ImageMemoryBarrier& setSubresourceRange( ImageSubresourceRange subresourceRange_ )\r
- {\r
- subresourceRange = subresourceRange_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageMemoryBarrier&() const\r
- {\r
- return *reinterpret_cast<const VkImageMemoryBarrier*>(this);\r
- }\r
-\r
- bool operator==( ImageMemoryBarrier const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( srcAccessMask == rhs.srcAccessMask )\r
- && ( dstAccessMask == rhs.dstAccessMask )\r
- && ( oldLayout == rhs.oldLayout )\r
- && ( newLayout == rhs.newLayout )\r
- && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex )\r
- && ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex )\r
- && ( image == rhs.image )\r
- && ( subresourceRange == rhs.subresourceRange );\r
- }\r
-\r
- bool operator!=( ImageMemoryBarrier const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageMemoryBarrier;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- AccessFlags srcAccessMask;\r
- AccessFlags dstAccessMask;\r
- ImageLayout oldLayout;\r
- ImageLayout newLayout;\r
- uint32_t srcQueueFamilyIndex;\r
- uint32_t dstQueueFamilyIndex;\r
- Image image;\r
- ImageSubresourceRange subresourceRange;\r
- };\r
- static_assert( sizeof( ImageMemoryBarrier ) == sizeof( VkImageMemoryBarrier ), "struct and wrapper have different size!" );\r
-\r
- struct ImageViewCreateInfo\r
- {\r
- ImageViewCreateInfo( ImageViewCreateFlags flags_ = ImageViewCreateFlags(), Image image_ = Image(), ImageViewType viewType_ = ImageViewType::e1D, Format format_ = Format::eUndefined, ComponentMapping components_ = ComponentMapping(), ImageSubresourceRange subresourceRange_ = ImageSubresourceRange() )\r
- : flags( flags_ )\r
- , image( image_ )\r
- , viewType( viewType_ )\r
- , format( format_ )\r
- , components( components_ )\r
- , subresourceRange( subresourceRange_ )\r
- {\r
- }\r
-\r
- ImageViewCreateInfo( VkImageViewCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageViewCreateInfo ) );\r
- }\r
-\r
- ImageViewCreateInfo& operator=( VkImageViewCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageViewCreateInfo ) );\r
- return *this;\r
- }\r
- ImageViewCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageViewCreateInfo& setFlags( ImageViewCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ImageViewCreateInfo& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- ImageViewCreateInfo& setViewType( ImageViewType viewType_ )\r
- {\r
- viewType = viewType_;\r
- return *this;\r
- }\r
-\r
- ImageViewCreateInfo& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- ImageViewCreateInfo& setComponents( ComponentMapping components_ )\r
- {\r
- components = components_;\r
- return *this;\r
- }\r
-\r
- ImageViewCreateInfo& setSubresourceRange( ImageSubresourceRange subresourceRange_ )\r
- {\r
- subresourceRange = subresourceRange_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageViewCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkImageViewCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ImageViewCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( image == rhs.image )\r
- && ( viewType == rhs.viewType )\r
- && ( format == rhs.format )\r
- && ( components == rhs.components )\r
- && ( subresourceRange == rhs.subresourceRange );\r
- }\r
-\r
- bool operator!=( ImageViewCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageViewCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ImageViewCreateFlags flags;\r
- Image image;\r
- ImageViewType viewType;\r
- Format format;\r
- ComponentMapping components;\r
- ImageSubresourceRange subresourceRange;\r
- };\r
- static_assert( sizeof( ImageViewCreateInfo ) == sizeof( VkImageViewCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct ImageCopy\r
- {\r
- ImageCopy( ImageSubresourceLayers srcSubresource_ = ImageSubresourceLayers(), Offset3D srcOffset_ = Offset3D(), ImageSubresourceLayers dstSubresource_ = ImageSubresourceLayers(), Offset3D dstOffset_ = Offset3D(), Extent3D extent_ = Extent3D() )\r
- : srcSubresource( srcSubresource_ )\r
- , srcOffset( srcOffset_ )\r
- , dstSubresource( dstSubresource_ )\r
- , dstOffset( dstOffset_ )\r
- , extent( extent_ )\r
- {\r
- }\r
-\r
- ImageCopy( VkImageCopy const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageCopy ) );\r
- }\r
-\r
- ImageCopy& operator=( VkImageCopy const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageCopy ) );\r
- return *this;\r
- }\r
- ImageCopy& setSrcSubresource( ImageSubresourceLayers srcSubresource_ )\r
- {\r
- srcSubresource = srcSubresource_;\r
- return *this;\r
- }\r
-\r
- ImageCopy& setSrcOffset( Offset3D srcOffset_ )\r
- {\r
- srcOffset = srcOffset_;\r
- return *this;\r
- }\r
-\r
- ImageCopy& setDstSubresource( ImageSubresourceLayers dstSubresource_ )\r
- {\r
- dstSubresource = dstSubresource_;\r
- return *this;\r
- }\r
-\r
- ImageCopy& setDstOffset( Offset3D dstOffset_ )\r
- {\r
- dstOffset = dstOffset_;\r
- return *this;\r
- }\r
-\r
- ImageCopy& setExtent( Extent3D extent_ )\r
- {\r
- extent = extent_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageCopy&() const\r
- {\r
- return *reinterpret_cast<const VkImageCopy*>(this);\r
- }\r
-\r
- bool operator==( ImageCopy const& rhs ) const\r
- {\r
- return ( srcSubresource == rhs.srcSubresource )\r
- && ( srcOffset == rhs.srcOffset )\r
- && ( dstSubresource == rhs.dstSubresource )\r
- && ( dstOffset == rhs.dstOffset )\r
- && ( extent == rhs.extent );\r
- }\r
-\r
- bool operator!=( ImageCopy const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageSubresourceLayers srcSubresource;\r
- Offset3D srcOffset;\r
- ImageSubresourceLayers dstSubresource;\r
- Offset3D dstOffset;\r
- Extent3D extent;\r
- };\r
- static_assert( sizeof( ImageCopy ) == sizeof( VkImageCopy ), "struct and wrapper have different size!" );\r
-\r
- struct ImageBlit\r
- {\r
- ImageBlit( ImageSubresourceLayers srcSubresource_ = ImageSubresourceLayers(), std::array<Offset3D,2> const& srcOffsets_ = { { Offset3D(), Offset3D() } }, ImageSubresourceLayers dstSubresource_ = ImageSubresourceLayers(), std::array<Offset3D,2> const& dstOffsets_ = { { Offset3D(), Offset3D() } } )\r
- : srcSubresource( srcSubresource_ )\r
- , dstSubresource( dstSubresource_ )\r
- {\r
- memcpy( &srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) );\r
- memcpy( &dstOffsets, dstOffsets_.data(), 2 * sizeof( Offset3D ) );\r
- }\r
-\r
- ImageBlit( VkImageBlit const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageBlit ) );\r
- }\r
-\r
- ImageBlit& operator=( VkImageBlit const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageBlit ) );\r
- return *this;\r
- }\r
- ImageBlit& setSrcSubresource( ImageSubresourceLayers srcSubresource_ )\r
- {\r
- srcSubresource = srcSubresource_;\r
- return *this;\r
- }\r
-\r
- ImageBlit& setSrcOffsets( std::array<Offset3D,2> srcOffsets_ )\r
- {\r
- memcpy( &srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) );\r
- return *this;\r
- }\r
-\r
- ImageBlit& setDstSubresource( ImageSubresourceLayers dstSubresource_ )\r
- {\r
- dstSubresource = dstSubresource_;\r
- return *this;\r
- }\r
-\r
- ImageBlit& setDstOffsets( std::array<Offset3D,2> dstOffsets_ )\r
- {\r
- memcpy( &dstOffsets, dstOffsets_.data(), 2 * sizeof( Offset3D ) );\r
- return *this;\r
- }\r
-\r
- operator const VkImageBlit&() const\r
- {\r
- return *reinterpret_cast<const VkImageBlit*>(this);\r
- }\r
-\r
- bool operator==( ImageBlit const& rhs ) const\r
- {\r
- return ( srcSubresource == rhs.srcSubresource )\r
- && ( memcmp( srcOffsets, rhs.srcOffsets, 2 * sizeof( Offset3D ) ) == 0 )\r
- && ( dstSubresource == rhs.dstSubresource )\r
- && ( memcmp( dstOffsets, rhs.dstOffsets, 2 * sizeof( Offset3D ) ) == 0 );\r
- }\r
-\r
- bool operator!=( ImageBlit const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageSubresourceLayers srcSubresource;\r
- Offset3D srcOffsets[2];\r
- ImageSubresourceLayers dstSubresource;\r
- Offset3D dstOffsets[2];\r
- };\r
- static_assert( sizeof( ImageBlit ) == sizeof( VkImageBlit ), "struct and wrapper have different size!" );\r
-\r
- struct BufferImageCopy\r
- {\r
- BufferImageCopy( DeviceSize bufferOffset_ = 0, uint32_t bufferRowLength_ = 0, uint32_t bufferImageHeight_ = 0, ImageSubresourceLayers imageSubresource_ = ImageSubresourceLayers(), Offset3D imageOffset_ = Offset3D(), Extent3D imageExtent_ = Extent3D() )\r
- : bufferOffset( bufferOffset_ )\r
- , bufferRowLength( bufferRowLength_ )\r
- , bufferImageHeight( bufferImageHeight_ )\r
- , imageSubresource( imageSubresource_ )\r
- , imageOffset( imageOffset_ )\r
- , imageExtent( imageExtent_ )\r
- {\r
- }\r
-\r
- BufferImageCopy( VkBufferImageCopy const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferImageCopy ) );\r
- }\r
-\r
- BufferImageCopy& operator=( VkBufferImageCopy const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BufferImageCopy ) );\r
- return *this;\r
- }\r
- BufferImageCopy& setBufferOffset( DeviceSize bufferOffset_ )\r
- {\r
- bufferOffset = bufferOffset_;\r
- return *this;\r
- }\r
-\r
- BufferImageCopy& setBufferRowLength( uint32_t bufferRowLength_ )\r
- {\r
- bufferRowLength = bufferRowLength_;\r
- return *this;\r
- }\r
-\r
- BufferImageCopy& setBufferImageHeight( uint32_t bufferImageHeight_ )\r
- {\r
- bufferImageHeight = bufferImageHeight_;\r
- return *this;\r
- }\r
-\r
- BufferImageCopy& setImageSubresource( ImageSubresourceLayers imageSubresource_ )\r
- {\r
- imageSubresource = imageSubresource_;\r
- return *this;\r
- }\r
-\r
- BufferImageCopy& setImageOffset( Offset3D imageOffset_ )\r
- {\r
- imageOffset = imageOffset_;\r
- return *this;\r
- }\r
-\r
- BufferImageCopy& setImageExtent( Extent3D imageExtent_ )\r
- {\r
- imageExtent = imageExtent_;\r
- return *this;\r
- }\r
-\r
- operator const VkBufferImageCopy&() const\r
- {\r
- return *reinterpret_cast<const VkBufferImageCopy*>(this);\r
- }\r
-\r
- bool operator==( BufferImageCopy const& rhs ) const\r
- {\r
- return ( bufferOffset == rhs.bufferOffset )\r
- && ( bufferRowLength == rhs.bufferRowLength )\r
- && ( bufferImageHeight == rhs.bufferImageHeight )\r
- && ( imageSubresource == rhs.imageSubresource )\r
- && ( imageOffset == rhs.imageOffset )\r
- && ( imageExtent == rhs.imageExtent );\r
- }\r
-\r
- bool operator!=( BufferImageCopy const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DeviceSize bufferOffset;\r
- uint32_t bufferRowLength;\r
- uint32_t bufferImageHeight;\r
- ImageSubresourceLayers imageSubresource;\r
- Offset3D imageOffset;\r
- Extent3D imageExtent;\r
- };\r
- static_assert( sizeof( BufferImageCopy ) == sizeof( VkBufferImageCopy ), "struct and wrapper have different size!" );\r
-\r
- struct ImageResolve\r
- {\r
- ImageResolve( ImageSubresourceLayers srcSubresource_ = ImageSubresourceLayers(), Offset3D srcOffset_ = Offset3D(), ImageSubresourceLayers dstSubresource_ = ImageSubresourceLayers(), Offset3D dstOffset_ = Offset3D(), Extent3D extent_ = Extent3D() )\r
- : srcSubresource( srcSubresource_ )\r
- , srcOffset( srcOffset_ )\r
- , dstSubresource( dstSubresource_ )\r
- , dstOffset( dstOffset_ )\r
- , extent( extent_ )\r
- {\r
- }\r
-\r
- ImageResolve( VkImageResolve const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageResolve ) );\r
- }\r
-\r
- ImageResolve& operator=( VkImageResolve const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageResolve ) );\r
- return *this;\r
- }\r
- ImageResolve& setSrcSubresource( ImageSubresourceLayers srcSubresource_ )\r
- {\r
- srcSubresource = srcSubresource_;\r
- return *this;\r
- }\r
-\r
- ImageResolve& setSrcOffset( Offset3D srcOffset_ )\r
- {\r
- srcOffset = srcOffset_;\r
- return *this;\r
- }\r
-\r
- ImageResolve& setDstSubresource( ImageSubresourceLayers dstSubresource_ )\r
- {\r
- dstSubresource = dstSubresource_;\r
- return *this;\r
- }\r
-\r
- ImageResolve& setDstOffset( Offset3D dstOffset_ )\r
- {\r
- dstOffset = dstOffset_;\r
- return *this;\r
- }\r
-\r
- ImageResolve& setExtent( Extent3D extent_ )\r
- {\r
- extent = extent_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageResolve&() const\r
- {\r
- return *reinterpret_cast<const VkImageResolve*>(this);\r
- }\r
-\r
- bool operator==( ImageResolve const& rhs ) const\r
- {\r
- return ( srcSubresource == rhs.srcSubresource )\r
- && ( srcOffset == rhs.srcOffset )\r
- && ( dstSubresource == rhs.dstSubresource )\r
- && ( dstOffset == rhs.dstOffset )\r
- && ( extent == rhs.extent );\r
- }\r
-\r
- bool operator!=( ImageResolve const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageSubresourceLayers srcSubresource;\r
- Offset3D srcOffset;\r
- ImageSubresourceLayers dstSubresource;\r
- Offset3D dstOffset;\r
- Extent3D extent;\r
- };\r
- static_assert( sizeof( ImageResolve ) == sizeof( VkImageResolve ), "struct and wrapper have different size!" );\r
-\r
- struct ClearAttachment\r
- {\r
- ClearAttachment( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t colorAttachment_ = 0, ClearValue clearValue_ = ClearValue() )\r
- : aspectMask( aspectMask_ )\r
- , colorAttachment( colorAttachment_ )\r
- , clearValue( clearValue_ )\r
- {\r
- }\r
-\r
- ClearAttachment( VkClearAttachment const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ClearAttachment ) );\r
- }\r
-\r
- ClearAttachment& operator=( VkClearAttachment const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ClearAttachment ) );\r
- return *this;\r
- }\r
- ClearAttachment& setAspectMask( ImageAspectFlags aspectMask_ )\r
- {\r
- aspectMask = aspectMask_;\r
- return *this;\r
- }\r
-\r
- ClearAttachment& setColorAttachment( uint32_t colorAttachment_ )\r
- {\r
- colorAttachment = colorAttachment_;\r
- return *this;\r
- }\r
-\r
- ClearAttachment& setClearValue( ClearValue clearValue_ )\r
- {\r
- clearValue = clearValue_;\r
- return *this;\r
- }\r
-\r
- operator const VkClearAttachment&() const\r
- {\r
- return *reinterpret_cast<const VkClearAttachment*>(this);\r
- }\r
-\r
- ImageAspectFlags aspectMask;\r
- uint32_t colorAttachment;\r
- ClearValue clearValue;\r
- };\r
- static_assert( sizeof( ClearAttachment ) == sizeof( VkClearAttachment ), "struct and wrapper have different size!" );\r
-\r
- struct InputAttachmentAspectReference\r
- {\r
- InputAttachmentAspectReference( uint32_t subpass_ = 0, uint32_t inputAttachmentIndex_ = 0, ImageAspectFlags aspectMask_ = ImageAspectFlags() )\r
- : subpass( subpass_ )\r
- , inputAttachmentIndex( inputAttachmentIndex_ )\r
- , aspectMask( aspectMask_ )\r
- {\r
- }\r
-\r
- InputAttachmentAspectReference( VkInputAttachmentAspectReference const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( InputAttachmentAspectReference ) );\r
- }\r
-\r
- InputAttachmentAspectReference& operator=( VkInputAttachmentAspectReference const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( InputAttachmentAspectReference ) );\r
- return *this;\r
- }\r
- InputAttachmentAspectReference& setSubpass( uint32_t subpass_ )\r
- {\r
- subpass = subpass_;\r
- return *this;\r
- }\r
-\r
- InputAttachmentAspectReference& setInputAttachmentIndex( uint32_t inputAttachmentIndex_ )\r
- {\r
- inputAttachmentIndex = inputAttachmentIndex_;\r
- return *this;\r
- }\r
-\r
- InputAttachmentAspectReference& setAspectMask( ImageAspectFlags aspectMask_ )\r
- {\r
- aspectMask = aspectMask_;\r
- return *this;\r
- }\r
-\r
- operator const VkInputAttachmentAspectReference&() const\r
- {\r
- return *reinterpret_cast<const VkInputAttachmentAspectReference*>(this);\r
- }\r
-\r
- bool operator==( InputAttachmentAspectReference const& rhs ) const\r
- {\r
- return ( subpass == rhs.subpass )\r
- && ( inputAttachmentIndex == rhs.inputAttachmentIndex )\r
- && ( aspectMask == rhs.aspectMask );\r
- }\r
-\r
- bool operator!=( InputAttachmentAspectReference const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t subpass;\r
- uint32_t inputAttachmentIndex;\r
- ImageAspectFlags aspectMask;\r
- };\r
- static_assert( sizeof( InputAttachmentAspectReference ) == sizeof( VkInputAttachmentAspectReference ), "struct and wrapper have different size!" );\r
-\r
- using InputAttachmentAspectReferenceKHR = InputAttachmentAspectReference;\r
-\r
- struct RenderPassInputAttachmentAspectCreateInfo\r
- {\r
- RenderPassInputAttachmentAspectCreateInfo( uint32_t aspectReferenceCount_ = 0, const InputAttachmentAspectReference* pAspectReferences_ = nullptr )\r
- : aspectReferenceCount( aspectReferenceCount_ )\r
- , pAspectReferences( pAspectReferences_ )\r
- {\r
- }\r
-\r
- RenderPassInputAttachmentAspectCreateInfo( VkRenderPassInputAttachmentAspectCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassInputAttachmentAspectCreateInfo ) );\r
- }\r
-\r
- RenderPassInputAttachmentAspectCreateInfo& operator=( VkRenderPassInputAttachmentAspectCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassInputAttachmentAspectCreateInfo ) );\r
- return *this;\r
- }\r
- RenderPassInputAttachmentAspectCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- RenderPassInputAttachmentAspectCreateInfo& setAspectReferenceCount( uint32_t aspectReferenceCount_ )\r
- {\r
- aspectReferenceCount = aspectReferenceCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassInputAttachmentAspectCreateInfo& setPAspectReferences( const InputAttachmentAspectReference* pAspectReferences_ )\r
- {\r
- pAspectReferences = pAspectReferences_;\r
- return *this;\r
- }\r
-\r
- operator const VkRenderPassInputAttachmentAspectCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkRenderPassInputAttachmentAspectCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( RenderPassInputAttachmentAspectCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( aspectReferenceCount == rhs.aspectReferenceCount )\r
- && ( pAspectReferences == rhs.pAspectReferences );\r
- }\r
-\r
- bool operator!=( RenderPassInputAttachmentAspectCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eRenderPassInputAttachmentAspectCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t aspectReferenceCount;\r
- const InputAttachmentAspectReference* pAspectReferences;\r
- };\r
- static_assert( sizeof( RenderPassInputAttachmentAspectCreateInfo ) == sizeof( VkRenderPassInputAttachmentAspectCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using RenderPassInputAttachmentAspectCreateInfoKHR = RenderPassInputAttachmentAspectCreateInfo;\r
-\r
- struct BindImagePlaneMemoryInfo\r
- {\r
- BindImagePlaneMemoryInfo( ImageAspectFlagBits planeAspect_ = ImageAspectFlagBits::eColor )\r
- : planeAspect( planeAspect_ )\r
- {\r
- }\r
-\r
- BindImagePlaneMemoryInfo( VkBindImagePlaneMemoryInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImagePlaneMemoryInfo ) );\r
- }\r
-\r
- BindImagePlaneMemoryInfo& operator=( VkBindImagePlaneMemoryInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindImagePlaneMemoryInfo ) );\r
- return *this;\r
- }\r
- BindImagePlaneMemoryInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BindImagePlaneMemoryInfo& setPlaneAspect( ImageAspectFlagBits planeAspect_ )\r
- {\r
- planeAspect = planeAspect_;\r
- return *this;\r
- }\r
-\r
- operator const VkBindImagePlaneMemoryInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBindImagePlaneMemoryInfo*>(this);\r
- }\r
-\r
- bool operator==( BindImagePlaneMemoryInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( planeAspect == rhs.planeAspect );\r
- }\r
-\r
- bool operator!=( BindImagePlaneMemoryInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBindImagePlaneMemoryInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ImageAspectFlagBits planeAspect;\r
- };\r
- static_assert( sizeof( BindImagePlaneMemoryInfo ) == sizeof( VkBindImagePlaneMemoryInfo ), "struct and wrapper have different size!" );\r
-\r
- using BindImagePlaneMemoryInfoKHR = BindImagePlaneMemoryInfo;\r
-\r
- struct ImagePlaneMemoryRequirementsInfo\r
- {\r
- ImagePlaneMemoryRequirementsInfo( ImageAspectFlagBits planeAspect_ = ImageAspectFlagBits::eColor )\r
- : planeAspect( planeAspect_ )\r
- {\r
- }\r
-\r
- ImagePlaneMemoryRequirementsInfo( VkImagePlaneMemoryRequirementsInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImagePlaneMemoryRequirementsInfo ) );\r
- }\r
-\r
- ImagePlaneMemoryRequirementsInfo& operator=( VkImagePlaneMemoryRequirementsInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImagePlaneMemoryRequirementsInfo ) );\r
- return *this;\r
- }\r
- ImagePlaneMemoryRequirementsInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImagePlaneMemoryRequirementsInfo& setPlaneAspect( ImageAspectFlagBits planeAspect_ )\r
- {\r
- planeAspect = planeAspect_;\r
- return *this;\r
- }\r
-\r
- operator const VkImagePlaneMemoryRequirementsInfo&() const\r
- {\r
- return *reinterpret_cast<const VkImagePlaneMemoryRequirementsInfo*>(this);\r
- }\r
-\r
- bool operator==( ImagePlaneMemoryRequirementsInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( planeAspect == rhs.planeAspect );\r
- }\r
-\r
- bool operator!=( ImagePlaneMemoryRequirementsInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImagePlaneMemoryRequirementsInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ImageAspectFlagBits planeAspect;\r
- };\r
- static_assert( sizeof( ImagePlaneMemoryRequirementsInfo ) == sizeof( VkImagePlaneMemoryRequirementsInfo ), "struct and wrapper have different size!" );\r
-\r
- using ImagePlaneMemoryRequirementsInfoKHR = ImagePlaneMemoryRequirementsInfo;\r
-\r
- enum class SparseImageFormatFlagBits\r
- {\r
- eSingleMiptail = VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT,\r
- eAlignedMipSize = VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT,\r
- eNonstandardBlockSize = VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT\r
- };\r
-\r
- using SparseImageFormatFlags = Flags<SparseImageFormatFlagBits, VkSparseImageFormatFlags>;\r
-\r
- VULKAN_HPP_INLINE SparseImageFormatFlags operator|( SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1 )\r
- {\r
- return SparseImageFormatFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SparseImageFormatFlags operator~( SparseImageFormatFlagBits bits )\r
- {\r
- return ~( SparseImageFormatFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SparseImageFormatFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SparseImageFormatFlagBits::eSingleMiptail) | VkFlags(SparseImageFormatFlagBits::eAlignedMipSize) | VkFlags(SparseImageFormatFlagBits::eNonstandardBlockSize)\r
- };\r
- };\r
-\r
- struct SparseImageFormatProperties\r
- {\r
- operator const VkSparseImageFormatProperties&() const\r
- {\r
- return *reinterpret_cast<const VkSparseImageFormatProperties*>(this);\r
- }\r
-\r
- bool operator==( SparseImageFormatProperties const& rhs ) const\r
- {\r
- return ( aspectMask == rhs.aspectMask )\r
- && ( imageGranularity == rhs.imageGranularity )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( SparseImageFormatProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageAspectFlags aspectMask;\r
- Extent3D imageGranularity;\r
- SparseImageFormatFlags flags;\r
- };\r
- static_assert( sizeof( SparseImageFormatProperties ) == sizeof( VkSparseImageFormatProperties ), "struct and wrapper have different size!" );\r
-\r
- struct SparseImageMemoryRequirements\r
- {\r
- operator const VkSparseImageMemoryRequirements&() const\r
- {\r
- return *reinterpret_cast<const VkSparseImageMemoryRequirements*>(this);\r
- }\r
-\r
- bool operator==( SparseImageMemoryRequirements const& rhs ) const\r
- {\r
- return ( formatProperties == rhs.formatProperties )\r
- && ( imageMipTailFirstLod == rhs.imageMipTailFirstLod )\r
- && ( imageMipTailSize == rhs.imageMipTailSize )\r
- && ( imageMipTailOffset == rhs.imageMipTailOffset )\r
- && ( imageMipTailStride == rhs.imageMipTailStride );\r
- }\r
-\r
- bool operator!=( SparseImageMemoryRequirements const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- SparseImageFormatProperties formatProperties;\r
- uint32_t imageMipTailFirstLod;\r
- DeviceSize imageMipTailSize;\r
- DeviceSize imageMipTailOffset;\r
- DeviceSize imageMipTailStride;\r
- };\r
- static_assert( sizeof( SparseImageMemoryRequirements ) == sizeof( VkSparseImageMemoryRequirements ), "struct and wrapper have different size!" );\r
-\r
- struct SparseImageFormatProperties2\r
- {\r
- operator const VkSparseImageFormatProperties2&() const\r
- {\r
- return *reinterpret_cast<const VkSparseImageFormatProperties2*>(this);\r
- }\r
-\r
- bool operator==( SparseImageFormatProperties2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( properties == rhs.properties );\r
- }\r
-\r
- bool operator!=( SparseImageFormatProperties2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSparseImageFormatProperties2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- SparseImageFormatProperties properties;\r
- };\r
- static_assert( sizeof( SparseImageFormatProperties2 ) == sizeof( VkSparseImageFormatProperties2 ), "struct and wrapper have different size!" );\r
-\r
- using SparseImageFormatProperties2KHR = SparseImageFormatProperties2;\r
-\r
- struct SparseImageMemoryRequirements2\r
- {\r
- operator const VkSparseImageMemoryRequirements2&() const\r
- {\r
- return *reinterpret_cast<const VkSparseImageMemoryRequirements2*>(this);\r
- }\r
-\r
- bool operator==( SparseImageMemoryRequirements2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memoryRequirements == rhs.memoryRequirements );\r
- }\r
-\r
- bool operator!=( SparseImageMemoryRequirements2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSparseImageMemoryRequirements2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- SparseImageMemoryRequirements memoryRequirements;\r
- };\r
- static_assert( sizeof( SparseImageMemoryRequirements2 ) == sizeof( VkSparseImageMemoryRequirements2 ), "struct and wrapper have different size!" );\r
-\r
- using SparseImageMemoryRequirements2KHR = SparseImageMemoryRequirements2;\r
-\r
- enum class SparseMemoryBindFlagBits\r
- {\r
- eMetadata = VK_SPARSE_MEMORY_BIND_METADATA_BIT\r
- };\r
-\r
- using SparseMemoryBindFlags = Flags<SparseMemoryBindFlagBits, VkSparseMemoryBindFlags>;\r
-\r
- VULKAN_HPP_INLINE SparseMemoryBindFlags operator|( SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1 )\r
- {\r
- return SparseMemoryBindFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SparseMemoryBindFlags operator~( SparseMemoryBindFlagBits bits )\r
- {\r
- return ~( SparseMemoryBindFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SparseMemoryBindFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SparseMemoryBindFlagBits::eMetadata)\r
- };\r
- };\r
-\r
- struct SparseMemoryBind\r
- {\r
- SparseMemoryBind( DeviceSize resourceOffset_ = 0, DeviceSize size_ = 0, DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0, SparseMemoryBindFlags flags_ = SparseMemoryBindFlags() )\r
- : resourceOffset( resourceOffset_ )\r
- , size( size_ )\r
- , memory( memory_ )\r
- , memoryOffset( memoryOffset_ )\r
- , flags( flags_ )\r
- {\r
- }\r
-\r
- SparseMemoryBind( VkSparseMemoryBind const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseMemoryBind ) );\r
- }\r
-\r
- SparseMemoryBind& operator=( VkSparseMemoryBind const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseMemoryBind ) );\r
- return *this;\r
- }\r
- SparseMemoryBind& setResourceOffset( DeviceSize resourceOffset_ )\r
- {\r
- resourceOffset = resourceOffset_;\r
- return *this;\r
- }\r
-\r
- SparseMemoryBind& setSize( DeviceSize size_ )\r
- {\r
- size = size_;\r
- return *this;\r
- }\r
-\r
- SparseMemoryBind& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- SparseMemoryBind& setMemoryOffset( DeviceSize memoryOffset_ )\r
- {\r
- memoryOffset = memoryOffset_;\r
- return *this;\r
- }\r
-\r
- SparseMemoryBind& setFlags( SparseMemoryBindFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- operator const VkSparseMemoryBind&() const\r
- {\r
- return *reinterpret_cast<const VkSparseMemoryBind*>(this);\r
- }\r
-\r
- bool operator==( SparseMemoryBind const& rhs ) const\r
- {\r
- return ( resourceOffset == rhs.resourceOffset )\r
- && ( size == rhs.size )\r
- && ( memory == rhs.memory )\r
- && ( memoryOffset == rhs.memoryOffset )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( SparseMemoryBind const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DeviceSize resourceOffset;\r
- DeviceSize size;\r
- DeviceMemory memory;\r
- DeviceSize memoryOffset;\r
- SparseMemoryBindFlags flags;\r
- };\r
- static_assert( sizeof( SparseMemoryBind ) == sizeof( VkSparseMemoryBind ), "struct and wrapper have different size!" );\r
-\r
- struct SparseImageMemoryBind\r
- {\r
- SparseImageMemoryBind( ImageSubresource subresource_ = ImageSubresource(), Offset3D offset_ = Offset3D(), Extent3D extent_ = Extent3D(), DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0, SparseMemoryBindFlags flags_ = SparseMemoryBindFlags() )\r
- : subresource( subresource_ )\r
- , offset( offset_ )\r
- , extent( extent_ )\r
- , memory( memory_ )\r
- , memoryOffset( memoryOffset_ )\r
- , flags( flags_ )\r
- {\r
- }\r
-\r
- SparseImageMemoryBind( VkSparseImageMemoryBind const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseImageMemoryBind ) );\r
- }\r
-\r
- SparseImageMemoryBind& operator=( VkSparseImageMemoryBind const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseImageMemoryBind ) );\r
- return *this;\r
- }\r
- SparseImageMemoryBind& setSubresource( ImageSubresource subresource_ )\r
- {\r
- subresource = subresource_;\r
- return *this;\r
- }\r
-\r
- SparseImageMemoryBind& setOffset( Offset3D offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- SparseImageMemoryBind& setExtent( Extent3D extent_ )\r
- {\r
- extent = extent_;\r
- return *this;\r
- }\r
-\r
- SparseImageMemoryBind& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- SparseImageMemoryBind& setMemoryOffset( DeviceSize memoryOffset_ )\r
- {\r
- memoryOffset = memoryOffset_;\r
- return *this;\r
- }\r
-\r
- SparseImageMemoryBind& setFlags( SparseMemoryBindFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- operator const VkSparseImageMemoryBind&() const\r
- {\r
- return *reinterpret_cast<const VkSparseImageMemoryBind*>(this);\r
- }\r
-\r
- bool operator==( SparseImageMemoryBind const& rhs ) const\r
- {\r
- return ( subresource == rhs.subresource )\r
- && ( offset == rhs.offset )\r
- && ( extent == rhs.extent )\r
- && ( memory == rhs.memory )\r
- && ( memoryOffset == rhs.memoryOffset )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( SparseImageMemoryBind const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageSubresource subresource;\r
- Offset3D offset;\r
- Extent3D extent;\r
- DeviceMemory memory;\r
- DeviceSize memoryOffset;\r
- SparseMemoryBindFlags flags;\r
- };\r
- static_assert( sizeof( SparseImageMemoryBind ) == sizeof( VkSparseImageMemoryBind ), "struct and wrapper have different size!" );\r
-\r
- struct SparseBufferMemoryBindInfo\r
- {\r
- SparseBufferMemoryBindInfo( Buffer buffer_ = Buffer(), uint32_t bindCount_ = 0, const SparseMemoryBind* pBinds_ = nullptr )\r
- : buffer( buffer_ )\r
- , bindCount( bindCount_ )\r
- , pBinds( pBinds_ )\r
- {\r
- }\r
-\r
- SparseBufferMemoryBindInfo( VkSparseBufferMemoryBindInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseBufferMemoryBindInfo ) );\r
- }\r
-\r
- SparseBufferMemoryBindInfo& operator=( VkSparseBufferMemoryBindInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseBufferMemoryBindInfo ) );\r
- return *this;\r
- }\r
- SparseBufferMemoryBindInfo& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- SparseBufferMemoryBindInfo& setBindCount( uint32_t bindCount_ )\r
- {\r
- bindCount = bindCount_;\r
- return *this;\r
- }\r
-\r
- SparseBufferMemoryBindInfo& setPBinds( const SparseMemoryBind* pBinds_ )\r
- {\r
- pBinds = pBinds_;\r
- return *this;\r
- }\r
-\r
- operator const VkSparseBufferMemoryBindInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSparseBufferMemoryBindInfo*>(this);\r
- }\r
-\r
- bool operator==( SparseBufferMemoryBindInfo const& rhs ) const\r
- {\r
- return ( buffer == rhs.buffer )\r
- && ( bindCount == rhs.bindCount )\r
- && ( pBinds == rhs.pBinds );\r
- }\r
-\r
- bool operator!=( SparseBufferMemoryBindInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Buffer buffer;\r
- uint32_t bindCount;\r
- const SparseMemoryBind* pBinds;\r
- };\r
- static_assert( sizeof( SparseBufferMemoryBindInfo ) == sizeof( VkSparseBufferMemoryBindInfo ), "struct and wrapper have different size!" );\r
-\r
- struct SparseImageOpaqueMemoryBindInfo\r
- {\r
- SparseImageOpaqueMemoryBindInfo( Image image_ = Image(), uint32_t bindCount_ = 0, const SparseMemoryBind* pBinds_ = nullptr )\r
- : image( image_ )\r
- , bindCount( bindCount_ )\r
- , pBinds( pBinds_ )\r
- {\r
- }\r
-\r
- SparseImageOpaqueMemoryBindInfo( VkSparseImageOpaqueMemoryBindInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseImageOpaqueMemoryBindInfo ) );\r
- }\r
-\r
- SparseImageOpaqueMemoryBindInfo& operator=( VkSparseImageOpaqueMemoryBindInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseImageOpaqueMemoryBindInfo ) );\r
- return *this;\r
- }\r
- SparseImageOpaqueMemoryBindInfo& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- SparseImageOpaqueMemoryBindInfo& setBindCount( uint32_t bindCount_ )\r
- {\r
- bindCount = bindCount_;\r
- return *this;\r
- }\r
-\r
- SparseImageOpaqueMemoryBindInfo& setPBinds( const SparseMemoryBind* pBinds_ )\r
- {\r
- pBinds = pBinds_;\r
- return *this;\r
- }\r
-\r
- operator const VkSparseImageOpaqueMemoryBindInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSparseImageOpaqueMemoryBindInfo*>(this);\r
- }\r
-\r
- bool operator==( SparseImageOpaqueMemoryBindInfo const& rhs ) const\r
- {\r
- return ( image == rhs.image )\r
- && ( bindCount == rhs.bindCount )\r
- && ( pBinds == rhs.pBinds );\r
- }\r
-\r
- bool operator!=( SparseImageOpaqueMemoryBindInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Image image;\r
- uint32_t bindCount;\r
- const SparseMemoryBind* pBinds;\r
- };\r
- static_assert( sizeof( SparseImageOpaqueMemoryBindInfo ) == sizeof( VkSparseImageOpaqueMemoryBindInfo ), "struct and wrapper have different size!" );\r
-\r
- struct SparseImageMemoryBindInfo\r
- {\r
- SparseImageMemoryBindInfo( Image image_ = Image(), uint32_t bindCount_ = 0, const SparseImageMemoryBind* pBinds_ = nullptr )\r
- : image( image_ )\r
- , bindCount( bindCount_ )\r
- , pBinds( pBinds_ )\r
- {\r
- }\r
-\r
- SparseImageMemoryBindInfo( VkSparseImageMemoryBindInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseImageMemoryBindInfo ) );\r
- }\r
-\r
- SparseImageMemoryBindInfo& operator=( VkSparseImageMemoryBindInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SparseImageMemoryBindInfo ) );\r
- return *this;\r
- }\r
- SparseImageMemoryBindInfo& setImage( Image image_ )\r
- {\r
- image = image_;\r
- return *this;\r
- }\r
-\r
- SparseImageMemoryBindInfo& setBindCount( uint32_t bindCount_ )\r
- {\r
- bindCount = bindCount_;\r
- return *this;\r
- }\r
-\r
- SparseImageMemoryBindInfo& setPBinds( const SparseImageMemoryBind* pBinds_ )\r
- {\r
- pBinds = pBinds_;\r
- return *this;\r
- }\r
-\r
- operator const VkSparseImageMemoryBindInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSparseImageMemoryBindInfo*>(this);\r
- }\r
-\r
- bool operator==( SparseImageMemoryBindInfo const& rhs ) const\r
- {\r
- return ( image == rhs.image )\r
- && ( bindCount == rhs.bindCount )\r
- && ( pBinds == rhs.pBinds );\r
- }\r
-\r
- bool operator!=( SparseImageMemoryBindInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Image image;\r
- uint32_t bindCount;\r
- const SparseImageMemoryBind* pBinds;\r
- };\r
- static_assert( sizeof( SparseImageMemoryBindInfo ) == sizeof( VkSparseImageMemoryBindInfo ), "struct and wrapper have different size!" );\r
-\r
- struct BindSparseInfo\r
- {\r
- BindSparseInfo( uint32_t waitSemaphoreCount_ = 0, const Semaphore* pWaitSemaphores_ = nullptr, uint32_t bufferBindCount_ = 0, const SparseBufferMemoryBindInfo* pBufferBinds_ = nullptr, uint32_t imageOpaqueBindCount_ = 0, const SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds_ = nullptr, uint32_t imageBindCount_ = 0, const SparseImageMemoryBindInfo* pImageBinds_ = nullptr, uint32_t signalSemaphoreCount_ = 0, const Semaphore* pSignalSemaphores_ = nullptr )\r
- : waitSemaphoreCount( waitSemaphoreCount_ )\r
- , pWaitSemaphores( pWaitSemaphores_ )\r
- , bufferBindCount( bufferBindCount_ )\r
- , pBufferBinds( pBufferBinds_ )\r
- , imageOpaqueBindCount( imageOpaqueBindCount_ )\r
- , pImageOpaqueBinds( pImageOpaqueBinds_ )\r
- , imageBindCount( imageBindCount_ )\r
- , pImageBinds( pImageBinds_ )\r
- , signalSemaphoreCount( signalSemaphoreCount_ )\r
- , pSignalSemaphores( pSignalSemaphores_ )\r
- {\r
- }\r
-\r
- BindSparseInfo( VkBindSparseInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindSparseInfo ) );\r
- }\r
-\r
- BindSparseInfo& operator=( VkBindSparseInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( BindSparseInfo ) );\r
- return *this;\r
- }\r
- BindSparseInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )\r
- {\r
- waitSemaphoreCount = waitSemaphoreCount_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setPWaitSemaphores( const Semaphore* pWaitSemaphores_ )\r
- {\r
- pWaitSemaphores = pWaitSemaphores_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setBufferBindCount( uint32_t bufferBindCount_ )\r
- {\r
- bufferBindCount = bufferBindCount_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setPBufferBinds( const SparseBufferMemoryBindInfo* pBufferBinds_ )\r
- {\r
- pBufferBinds = pBufferBinds_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setImageOpaqueBindCount( uint32_t imageOpaqueBindCount_ )\r
- {\r
- imageOpaqueBindCount = imageOpaqueBindCount_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setPImageOpaqueBinds( const SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds_ )\r
- {\r
- pImageOpaqueBinds = pImageOpaqueBinds_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setImageBindCount( uint32_t imageBindCount_ )\r
- {\r
- imageBindCount = imageBindCount_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setPImageBinds( const SparseImageMemoryBindInfo* pImageBinds_ )\r
- {\r
- pImageBinds = pImageBinds_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ )\r
- {\r
- signalSemaphoreCount = signalSemaphoreCount_;\r
- return *this;\r
- }\r
-\r
- BindSparseInfo& setPSignalSemaphores( const Semaphore* pSignalSemaphores_ )\r
- {\r
- pSignalSemaphores = pSignalSemaphores_;\r
- return *this;\r
- }\r
-\r
- operator const VkBindSparseInfo&() const\r
- {\r
- return *reinterpret_cast<const VkBindSparseInfo*>(this);\r
- }\r
-\r
- bool operator==( BindSparseInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( waitSemaphoreCount == rhs.waitSemaphoreCount )\r
- && ( pWaitSemaphores == rhs.pWaitSemaphores )\r
- && ( bufferBindCount == rhs.bufferBindCount )\r
- && ( pBufferBinds == rhs.pBufferBinds )\r
- && ( imageOpaqueBindCount == rhs.imageOpaqueBindCount )\r
- && ( pImageOpaqueBinds == rhs.pImageOpaqueBinds )\r
- && ( imageBindCount == rhs.imageBindCount )\r
- && ( pImageBinds == rhs.pImageBinds )\r
- && ( signalSemaphoreCount == rhs.signalSemaphoreCount )\r
- && ( pSignalSemaphores == rhs.pSignalSemaphores );\r
- }\r
-\r
- bool operator!=( BindSparseInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eBindSparseInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t waitSemaphoreCount;\r
- const Semaphore* pWaitSemaphores;\r
- uint32_t bufferBindCount;\r
- const SparseBufferMemoryBindInfo* pBufferBinds;\r
- uint32_t imageOpaqueBindCount;\r
- const SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds;\r
- uint32_t imageBindCount;\r
- const SparseImageMemoryBindInfo* pImageBinds;\r
- uint32_t signalSemaphoreCount;\r
- const Semaphore* pSignalSemaphores;\r
- };\r
- static_assert( sizeof( BindSparseInfo ) == sizeof( VkBindSparseInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class PipelineStageFlagBits\r
- {\r
- eTopOfPipe = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,\r
- eDrawIndirect = VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT,\r
- eVertexInput = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT,\r
- eVertexShader = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT,\r
- eTessellationControlShader = VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT,\r
- eTessellationEvaluationShader = VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT,\r
- eGeometryShader = VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT,\r
- eFragmentShader = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,\r
- eEarlyFragmentTests = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT,\r
- eLateFragmentTests = VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT,\r
- eColorAttachmentOutput = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,\r
- eComputeShader = VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,\r
- eTransfer = VK_PIPELINE_STAGE_TRANSFER_BIT,\r
- eBottomOfPipe = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,\r
- eHost = VK_PIPELINE_STAGE_HOST_BIT,\r
- eAllGraphics = VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT,\r
- eAllCommands = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,\r
- eCommandProcessNVX = VK_PIPELINE_STAGE_COMMAND_PROCESS_BIT_NVX\r
- };\r
-\r
- using PipelineStageFlags = Flags<PipelineStageFlagBits, VkPipelineStageFlags>;\r
-\r
- VULKAN_HPP_INLINE PipelineStageFlags operator|( PipelineStageFlagBits bit0, PipelineStageFlagBits bit1 )\r
- {\r
- return PipelineStageFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE PipelineStageFlags operator~( PipelineStageFlagBits bits )\r
- {\r
- return ~( PipelineStageFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<PipelineStageFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(PipelineStageFlagBits::eTopOfPipe) | VkFlags(PipelineStageFlagBits::eDrawIndirect) | VkFlags(PipelineStageFlagBits::eVertexInput) | VkFlags(PipelineStageFlagBits::eVertexShader) | VkFlags(PipelineStageFlagBits::eTessellationControlShader) | VkFlags(PipelineStageFlagBits::eTessellationEvaluationShader) | VkFlags(PipelineStageFlagBits::eGeometryShader) | VkFlags(PipelineStageFlagBits::eFragmentShader) | VkFlags(PipelineStageFlagBits::eEarlyFragmentTests) | VkFlags(PipelineStageFlagBits::eLateFragmentTests) | VkFlags(PipelineStageFlagBits::eColorAttachmentOutput) | VkFlags(PipelineStageFlagBits::eComputeShader) | VkFlags(PipelineStageFlagBits::eTransfer) | VkFlags(PipelineStageFlagBits::eBottomOfPipe) | VkFlags(PipelineStageFlagBits::eHost) | VkFlags(PipelineStageFlagBits::eAllGraphics) | VkFlags(PipelineStageFlagBits::eAllCommands) | VkFlags(PipelineStageFlagBits::eCommandProcessNVX)\r
- };\r
- };\r
-\r
- enum class CommandPoolCreateFlagBits\r
- {\r
- eTransient = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT,\r
- eResetCommandBuffer = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT,\r
- eProtected = VK_COMMAND_POOL_CREATE_PROTECTED_BIT\r
- };\r
-\r
- using CommandPoolCreateFlags = Flags<CommandPoolCreateFlagBits, VkCommandPoolCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE CommandPoolCreateFlags operator|( CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1 )\r
- {\r
- return CommandPoolCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE CommandPoolCreateFlags operator~( CommandPoolCreateFlagBits bits )\r
- {\r
- return ~( CommandPoolCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<CommandPoolCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(CommandPoolCreateFlagBits::eTransient) | VkFlags(CommandPoolCreateFlagBits::eResetCommandBuffer) | VkFlags(CommandPoolCreateFlagBits::eProtected)\r
- };\r
- };\r
-\r
- struct CommandPoolCreateInfo\r
- {\r
- CommandPoolCreateInfo( CommandPoolCreateFlags flags_ = CommandPoolCreateFlags(), uint32_t queueFamilyIndex_ = 0 )\r
- : flags( flags_ )\r
- , queueFamilyIndex( queueFamilyIndex_ )\r
- {\r
- }\r
-\r
- CommandPoolCreateInfo( VkCommandPoolCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandPoolCreateInfo ) );\r
- }\r
-\r
- CommandPoolCreateInfo& operator=( VkCommandPoolCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CommandPoolCreateInfo ) );\r
- return *this;\r
- }\r
- CommandPoolCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- CommandPoolCreateInfo& setFlags( CommandPoolCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- CommandPoolCreateInfo& setQueueFamilyIndex( uint32_t queueFamilyIndex_ )\r
- {\r
- queueFamilyIndex = queueFamilyIndex_;\r
- return *this;\r
- }\r
-\r
- operator const VkCommandPoolCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkCommandPoolCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( CommandPoolCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( queueFamilyIndex == rhs.queueFamilyIndex );\r
- }\r
-\r
- bool operator!=( CommandPoolCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eCommandPoolCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- CommandPoolCreateFlags flags;\r
- uint32_t queueFamilyIndex;\r
- };\r
- static_assert( sizeof( CommandPoolCreateInfo ) == sizeof( VkCommandPoolCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class CommandPoolResetFlagBits\r
- {\r
- eReleaseResources = VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT\r
- };\r
-\r
- using CommandPoolResetFlags = Flags<CommandPoolResetFlagBits, VkCommandPoolResetFlags>;\r
-\r
- VULKAN_HPP_INLINE CommandPoolResetFlags operator|( CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1 )\r
- {\r
- return CommandPoolResetFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE CommandPoolResetFlags operator~( CommandPoolResetFlagBits bits )\r
- {\r
- return ~( CommandPoolResetFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<CommandPoolResetFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(CommandPoolResetFlagBits::eReleaseResources)\r
- };\r
- };\r
-\r
- enum class CommandBufferResetFlagBits\r
- {\r
- eReleaseResources = VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT\r
- };\r
-\r
- using CommandBufferResetFlags = Flags<CommandBufferResetFlagBits, VkCommandBufferResetFlags>;\r
-\r
- VULKAN_HPP_INLINE CommandBufferResetFlags operator|( CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1 )\r
- {\r
- return CommandBufferResetFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE CommandBufferResetFlags operator~( CommandBufferResetFlagBits bits )\r
- {\r
- return ~( CommandBufferResetFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<CommandBufferResetFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(CommandBufferResetFlagBits::eReleaseResources)\r
- };\r
- };\r
-\r
- enum class SampleCountFlagBits\r
- {\r
- e1 = VK_SAMPLE_COUNT_1_BIT,\r
- e2 = VK_SAMPLE_COUNT_2_BIT,\r
- e4 = VK_SAMPLE_COUNT_4_BIT,\r
- e8 = VK_SAMPLE_COUNT_8_BIT,\r
- e16 = VK_SAMPLE_COUNT_16_BIT,\r
- e32 = VK_SAMPLE_COUNT_32_BIT,\r
- e64 = VK_SAMPLE_COUNT_64_BIT\r
- };\r
-\r
- using SampleCountFlags = Flags<SampleCountFlagBits, VkSampleCountFlags>;\r
-\r
- VULKAN_HPP_INLINE SampleCountFlags operator|( SampleCountFlagBits bit0, SampleCountFlagBits bit1 )\r
- {\r
- return SampleCountFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SampleCountFlags operator~( SampleCountFlagBits bits )\r
- {\r
- return ~( SampleCountFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SampleCountFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SampleCountFlagBits::e1) | VkFlags(SampleCountFlagBits::e2) | VkFlags(SampleCountFlagBits::e4) | VkFlags(SampleCountFlagBits::e8) | VkFlags(SampleCountFlagBits::e16) | VkFlags(SampleCountFlagBits::e32) | VkFlags(SampleCountFlagBits::e64)\r
- };\r
- };\r
-\r
- struct ImageFormatProperties\r
- {\r
- operator const VkImageFormatProperties&() const\r
- {\r
- return *reinterpret_cast<const VkImageFormatProperties*>(this);\r
- }\r
-\r
- bool operator==( ImageFormatProperties const& rhs ) const\r
- {\r
- return ( maxExtent == rhs.maxExtent )\r
- && ( maxMipLevels == rhs.maxMipLevels )\r
- && ( maxArrayLayers == rhs.maxArrayLayers )\r
- && ( sampleCounts == rhs.sampleCounts )\r
- && ( maxResourceSize == rhs.maxResourceSize );\r
- }\r
-\r
- bool operator!=( ImageFormatProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Extent3D maxExtent;\r
- uint32_t maxMipLevels;\r
- uint32_t maxArrayLayers;\r
- SampleCountFlags sampleCounts;\r
- DeviceSize maxResourceSize;\r
- };\r
- static_assert( sizeof( ImageFormatProperties ) == sizeof( VkImageFormatProperties ), "struct and wrapper have different size!" );\r
-\r
- struct ImageCreateInfo\r
- {\r
- ImageCreateInfo( ImageCreateFlags flags_ = ImageCreateFlags(), ImageType imageType_ = ImageType::e1D, Format format_ = Format::eUndefined, Extent3D extent_ = Extent3D(), uint32_t mipLevels_ = 0, uint32_t arrayLayers_ = 0, SampleCountFlagBits samples_ = SampleCountFlagBits::e1, ImageTiling tiling_ = ImageTiling::eOptimal, ImageUsageFlags usage_ = ImageUsageFlags(), SharingMode sharingMode_ = SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = 0, const uint32_t* pQueueFamilyIndices_ = nullptr, ImageLayout initialLayout_ = ImageLayout::eUndefined )\r
- : flags( flags_ )\r
- , imageType( imageType_ )\r
- , format( format_ )\r
- , extent( extent_ )\r
- , mipLevels( mipLevels_ )\r
- , arrayLayers( arrayLayers_ )\r
- , samples( samples_ )\r
- , tiling( tiling_ )\r
- , usage( usage_ )\r
- , sharingMode( sharingMode_ )\r
- , queueFamilyIndexCount( queueFamilyIndexCount_ )\r
- , pQueueFamilyIndices( pQueueFamilyIndices_ )\r
- , initialLayout( initialLayout_ )\r
- {\r
- }\r
-\r
- ImageCreateInfo( VkImageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageCreateInfo ) );\r
- }\r
-\r
- ImageCreateInfo& operator=( VkImageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImageCreateInfo ) );\r
- return *this;\r
- }\r
- ImageCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setFlags( ImageCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setImageType( ImageType imageType_ )\r
- {\r
- imageType = imageType_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setExtent( Extent3D extent_ )\r
- {\r
- extent = extent_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setMipLevels( uint32_t mipLevels_ )\r
- {\r
- mipLevels = mipLevels_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setArrayLayers( uint32_t arrayLayers_ )\r
- {\r
- arrayLayers = arrayLayers_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setSamples( SampleCountFlagBits samples_ )\r
- {\r
- samples = samples_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setTiling( ImageTiling tiling_ )\r
- {\r
- tiling = tiling_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setUsage( ImageUsageFlags usage_ )\r
- {\r
- usage = usage_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setSharingMode( SharingMode sharingMode_ )\r
- {\r
- sharingMode = sharingMode_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ )\r
- {\r
- queueFamilyIndexCount = queueFamilyIndexCount_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ )\r
- {\r
- pQueueFamilyIndices = pQueueFamilyIndices_;\r
- return *this;\r
- }\r
-\r
- ImageCreateInfo& setInitialLayout( ImageLayout initialLayout_ )\r
- {\r
- initialLayout = initialLayout_;\r
- return *this;\r
- }\r
-\r
- operator const VkImageCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkImageCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ImageCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( imageType == rhs.imageType )\r
- && ( format == rhs.format )\r
- && ( extent == rhs.extent )\r
- && ( mipLevels == rhs.mipLevels )\r
- && ( arrayLayers == rhs.arrayLayers )\r
- && ( samples == rhs.samples )\r
- && ( tiling == rhs.tiling )\r
- && ( usage == rhs.usage )\r
- && ( sharingMode == rhs.sharingMode )\r
- && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount )\r
- && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices )\r
- && ( initialLayout == rhs.initialLayout );\r
- }\r
-\r
- bool operator!=( ImageCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ImageCreateFlags flags;\r
- ImageType imageType;\r
- Format format;\r
- Extent3D extent;\r
- uint32_t mipLevels;\r
- uint32_t arrayLayers;\r
- SampleCountFlagBits samples;\r
- ImageTiling tiling;\r
- ImageUsageFlags usage;\r
- SharingMode sharingMode;\r
- uint32_t queueFamilyIndexCount;\r
- const uint32_t* pQueueFamilyIndices;\r
- ImageLayout initialLayout;\r
- };\r
- static_assert( sizeof( ImageCreateInfo ) == sizeof( VkImageCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineMultisampleStateCreateInfo\r
- {\r
- PipelineMultisampleStateCreateInfo( PipelineMultisampleStateCreateFlags flags_ = PipelineMultisampleStateCreateFlags(), SampleCountFlagBits rasterizationSamples_ = SampleCountFlagBits::e1, Bool32 sampleShadingEnable_ = 0, float minSampleShading_ = 0, const SampleMask* pSampleMask_ = nullptr, Bool32 alphaToCoverageEnable_ = 0, Bool32 alphaToOneEnable_ = 0 )\r
- : flags( flags_ )\r
- , rasterizationSamples( rasterizationSamples_ )\r
- , sampleShadingEnable( sampleShadingEnable_ )\r
- , minSampleShading( minSampleShading_ )\r
- , pSampleMask( pSampleMask_ )\r
- , alphaToCoverageEnable( alphaToCoverageEnable_ )\r
- , alphaToOneEnable( alphaToOneEnable_ )\r
- {\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo( VkPipelineMultisampleStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineMultisampleStateCreateInfo ) );\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& operator=( VkPipelineMultisampleStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineMultisampleStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineMultisampleStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& setFlags( PipelineMultisampleStateCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& setRasterizationSamples( SampleCountFlagBits rasterizationSamples_ )\r
- {\r
- rasterizationSamples = rasterizationSamples_;\r
- return *this;\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& setSampleShadingEnable( Bool32 sampleShadingEnable_ )\r
- {\r
- sampleShadingEnable = sampleShadingEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& setMinSampleShading( float minSampleShading_ )\r
- {\r
- minSampleShading = minSampleShading_;\r
- return *this;\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& setPSampleMask( const SampleMask* pSampleMask_ )\r
- {\r
- pSampleMask = pSampleMask_;\r
- return *this;\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& setAlphaToCoverageEnable( Bool32 alphaToCoverageEnable_ )\r
- {\r
- alphaToCoverageEnable = alphaToCoverageEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineMultisampleStateCreateInfo& setAlphaToOneEnable( Bool32 alphaToOneEnable_ )\r
- {\r
- alphaToOneEnable = alphaToOneEnable_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineMultisampleStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineMultisampleStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineMultisampleStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( rasterizationSamples == rhs.rasterizationSamples )\r
- && ( sampleShadingEnable == rhs.sampleShadingEnable )\r
- && ( minSampleShading == rhs.minSampleShading )\r
- && ( pSampleMask == rhs.pSampleMask )\r
- && ( alphaToCoverageEnable == rhs.alphaToCoverageEnable )\r
- && ( alphaToOneEnable == rhs.alphaToOneEnable );\r
- }\r
-\r
- bool operator!=( PipelineMultisampleStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineMultisampleStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineMultisampleStateCreateFlags flags;\r
- SampleCountFlagBits rasterizationSamples;\r
- Bool32 sampleShadingEnable;\r
- float minSampleShading;\r
- const SampleMask* pSampleMask;\r
- Bool32 alphaToCoverageEnable;\r
- Bool32 alphaToOneEnable;\r
- };\r
- static_assert( sizeof( PipelineMultisampleStateCreateInfo ) == sizeof( VkPipelineMultisampleStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct GraphicsPipelineCreateInfo\r
- {\r
- GraphicsPipelineCreateInfo( PipelineCreateFlags flags_ = PipelineCreateFlags(), uint32_t stageCount_ = 0, const PipelineShaderStageCreateInfo* pStages_ = nullptr, const PipelineVertexInputStateCreateInfo* pVertexInputState_ = nullptr, const PipelineInputAssemblyStateCreateInfo* pInputAssemblyState_ = nullptr, const PipelineTessellationStateCreateInfo* pTessellationState_ = nullptr, const PipelineViewportStateCreateInfo* pViewportState_ = nullptr, const PipelineRasterizationStateCreateInfo* pRasterizationState_ = nullptr, const PipelineMultisampleStateCreateInfo* pMultisampleState_ = nullptr, const PipelineDepthStencilStateCreateInfo* pDepthStencilState_ = nullptr, const PipelineColorBlendStateCreateInfo* pColorBlendState_ = nullptr, const PipelineDynamicStateCreateInfo* pDynamicState_ = nullptr, PipelineLayout layout_ = PipelineLayout(), RenderPass renderPass_ = RenderPass(), uint32_t subpass_ = 0, Pipeline basePipelineHandle_ = Pipeline(), int32_t basePipelineIndex_ = 0 )\r
- : flags( flags_ )\r
- , stageCount( stageCount_ )\r
- , pStages( pStages_ )\r
- , pVertexInputState( pVertexInputState_ )\r
- , pInputAssemblyState( pInputAssemblyState_ )\r
- , pTessellationState( pTessellationState_ )\r
- , pViewportState( pViewportState_ )\r
- , pRasterizationState( pRasterizationState_ )\r
- , pMultisampleState( pMultisampleState_ )\r
- , pDepthStencilState( pDepthStencilState_ )\r
- , pColorBlendState( pColorBlendState_ )\r
- , pDynamicState( pDynamicState_ )\r
- , layout( layout_ )\r
- , renderPass( renderPass_ )\r
- , subpass( subpass_ )\r
- , basePipelineHandle( basePipelineHandle_ )\r
- , basePipelineIndex( basePipelineIndex_ )\r
- {\r
- }\r
-\r
- GraphicsPipelineCreateInfo( VkGraphicsPipelineCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( GraphicsPipelineCreateInfo ) );\r
- }\r
-\r
- GraphicsPipelineCreateInfo& operator=( VkGraphicsPipelineCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( GraphicsPipelineCreateInfo ) );\r
- return *this;\r
- }\r
- GraphicsPipelineCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setFlags( PipelineCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setStageCount( uint32_t stageCount_ )\r
- {\r
- stageCount = stageCount_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPStages( const PipelineShaderStageCreateInfo* pStages_ )\r
- {\r
- pStages = pStages_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPVertexInputState( const PipelineVertexInputStateCreateInfo* pVertexInputState_ )\r
- {\r
- pVertexInputState = pVertexInputState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPInputAssemblyState( const PipelineInputAssemblyStateCreateInfo* pInputAssemblyState_ )\r
- {\r
- pInputAssemblyState = pInputAssemblyState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPTessellationState( const PipelineTessellationStateCreateInfo* pTessellationState_ )\r
- {\r
- pTessellationState = pTessellationState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPViewportState( const PipelineViewportStateCreateInfo* pViewportState_ )\r
- {\r
- pViewportState = pViewportState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPRasterizationState( const PipelineRasterizationStateCreateInfo* pRasterizationState_ )\r
- {\r
- pRasterizationState = pRasterizationState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPMultisampleState( const PipelineMultisampleStateCreateInfo* pMultisampleState_ )\r
- {\r
- pMultisampleState = pMultisampleState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPDepthStencilState( const PipelineDepthStencilStateCreateInfo* pDepthStencilState_ )\r
- {\r
- pDepthStencilState = pDepthStencilState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPColorBlendState( const PipelineColorBlendStateCreateInfo* pColorBlendState_ )\r
- {\r
- pColorBlendState = pColorBlendState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setPDynamicState( const PipelineDynamicStateCreateInfo* pDynamicState_ )\r
- {\r
- pDynamicState = pDynamicState_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setLayout( PipelineLayout layout_ )\r
- {\r
- layout = layout_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setRenderPass( RenderPass renderPass_ )\r
- {\r
- renderPass = renderPass_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setSubpass( uint32_t subpass_ )\r
- {\r
- subpass = subpass_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setBasePipelineHandle( Pipeline basePipelineHandle_ )\r
- {\r
- basePipelineHandle = basePipelineHandle_;\r
- return *this;\r
- }\r
-\r
- GraphicsPipelineCreateInfo& setBasePipelineIndex( int32_t basePipelineIndex_ )\r
- {\r
- basePipelineIndex = basePipelineIndex_;\r
- return *this;\r
- }\r
-\r
- operator const VkGraphicsPipelineCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkGraphicsPipelineCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( GraphicsPipelineCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( stageCount == rhs.stageCount )\r
- && ( pStages == rhs.pStages )\r
- && ( pVertexInputState == rhs.pVertexInputState )\r
- && ( pInputAssemblyState == rhs.pInputAssemblyState )\r
- && ( pTessellationState == rhs.pTessellationState )\r
- && ( pViewportState == rhs.pViewportState )\r
- && ( pRasterizationState == rhs.pRasterizationState )\r
- && ( pMultisampleState == rhs.pMultisampleState )\r
- && ( pDepthStencilState == rhs.pDepthStencilState )\r
- && ( pColorBlendState == rhs.pColorBlendState )\r
- && ( pDynamicState == rhs.pDynamicState )\r
- && ( layout == rhs.layout )\r
- && ( renderPass == rhs.renderPass )\r
- && ( subpass == rhs.subpass )\r
- && ( basePipelineHandle == rhs.basePipelineHandle )\r
- && ( basePipelineIndex == rhs.basePipelineIndex );\r
- }\r
-\r
- bool operator!=( GraphicsPipelineCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eGraphicsPipelineCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineCreateFlags flags;\r
- uint32_t stageCount;\r
- const PipelineShaderStageCreateInfo* pStages;\r
- const PipelineVertexInputStateCreateInfo* pVertexInputState;\r
- const PipelineInputAssemblyStateCreateInfo* pInputAssemblyState;\r
- const PipelineTessellationStateCreateInfo* pTessellationState;\r
- const PipelineViewportStateCreateInfo* pViewportState;\r
- const PipelineRasterizationStateCreateInfo* pRasterizationState;\r
- const PipelineMultisampleStateCreateInfo* pMultisampleState;\r
- const PipelineDepthStencilStateCreateInfo* pDepthStencilState;\r
- const PipelineColorBlendStateCreateInfo* pColorBlendState;\r
- const PipelineDynamicStateCreateInfo* pDynamicState;\r
- PipelineLayout layout;\r
- RenderPass renderPass;\r
- uint32_t subpass;\r
- Pipeline basePipelineHandle;\r
- int32_t basePipelineIndex;\r
- };\r
- static_assert( sizeof( GraphicsPipelineCreateInfo ) == sizeof( VkGraphicsPipelineCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceLimits\r
- {\r
- operator const VkPhysicalDeviceLimits&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceLimits*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceLimits const& rhs ) const\r
- {\r
- return ( maxImageDimension1D == rhs.maxImageDimension1D )\r
- && ( maxImageDimension2D == rhs.maxImageDimension2D )\r
- && ( maxImageDimension3D == rhs.maxImageDimension3D )\r
- && ( maxImageDimensionCube == rhs.maxImageDimensionCube )\r
- && ( maxImageArrayLayers == rhs.maxImageArrayLayers )\r
- && ( maxTexelBufferElements == rhs.maxTexelBufferElements )\r
- && ( maxUniformBufferRange == rhs.maxUniformBufferRange )\r
- && ( maxStorageBufferRange == rhs.maxStorageBufferRange )\r
- && ( maxPushConstantsSize == rhs.maxPushConstantsSize )\r
- && ( maxMemoryAllocationCount == rhs.maxMemoryAllocationCount )\r
- && ( maxSamplerAllocationCount == rhs.maxSamplerAllocationCount )\r
- && ( bufferImageGranularity == rhs.bufferImageGranularity )\r
- && ( sparseAddressSpaceSize == rhs.sparseAddressSpaceSize )\r
- && ( maxBoundDescriptorSets == rhs.maxBoundDescriptorSets )\r
- && ( maxPerStageDescriptorSamplers == rhs.maxPerStageDescriptorSamplers )\r
- && ( maxPerStageDescriptorUniformBuffers == rhs.maxPerStageDescriptorUniformBuffers )\r
- && ( maxPerStageDescriptorStorageBuffers == rhs.maxPerStageDescriptorStorageBuffers )\r
- && ( maxPerStageDescriptorSampledImages == rhs.maxPerStageDescriptorSampledImages )\r
- && ( maxPerStageDescriptorStorageImages == rhs.maxPerStageDescriptorStorageImages )\r
- && ( maxPerStageDescriptorInputAttachments == rhs.maxPerStageDescriptorInputAttachments )\r
- && ( maxPerStageResources == rhs.maxPerStageResources )\r
- && ( maxDescriptorSetSamplers == rhs.maxDescriptorSetSamplers )\r
- && ( maxDescriptorSetUniformBuffers == rhs.maxDescriptorSetUniformBuffers )\r
- && ( maxDescriptorSetUniformBuffersDynamic == rhs.maxDescriptorSetUniformBuffersDynamic )\r
- && ( maxDescriptorSetStorageBuffers == rhs.maxDescriptorSetStorageBuffers )\r
- && ( maxDescriptorSetStorageBuffersDynamic == rhs.maxDescriptorSetStorageBuffersDynamic )\r
- && ( maxDescriptorSetSampledImages == rhs.maxDescriptorSetSampledImages )\r
- && ( maxDescriptorSetStorageImages == rhs.maxDescriptorSetStorageImages )\r
- && ( maxDescriptorSetInputAttachments == rhs.maxDescriptorSetInputAttachments )\r
- && ( maxVertexInputAttributes == rhs.maxVertexInputAttributes )\r
- && ( maxVertexInputBindings == rhs.maxVertexInputBindings )\r
- && ( maxVertexInputAttributeOffset == rhs.maxVertexInputAttributeOffset )\r
- && ( maxVertexInputBindingStride == rhs.maxVertexInputBindingStride )\r
- && ( maxVertexOutputComponents == rhs.maxVertexOutputComponents )\r
- && ( maxTessellationGenerationLevel == rhs.maxTessellationGenerationLevel )\r
- && ( maxTessellationPatchSize == rhs.maxTessellationPatchSize )\r
- && ( maxTessellationControlPerVertexInputComponents == rhs.maxTessellationControlPerVertexInputComponents )\r
- && ( maxTessellationControlPerVertexOutputComponents == rhs.maxTessellationControlPerVertexOutputComponents )\r
- && ( maxTessellationControlPerPatchOutputComponents == rhs.maxTessellationControlPerPatchOutputComponents )\r
- && ( maxTessellationControlTotalOutputComponents == rhs.maxTessellationControlTotalOutputComponents )\r
- && ( maxTessellationEvaluationInputComponents == rhs.maxTessellationEvaluationInputComponents )\r
- && ( maxTessellationEvaluationOutputComponents == rhs.maxTessellationEvaluationOutputComponents )\r
- && ( maxGeometryShaderInvocations == rhs.maxGeometryShaderInvocations )\r
- && ( maxGeometryInputComponents == rhs.maxGeometryInputComponents )\r
- && ( maxGeometryOutputComponents == rhs.maxGeometryOutputComponents )\r
- && ( maxGeometryOutputVertices == rhs.maxGeometryOutputVertices )\r
- && ( maxGeometryTotalOutputComponents == rhs.maxGeometryTotalOutputComponents )\r
- && ( maxFragmentInputComponents == rhs.maxFragmentInputComponents )\r
- && ( maxFragmentOutputAttachments == rhs.maxFragmentOutputAttachments )\r
- && ( maxFragmentDualSrcAttachments == rhs.maxFragmentDualSrcAttachments )\r
- && ( maxFragmentCombinedOutputResources == rhs.maxFragmentCombinedOutputResources )\r
- && ( maxComputeSharedMemorySize == rhs.maxComputeSharedMemorySize )\r
- && ( memcmp( maxComputeWorkGroupCount, rhs.maxComputeWorkGroupCount, 3 * sizeof( uint32_t ) ) == 0 )\r
- && ( maxComputeWorkGroupInvocations == rhs.maxComputeWorkGroupInvocations )\r
- && ( memcmp( maxComputeWorkGroupSize, rhs.maxComputeWorkGroupSize, 3 * sizeof( uint32_t ) ) == 0 )\r
- && ( subPixelPrecisionBits == rhs.subPixelPrecisionBits )\r
- && ( subTexelPrecisionBits == rhs.subTexelPrecisionBits )\r
- && ( mipmapPrecisionBits == rhs.mipmapPrecisionBits )\r
- && ( maxDrawIndexedIndexValue == rhs.maxDrawIndexedIndexValue )\r
- && ( maxDrawIndirectCount == rhs.maxDrawIndirectCount )\r
- && ( maxSamplerLodBias == rhs.maxSamplerLodBias )\r
- && ( maxSamplerAnisotropy == rhs.maxSamplerAnisotropy )\r
- && ( maxViewports == rhs.maxViewports )\r
- && ( memcmp( maxViewportDimensions, rhs.maxViewportDimensions, 2 * sizeof( uint32_t ) ) == 0 )\r
- && ( memcmp( viewportBoundsRange, rhs.viewportBoundsRange, 2 * sizeof( float ) ) == 0 )\r
- && ( viewportSubPixelBits == rhs.viewportSubPixelBits )\r
- && ( minMemoryMapAlignment == rhs.minMemoryMapAlignment )\r
- && ( minTexelBufferOffsetAlignment == rhs.minTexelBufferOffsetAlignment )\r
- && ( minUniformBufferOffsetAlignment == rhs.minUniformBufferOffsetAlignment )\r
- && ( minStorageBufferOffsetAlignment == rhs.minStorageBufferOffsetAlignment )\r
- && ( minTexelOffset == rhs.minTexelOffset )\r
- && ( maxTexelOffset == rhs.maxTexelOffset )\r
- && ( minTexelGatherOffset == rhs.minTexelGatherOffset )\r
- && ( maxTexelGatherOffset == rhs.maxTexelGatherOffset )\r
- && ( minInterpolationOffset == rhs.minInterpolationOffset )\r
- && ( maxInterpolationOffset == rhs.maxInterpolationOffset )\r
- && ( subPixelInterpolationOffsetBits == rhs.subPixelInterpolationOffsetBits )\r
- && ( maxFramebufferWidth == rhs.maxFramebufferWidth )\r
- && ( maxFramebufferHeight == rhs.maxFramebufferHeight )\r
- && ( maxFramebufferLayers == rhs.maxFramebufferLayers )\r
- && ( framebufferColorSampleCounts == rhs.framebufferColorSampleCounts )\r
- && ( framebufferDepthSampleCounts == rhs.framebufferDepthSampleCounts )\r
- && ( framebufferStencilSampleCounts == rhs.framebufferStencilSampleCounts )\r
- && ( framebufferNoAttachmentsSampleCounts == rhs.framebufferNoAttachmentsSampleCounts )\r
- && ( maxColorAttachments == rhs.maxColorAttachments )\r
- && ( sampledImageColorSampleCounts == rhs.sampledImageColorSampleCounts )\r
- && ( sampledImageIntegerSampleCounts == rhs.sampledImageIntegerSampleCounts )\r
- && ( sampledImageDepthSampleCounts == rhs.sampledImageDepthSampleCounts )\r
- && ( sampledImageStencilSampleCounts == rhs.sampledImageStencilSampleCounts )\r
- && ( storageImageSampleCounts == rhs.storageImageSampleCounts )\r
- && ( maxSampleMaskWords == rhs.maxSampleMaskWords )\r
- && ( timestampComputeAndGraphics == rhs.timestampComputeAndGraphics )\r
- && ( timestampPeriod == rhs.timestampPeriod )\r
- && ( maxClipDistances == rhs.maxClipDistances )\r
- && ( maxCullDistances == rhs.maxCullDistances )\r
- && ( maxCombinedClipAndCullDistances == rhs.maxCombinedClipAndCullDistances )\r
- && ( discreteQueuePriorities == rhs.discreteQueuePriorities )\r
- && ( memcmp( pointSizeRange, rhs.pointSizeRange, 2 * sizeof( float ) ) == 0 )\r
- && ( memcmp( lineWidthRange, rhs.lineWidthRange, 2 * sizeof( float ) ) == 0 )\r
- && ( pointSizeGranularity == rhs.pointSizeGranularity )\r
- && ( lineWidthGranularity == rhs.lineWidthGranularity )\r
- && ( strictLines == rhs.strictLines )\r
- && ( standardSampleLocations == rhs.standardSampleLocations )\r
- && ( optimalBufferCopyOffsetAlignment == rhs.optimalBufferCopyOffsetAlignment )\r
- && ( optimalBufferCopyRowPitchAlignment == rhs.optimalBufferCopyRowPitchAlignment )\r
- && ( nonCoherentAtomSize == rhs.nonCoherentAtomSize );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceLimits const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t maxImageDimension1D;\r
- uint32_t maxImageDimension2D;\r
- uint32_t maxImageDimension3D;\r
- uint32_t maxImageDimensionCube;\r
- uint32_t maxImageArrayLayers;\r
- uint32_t maxTexelBufferElements;\r
- uint32_t maxUniformBufferRange;\r
- uint32_t maxStorageBufferRange;\r
- uint32_t maxPushConstantsSize;\r
- uint32_t maxMemoryAllocationCount;\r
- uint32_t maxSamplerAllocationCount;\r
- DeviceSize bufferImageGranularity;\r
- DeviceSize sparseAddressSpaceSize;\r
- uint32_t maxBoundDescriptorSets;\r
- uint32_t maxPerStageDescriptorSamplers;\r
- uint32_t maxPerStageDescriptorUniformBuffers;\r
- uint32_t maxPerStageDescriptorStorageBuffers;\r
- uint32_t maxPerStageDescriptorSampledImages;\r
- uint32_t maxPerStageDescriptorStorageImages;\r
- uint32_t maxPerStageDescriptorInputAttachments;\r
- uint32_t maxPerStageResources;\r
- uint32_t maxDescriptorSetSamplers;\r
- uint32_t maxDescriptorSetUniformBuffers;\r
- uint32_t maxDescriptorSetUniformBuffersDynamic;\r
- uint32_t maxDescriptorSetStorageBuffers;\r
- uint32_t maxDescriptorSetStorageBuffersDynamic;\r
- uint32_t maxDescriptorSetSampledImages;\r
- uint32_t maxDescriptorSetStorageImages;\r
- uint32_t maxDescriptorSetInputAttachments;\r
- uint32_t maxVertexInputAttributes;\r
- uint32_t maxVertexInputBindings;\r
- uint32_t maxVertexInputAttributeOffset;\r
- uint32_t maxVertexInputBindingStride;\r
- uint32_t maxVertexOutputComponents;\r
- uint32_t maxTessellationGenerationLevel;\r
- uint32_t maxTessellationPatchSize;\r
- uint32_t maxTessellationControlPerVertexInputComponents;\r
- uint32_t maxTessellationControlPerVertexOutputComponents;\r
- uint32_t maxTessellationControlPerPatchOutputComponents;\r
- uint32_t maxTessellationControlTotalOutputComponents;\r
- uint32_t maxTessellationEvaluationInputComponents;\r
- uint32_t maxTessellationEvaluationOutputComponents;\r
- uint32_t maxGeometryShaderInvocations;\r
- uint32_t maxGeometryInputComponents;\r
- uint32_t maxGeometryOutputComponents;\r
- uint32_t maxGeometryOutputVertices;\r
- uint32_t maxGeometryTotalOutputComponents;\r
- uint32_t maxFragmentInputComponents;\r
- uint32_t maxFragmentOutputAttachments;\r
- uint32_t maxFragmentDualSrcAttachments;\r
- uint32_t maxFragmentCombinedOutputResources;\r
- uint32_t maxComputeSharedMemorySize;\r
- uint32_t maxComputeWorkGroupCount[3];\r
- uint32_t maxComputeWorkGroupInvocations;\r
- uint32_t maxComputeWorkGroupSize[3];\r
- uint32_t subPixelPrecisionBits;\r
- uint32_t subTexelPrecisionBits;\r
- uint32_t mipmapPrecisionBits;\r
- uint32_t maxDrawIndexedIndexValue;\r
- uint32_t maxDrawIndirectCount;\r
- float maxSamplerLodBias;\r
- float maxSamplerAnisotropy;\r
- uint32_t maxViewports;\r
- uint32_t maxViewportDimensions[2];\r
- float viewportBoundsRange[2];\r
- uint32_t viewportSubPixelBits;\r
- size_t minMemoryMapAlignment;\r
- DeviceSize minTexelBufferOffsetAlignment;\r
- DeviceSize minUniformBufferOffsetAlignment;\r
- DeviceSize minStorageBufferOffsetAlignment;\r
- int32_t minTexelOffset;\r
- uint32_t maxTexelOffset;\r
- int32_t minTexelGatherOffset;\r
- uint32_t maxTexelGatherOffset;\r
- float minInterpolationOffset;\r
- float maxInterpolationOffset;\r
- uint32_t subPixelInterpolationOffsetBits;\r
- uint32_t maxFramebufferWidth;\r
- uint32_t maxFramebufferHeight;\r
- uint32_t maxFramebufferLayers;\r
- SampleCountFlags framebufferColorSampleCounts;\r
- SampleCountFlags framebufferDepthSampleCounts;\r
- SampleCountFlags framebufferStencilSampleCounts;\r
- SampleCountFlags framebufferNoAttachmentsSampleCounts;\r
- uint32_t maxColorAttachments;\r
- SampleCountFlags sampledImageColorSampleCounts;\r
- SampleCountFlags sampledImageIntegerSampleCounts;\r
- SampleCountFlags sampledImageDepthSampleCounts;\r
- SampleCountFlags sampledImageStencilSampleCounts;\r
- SampleCountFlags storageImageSampleCounts;\r
- uint32_t maxSampleMaskWords;\r
- Bool32 timestampComputeAndGraphics;\r
- float timestampPeriod;\r
- uint32_t maxClipDistances;\r
- uint32_t maxCullDistances;\r
- uint32_t maxCombinedClipAndCullDistances;\r
- uint32_t discreteQueuePriorities;\r
- float pointSizeRange[2];\r
- float lineWidthRange[2];\r
- float pointSizeGranularity;\r
- float lineWidthGranularity;\r
- Bool32 strictLines;\r
- Bool32 standardSampleLocations;\r
- DeviceSize optimalBufferCopyOffsetAlignment;\r
- DeviceSize optimalBufferCopyRowPitchAlignment;\r
- DeviceSize nonCoherentAtomSize;\r
- };\r
- static_assert( sizeof( PhysicalDeviceLimits ) == sizeof( VkPhysicalDeviceLimits ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceProperties\r
- {\r
- operator const VkPhysicalDeviceProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceProperties const& rhs ) const\r
- {\r
- return ( apiVersion == rhs.apiVersion )\r
- && ( driverVersion == rhs.driverVersion )\r
- && ( vendorID == rhs.vendorID )\r
- && ( deviceID == rhs.deviceID )\r
- && ( deviceType == rhs.deviceType )\r
- && ( memcmp( deviceName, rhs.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE * sizeof( char ) ) == 0 )\r
- && ( memcmp( pipelineCacheUUID, rhs.pipelineCacheUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )\r
- && ( limits == rhs.limits )\r
- && ( sparseProperties == rhs.sparseProperties );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t apiVersion;\r
- uint32_t driverVersion;\r
- uint32_t vendorID;\r
- uint32_t deviceID;\r
- PhysicalDeviceType deviceType;\r
- char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE];\r
- uint8_t pipelineCacheUUID[VK_UUID_SIZE];\r
- PhysicalDeviceLimits limits;\r
- PhysicalDeviceSparseProperties sparseProperties;\r
- };\r
- static_assert( sizeof( PhysicalDeviceProperties ) == sizeof( VkPhysicalDeviceProperties ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceProperties2\r
- {\r
- operator const VkPhysicalDeviceProperties2&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceProperties2*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceProperties2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( properties == rhs.properties );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceProperties2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceProperties2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- PhysicalDeviceProperties properties;\r
- };\r
- static_assert( sizeof( PhysicalDeviceProperties2 ) == sizeof( VkPhysicalDeviceProperties2 ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceProperties2KHR = PhysicalDeviceProperties2;\r
-\r
- struct ImageFormatProperties2\r
- {\r
- operator const VkImageFormatProperties2&() const\r
- {\r
- return *reinterpret_cast<const VkImageFormatProperties2*>(this);\r
- }\r
-\r
- bool operator==( ImageFormatProperties2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( imageFormatProperties == rhs.imageFormatProperties );\r
- }\r
-\r
- bool operator!=( ImageFormatProperties2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImageFormatProperties2;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- ImageFormatProperties imageFormatProperties;\r
- };\r
- static_assert( sizeof( ImageFormatProperties2 ) == sizeof( VkImageFormatProperties2 ), "struct and wrapper have different size!" );\r
-\r
- using ImageFormatProperties2KHR = ImageFormatProperties2;\r
-\r
- struct PhysicalDeviceSparseImageFormatInfo2\r
- {\r
- PhysicalDeviceSparseImageFormatInfo2( Format format_ = Format::eUndefined, ImageType type_ = ImageType::e1D, SampleCountFlagBits samples_ = SampleCountFlagBits::e1, ImageUsageFlags usage_ = ImageUsageFlags(), ImageTiling tiling_ = ImageTiling::eOptimal )\r
- : format( format_ )\r
- , type( type_ )\r
- , samples( samples_ )\r
- , usage( usage_ )\r
- , tiling( tiling_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceSparseImageFormatInfo2( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceSparseImageFormatInfo2 ) );\r
- }\r
-\r
- PhysicalDeviceSparseImageFormatInfo2& operator=( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceSparseImageFormatInfo2 ) );\r
- return *this;\r
- }\r
- PhysicalDeviceSparseImageFormatInfo2& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceSparseImageFormatInfo2& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceSparseImageFormatInfo2& setType( ImageType type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceSparseImageFormatInfo2& setSamples( SampleCountFlagBits samples_ )\r
- {\r
- samples = samples_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceSparseImageFormatInfo2& setUsage( ImageUsageFlags usage_ )\r
- {\r
- usage = usage_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceSparseImageFormatInfo2& setTiling( ImageTiling tiling_ )\r
- {\r
- tiling = tiling_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceSparseImageFormatInfo2&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceSparseImageFormatInfo2 const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( format == rhs.format )\r
- && ( type == rhs.type )\r
- && ( samples == rhs.samples )\r
- && ( usage == rhs.usage )\r
- && ( tiling == rhs.tiling );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceSparseImageFormatInfo2 const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceSparseImageFormatInfo2;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Format format;\r
- ImageType type;\r
- SampleCountFlagBits samples;\r
- ImageUsageFlags usage;\r
- ImageTiling tiling;\r
- };\r
- static_assert( sizeof( PhysicalDeviceSparseImageFormatInfo2 ) == sizeof( VkPhysicalDeviceSparseImageFormatInfo2 ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceSparseImageFormatInfo2KHR = PhysicalDeviceSparseImageFormatInfo2;\r
-\r
- struct SampleLocationsInfoEXT\r
- {\r
- SampleLocationsInfoEXT( SampleCountFlagBits sampleLocationsPerPixel_ = SampleCountFlagBits::e1, Extent2D sampleLocationGridSize_ = Extent2D(), uint32_t sampleLocationsCount_ = 0, const SampleLocationEXT* pSampleLocations_ = nullptr )\r
- : sampleLocationsPerPixel( sampleLocationsPerPixel_ )\r
- , sampleLocationGridSize( sampleLocationGridSize_ )\r
- , sampleLocationsCount( sampleLocationsCount_ )\r
- , pSampleLocations( pSampleLocations_ )\r
- {\r
- }\r
-\r
- SampleLocationsInfoEXT( VkSampleLocationsInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SampleLocationsInfoEXT ) );\r
- }\r
-\r
- SampleLocationsInfoEXT& operator=( VkSampleLocationsInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SampleLocationsInfoEXT ) );\r
- return *this;\r
- }\r
- SampleLocationsInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SampleLocationsInfoEXT& setSampleLocationsPerPixel( SampleCountFlagBits sampleLocationsPerPixel_ )\r
- {\r
- sampleLocationsPerPixel = sampleLocationsPerPixel_;\r
- return *this;\r
- }\r
-\r
- SampleLocationsInfoEXT& setSampleLocationGridSize( Extent2D sampleLocationGridSize_ )\r
- {\r
- sampleLocationGridSize = sampleLocationGridSize_;\r
- return *this;\r
- }\r
-\r
- SampleLocationsInfoEXT& setSampleLocationsCount( uint32_t sampleLocationsCount_ )\r
- {\r
- sampleLocationsCount = sampleLocationsCount_;\r
- return *this;\r
- }\r
-\r
- SampleLocationsInfoEXT& setPSampleLocations( const SampleLocationEXT* pSampleLocations_ )\r
- {\r
- pSampleLocations = pSampleLocations_;\r
- return *this;\r
- }\r
-\r
- operator const VkSampleLocationsInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkSampleLocationsInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( SampleLocationsInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( sampleLocationsPerPixel == rhs.sampleLocationsPerPixel )\r
- && ( sampleLocationGridSize == rhs.sampleLocationGridSize )\r
- && ( sampleLocationsCount == rhs.sampleLocationsCount )\r
- && ( pSampleLocations == rhs.pSampleLocations );\r
- }\r
-\r
- bool operator!=( SampleLocationsInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSampleLocationsInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SampleCountFlagBits sampleLocationsPerPixel;\r
- Extent2D sampleLocationGridSize;\r
- uint32_t sampleLocationsCount;\r
- const SampleLocationEXT* pSampleLocations;\r
- };\r
- static_assert( sizeof( SampleLocationsInfoEXT ) == sizeof( VkSampleLocationsInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct AttachmentSampleLocationsEXT\r
- {\r
- AttachmentSampleLocationsEXT( uint32_t attachmentIndex_ = 0, SampleLocationsInfoEXT sampleLocationsInfo_ = SampleLocationsInfoEXT() )\r
- : attachmentIndex( attachmentIndex_ )\r
- , sampleLocationsInfo( sampleLocationsInfo_ )\r
- {\r
- }\r
-\r
- AttachmentSampleLocationsEXT( VkAttachmentSampleLocationsEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AttachmentSampleLocationsEXT ) );\r
- }\r
-\r
- AttachmentSampleLocationsEXT& operator=( VkAttachmentSampleLocationsEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AttachmentSampleLocationsEXT ) );\r
- return *this;\r
- }\r
- AttachmentSampleLocationsEXT& setAttachmentIndex( uint32_t attachmentIndex_ )\r
- {\r
- attachmentIndex = attachmentIndex_;\r
- return *this;\r
- }\r
-\r
- AttachmentSampleLocationsEXT& setSampleLocationsInfo( SampleLocationsInfoEXT sampleLocationsInfo_ )\r
- {\r
- sampleLocationsInfo = sampleLocationsInfo_;\r
- return *this;\r
- }\r
-\r
- operator const VkAttachmentSampleLocationsEXT&() const\r
- {\r
- return *reinterpret_cast<const VkAttachmentSampleLocationsEXT*>(this);\r
- }\r
-\r
- bool operator==( AttachmentSampleLocationsEXT const& rhs ) const\r
- {\r
- return ( attachmentIndex == rhs.attachmentIndex )\r
- && ( sampleLocationsInfo == rhs.sampleLocationsInfo );\r
- }\r
-\r
- bool operator!=( AttachmentSampleLocationsEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t attachmentIndex;\r
- SampleLocationsInfoEXT sampleLocationsInfo;\r
- };\r
- static_assert( sizeof( AttachmentSampleLocationsEXT ) == sizeof( VkAttachmentSampleLocationsEXT ), "struct and wrapper have different size!" );\r
-\r
- struct SubpassSampleLocationsEXT\r
- {\r
- SubpassSampleLocationsEXT( uint32_t subpassIndex_ = 0, SampleLocationsInfoEXT sampleLocationsInfo_ = SampleLocationsInfoEXT() )\r
- : subpassIndex( subpassIndex_ )\r
- , sampleLocationsInfo( sampleLocationsInfo_ )\r
- {\r
- }\r
-\r
- SubpassSampleLocationsEXT( VkSubpassSampleLocationsEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubpassSampleLocationsEXT ) );\r
- }\r
-\r
- SubpassSampleLocationsEXT& operator=( VkSubpassSampleLocationsEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubpassSampleLocationsEXT ) );\r
- return *this;\r
- }\r
- SubpassSampleLocationsEXT& setSubpassIndex( uint32_t subpassIndex_ )\r
- {\r
- subpassIndex = subpassIndex_;\r
- return *this;\r
- }\r
-\r
- SubpassSampleLocationsEXT& setSampleLocationsInfo( SampleLocationsInfoEXT sampleLocationsInfo_ )\r
- {\r
- sampleLocationsInfo = sampleLocationsInfo_;\r
- return *this;\r
- }\r
-\r
- operator const VkSubpassSampleLocationsEXT&() const\r
- {\r
- return *reinterpret_cast<const VkSubpassSampleLocationsEXT*>(this);\r
- }\r
-\r
- bool operator==( SubpassSampleLocationsEXT const& rhs ) const\r
- {\r
- return ( subpassIndex == rhs.subpassIndex )\r
- && ( sampleLocationsInfo == rhs.sampleLocationsInfo );\r
- }\r
-\r
- bool operator!=( SubpassSampleLocationsEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t subpassIndex;\r
- SampleLocationsInfoEXT sampleLocationsInfo;\r
- };\r
- static_assert( sizeof( SubpassSampleLocationsEXT ) == sizeof( VkSubpassSampleLocationsEXT ), "struct and wrapper have different size!" );\r
-\r
- struct RenderPassSampleLocationsBeginInfoEXT\r
- {\r
- RenderPassSampleLocationsBeginInfoEXT( uint32_t attachmentInitialSampleLocationsCount_ = 0, const AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations_ = nullptr, uint32_t postSubpassSampleLocationsCount_ = 0, const SubpassSampleLocationsEXT* pPostSubpassSampleLocations_ = nullptr )\r
- : attachmentInitialSampleLocationsCount( attachmentInitialSampleLocationsCount_ )\r
- , pAttachmentInitialSampleLocations( pAttachmentInitialSampleLocations_ )\r
- , postSubpassSampleLocationsCount( postSubpassSampleLocationsCount_ )\r
- , pPostSubpassSampleLocations( pPostSubpassSampleLocations_ )\r
- {\r
- }\r
-\r
- RenderPassSampleLocationsBeginInfoEXT( VkRenderPassSampleLocationsBeginInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassSampleLocationsBeginInfoEXT ) );\r
- }\r
-\r
- RenderPassSampleLocationsBeginInfoEXT& operator=( VkRenderPassSampleLocationsBeginInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassSampleLocationsBeginInfoEXT ) );\r
- return *this;\r
- }\r
- RenderPassSampleLocationsBeginInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- RenderPassSampleLocationsBeginInfoEXT& setAttachmentInitialSampleLocationsCount( uint32_t attachmentInitialSampleLocationsCount_ )\r
- {\r
- attachmentInitialSampleLocationsCount = attachmentInitialSampleLocationsCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassSampleLocationsBeginInfoEXT& setPAttachmentInitialSampleLocations( const AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations_ )\r
- {\r
- pAttachmentInitialSampleLocations = pAttachmentInitialSampleLocations_;\r
- return *this;\r
- }\r
-\r
- RenderPassSampleLocationsBeginInfoEXT& setPostSubpassSampleLocationsCount( uint32_t postSubpassSampleLocationsCount_ )\r
- {\r
- postSubpassSampleLocationsCount = postSubpassSampleLocationsCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassSampleLocationsBeginInfoEXT& setPPostSubpassSampleLocations( const SubpassSampleLocationsEXT* pPostSubpassSampleLocations_ )\r
- {\r
- pPostSubpassSampleLocations = pPostSubpassSampleLocations_;\r
- return *this;\r
- }\r
-\r
- operator const VkRenderPassSampleLocationsBeginInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkRenderPassSampleLocationsBeginInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( RenderPassSampleLocationsBeginInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( attachmentInitialSampleLocationsCount == rhs.attachmentInitialSampleLocationsCount )\r
- && ( pAttachmentInitialSampleLocations == rhs.pAttachmentInitialSampleLocations )\r
- && ( postSubpassSampleLocationsCount == rhs.postSubpassSampleLocationsCount )\r
- && ( pPostSubpassSampleLocations == rhs.pPostSubpassSampleLocations );\r
- }\r
-\r
- bool operator!=( RenderPassSampleLocationsBeginInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eRenderPassSampleLocationsBeginInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t attachmentInitialSampleLocationsCount;\r
- const AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations;\r
- uint32_t postSubpassSampleLocationsCount;\r
- const SubpassSampleLocationsEXT* pPostSubpassSampleLocations;\r
- };\r
- static_assert( sizeof( RenderPassSampleLocationsBeginInfoEXT ) == sizeof( VkRenderPassSampleLocationsBeginInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineSampleLocationsStateCreateInfoEXT\r
- {\r
- PipelineSampleLocationsStateCreateInfoEXT( Bool32 sampleLocationsEnable_ = 0, SampleLocationsInfoEXT sampleLocationsInfo_ = SampleLocationsInfoEXT() )\r
- : sampleLocationsEnable( sampleLocationsEnable_ )\r
- , sampleLocationsInfo( sampleLocationsInfo_ )\r
- {\r
- }\r
-\r
- PipelineSampleLocationsStateCreateInfoEXT( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineSampleLocationsStateCreateInfoEXT ) );\r
- }\r
-\r
- PipelineSampleLocationsStateCreateInfoEXT& operator=( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineSampleLocationsStateCreateInfoEXT ) );\r
- return *this;\r
- }\r
- PipelineSampleLocationsStateCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineSampleLocationsStateCreateInfoEXT& setSampleLocationsEnable( Bool32 sampleLocationsEnable_ )\r
- {\r
- sampleLocationsEnable = sampleLocationsEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineSampleLocationsStateCreateInfoEXT& setSampleLocationsInfo( SampleLocationsInfoEXT sampleLocationsInfo_ )\r
- {\r
- sampleLocationsInfo = sampleLocationsInfo_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineSampleLocationsStateCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineSampleLocationsStateCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( PipelineSampleLocationsStateCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( sampleLocationsEnable == rhs.sampleLocationsEnable )\r
- && ( sampleLocationsInfo == rhs.sampleLocationsInfo );\r
- }\r
-\r
- bool operator!=( PipelineSampleLocationsStateCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineSampleLocationsStateCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Bool32 sampleLocationsEnable;\r
- SampleLocationsInfoEXT sampleLocationsInfo;\r
- };\r
- static_assert( sizeof( PipelineSampleLocationsStateCreateInfoEXT ) == sizeof( VkPipelineSampleLocationsStateCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceSampleLocationsPropertiesEXT\r
- {\r
- operator const VkPhysicalDeviceSampleLocationsPropertiesEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceSampleLocationsPropertiesEXT*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceSampleLocationsPropertiesEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( sampleLocationSampleCounts == rhs.sampleLocationSampleCounts )\r
- && ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize )\r
- && ( memcmp( sampleLocationCoordinateRange, rhs.sampleLocationCoordinateRange, 2 * sizeof( float ) ) == 0 )\r
- && ( sampleLocationSubPixelBits == rhs.sampleLocationSubPixelBits )\r
- && ( variableSampleLocations == rhs.variableSampleLocations );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceSampleLocationsPropertiesEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- SampleCountFlags sampleLocationSampleCounts;\r
- Extent2D maxSampleLocationGridSize;\r
- float sampleLocationCoordinateRange[2];\r
- uint32_t sampleLocationSubPixelBits;\r
- Bool32 variableSampleLocations;\r
- };\r
- static_assert( sizeof( PhysicalDeviceSampleLocationsPropertiesEXT ) == sizeof( VkPhysicalDeviceSampleLocationsPropertiesEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class AttachmentDescriptionFlagBits\r
- {\r
- eMayAlias = VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT\r
- };\r
-\r
- using AttachmentDescriptionFlags = Flags<AttachmentDescriptionFlagBits, VkAttachmentDescriptionFlags>;\r
-\r
- VULKAN_HPP_INLINE AttachmentDescriptionFlags operator|( AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1 )\r
- {\r
- return AttachmentDescriptionFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE AttachmentDescriptionFlags operator~( AttachmentDescriptionFlagBits bits )\r
- {\r
- return ~( AttachmentDescriptionFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<AttachmentDescriptionFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(AttachmentDescriptionFlagBits::eMayAlias)\r
- };\r
- };\r
-\r
- struct AttachmentDescription\r
- {\r
- AttachmentDescription( AttachmentDescriptionFlags flags_ = AttachmentDescriptionFlags(), Format format_ = Format::eUndefined, SampleCountFlagBits samples_ = SampleCountFlagBits::e1, AttachmentLoadOp loadOp_ = AttachmentLoadOp::eLoad, AttachmentStoreOp storeOp_ = AttachmentStoreOp::eStore, AttachmentLoadOp stencilLoadOp_ = AttachmentLoadOp::eLoad, AttachmentStoreOp stencilStoreOp_ = AttachmentStoreOp::eStore, ImageLayout initialLayout_ = ImageLayout::eUndefined, ImageLayout finalLayout_ = ImageLayout::eUndefined )\r
- : flags( flags_ )\r
- , format( format_ )\r
- , samples( samples_ )\r
- , loadOp( loadOp_ )\r
- , storeOp( storeOp_ )\r
- , stencilLoadOp( stencilLoadOp_ )\r
- , stencilStoreOp( stencilStoreOp_ )\r
- , initialLayout( initialLayout_ )\r
- , finalLayout( finalLayout_ )\r
- {\r
- }\r
-\r
- AttachmentDescription( VkAttachmentDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AttachmentDescription ) );\r
- }\r
-\r
- AttachmentDescription& operator=( VkAttachmentDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( AttachmentDescription ) );\r
- return *this;\r
- }\r
- AttachmentDescription& setFlags( AttachmentDescriptionFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setSamples( SampleCountFlagBits samples_ )\r
- {\r
- samples = samples_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setLoadOp( AttachmentLoadOp loadOp_ )\r
- {\r
- loadOp = loadOp_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setStoreOp( AttachmentStoreOp storeOp_ )\r
- {\r
- storeOp = storeOp_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setStencilLoadOp( AttachmentLoadOp stencilLoadOp_ )\r
- {\r
- stencilLoadOp = stencilLoadOp_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setStencilStoreOp( AttachmentStoreOp stencilStoreOp_ )\r
- {\r
- stencilStoreOp = stencilStoreOp_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setInitialLayout( ImageLayout initialLayout_ )\r
- {\r
- initialLayout = initialLayout_;\r
- return *this;\r
- }\r
-\r
- AttachmentDescription& setFinalLayout( ImageLayout finalLayout_ )\r
- {\r
- finalLayout = finalLayout_;\r
- return *this;\r
- }\r
-\r
- operator const VkAttachmentDescription&() const\r
- {\r
- return *reinterpret_cast<const VkAttachmentDescription*>(this);\r
- }\r
-\r
- bool operator==( AttachmentDescription const& rhs ) const\r
- {\r
- return ( flags == rhs.flags )\r
- && ( format == rhs.format )\r
- && ( samples == rhs.samples )\r
- && ( loadOp == rhs.loadOp )\r
- && ( storeOp == rhs.storeOp )\r
- && ( stencilLoadOp == rhs.stencilLoadOp )\r
- && ( stencilStoreOp == rhs.stencilStoreOp )\r
- && ( initialLayout == rhs.initialLayout )\r
- && ( finalLayout == rhs.finalLayout );\r
- }\r
-\r
- bool operator!=( AttachmentDescription const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- AttachmentDescriptionFlags flags;\r
- Format format;\r
- SampleCountFlagBits samples;\r
- AttachmentLoadOp loadOp;\r
- AttachmentStoreOp storeOp;\r
- AttachmentLoadOp stencilLoadOp;\r
- AttachmentStoreOp stencilStoreOp;\r
- ImageLayout initialLayout;\r
- ImageLayout finalLayout;\r
- };\r
- static_assert( sizeof( AttachmentDescription ) == sizeof( VkAttachmentDescription ), "struct and wrapper have different size!" );\r
-\r
- enum class StencilFaceFlagBits\r
- {\r
- eFront = VK_STENCIL_FACE_FRONT_BIT,\r
- eBack = VK_STENCIL_FACE_BACK_BIT,\r
- eVkStencilFrontAndBack = VK_STENCIL_FRONT_AND_BACK\r
- };\r
-\r
- using StencilFaceFlags = Flags<StencilFaceFlagBits, VkStencilFaceFlags>;\r
-\r
- VULKAN_HPP_INLINE StencilFaceFlags operator|( StencilFaceFlagBits bit0, StencilFaceFlagBits bit1 )\r
- {\r
- return StencilFaceFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE StencilFaceFlags operator~( StencilFaceFlagBits bits )\r
- {\r
- return ~( StencilFaceFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<StencilFaceFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(StencilFaceFlagBits::eFront) | VkFlags(StencilFaceFlagBits::eBack) | VkFlags(StencilFaceFlagBits::eVkStencilFrontAndBack)\r
- };\r
- };\r
-\r
- enum class DescriptorPoolCreateFlagBits\r
- {\r
- eFreeDescriptorSet = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,\r
- eUpdateAfterBindEXT = VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT\r
- };\r
-\r
- using DescriptorPoolCreateFlags = Flags<DescriptorPoolCreateFlagBits, VkDescriptorPoolCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE DescriptorPoolCreateFlags operator|( DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1 )\r
- {\r
- return DescriptorPoolCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DescriptorPoolCreateFlags operator~( DescriptorPoolCreateFlagBits bits )\r
- {\r
- return ~( DescriptorPoolCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DescriptorPoolCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DescriptorPoolCreateFlagBits::eFreeDescriptorSet) | VkFlags(DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT)\r
- };\r
- };\r
-\r
- struct DescriptorPoolCreateInfo\r
- {\r
- DescriptorPoolCreateInfo( DescriptorPoolCreateFlags flags_ = DescriptorPoolCreateFlags(), uint32_t maxSets_ = 0, uint32_t poolSizeCount_ = 0, const DescriptorPoolSize* pPoolSizes_ = nullptr )\r
- : flags( flags_ )\r
- , maxSets( maxSets_ )\r
- , poolSizeCount( poolSizeCount_ )\r
- , pPoolSizes( pPoolSizes_ )\r
- {\r
- }\r
-\r
- DescriptorPoolCreateInfo( VkDescriptorPoolCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorPoolCreateInfo ) );\r
- }\r
-\r
- DescriptorPoolCreateInfo& operator=( VkDescriptorPoolCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorPoolCreateInfo ) );\r
- return *this;\r
- }\r
- DescriptorPoolCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DescriptorPoolCreateInfo& setFlags( DescriptorPoolCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DescriptorPoolCreateInfo& setMaxSets( uint32_t maxSets_ )\r
- {\r
- maxSets = maxSets_;\r
- return *this;\r
- }\r
-\r
- DescriptorPoolCreateInfo& setPoolSizeCount( uint32_t poolSizeCount_ )\r
- {\r
- poolSizeCount = poolSizeCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorPoolCreateInfo& setPPoolSizes( const DescriptorPoolSize* pPoolSizes_ )\r
- {\r
- pPoolSizes = pPoolSizes_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorPoolCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorPoolCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( DescriptorPoolCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( maxSets == rhs.maxSets )\r
- && ( poolSizeCount == rhs.poolSizeCount )\r
- && ( pPoolSizes == rhs.pPoolSizes );\r
- }\r
-\r
- bool operator!=( DescriptorPoolCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorPoolCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DescriptorPoolCreateFlags flags;\r
- uint32_t maxSets;\r
- uint32_t poolSizeCount;\r
- const DescriptorPoolSize* pPoolSizes;\r
- };\r
- static_assert( sizeof( DescriptorPoolCreateInfo ) == sizeof( VkDescriptorPoolCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class DependencyFlagBits\r
- {\r
- eByRegion = VK_DEPENDENCY_BY_REGION_BIT,\r
- eDeviceGroup = VK_DEPENDENCY_DEVICE_GROUP_BIT,\r
- eDeviceGroupKHR = VK_DEPENDENCY_DEVICE_GROUP_BIT,\r
- eViewLocal = VK_DEPENDENCY_VIEW_LOCAL_BIT,\r
- eViewLocalKHR = VK_DEPENDENCY_VIEW_LOCAL_BIT\r
- };\r
-\r
- using DependencyFlags = Flags<DependencyFlagBits, VkDependencyFlags>;\r
-\r
- VULKAN_HPP_INLINE DependencyFlags operator|( DependencyFlagBits bit0, DependencyFlagBits bit1 )\r
- {\r
- return DependencyFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DependencyFlags operator~( DependencyFlagBits bits )\r
- {\r
- return ~( DependencyFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DependencyFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DependencyFlagBits::eByRegion) | VkFlags(DependencyFlagBits::eDeviceGroup) | VkFlags(DependencyFlagBits::eViewLocal)\r
- };\r
- };\r
-\r
- struct SubpassDependency\r
- {\r
- SubpassDependency( uint32_t srcSubpass_ = 0, uint32_t dstSubpass_ = 0, PipelineStageFlags srcStageMask_ = PipelineStageFlags(), PipelineStageFlags dstStageMask_ = PipelineStageFlags(), AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags(), DependencyFlags dependencyFlags_ = DependencyFlags() )\r
- : srcSubpass( srcSubpass_ )\r
- , dstSubpass( dstSubpass_ )\r
- , srcStageMask( srcStageMask_ )\r
- , dstStageMask( dstStageMask_ )\r
- , srcAccessMask( srcAccessMask_ )\r
- , dstAccessMask( dstAccessMask_ )\r
- , dependencyFlags( dependencyFlags_ )\r
- {\r
- }\r
-\r
- SubpassDependency( VkSubpassDependency const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubpassDependency ) );\r
- }\r
-\r
- SubpassDependency& operator=( VkSubpassDependency const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubpassDependency ) );\r
- return *this;\r
- }\r
- SubpassDependency& setSrcSubpass( uint32_t srcSubpass_ )\r
- {\r
- srcSubpass = srcSubpass_;\r
- return *this;\r
- }\r
-\r
- SubpassDependency& setDstSubpass( uint32_t dstSubpass_ )\r
- {\r
- dstSubpass = dstSubpass_;\r
- return *this;\r
- }\r
-\r
- SubpassDependency& setSrcStageMask( PipelineStageFlags srcStageMask_ )\r
- {\r
- srcStageMask = srcStageMask_;\r
- return *this;\r
- }\r
-\r
- SubpassDependency& setDstStageMask( PipelineStageFlags dstStageMask_ )\r
- {\r
- dstStageMask = dstStageMask_;\r
- return *this;\r
- }\r
-\r
- SubpassDependency& setSrcAccessMask( AccessFlags srcAccessMask_ )\r
- {\r
- srcAccessMask = srcAccessMask_;\r
- return *this;\r
- }\r
-\r
- SubpassDependency& setDstAccessMask( AccessFlags dstAccessMask_ )\r
- {\r
- dstAccessMask = dstAccessMask_;\r
- return *this;\r
- }\r
-\r
- SubpassDependency& setDependencyFlags( DependencyFlags dependencyFlags_ )\r
- {\r
- dependencyFlags = dependencyFlags_;\r
- return *this;\r
- }\r
-\r
- operator const VkSubpassDependency&() const\r
- {\r
- return *reinterpret_cast<const VkSubpassDependency*>(this);\r
- }\r
-\r
- bool operator==( SubpassDependency const& rhs ) const\r
- {\r
- return ( srcSubpass == rhs.srcSubpass )\r
- && ( dstSubpass == rhs.dstSubpass )\r
- && ( srcStageMask == rhs.srcStageMask )\r
- && ( dstStageMask == rhs.dstStageMask )\r
- && ( srcAccessMask == rhs.srcAccessMask )\r
- && ( dstAccessMask == rhs.dstAccessMask )\r
- && ( dependencyFlags == rhs.dependencyFlags );\r
- }\r
-\r
- bool operator!=( SubpassDependency const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t srcSubpass;\r
- uint32_t dstSubpass;\r
- PipelineStageFlags srcStageMask;\r
- PipelineStageFlags dstStageMask;\r
- AccessFlags srcAccessMask;\r
- AccessFlags dstAccessMask;\r
- DependencyFlags dependencyFlags;\r
- };\r
- static_assert( sizeof( SubpassDependency ) == sizeof( VkSubpassDependency ), "struct and wrapper have different size!" );\r
-\r
- enum class PresentModeKHR\r
- {\r
- eImmediate = VK_PRESENT_MODE_IMMEDIATE_KHR,\r
- eMailbox = VK_PRESENT_MODE_MAILBOX_KHR,\r
- eFifo = VK_PRESENT_MODE_FIFO_KHR,\r
- eFifoRelaxed = VK_PRESENT_MODE_FIFO_RELAXED_KHR,\r
- eSharedDemandRefresh = VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR,\r
- eSharedContinuousRefresh = VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR\r
- };\r
-\r
- enum class ColorSpaceKHR\r
- {\r
- eSrgbNonlinear = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR,\r
- eDisplayP3NonlinearEXT = VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT,\r
- eExtendedSrgbLinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT,\r
- eDciP3LinearEXT = VK_COLOR_SPACE_DCI_P3_LINEAR_EXT,\r
- eDciP3NonlinearEXT = VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT,\r
- eBt709LinearEXT = VK_COLOR_SPACE_BT709_LINEAR_EXT,\r
- eBt709NonlinearEXT = VK_COLOR_SPACE_BT709_NONLINEAR_EXT,\r
- eBt2020LinearEXT = VK_COLOR_SPACE_BT2020_LINEAR_EXT,\r
- eHdr10St2084EXT = VK_COLOR_SPACE_HDR10_ST2084_EXT,\r
- eDolbyvisionEXT = VK_COLOR_SPACE_DOLBYVISION_EXT,\r
- eHdr10HlgEXT = VK_COLOR_SPACE_HDR10_HLG_EXT,\r
- eAdobergbLinearEXT = VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT,\r
- eAdobergbNonlinearEXT = VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT,\r
- ePassThroughEXT = VK_COLOR_SPACE_PASS_THROUGH_EXT,\r
- eExtendedSrgbNonlinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT\r
- };\r
-\r
- struct SurfaceFormatKHR\r
- {\r
- operator const VkSurfaceFormatKHR&() const\r
- {\r
- return *reinterpret_cast<const VkSurfaceFormatKHR*>(this);\r
- }\r
-\r
- bool operator==( SurfaceFormatKHR const& rhs ) const\r
- {\r
- return ( format == rhs.format )\r
- && ( colorSpace == rhs.colorSpace );\r
- }\r
-\r
- bool operator!=( SurfaceFormatKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- Format format;\r
- ColorSpaceKHR colorSpace;\r
- };\r
- static_assert( sizeof( SurfaceFormatKHR ) == sizeof( VkSurfaceFormatKHR ), "struct and wrapper have different size!" );\r
-\r
- struct SurfaceFormat2KHR\r
- {\r
- operator const VkSurfaceFormat2KHR&() const\r
- {\r
- return *reinterpret_cast<const VkSurfaceFormat2KHR*>(this);\r
- }\r
-\r
- bool operator==( SurfaceFormat2KHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( surfaceFormat == rhs.surfaceFormat );\r
- }\r
-\r
- bool operator!=( SurfaceFormat2KHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSurfaceFormat2KHR;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- SurfaceFormatKHR surfaceFormat;\r
- };\r
- static_assert( sizeof( SurfaceFormat2KHR ) == sizeof( VkSurfaceFormat2KHR ), "struct and wrapper have different size!" );\r
-\r
- enum class DisplayPlaneAlphaFlagBitsKHR\r
- {\r
- eOpaque = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR,\r
- eGlobal = VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR,\r
- ePerPixel = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR,\r
- ePerPixelPremultiplied = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR\r
- };\r
-\r
- using DisplayPlaneAlphaFlagsKHR = Flags<DisplayPlaneAlphaFlagBitsKHR, VkDisplayPlaneAlphaFlagsKHR>;\r
-\r
- VULKAN_HPP_INLINE DisplayPlaneAlphaFlagsKHR operator|( DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1 )\r
- {\r
- return DisplayPlaneAlphaFlagsKHR( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DisplayPlaneAlphaFlagsKHR operator~( DisplayPlaneAlphaFlagBitsKHR bits )\r
- {\r
- return ~( DisplayPlaneAlphaFlagsKHR( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DisplayPlaneAlphaFlagBitsKHR>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DisplayPlaneAlphaFlagBitsKHR::eOpaque) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::eGlobal) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::ePerPixel) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied)\r
- };\r
- };\r
-\r
- struct DisplayPlaneCapabilitiesKHR\r
- {\r
- operator const VkDisplayPlaneCapabilitiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayPlaneCapabilitiesKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplayPlaneCapabilitiesKHR const& rhs ) const\r
- {\r
- return ( supportedAlpha == rhs.supportedAlpha )\r
- && ( minSrcPosition == rhs.minSrcPosition )\r
- && ( maxSrcPosition == rhs.maxSrcPosition )\r
- && ( minSrcExtent == rhs.minSrcExtent )\r
- && ( maxSrcExtent == rhs.maxSrcExtent )\r
- && ( minDstPosition == rhs.minDstPosition )\r
- && ( maxDstPosition == rhs.maxDstPosition )\r
- && ( minDstExtent == rhs.minDstExtent )\r
- && ( maxDstExtent == rhs.maxDstExtent );\r
- }\r
-\r
- bool operator!=( DisplayPlaneCapabilitiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DisplayPlaneAlphaFlagsKHR supportedAlpha;\r
- Offset2D minSrcPosition;\r
- Offset2D maxSrcPosition;\r
- Extent2D minSrcExtent;\r
- Extent2D maxSrcExtent;\r
- Offset2D minDstPosition;\r
- Offset2D maxDstPosition;\r
- Extent2D minDstExtent;\r
- Extent2D maxDstExtent;\r
- };\r
- static_assert( sizeof( DisplayPlaneCapabilitiesKHR ) == sizeof( VkDisplayPlaneCapabilitiesKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class CompositeAlphaFlagBitsKHR\r
- {\r
- eOpaque = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR,\r
- ePreMultiplied = VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR,\r
- ePostMultiplied = VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR,\r
- eInherit = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR\r
- };\r
-\r
- using CompositeAlphaFlagsKHR = Flags<CompositeAlphaFlagBitsKHR, VkCompositeAlphaFlagsKHR>;\r
-\r
- VULKAN_HPP_INLINE CompositeAlphaFlagsKHR operator|( CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1 )\r
- {\r
- return CompositeAlphaFlagsKHR( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE CompositeAlphaFlagsKHR operator~( CompositeAlphaFlagBitsKHR bits )\r
- {\r
- return ~( CompositeAlphaFlagsKHR( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<CompositeAlphaFlagBitsKHR>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(CompositeAlphaFlagBitsKHR::eOpaque) | VkFlags(CompositeAlphaFlagBitsKHR::ePreMultiplied) | VkFlags(CompositeAlphaFlagBitsKHR::ePostMultiplied) | VkFlags(CompositeAlphaFlagBitsKHR::eInherit)\r
- };\r
- };\r
-\r
- enum class SurfaceTransformFlagBitsKHR\r
- {\r
- eIdentity = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR,\r
- eRotate90 = VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR,\r
- eRotate180 = VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR,\r
- eRotate270 = VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR,\r
- eHorizontalMirror = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR,\r
- eHorizontalMirrorRotate90 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR,\r
- eHorizontalMirrorRotate180 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR,\r
- eHorizontalMirrorRotate270 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR,\r
- eInherit = VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR\r
- };\r
-\r
- using SurfaceTransformFlagsKHR = Flags<SurfaceTransformFlagBitsKHR, VkSurfaceTransformFlagsKHR>;\r
-\r
- VULKAN_HPP_INLINE SurfaceTransformFlagsKHR operator|( SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1 )\r
- {\r
- return SurfaceTransformFlagsKHR( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SurfaceTransformFlagsKHR operator~( SurfaceTransformFlagBitsKHR bits )\r
- {\r
- return ~( SurfaceTransformFlagsKHR( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SurfaceTransformFlagBitsKHR>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SurfaceTransformFlagBitsKHR::eIdentity) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate90) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate180) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate270) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirror) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270) | VkFlags(SurfaceTransformFlagBitsKHR::eInherit)\r
- };\r
- };\r
-\r
- struct DisplayPropertiesKHR\r
- {\r
- operator const VkDisplayPropertiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayPropertiesKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplayPropertiesKHR const& rhs ) const\r
- {\r
- return ( display == rhs.display )\r
- && ( displayName == rhs.displayName )\r
- && ( physicalDimensions == rhs.physicalDimensions )\r
- && ( physicalResolution == rhs.physicalResolution )\r
- && ( supportedTransforms == rhs.supportedTransforms )\r
- && ( planeReorderPossible == rhs.planeReorderPossible )\r
- && ( persistentContent == rhs.persistentContent );\r
- }\r
-\r
- bool operator!=( DisplayPropertiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- DisplayKHR display;\r
- const char* displayName;\r
- Extent2D physicalDimensions;\r
- Extent2D physicalResolution;\r
- SurfaceTransformFlagsKHR supportedTransforms;\r
- Bool32 planeReorderPossible;\r
- Bool32 persistentContent;\r
- };\r
- static_assert( sizeof( DisplayPropertiesKHR ) == sizeof( VkDisplayPropertiesKHR ), "struct and wrapper have different size!" );\r
-\r
- struct DisplaySurfaceCreateInfoKHR\r
- {\r
- DisplaySurfaceCreateInfoKHR( DisplaySurfaceCreateFlagsKHR flags_ = DisplaySurfaceCreateFlagsKHR(), DisplayModeKHR displayMode_ = DisplayModeKHR(), uint32_t planeIndex_ = 0, uint32_t planeStackIndex_ = 0, SurfaceTransformFlagBitsKHR transform_ = SurfaceTransformFlagBitsKHR::eIdentity, float globalAlpha_ = 0, DisplayPlaneAlphaFlagBitsKHR alphaMode_ = DisplayPlaneAlphaFlagBitsKHR::eOpaque, Extent2D imageExtent_ = Extent2D() )\r
- : flags( flags_ )\r
- , displayMode( displayMode_ )\r
- , planeIndex( planeIndex_ )\r
- , planeStackIndex( planeStackIndex_ )\r
- , transform( transform_ )\r
- , globalAlpha( globalAlpha_ )\r
- , alphaMode( alphaMode_ )\r
- , imageExtent( imageExtent_ )\r
- {\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR( VkDisplaySurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplaySurfaceCreateInfoKHR ) );\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& operator=( VkDisplaySurfaceCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplaySurfaceCreateInfoKHR ) );\r
- return *this;\r
- }\r
- DisplaySurfaceCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setFlags( DisplaySurfaceCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setDisplayMode( DisplayModeKHR displayMode_ )\r
- {\r
- displayMode = displayMode_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setPlaneIndex( uint32_t planeIndex_ )\r
- {\r
- planeIndex = planeIndex_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setPlaneStackIndex( uint32_t planeStackIndex_ )\r
- {\r
- planeStackIndex = planeStackIndex_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setTransform( SurfaceTransformFlagBitsKHR transform_ )\r
- {\r
- transform = transform_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setGlobalAlpha( float globalAlpha_ )\r
- {\r
- globalAlpha = globalAlpha_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setAlphaMode( DisplayPlaneAlphaFlagBitsKHR alphaMode_ )\r
- {\r
- alphaMode = alphaMode_;\r
- return *this;\r
- }\r
-\r
- DisplaySurfaceCreateInfoKHR& setImageExtent( Extent2D imageExtent_ )\r
- {\r
- imageExtent = imageExtent_;\r
- return *this;\r
- }\r
-\r
- operator const VkDisplaySurfaceCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( DisplaySurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( displayMode == rhs.displayMode )\r
- && ( planeIndex == rhs.planeIndex )\r
- && ( planeStackIndex == rhs.planeStackIndex )\r
- && ( transform == rhs.transform )\r
- && ( globalAlpha == rhs.globalAlpha )\r
- && ( alphaMode == rhs.alphaMode )\r
- && ( imageExtent == rhs.imageExtent );\r
- }\r
-\r
- bool operator!=( DisplaySurfaceCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDisplaySurfaceCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DisplaySurfaceCreateFlagsKHR flags;\r
- DisplayModeKHR displayMode;\r
- uint32_t planeIndex;\r
- uint32_t planeStackIndex;\r
- SurfaceTransformFlagBitsKHR transform;\r
- float globalAlpha;\r
- DisplayPlaneAlphaFlagBitsKHR alphaMode;\r
- Extent2D imageExtent;\r
- };\r
- static_assert( sizeof( DisplaySurfaceCreateInfoKHR ) == sizeof( VkDisplaySurfaceCreateInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct SurfaceCapabilitiesKHR\r
- {\r
- operator const VkSurfaceCapabilitiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkSurfaceCapabilitiesKHR*>(this);\r
- }\r
-\r
- bool operator==( SurfaceCapabilitiesKHR const& rhs ) const\r
- {\r
- return ( minImageCount == rhs.minImageCount )\r
- && ( maxImageCount == rhs.maxImageCount )\r
- && ( currentExtent == rhs.currentExtent )\r
- && ( minImageExtent == rhs.minImageExtent )\r
- && ( maxImageExtent == rhs.maxImageExtent )\r
- && ( maxImageArrayLayers == rhs.maxImageArrayLayers )\r
- && ( supportedTransforms == rhs.supportedTransforms )\r
- && ( currentTransform == rhs.currentTransform )\r
- && ( supportedCompositeAlpha == rhs.supportedCompositeAlpha )\r
- && ( supportedUsageFlags == rhs.supportedUsageFlags );\r
- }\r
-\r
- bool operator!=( SurfaceCapabilitiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- uint32_t minImageCount;\r
- uint32_t maxImageCount;\r
- Extent2D currentExtent;\r
- Extent2D minImageExtent;\r
- Extent2D maxImageExtent;\r
- uint32_t maxImageArrayLayers;\r
- SurfaceTransformFlagsKHR supportedTransforms;\r
- SurfaceTransformFlagBitsKHR currentTransform;\r
- CompositeAlphaFlagsKHR supportedCompositeAlpha;\r
- ImageUsageFlags supportedUsageFlags;\r
- };\r
- static_assert( sizeof( SurfaceCapabilitiesKHR ) == sizeof( VkSurfaceCapabilitiesKHR ), "struct and wrapper have different size!" );\r
-\r
- struct SurfaceCapabilities2KHR\r
- {\r
- operator const VkSurfaceCapabilities2KHR&() const\r
- {\r
- return *reinterpret_cast<const VkSurfaceCapabilities2KHR*>(this);\r
- }\r
-\r
- bool operator==( SurfaceCapabilities2KHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( surfaceCapabilities == rhs.surfaceCapabilities );\r
- }\r
-\r
- bool operator!=( SurfaceCapabilities2KHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSurfaceCapabilities2KHR;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- SurfaceCapabilitiesKHR surfaceCapabilities;\r
- };\r
- static_assert( sizeof( SurfaceCapabilities2KHR ) == sizeof( VkSurfaceCapabilities2KHR ), "struct and wrapper have different size!" );\r
-\r
- enum class DebugReportFlagBitsEXT\r
- {\r
- eInformation = VK_DEBUG_REPORT_INFORMATION_BIT_EXT,\r
- eWarning = VK_DEBUG_REPORT_WARNING_BIT_EXT,\r
- ePerformanceWarning = VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT,\r
- eError = VK_DEBUG_REPORT_ERROR_BIT_EXT,\r
- eDebug = VK_DEBUG_REPORT_DEBUG_BIT_EXT\r
- };\r
-\r
- using DebugReportFlagsEXT = Flags<DebugReportFlagBitsEXT, VkDebugReportFlagsEXT>;\r
-\r
- VULKAN_HPP_INLINE DebugReportFlagsEXT operator|( DebugReportFlagBitsEXT bit0, DebugReportFlagBitsEXT bit1 )\r
- {\r
- return DebugReportFlagsEXT( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DebugReportFlagsEXT operator~( DebugReportFlagBitsEXT bits )\r
- {\r
- return ~( DebugReportFlagsEXT( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DebugReportFlagBitsEXT>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DebugReportFlagBitsEXT::eInformation) | VkFlags(DebugReportFlagBitsEXT::eWarning) | VkFlags(DebugReportFlagBitsEXT::ePerformanceWarning) | VkFlags(DebugReportFlagBitsEXT::eError) | VkFlags(DebugReportFlagBitsEXT::eDebug)\r
- };\r
- };\r
-\r
- struct DebugReportCallbackCreateInfoEXT\r
- {\r
- DebugReportCallbackCreateInfoEXT( DebugReportFlagsEXT flags_ = DebugReportFlagsEXT(), PFN_vkDebugReportCallbackEXT pfnCallback_ = nullptr, void* pUserData_ = nullptr )\r
- : flags( flags_ )\r
- , pfnCallback( pfnCallback_ )\r
- , pUserData( pUserData_ )\r
- {\r
- }\r
-\r
- DebugReportCallbackCreateInfoEXT( VkDebugReportCallbackCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugReportCallbackCreateInfoEXT ) );\r
- }\r
-\r
- DebugReportCallbackCreateInfoEXT& operator=( VkDebugReportCallbackCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugReportCallbackCreateInfoEXT ) );\r
- return *this;\r
- }\r
- DebugReportCallbackCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugReportCallbackCreateInfoEXT& setFlags( DebugReportFlagsEXT flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DebugReportCallbackCreateInfoEXT& setPfnCallback( PFN_vkDebugReportCallbackEXT pfnCallback_ )\r
- {\r
- pfnCallback = pfnCallback_;\r
- return *this;\r
- }\r
-\r
- DebugReportCallbackCreateInfoEXT& setPUserData( void* pUserData_ )\r
- {\r
- pUserData = pUserData_;\r
- return *this;\r
- }\r
-\r
- operator const VkDebugReportCallbackCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugReportCallbackCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( pfnCallback == rhs.pfnCallback )\r
- && ( pUserData == rhs.pUserData );\r
- }\r
-\r
- bool operator!=( DebugReportCallbackCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugReportCallbackCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DebugReportFlagsEXT flags;\r
- PFN_vkDebugReportCallbackEXT pfnCallback;\r
- void* pUserData;\r
- };\r
- static_assert( sizeof( DebugReportCallbackCreateInfoEXT ) == sizeof( VkDebugReportCallbackCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class DebugReportObjectTypeEXT\r
- {\r
- eUnknown = VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT,\r
- eInstance = VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT,\r
- ePhysicalDevice = VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT,\r
- eDevice = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT,\r
- eQueue = VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT,\r
- eSemaphore = VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT,\r
- eCommandBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT,\r
- eFence = VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT,\r
- eDeviceMemory = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT,\r
- eBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT,\r
- eImage = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT,\r
- eEvent = VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT,\r
- eQueryPool = VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT,\r
- eBufferView = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT,\r
- eImageView = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT,\r
- eShaderModule = VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT,\r
- ePipelineCache = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT,\r
- ePipelineLayout = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT,\r
- eRenderPass = VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT,\r
- ePipeline = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT,\r
- eDescriptorSetLayout = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT,\r
- eSampler = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT,\r
- eDescriptorPool = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT,\r
- eDescriptorSet = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT,\r
- eFramebuffer = VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT,\r
- eCommandPool = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT,\r
- eSurfaceKhr = VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT,\r
- eSwapchainKhr = VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT,\r
- eDebugReportCallbackExt = VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT,\r
- eDisplayKhr = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT,\r
- eDisplayModeKhr = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT,\r
- eObjectTableNvx = VK_DEBUG_REPORT_OBJECT_TYPE_OBJECT_TABLE_NVX_EXT,\r
- eIndirectCommandsLayoutNvx = VK_DEBUG_REPORT_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX_EXT,\r
- eValidationCacheExt = VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT,\r
- eSamplerYcbcrConversion = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT,\r
- eSamplerYcbcrConversionKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT,\r
- eDescriptorUpdateTemplate = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT,\r
- eDescriptorUpdateTemplateKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT\r
- };\r
-\r
- struct DebugMarkerObjectNameInfoEXT\r
- {\r
- DebugMarkerObjectNameInfoEXT( DebugReportObjectTypeEXT objectType_ = DebugReportObjectTypeEXT::eUnknown, uint64_t object_ = 0, const char* pObjectName_ = nullptr )\r
- : objectType( objectType_ )\r
- , object( object_ )\r
- , pObjectName( pObjectName_ )\r
- {\r
- }\r
-\r
- DebugMarkerObjectNameInfoEXT( VkDebugMarkerObjectNameInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugMarkerObjectNameInfoEXT ) );\r
- }\r
-\r
- DebugMarkerObjectNameInfoEXT& operator=( VkDebugMarkerObjectNameInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugMarkerObjectNameInfoEXT ) );\r
- return *this;\r
- }\r
- DebugMarkerObjectNameInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectNameInfoEXT& setObjectType( DebugReportObjectTypeEXT objectType_ )\r
- {\r
- objectType = objectType_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectNameInfoEXT& setObject( uint64_t object_ )\r
- {\r
- object = object_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectNameInfoEXT& setPObjectName( const char* pObjectName_ )\r
- {\r
- pObjectName = pObjectName_;\r
- return *this;\r
- }\r
-\r
- operator const VkDebugMarkerObjectNameInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugMarkerObjectNameInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugMarkerObjectNameInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( objectType == rhs.objectType )\r
- && ( object == rhs.object )\r
- && ( pObjectName == rhs.pObjectName );\r
- }\r
-\r
- bool operator!=( DebugMarkerObjectNameInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugMarkerObjectNameInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DebugReportObjectTypeEXT objectType;\r
- uint64_t object;\r
- const char* pObjectName;\r
- };\r
- static_assert( sizeof( DebugMarkerObjectNameInfoEXT ) == sizeof( VkDebugMarkerObjectNameInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- struct DebugMarkerObjectTagInfoEXT\r
- {\r
- DebugMarkerObjectTagInfoEXT( DebugReportObjectTypeEXT objectType_ = DebugReportObjectTypeEXT::eUnknown, uint64_t object_ = 0, uint64_t tagName_ = 0, size_t tagSize_ = 0, const void* pTag_ = nullptr )\r
- : objectType( objectType_ )\r
- , object( object_ )\r
- , tagName( tagName_ )\r
- , tagSize( tagSize_ )\r
- , pTag( pTag_ )\r
- {\r
- }\r
-\r
- DebugMarkerObjectTagInfoEXT( VkDebugMarkerObjectTagInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugMarkerObjectTagInfoEXT ) );\r
- }\r
-\r
- DebugMarkerObjectTagInfoEXT& operator=( VkDebugMarkerObjectTagInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugMarkerObjectTagInfoEXT ) );\r
- return *this;\r
- }\r
- DebugMarkerObjectTagInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectTagInfoEXT& setObjectType( DebugReportObjectTypeEXT objectType_ )\r
- {\r
- objectType = objectType_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectTagInfoEXT& setObject( uint64_t object_ )\r
- {\r
- object = object_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectTagInfoEXT& setTagName( uint64_t tagName_ )\r
- {\r
- tagName = tagName_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectTagInfoEXT& setTagSize( size_t tagSize_ )\r
- {\r
- tagSize = tagSize_;\r
- return *this;\r
- }\r
-\r
- DebugMarkerObjectTagInfoEXT& setPTag( const void* pTag_ )\r
- {\r
- pTag = pTag_;\r
- return *this;\r
- }\r
-\r
- operator const VkDebugMarkerObjectTagInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugMarkerObjectTagInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugMarkerObjectTagInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( objectType == rhs.objectType )\r
- && ( object == rhs.object )\r
- && ( tagName == rhs.tagName )\r
- && ( tagSize == rhs.tagSize )\r
- && ( pTag == rhs.pTag );\r
- }\r
-\r
- bool operator!=( DebugMarkerObjectTagInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugMarkerObjectTagInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DebugReportObjectTypeEXT objectType;\r
- uint64_t object;\r
- uint64_t tagName;\r
- size_t tagSize;\r
- const void* pTag;\r
- };\r
- static_assert( sizeof( DebugMarkerObjectTagInfoEXT ) == sizeof( VkDebugMarkerObjectTagInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class RasterizationOrderAMD\r
- {\r
- eStrict = VK_RASTERIZATION_ORDER_STRICT_AMD,\r
- eRelaxed = VK_RASTERIZATION_ORDER_RELAXED_AMD\r
- };\r
-\r
- struct PipelineRasterizationStateRasterizationOrderAMD\r
- {\r
- PipelineRasterizationStateRasterizationOrderAMD( RasterizationOrderAMD rasterizationOrder_ = RasterizationOrderAMD::eStrict )\r
- : rasterizationOrder( rasterizationOrder_ )\r
- {\r
- }\r
-\r
- PipelineRasterizationStateRasterizationOrderAMD( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineRasterizationStateRasterizationOrderAMD ) );\r
- }\r
-\r
- PipelineRasterizationStateRasterizationOrderAMD& operator=( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineRasterizationStateRasterizationOrderAMD ) );\r
- return *this;\r
- }\r
- PipelineRasterizationStateRasterizationOrderAMD& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationStateRasterizationOrderAMD& setRasterizationOrder( RasterizationOrderAMD rasterizationOrder_ )\r
- {\r
- rasterizationOrder = rasterizationOrder_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineRasterizationStateRasterizationOrderAMD&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineRasterizationStateRasterizationOrderAMD*>(this);\r
- }\r
-\r
- bool operator==( PipelineRasterizationStateRasterizationOrderAMD const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( rasterizationOrder == rhs.rasterizationOrder );\r
- }\r
-\r
- bool operator!=( PipelineRasterizationStateRasterizationOrderAMD const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineRasterizationStateRasterizationOrderAMD;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- RasterizationOrderAMD rasterizationOrder;\r
- };\r
- static_assert( sizeof( PipelineRasterizationStateRasterizationOrderAMD ) == sizeof( VkPipelineRasterizationStateRasterizationOrderAMD ), "struct and wrapper have different size!" );\r
-\r
- enum class ExternalMemoryHandleTypeFlagBitsNV\r
- {\r
- eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV,\r
- eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV,\r
- eD3D11Image = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV,\r
- eD3D11ImageKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV\r
- };\r
-\r
- using ExternalMemoryHandleTypeFlagsNV = Flags<ExternalMemoryHandleTypeFlagBitsNV, VkExternalMemoryHandleTypeFlagsNV>;\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlagsNV operator|( ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1 )\r
- {\r
- return ExternalMemoryHandleTypeFlagsNV( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlagsNV operator~( ExternalMemoryHandleTypeFlagBitsNV bits )\r
- {\r
- return ~( ExternalMemoryHandleTypeFlagsNV( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalMemoryHandleTypeFlagBitsNV>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt)\r
- };\r
- };\r
-\r
- struct ExternalMemoryImageCreateInfoNV\r
- {\r
- ExternalMemoryImageCreateInfoNV( ExternalMemoryHandleTypeFlagsNV handleTypes_ = ExternalMemoryHandleTypeFlagsNV() )\r
- : handleTypes( handleTypes_ )\r
- {\r
- }\r
-\r
- ExternalMemoryImageCreateInfoNV( VkExternalMemoryImageCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfoNV ) );\r
- }\r
-\r
- ExternalMemoryImageCreateInfoNV& operator=( VkExternalMemoryImageCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfoNV ) );\r
- return *this;\r
- }\r
- ExternalMemoryImageCreateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExternalMemoryImageCreateInfoNV& setHandleTypes( ExternalMemoryHandleTypeFlagsNV handleTypes_ )\r
- {\r
- handleTypes = handleTypes_;\r
- return *this;\r
- }\r
-\r
- operator const VkExternalMemoryImageCreateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkExternalMemoryImageCreateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( ExternalMemoryImageCreateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleTypes == rhs.handleTypes );\r
- }\r
-\r
- bool operator!=( ExternalMemoryImageCreateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalMemoryImageCreateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlagsNV handleTypes;\r
- };\r
- static_assert( sizeof( ExternalMemoryImageCreateInfoNV ) == sizeof( VkExternalMemoryImageCreateInfoNV ), "struct and wrapper have different size!" );\r
-\r
- struct ExportMemoryAllocateInfoNV\r
- {\r
- ExportMemoryAllocateInfoNV( ExternalMemoryHandleTypeFlagsNV handleTypes_ = ExternalMemoryHandleTypeFlagsNV() )\r
- : handleTypes( handleTypes_ )\r
- {\r
- }\r
-\r
- ExportMemoryAllocateInfoNV( VkExportMemoryAllocateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfoNV ) );\r
- }\r
-\r
- ExportMemoryAllocateInfoNV& operator=( VkExportMemoryAllocateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfoNV ) );\r
- return *this;\r
- }\r
- ExportMemoryAllocateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportMemoryAllocateInfoNV& setHandleTypes( ExternalMemoryHandleTypeFlagsNV handleTypes_ )\r
- {\r
- handleTypes = handleTypes_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportMemoryAllocateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkExportMemoryAllocateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( ExportMemoryAllocateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleTypes == rhs.handleTypes );\r
- }\r
-\r
- bool operator!=( ExportMemoryAllocateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportMemoryAllocateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlagsNV handleTypes;\r
- };\r
- static_assert( sizeof( ExportMemoryAllocateInfoNV ) == sizeof( VkExportMemoryAllocateInfoNV ), "struct and wrapper have different size!" );\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- struct ImportMemoryWin32HandleInfoNV\r
- {\r
- ImportMemoryWin32HandleInfoNV( ExternalMemoryHandleTypeFlagsNV handleType_ = ExternalMemoryHandleTypeFlagsNV(), HANDLE handle_ = 0 )\r
- : handleType( handleType_ )\r
- , handle( handle_ )\r
- {\r
- }\r
-\r
- ImportMemoryWin32HandleInfoNV( VkImportMemoryWin32HandleInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoNV ) );\r
- }\r
-\r
- ImportMemoryWin32HandleInfoNV& operator=( VkImportMemoryWin32HandleInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoNV ) );\r
- return *this;\r
- }\r
- ImportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryWin32HandleInfoNV& setHandleType( ExternalMemoryHandleTypeFlagsNV handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryWin32HandleInfoNV& setHandle( HANDLE handle_ )\r
- {\r
- handle = handle_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportMemoryWin32HandleInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkImportMemoryWin32HandleInfoNV*>(this);\r
- }\r
-\r
- bool operator==( ImportMemoryWin32HandleInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleType == rhs.handleType )\r
- && ( handle == rhs.handle );\r
- }\r
-\r
- bool operator!=( ImportMemoryWin32HandleInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportMemoryWin32HandleInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlagsNV handleType;\r
- HANDLE handle;\r
- };\r
- static_assert( sizeof( ImportMemoryWin32HandleInfoNV ) == sizeof( VkImportMemoryWin32HandleInfoNV ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-\r
- enum class ExternalMemoryFeatureFlagBitsNV\r
- {\r
- eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV,\r
- eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV,\r
- eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV\r
- };\r
-\r
- using ExternalMemoryFeatureFlagsNV = Flags<ExternalMemoryFeatureFlagBitsNV, VkExternalMemoryFeatureFlagsNV>;\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryFeatureFlagsNV operator|( ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1 )\r
- {\r
- return ExternalMemoryFeatureFlagsNV( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryFeatureFlagsNV operator~( ExternalMemoryFeatureFlagBitsNV bits )\r
- {\r
- return ~( ExternalMemoryFeatureFlagsNV( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalMemoryFeatureFlagBitsNV>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly) | VkFlags(ExternalMemoryFeatureFlagBitsNV::eExportable) | VkFlags(ExternalMemoryFeatureFlagBitsNV::eImportable)\r
- };\r
- };\r
-\r
- struct ExternalImageFormatPropertiesNV\r
- {\r
- operator const VkExternalImageFormatPropertiesNV&() const\r
- {\r
- return *reinterpret_cast<const VkExternalImageFormatPropertiesNV*>(this);\r
- }\r
-\r
- bool operator==( ExternalImageFormatPropertiesNV const& rhs ) const\r
- {\r
- return ( imageFormatProperties == rhs.imageFormatProperties )\r
- && ( externalMemoryFeatures == rhs.externalMemoryFeatures )\r
- && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )\r
- && ( compatibleHandleTypes == rhs.compatibleHandleTypes );\r
- }\r
-\r
- bool operator!=( ExternalImageFormatPropertiesNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ImageFormatProperties imageFormatProperties;\r
- ExternalMemoryFeatureFlagsNV externalMemoryFeatures;\r
- ExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes;\r
- ExternalMemoryHandleTypeFlagsNV compatibleHandleTypes;\r
- };\r
- static_assert( sizeof( ExternalImageFormatPropertiesNV ) == sizeof( VkExternalImageFormatPropertiesNV ), "struct and wrapper have different size!" );\r
-\r
- enum class ValidationCheckEXT\r
- {\r
- eAll = VK_VALIDATION_CHECK_ALL_EXT,\r
- eShaders = VK_VALIDATION_CHECK_SHADERS_EXT\r
- };\r
-\r
- struct ValidationFlagsEXT\r
- {\r
- ValidationFlagsEXT( uint32_t disabledValidationCheckCount_ = 0, ValidationCheckEXT* pDisabledValidationChecks_ = nullptr )\r
- : disabledValidationCheckCount( disabledValidationCheckCount_ )\r
- , pDisabledValidationChecks( pDisabledValidationChecks_ )\r
- {\r
- }\r
-\r
- ValidationFlagsEXT( VkValidationFlagsEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ValidationFlagsEXT ) );\r
- }\r
-\r
- ValidationFlagsEXT& operator=( VkValidationFlagsEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ValidationFlagsEXT ) );\r
- return *this;\r
- }\r
- ValidationFlagsEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ValidationFlagsEXT& setDisabledValidationCheckCount( uint32_t disabledValidationCheckCount_ )\r
- {\r
- disabledValidationCheckCount = disabledValidationCheckCount_;\r
- return *this;\r
- }\r
-\r
- ValidationFlagsEXT& setPDisabledValidationChecks( ValidationCheckEXT* pDisabledValidationChecks_ )\r
- {\r
- pDisabledValidationChecks = pDisabledValidationChecks_;\r
- return *this;\r
- }\r
-\r
- operator const VkValidationFlagsEXT&() const\r
- {\r
- return *reinterpret_cast<const VkValidationFlagsEXT*>(this);\r
- }\r
-\r
- bool operator==( ValidationFlagsEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( disabledValidationCheckCount == rhs.disabledValidationCheckCount )\r
- && ( pDisabledValidationChecks == rhs.pDisabledValidationChecks );\r
- }\r
-\r
- bool operator!=( ValidationFlagsEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eValidationFlagsEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t disabledValidationCheckCount;\r
- ValidationCheckEXT* pDisabledValidationChecks;\r
- };\r
- static_assert( sizeof( ValidationFlagsEXT ) == sizeof( VkValidationFlagsEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class SubgroupFeatureFlagBits\r
- {\r
- eBasic = VK_SUBGROUP_FEATURE_BASIC_BIT,\r
- eVote = VK_SUBGROUP_FEATURE_VOTE_BIT,\r
- eArithmetic = VK_SUBGROUP_FEATURE_ARITHMETIC_BIT,\r
- eBallot = VK_SUBGROUP_FEATURE_BALLOT_BIT,\r
- eShuffle = VK_SUBGROUP_FEATURE_SHUFFLE_BIT,\r
- eShuffleRelative = VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT,\r
- eClustered = VK_SUBGROUP_FEATURE_CLUSTERED_BIT,\r
- eQuad = VK_SUBGROUP_FEATURE_QUAD_BIT,\r
- ePartitionedNV = VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV\r
- };\r
-\r
- using SubgroupFeatureFlags = Flags<SubgroupFeatureFlagBits, VkSubgroupFeatureFlags>;\r
-\r
- VULKAN_HPP_INLINE SubgroupFeatureFlags operator|( SubgroupFeatureFlagBits bit0, SubgroupFeatureFlagBits bit1 )\r
- {\r
- return SubgroupFeatureFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SubgroupFeatureFlags operator~( SubgroupFeatureFlagBits bits )\r
- {\r
- return ~( SubgroupFeatureFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SubgroupFeatureFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SubgroupFeatureFlagBits::eBasic) | VkFlags(SubgroupFeatureFlagBits::eVote) | VkFlags(SubgroupFeatureFlagBits::eArithmetic) | VkFlags(SubgroupFeatureFlagBits::eBallot) | VkFlags(SubgroupFeatureFlagBits::eShuffle) | VkFlags(SubgroupFeatureFlagBits::eShuffleRelative) | VkFlags(SubgroupFeatureFlagBits::eClustered) | VkFlags(SubgroupFeatureFlagBits::eQuad) | VkFlags(SubgroupFeatureFlagBits::ePartitionedNV)\r
- };\r
- };\r
-\r
- struct PhysicalDeviceSubgroupProperties\r
- {\r
- operator const VkPhysicalDeviceSubgroupProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceSubgroupProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceSubgroupProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( subgroupSize == rhs.subgroupSize )\r
- && ( supportedStages == rhs.supportedStages )\r
- && ( supportedOperations == rhs.supportedOperations )\r
- && ( quadOperationsInAllStages == rhs.quadOperationsInAllStages );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceSubgroupProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceSubgroupProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t subgroupSize;\r
- ShaderStageFlags supportedStages;\r
- SubgroupFeatureFlags supportedOperations;\r
- Bool32 quadOperationsInAllStages;\r
- };\r
- static_assert( sizeof( PhysicalDeviceSubgroupProperties ) == sizeof( VkPhysicalDeviceSubgroupProperties ), "struct and wrapper have different size!" );\r
-\r
- enum class IndirectCommandsLayoutUsageFlagBitsNVX\r
- {\r
- eUnorderedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NVX,\r
- eSparseSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_SPARSE_SEQUENCES_BIT_NVX,\r
- eEmptyExecutions = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EMPTY_EXECUTIONS_BIT_NVX,\r
- eIndexedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX\r
- };\r
-\r
- using IndirectCommandsLayoutUsageFlagsNVX = Flags<IndirectCommandsLayoutUsageFlagBitsNVX, VkIndirectCommandsLayoutUsageFlagsNVX>;\r
-\r
- VULKAN_HPP_INLINE IndirectCommandsLayoutUsageFlagsNVX operator|( IndirectCommandsLayoutUsageFlagBitsNVX bit0, IndirectCommandsLayoutUsageFlagBitsNVX bit1 )\r
- {\r
- return IndirectCommandsLayoutUsageFlagsNVX( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE IndirectCommandsLayoutUsageFlagsNVX operator~( IndirectCommandsLayoutUsageFlagBitsNVX bits )\r
- {\r
- return ~( IndirectCommandsLayoutUsageFlagsNVX( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<IndirectCommandsLayoutUsageFlagBitsNVX>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences)\r
- };\r
- };\r
-\r
- enum class ObjectEntryUsageFlagBitsNVX\r
- {\r
- eGraphics = VK_OBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVX,\r
- eCompute = VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX\r
- };\r
-\r
- using ObjectEntryUsageFlagsNVX = Flags<ObjectEntryUsageFlagBitsNVX, VkObjectEntryUsageFlagsNVX>;\r
-\r
- VULKAN_HPP_INLINE ObjectEntryUsageFlagsNVX operator|( ObjectEntryUsageFlagBitsNVX bit0, ObjectEntryUsageFlagBitsNVX bit1 )\r
- {\r
- return ObjectEntryUsageFlagsNVX( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ObjectEntryUsageFlagsNVX operator~( ObjectEntryUsageFlagBitsNVX bits )\r
- {\r
- return ~( ObjectEntryUsageFlagsNVX( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ObjectEntryUsageFlagBitsNVX>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ObjectEntryUsageFlagBitsNVX::eGraphics) | VkFlags(ObjectEntryUsageFlagBitsNVX::eCompute)\r
- };\r
- };\r
-\r
- enum class IndirectCommandsTokenTypeNVX\r
- {\r
- ePipeline = VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX,\r
- eDescriptorSet = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DESCRIPTOR_SET_NVX,\r
- eIndexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NVX,\r
- eVertexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NVX,\r
- ePushConstant = VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NVX,\r
- eDrawIndexed = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX,\r
- eDraw = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX,\r
- eDispatch = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX\r
- };\r
-\r
- struct IndirectCommandsTokenNVX\r
- {\r
- IndirectCommandsTokenNVX( IndirectCommandsTokenTypeNVX tokenType_ = IndirectCommandsTokenTypeNVX::ePipeline, Buffer buffer_ = Buffer(), DeviceSize offset_ = 0 )\r
- : tokenType( tokenType_ )\r
- , buffer( buffer_ )\r
- , offset( offset_ )\r
- {\r
- }\r
-\r
- IndirectCommandsTokenNVX( VkIndirectCommandsTokenNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IndirectCommandsTokenNVX ) );\r
- }\r
-\r
- IndirectCommandsTokenNVX& operator=( VkIndirectCommandsTokenNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IndirectCommandsTokenNVX ) );\r
- return *this;\r
- }\r
- IndirectCommandsTokenNVX& setTokenType( IndirectCommandsTokenTypeNVX tokenType_ )\r
- {\r
- tokenType = tokenType_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsTokenNVX& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsTokenNVX& setOffset( DeviceSize offset_ )\r
- {\r
- offset = offset_;\r
- return *this;\r
- }\r
-\r
- operator const VkIndirectCommandsTokenNVX&() const\r
- {\r
- return *reinterpret_cast<const VkIndirectCommandsTokenNVX*>(this);\r
- }\r
-\r
- bool operator==( IndirectCommandsTokenNVX const& rhs ) const\r
- {\r
- return ( tokenType == rhs.tokenType )\r
- && ( buffer == rhs.buffer )\r
- && ( offset == rhs.offset );\r
- }\r
-\r
- bool operator!=( IndirectCommandsTokenNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- IndirectCommandsTokenTypeNVX tokenType;\r
- Buffer buffer;\r
- DeviceSize offset;\r
- };\r
- static_assert( sizeof( IndirectCommandsTokenNVX ) == sizeof( VkIndirectCommandsTokenNVX ), "struct and wrapper have different size!" );\r
-\r
- struct IndirectCommandsLayoutTokenNVX\r
- {\r
- IndirectCommandsLayoutTokenNVX( IndirectCommandsTokenTypeNVX tokenType_ = IndirectCommandsTokenTypeNVX::ePipeline, uint32_t bindingUnit_ = 0, uint32_t dynamicCount_ = 0, uint32_t divisor_ = 0 )\r
- : tokenType( tokenType_ )\r
- , bindingUnit( bindingUnit_ )\r
- , dynamicCount( dynamicCount_ )\r
- , divisor( divisor_ )\r
- {\r
- }\r
-\r
- IndirectCommandsLayoutTokenNVX( VkIndirectCommandsLayoutTokenNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IndirectCommandsLayoutTokenNVX ) );\r
- }\r
-\r
- IndirectCommandsLayoutTokenNVX& operator=( VkIndirectCommandsLayoutTokenNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IndirectCommandsLayoutTokenNVX ) );\r
- return *this;\r
- }\r
- IndirectCommandsLayoutTokenNVX& setTokenType( IndirectCommandsTokenTypeNVX tokenType_ )\r
- {\r
- tokenType = tokenType_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsLayoutTokenNVX& setBindingUnit( uint32_t bindingUnit_ )\r
- {\r
- bindingUnit = bindingUnit_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsLayoutTokenNVX& setDynamicCount( uint32_t dynamicCount_ )\r
- {\r
- dynamicCount = dynamicCount_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsLayoutTokenNVX& setDivisor( uint32_t divisor_ )\r
- {\r
- divisor = divisor_;\r
- return *this;\r
- }\r
-\r
- operator const VkIndirectCommandsLayoutTokenNVX&() const\r
- {\r
- return *reinterpret_cast<const VkIndirectCommandsLayoutTokenNVX*>(this);\r
- }\r
-\r
- bool operator==( IndirectCommandsLayoutTokenNVX const& rhs ) const\r
- {\r
- return ( tokenType == rhs.tokenType )\r
- && ( bindingUnit == rhs.bindingUnit )\r
- && ( dynamicCount == rhs.dynamicCount )\r
- && ( divisor == rhs.divisor );\r
- }\r
-\r
- bool operator!=( IndirectCommandsLayoutTokenNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- IndirectCommandsTokenTypeNVX tokenType;\r
- uint32_t bindingUnit;\r
- uint32_t dynamicCount;\r
- uint32_t divisor;\r
- };\r
- static_assert( sizeof( IndirectCommandsLayoutTokenNVX ) == sizeof( VkIndirectCommandsLayoutTokenNVX ), "struct and wrapper have different size!" );\r
-\r
- struct IndirectCommandsLayoutCreateInfoNVX\r
- {\r
- IndirectCommandsLayoutCreateInfoNVX( PipelineBindPoint pipelineBindPoint_ = PipelineBindPoint::eGraphics, IndirectCommandsLayoutUsageFlagsNVX flags_ = IndirectCommandsLayoutUsageFlagsNVX(), uint32_t tokenCount_ = 0, const IndirectCommandsLayoutTokenNVX* pTokens_ = nullptr )\r
- : pipelineBindPoint( pipelineBindPoint_ )\r
- , flags( flags_ )\r
- , tokenCount( tokenCount_ )\r
- , pTokens( pTokens_ )\r
- {\r
- }\r
-\r
- IndirectCommandsLayoutCreateInfoNVX( VkIndirectCommandsLayoutCreateInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IndirectCommandsLayoutCreateInfoNVX ) );\r
- }\r
-\r
- IndirectCommandsLayoutCreateInfoNVX& operator=( VkIndirectCommandsLayoutCreateInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( IndirectCommandsLayoutCreateInfoNVX ) );\r
- return *this;\r
- }\r
- IndirectCommandsLayoutCreateInfoNVX& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsLayoutCreateInfoNVX& setPipelineBindPoint( PipelineBindPoint pipelineBindPoint_ )\r
- {\r
- pipelineBindPoint = pipelineBindPoint_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsLayoutCreateInfoNVX& setFlags( IndirectCommandsLayoutUsageFlagsNVX flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsLayoutCreateInfoNVX& setTokenCount( uint32_t tokenCount_ )\r
- {\r
- tokenCount = tokenCount_;\r
- return *this;\r
- }\r
-\r
- IndirectCommandsLayoutCreateInfoNVX& setPTokens( const IndirectCommandsLayoutTokenNVX* pTokens_ )\r
- {\r
- pTokens = pTokens_;\r
- return *this;\r
- }\r
-\r
- operator const VkIndirectCommandsLayoutCreateInfoNVX&() const\r
- {\r
- return *reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>(this);\r
- }\r
-\r
- bool operator==( IndirectCommandsLayoutCreateInfoNVX const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pipelineBindPoint == rhs.pipelineBindPoint )\r
- && ( flags == rhs.flags )\r
- && ( tokenCount == rhs.tokenCount )\r
- && ( pTokens == rhs.pTokens );\r
- }\r
-\r
- bool operator!=( IndirectCommandsLayoutCreateInfoNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eIndirectCommandsLayoutCreateInfoNVX;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineBindPoint pipelineBindPoint;\r
- IndirectCommandsLayoutUsageFlagsNVX flags;\r
- uint32_t tokenCount;\r
- const IndirectCommandsLayoutTokenNVX* pTokens;\r
- };\r
- static_assert( sizeof( IndirectCommandsLayoutCreateInfoNVX ) == sizeof( VkIndirectCommandsLayoutCreateInfoNVX ), "struct and wrapper have different size!" );\r
-\r
- enum class ObjectEntryTypeNVX\r
- {\r
- eDescriptorSet = VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX,\r
- ePipeline = VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX,\r
- eIndexBuffer = VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX,\r
- eVertexBuffer = VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX,\r
- ePushConstant = VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX\r
- };\r
-\r
- struct ObjectTableCreateInfoNVX\r
- {\r
- ObjectTableCreateInfoNVX( uint32_t objectCount_ = 0, const ObjectEntryTypeNVX* pObjectEntryTypes_ = nullptr, const uint32_t* pObjectEntryCounts_ = nullptr, const ObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags_ = nullptr, uint32_t maxUniformBuffersPerDescriptor_ = 0, uint32_t maxStorageBuffersPerDescriptor_ = 0, uint32_t maxStorageImagesPerDescriptor_ = 0, uint32_t maxSampledImagesPerDescriptor_ = 0, uint32_t maxPipelineLayouts_ = 0 )\r
- : objectCount( objectCount_ )\r
- , pObjectEntryTypes( pObjectEntryTypes_ )\r
- , pObjectEntryCounts( pObjectEntryCounts_ )\r
- , pObjectEntryUsageFlags( pObjectEntryUsageFlags_ )\r
- , maxUniformBuffersPerDescriptor( maxUniformBuffersPerDescriptor_ )\r
- , maxStorageBuffersPerDescriptor( maxStorageBuffersPerDescriptor_ )\r
- , maxStorageImagesPerDescriptor( maxStorageImagesPerDescriptor_ )\r
- , maxSampledImagesPerDescriptor( maxSampledImagesPerDescriptor_ )\r
- , maxPipelineLayouts( maxPipelineLayouts_ )\r
- {\r
- }\r
-\r
- ObjectTableCreateInfoNVX( VkObjectTableCreateInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableCreateInfoNVX ) );\r
- }\r
-\r
- ObjectTableCreateInfoNVX& operator=( VkObjectTableCreateInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableCreateInfoNVX ) );\r
- return *this;\r
- }\r
- ObjectTableCreateInfoNVX& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setObjectCount( uint32_t objectCount_ )\r
- {\r
- objectCount = objectCount_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setPObjectEntryTypes( const ObjectEntryTypeNVX* pObjectEntryTypes_ )\r
- {\r
- pObjectEntryTypes = pObjectEntryTypes_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setPObjectEntryCounts( const uint32_t* pObjectEntryCounts_ )\r
- {\r
- pObjectEntryCounts = pObjectEntryCounts_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setPObjectEntryUsageFlags( const ObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags_ )\r
- {\r
- pObjectEntryUsageFlags = pObjectEntryUsageFlags_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setMaxUniformBuffersPerDescriptor( uint32_t maxUniformBuffersPerDescriptor_ )\r
- {\r
- maxUniformBuffersPerDescriptor = maxUniformBuffersPerDescriptor_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setMaxStorageBuffersPerDescriptor( uint32_t maxStorageBuffersPerDescriptor_ )\r
- {\r
- maxStorageBuffersPerDescriptor = maxStorageBuffersPerDescriptor_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setMaxStorageImagesPerDescriptor( uint32_t maxStorageImagesPerDescriptor_ )\r
- {\r
- maxStorageImagesPerDescriptor = maxStorageImagesPerDescriptor_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setMaxSampledImagesPerDescriptor( uint32_t maxSampledImagesPerDescriptor_ )\r
- {\r
- maxSampledImagesPerDescriptor = maxSampledImagesPerDescriptor_;\r
- return *this;\r
- }\r
-\r
- ObjectTableCreateInfoNVX& setMaxPipelineLayouts( uint32_t maxPipelineLayouts_ )\r
- {\r
- maxPipelineLayouts = maxPipelineLayouts_;\r
- return *this;\r
- }\r
-\r
- operator const VkObjectTableCreateInfoNVX&() const\r
- {\r
- return *reinterpret_cast<const VkObjectTableCreateInfoNVX*>(this);\r
- }\r
-\r
- bool operator==( ObjectTableCreateInfoNVX const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( objectCount == rhs.objectCount )\r
- && ( pObjectEntryTypes == rhs.pObjectEntryTypes )\r
- && ( pObjectEntryCounts == rhs.pObjectEntryCounts )\r
- && ( pObjectEntryUsageFlags == rhs.pObjectEntryUsageFlags )\r
- && ( maxUniformBuffersPerDescriptor == rhs.maxUniformBuffersPerDescriptor )\r
- && ( maxStorageBuffersPerDescriptor == rhs.maxStorageBuffersPerDescriptor )\r
- && ( maxStorageImagesPerDescriptor == rhs.maxStorageImagesPerDescriptor )\r
- && ( maxSampledImagesPerDescriptor == rhs.maxSampledImagesPerDescriptor )\r
- && ( maxPipelineLayouts == rhs.maxPipelineLayouts );\r
- }\r
-\r
- bool operator!=( ObjectTableCreateInfoNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eObjectTableCreateInfoNVX;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t objectCount;\r
- const ObjectEntryTypeNVX* pObjectEntryTypes;\r
- const uint32_t* pObjectEntryCounts;\r
- const ObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags;\r
- uint32_t maxUniformBuffersPerDescriptor;\r
- uint32_t maxStorageBuffersPerDescriptor;\r
- uint32_t maxStorageImagesPerDescriptor;\r
- uint32_t maxSampledImagesPerDescriptor;\r
- uint32_t maxPipelineLayouts;\r
- };\r
- static_assert( sizeof( ObjectTableCreateInfoNVX ) == sizeof( VkObjectTableCreateInfoNVX ), "struct and wrapper have different size!" );\r
-\r
- struct ObjectTableEntryNVX\r
- {\r
- ObjectTableEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX() )\r
- : type( type_ )\r
- , flags( flags_ )\r
- {\r
- }\r
-\r
- ObjectTableEntryNVX( VkObjectTableEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableEntryNVX ) );\r
- }\r
-\r
- ObjectTableEntryNVX& operator=( VkObjectTableEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableEntryNVX ) );\r
- return *this;\r
- }\r
- ObjectTableEntryNVX& setType( ObjectEntryTypeNVX type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- ObjectTableEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- operator const VkObjectTableEntryNVX&() const\r
- {\r
- return *reinterpret_cast<const VkObjectTableEntryNVX*>(this);\r
- }\r
-\r
- bool operator==( ObjectTableEntryNVX const& rhs ) const\r
- {\r
- return ( type == rhs.type )\r
- && ( flags == rhs.flags );\r
- }\r
-\r
- bool operator!=( ObjectTableEntryNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ObjectEntryTypeNVX type;\r
- ObjectEntryUsageFlagsNVX flags;\r
- };\r
- static_assert( sizeof( ObjectTableEntryNVX ) == sizeof( VkObjectTableEntryNVX ), "struct and wrapper have different size!" );\r
-\r
- struct ObjectTablePipelineEntryNVX\r
- {\r
- ObjectTablePipelineEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), Pipeline pipeline_ = Pipeline() )\r
- : type( type_ )\r
- , flags( flags_ )\r
- , pipeline( pipeline_ )\r
- {\r
- }\r
-\r
- ObjectTablePipelineEntryNVX( VkObjectTablePipelineEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTablePipelineEntryNVX ) );\r
- }\r
-\r
- ObjectTablePipelineEntryNVX& operator=( VkObjectTablePipelineEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTablePipelineEntryNVX ) );\r
- return *this;\r
- }\r
- ObjectTablePipelineEntryNVX& setType( ObjectEntryTypeNVX type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- ObjectTablePipelineEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ObjectTablePipelineEntryNVX& setPipeline( Pipeline pipeline_ )\r
- {\r
- pipeline = pipeline_;\r
- return *this;\r
- }\r
-\r
- operator const VkObjectTablePipelineEntryNVX&() const\r
- {\r
- return *reinterpret_cast<const VkObjectTablePipelineEntryNVX*>(this);\r
- }\r
-\r
- bool operator==( ObjectTablePipelineEntryNVX const& rhs ) const\r
- {\r
- return ( type == rhs.type )\r
- && ( flags == rhs.flags )\r
- && ( pipeline == rhs.pipeline );\r
- }\r
-\r
- bool operator!=( ObjectTablePipelineEntryNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ObjectEntryTypeNVX type;\r
- ObjectEntryUsageFlagsNVX flags;\r
- Pipeline pipeline;\r
- };\r
- static_assert( sizeof( ObjectTablePipelineEntryNVX ) == sizeof( VkObjectTablePipelineEntryNVX ), "struct and wrapper have different size!" );\r
-\r
- struct ObjectTableDescriptorSetEntryNVX\r
- {\r
- ObjectTableDescriptorSetEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), PipelineLayout pipelineLayout_ = PipelineLayout(), DescriptorSet descriptorSet_ = DescriptorSet() )\r
- : type( type_ )\r
- , flags( flags_ )\r
- , pipelineLayout( pipelineLayout_ )\r
- , descriptorSet( descriptorSet_ )\r
- {\r
- }\r
-\r
- ObjectTableDescriptorSetEntryNVX( VkObjectTableDescriptorSetEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableDescriptorSetEntryNVX ) );\r
- }\r
-\r
- ObjectTableDescriptorSetEntryNVX& operator=( VkObjectTableDescriptorSetEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableDescriptorSetEntryNVX ) );\r
- return *this;\r
- }\r
- ObjectTableDescriptorSetEntryNVX& setType( ObjectEntryTypeNVX type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- ObjectTableDescriptorSetEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ObjectTableDescriptorSetEntryNVX& setPipelineLayout( PipelineLayout pipelineLayout_ )\r
- {\r
- pipelineLayout = pipelineLayout_;\r
- return *this;\r
- }\r
-\r
- ObjectTableDescriptorSetEntryNVX& setDescriptorSet( DescriptorSet descriptorSet_ )\r
- {\r
- descriptorSet = descriptorSet_;\r
- return *this;\r
- }\r
-\r
- operator const VkObjectTableDescriptorSetEntryNVX&() const\r
- {\r
- return *reinterpret_cast<const VkObjectTableDescriptorSetEntryNVX*>(this);\r
- }\r
-\r
- bool operator==( ObjectTableDescriptorSetEntryNVX const& rhs ) const\r
- {\r
- return ( type == rhs.type )\r
- && ( flags == rhs.flags )\r
- && ( pipelineLayout == rhs.pipelineLayout )\r
- && ( descriptorSet == rhs.descriptorSet );\r
- }\r
-\r
- bool operator!=( ObjectTableDescriptorSetEntryNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ObjectEntryTypeNVX type;\r
- ObjectEntryUsageFlagsNVX flags;\r
- PipelineLayout pipelineLayout;\r
- DescriptorSet descriptorSet;\r
- };\r
- static_assert( sizeof( ObjectTableDescriptorSetEntryNVX ) == sizeof( VkObjectTableDescriptorSetEntryNVX ), "struct and wrapper have different size!" );\r
-\r
- struct ObjectTableVertexBufferEntryNVX\r
- {\r
- ObjectTableVertexBufferEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), Buffer buffer_ = Buffer() )\r
- : type( type_ )\r
- , flags( flags_ )\r
- , buffer( buffer_ )\r
- {\r
- }\r
-\r
- ObjectTableVertexBufferEntryNVX( VkObjectTableVertexBufferEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableVertexBufferEntryNVX ) );\r
- }\r
-\r
- ObjectTableVertexBufferEntryNVX& operator=( VkObjectTableVertexBufferEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableVertexBufferEntryNVX ) );\r
- return *this;\r
- }\r
- ObjectTableVertexBufferEntryNVX& setType( ObjectEntryTypeNVX type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- ObjectTableVertexBufferEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ObjectTableVertexBufferEntryNVX& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- operator const VkObjectTableVertexBufferEntryNVX&() const\r
- {\r
- return *reinterpret_cast<const VkObjectTableVertexBufferEntryNVX*>(this);\r
- }\r
-\r
- bool operator==( ObjectTableVertexBufferEntryNVX const& rhs ) const\r
- {\r
- return ( type == rhs.type )\r
- && ( flags == rhs.flags )\r
- && ( buffer == rhs.buffer );\r
- }\r
-\r
- bool operator!=( ObjectTableVertexBufferEntryNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ObjectEntryTypeNVX type;\r
- ObjectEntryUsageFlagsNVX flags;\r
- Buffer buffer;\r
- };\r
- static_assert( sizeof( ObjectTableVertexBufferEntryNVX ) == sizeof( VkObjectTableVertexBufferEntryNVX ), "struct and wrapper have different size!" );\r
-\r
- struct ObjectTableIndexBufferEntryNVX\r
- {\r
- ObjectTableIndexBufferEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), Buffer buffer_ = Buffer(), IndexType indexType_ = IndexType::eUint16 )\r
- : type( type_ )\r
- , flags( flags_ )\r
- , buffer( buffer_ )\r
- , indexType( indexType_ )\r
- {\r
- }\r
-\r
- ObjectTableIndexBufferEntryNVX( VkObjectTableIndexBufferEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableIndexBufferEntryNVX ) );\r
- }\r
-\r
- ObjectTableIndexBufferEntryNVX& operator=( VkObjectTableIndexBufferEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTableIndexBufferEntryNVX ) );\r
- return *this;\r
- }\r
- ObjectTableIndexBufferEntryNVX& setType( ObjectEntryTypeNVX type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- ObjectTableIndexBufferEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ObjectTableIndexBufferEntryNVX& setBuffer( Buffer buffer_ )\r
- {\r
- buffer = buffer_;\r
- return *this;\r
- }\r
-\r
- ObjectTableIndexBufferEntryNVX& setIndexType( IndexType indexType_ )\r
- {\r
- indexType = indexType_;\r
- return *this;\r
- }\r
-\r
- operator const VkObjectTableIndexBufferEntryNVX&() const\r
- {\r
- return *reinterpret_cast<const VkObjectTableIndexBufferEntryNVX*>(this);\r
- }\r
-\r
- bool operator==( ObjectTableIndexBufferEntryNVX const& rhs ) const\r
- {\r
- return ( type == rhs.type )\r
- && ( flags == rhs.flags )\r
- && ( buffer == rhs.buffer )\r
- && ( indexType == rhs.indexType );\r
- }\r
-\r
- bool operator!=( ObjectTableIndexBufferEntryNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ObjectEntryTypeNVX type;\r
- ObjectEntryUsageFlagsNVX flags;\r
- Buffer buffer;\r
- IndexType indexType;\r
- };\r
- static_assert( sizeof( ObjectTableIndexBufferEntryNVX ) == sizeof( VkObjectTableIndexBufferEntryNVX ), "struct and wrapper have different size!" );\r
-\r
- struct ObjectTablePushConstantEntryNVX\r
- {\r
- ObjectTablePushConstantEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), PipelineLayout pipelineLayout_ = PipelineLayout(), ShaderStageFlags stageFlags_ = ShaderStageFlags() )\r
- : type( type_ )\r
- , flags( flags_ )\r
- , pipelineLayout( pipelineLayout_ )\r
- , stageFlags( stageFlags_ )\r
- {\r
- }\r
-\r
- ObjectTablePushConstantEntryNVX( VkObjectTablePushConstantEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTablePushConstantEntryNVX ) );\r
- }\r
-\r
- ObjectTablePushConstantEntryNVX& operator=( VkObjectTablePushConstantEntryNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ObjectTablePushConstantEntryNVX ) );\r
- return *this;\r
- }\r
- ObjectTablePushConstantEntryNVX& setType( ObjectEntryTypeNVX type_ )\r
- {\r
- type = type_;\r
- return *this;\r
- }\r
-\r
- ObjectTablePushConstantEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ObjectTablePushConstantEntryNVX& setPipelineLayout( PipelineLayout pipelineLayout_ )\r
- {\r
- pipelineLayout = pipelineLayout_;\r
- return *this;\r
- }\r
-\r
- ObjectTablePushConstantEntryNVX& setStageFlags( ShaderStageFlags stageFlags_ )\r
- {\r
- stageFlags = stageFlags_;\r
- return *this;\r
- }\r
-\r
- operator const VkObjectTablePushConstantEntryNVX&() const\r
- {\r
- return *reinterpret_cast<const VkObjectTablePushConstantEntryNVX*>(this);\r
- }\r
-\r
- bool operator==( ObjectTablePushConstantEntryNVX const& rhs ) const\r
- {\r
- return ( type == rhs.type )\r
- && ( flags == rhs.flags )\r
- && ( pipelineLayout == rhs.pipelineLayout )\r
- && ( stageFlags == rhs.stageFlags );\r
- }\r
-\r
- bool operator!=( ObjectTablePushConstantEntryNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ObjectEntryTypeNVX type;\r
- ObjectEntryUsageFlagsNVX flags;\r
- PipelineLayout pipelineLayout;\r
- ShaderStageFlags stageFlags;\r
- };\r
- static_assert( sizeof( ObjectTablePushConstantEntryNVX ) == sizeof( VkObjectTablePushConstantEntryNVX ), "struct and wrapper have different size!" );\r
-\r
- enum class DescriptorSetLayoutCreateFlagBits\r
- {\r
- ePushDescriptorKHR = VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR,\r
- eUpdateAfterBindPoolEXT = VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT\r
- };\r
-\r
- using DescriptorSetLayoutCreateFlags = Flags<DescriptorSetLayoutCreateFlagBits, VkDescriptorSetLayoutCreateFlags>;\r
-\r
- VULKAN_HPP_INLINE DescriptorSetLayoutCreateFlags operator|( DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1 )\r
- {\r
- return DescriptorSetLayoutCreateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DescriptorSetLayoutCreateFlags operator~( DescriptorSetLayoutCreateFlagBits bits )\r
- {\r
- return ~( DescriptorSetLayoutCreateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DescriptorSetLayoutCreateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR) | VkFlags(DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT)\r
- };\r
- };\r
-\r
- struct DescriptorSetLayoutCreateInfo\r
- {\r
- DescriptorSetLayoutCreateInfo( DescriptorSetLayoutCreateFlags flags_ = DescriptorSetLayoutCreateFlags(), uint32_t bindingCount_ = 0, const DescriptorSetLayoutBinding* pBindings_ = nullptr )\r
- : flags( flags_ )\r
- , bindingCount( bindingCount_ )\r
- , pBindings( pBindings_ )\r
- {\r
- }\r
-\r
- DescriptorSetLayoutCreateInfo( VkDescriptorSetLayoutCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetLayoutCreateInfo ) );\r
- }\r
-\r
- DescriptorSetLayoutCreateInfo& operator=( VkDescriptorSetLayoutCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetLayoutCreateInfo ) );\r
- return *this;\r
- }\r
- DescriptorSetLayoutCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutCreateInfo& setFlags( DescriptorSetLayoutCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutCreateInfo& setBindingCount( uint32_t bindingCount_ )\r
- {\r
- bindingCount = bindingCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutCreateInfo& setPBindings( const DescriptorSetLayoutBinding* pBindings_ )\r
- {\r
- pBindings = pBindings_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorSetLayoutCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( DescriptorSetLayoutCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( bindingCount == rhs.bindingCount )\r
- && ( pBindings == rhs.pBindings );\r
- }\r
-\r
- bool operator!=( DescriptorSetLayoutCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorSetLayoutCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DescriptorSetLayoutCreateFlags flags;\r
- uint32_t bindingCount;\r
- const DescriptorSetLayoutBinding* pBindings;\r
- };\r
- static_assert( sizeof( DescriptorSetLayoutCreateInfo ) == sizeof( VkDescriptorSetLayoutCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class ExternalMemoryHandleTypeFlagBits\r
- {\r
- eOpaqueFd = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT,\r
- eOpaqueFdKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT,\r
- eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT,\r
- eOpaqueWin32KHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT,\r
- eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,\r
- eOpaqueWin32KmtKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,\r
- eD3D11Texture = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT,\r
- eD3D11TextureKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT,\r
- eD3D11TextureKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT,\r
- eD3D11TextureKmtKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT,\r
- eD3D12Heap = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT,\r
- eD3D12HeapKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT,\r
- eD3D12Resource = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT,\r
- eD3D12ResourceKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT,\r
- eDmaBufEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT,\r
- eAndroidHardwareBufferANDROID = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID,\r
- eHostAllocationEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT,\r
- eHostMappedForeignMemoryEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT\r
- };\r
-\r
- using ExternalMemoryHandleTypeFlags = Flags<ExternalMemoryHandleTypeFlagBits, VkExternalMemoryHandleTypeFlags>;\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlags operator|( ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1 )\r
- {\r
- return ExternalMemoryHandleTypeFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlags operator~( ExternalMemoryHandleTypeFlagBits bits )\r
- {\r
- return ~( ExternalMemoryHandleTypeFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalMemoryHandleTypeFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D11Texture) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D12Heap) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D12Resource) | VkFlags(ExternalMemoryHandleTypeFlagBits::eDmaBufEXT) | VkFlags(ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID) | VkFlags(ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT) | VkFlags(ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT)\r
- };\r
- };\r
-\r
- using ExternalMemoryHandleTypeFlagsKHR = ExternalMemoryHandleTypeFlags;\r
-\r
- struct PhysicalDeviceExternalImageFormatInfo\r
- {\r
- PhysicalDeviceExternalImageFormatInfo( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )\r
- : handleType( handleType_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceExternalImageFormatInfo( VkPhysicalDeviceExternalImageFormatInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) );\r
- }\r
-\r
- PhysicalDeviceExternalImageFormatInfo& operator=( VkPhysicalDeviceExternalImageFormatInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) );\r
- return *this;\r
- }\r
- PhysicalDeviceExternalImageFormatInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceExternalImageFormatInfo& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceExternalImageFormatInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceExternalImageFormatInfo*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceExternalImageFormatInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceExternalImageFormatInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceExternalImageFormatInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( PhysicalDeviceExternalImageFormatInfo ) == sizeof( VkPhysicalDeviceExternalImageFormatInfo ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceExternalImageFormatInfoKHR = PhysicalDeviceExternalImageFormatInfo;\r
-\r
- struct PhysicalDeviceExternalBufferInfo\r
- {\r
- PhysicalDeviceExternalBufferInfo( BufferCreateFlags flags_ = BufferCreateFlags(), BufferUsageFlags usage_ = BufferUsageFlags(), ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )\r
- : flags( flags_ )\r
- , usage( usage_ )\r
- , handleType( handleType_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceExternalBufferInfo( VkPhysicalDeviceExternalBufferInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalBufferInfo ) );\r
- }\r
-\r
- PhysicalDeviceExternalBufferInfo& operator=( VkPhysicalDeviceExternalBufferInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalBufferInfo ) );\r
- return *this;\r
- }\r
- PhysicalDeviceExternalBufferInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceExternalBufferInfo& setFlags( BufferCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceExternalBufferInfo& setUsage( BufferUsageFlags usage_ )\r
- {\r
- usage = usage_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceExternalBufferInfo& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceExternalBufferInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceExternalBufferInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( usage == rhs.usage )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceExternalBufferInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceExternalBufferInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- BufferCreateFlags flags;\r
- BufferUsageFlags usage;\r
- ExternalMemoryHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( PhysicalDeviceExternalBufferInfo ) == sizeof( VkPhysicalDeviceExternalBufferInfo ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceExternalBufferInfoKHR = PhysicalDeviceExternalBufferInfo;\r
-\r
- struct ExternalMemoryImageCreateInfo\r
- {\r
- ExternalMemoryImageCreateInfo( ExternalMemoryHandleTypeFlags handleTypes_ = ExternalMemoryHandleTypeFlags() )\r
- : handleTypes( handleTypes_ )\r
- {\r
- }\r
-\r
- ExternalMemoryImageCreateInfo( VkExternalMemoryImageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfo ) );\r
- }\r
-\r
- ExternalMemoryImageCreateInfo& operator=( VkExternalMemoryImageCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfo ) );\r
- return *this;\r
- }\r
- ExternalMemoryImageCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExternalMemoryImageCreateInfo& setHandleTypes( ExternalMemoryHandleTypeFlags handleTypes_ )\r
- {\r
- handleTypes = handleTypes_;\r
- return *this;\r
- }\r
-\r
- operator const VkExternalMemoryImageCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkExternalMemoryImageCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ExternalMemoryImageCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleTypes == rhs.handleTypes );\r
- }\r
-\r
- bool operator!=( ExternalMemoryImageCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalMemoryImageCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlags handleTypes;\r
- };\r
- static_assert( sizeof( ExternalMemoryImageCreateInfo ) == sizeof( VkExternalMemoryImageCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using ExternalMemoryImageCreateInfoKHR = ExternalMemoryImageCreateInfo;\r
-\r
- struct ExternalMemoryBufferCreateInfo\r
- {\r
- ExternalMemoryBufferCreateInfo( ExternalMemoryHandleTypeFlags handleTypes_ = ExternalMemoryHandleTypeFlags() )\r
- : handleTypes( handleTypes_ )\r
- {\r
- }\r
-\r
- ExternalMemoryBufferCreateInfo( VkExternalMemoryBufferCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalMemoryBufferCreateInfo ) );\r
- }\r
-\r
- ExternalMemoryBufferCreateInfo& operator=( VkExternalMemoryBufferCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExternalMemoryBufferCreateInfo ) );\r
- return *this;\r
- }\r
- ExternalMemoryBufferCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExternalMemoryBufferCreateInfo& setHandleTypes( ExternalMemoryHandleTypeFlags handleTypes_ )\r
- {\r
- handleTypes = handleTypes_;\r
- return *this;\r
- }\r
-\r
- operator const VkExternalMemoryBufferCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkExternalMemoryBufferCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ExternalMemoryBufferCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleTypes == rhs.handleTypes );\r
- }\r
-\r
- bool operator!=( ExternalMemoryBufferCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalMemoryBufferCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlags handleTypes;\r
- };\r
- static_assert( sizeof( ExternalMemoryBufferCreateInfo ) == sizeof( VkExternalMemoryBufferCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using ExternalMemoryBufferCreateInfoKHR = ExternalMemoryBufferCreateInfo;\r
-\r
- struct ExportMemoryAllocateInfo\r
- {\r
- ExportMemoryAllocateInfo( ExternalMemoryHandleTypeFlags handleTypes_ = ExternalMemoryHandleTypeFlags() )\r
- : handleTypes( handleTypes_ )\r
- {\r
- }\r
-\r
- ExportMemoryAllocateInfo( VkExportMemoryAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfo ) );\r
- }\r
-\r
- ExportMemoryAllocateInfo& operator=( VkExportMemoryAllocateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfo ) );\r
- return *this;\r
- }\r
- ExportMemoryAllocateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportMemoryAllocateInfo& setHandleTypes( ExternalMemoryHandleTypeFlags handleTypes_ )\r
- {\r
- handleTypes = handleTypes_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportMemoryAllocateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkExportMemoryAllocateInfo*>(this);\r
- }\r
-\r
- bool operator==( ExportMemoryAllocateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleTypes == rhs.handleTypes );\r
- }\r
-\r
- bool operator!=( ExportMemoryAllocateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportMemoryAllocateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlags handleTypes;\r
- };\r
- static_assert( sizeof( ExportMemoryAllocateInfo ) == sizeof( VkExportMemoryAllocateInfo ), "struct and wrapper have different size!" );\r
-\r
- using ExportMemoryAllocateInfoKHR = ExportMemoryAllocateInfo;\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct ImportMemoryWin32HandleInfoKHR\r
- {\r
- ImportMemoryWin32HandleInfoKHR( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = 0, LPCWSTR name_ = 0 )\r
- : handleType( handleType_ )\r
- , handle( handle_ )\r
- , name( name_ )\r
- {\r
- }\r
-\r
- ImportMemoryWin32HandleInfoKHR( VkImportMemoryWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoKHR ) );\r
- }\r
-\r
- ImportMemoryWin32HandleInfoKHR& operator=( VkImportMemoryWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- ImportMemoryWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryWin32HandleInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryWin32HandleInfoKHR& setHandle( HANDLE handle_ )\r
- {\r
- handle = handle_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryWin32HandleInfoKHR& setName( LPCWSTR name_ )\r
- {\r
- name = name_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportMemoryWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImportMemoryWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImportMemoryWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleType == rhs.handleType )\r
- && ( handle == rhs.handle )\r
- && ( name == rhs.name );\r
- }\r
-\r
- bool operator!=( ImportMemoryWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportMemoryWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlagBits handleType;\r
- HANDLE handle;\r
- LPCWSTR name;\r
- };\r
- static_assert( sizeof( ImportMemoryWin32HandleInfoKHR ) == sizeof( VkImportMemoryWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct MemoryGetWin32HandleInfoKHR\r
- {\r
- MemoryGetWin32HandleInfoKHR( DeviceMemory memory_ = DeviceMemory(), ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )\r
- : memory( memory_ )\r
- , handleType( handleType_ )\r
- {\r
- }\r
-\r
- MemoryGetWin32HandleInfoKHR( VkMemoryGetWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryGetWin32HandleInfoKHR ) );\r
- }\r
-\r
- MemoryGetWin32HandleInfoKHR& operator=( VkMemoryGetWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryGetWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- MemoryGetWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryGetWin32HandleInfoKHR& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- MemoryGetWin32HandleInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryGetWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryGetWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( MemoryGetWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memory == rhs.memory )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( MemoryGetWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryGetWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceMemory memory;\r
- ExternalMemoryHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( MemoryGetWin32HandleInfoKHR ) == sizeof( VkMemoryGetWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- struct ImportMemoryFdInfoKHR\r
- {\r
- ImportMemoryFdInfoKHR( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd, int fd_ = 0 )\r
- : handleType( handleType_ )\r
- , fd( fd_ )\r
- {\r
- }\r
-\r
- ImportMemoryFdInfoKHR( VkImportMemoryFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryFdInfoKHR ) );\r
- }\r
-\r
- ImportMemoryFdInfoKHR& operator=( VkImportMemoryFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryFdInfoKHR ) );\r
- return *this;\r
- }\r
- ImportMemoryFdInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryFdInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryFdInfoKHR& setFd( int fd_ )\r
- {\r
- fd = fd_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportMemoryFdInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImportMemoryFdInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImportMemoryFdInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleType == rhs.handleType )\r
- && ( fd == rhs.fd );\r
- }\r
-\r
- bool operator!=( ImportMemoryFdInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportMemoryFdInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlagBits handleType;\r
- int fd;\r
- };\r
- static_assert( sizeof( ImportMemoryFdInfoKHR ) == sizeof( VkImportMemoryFdInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct MemoryGetFdInfoKHR\r
- {\r
- MemoryGetFdInfoKHR( DeviceMemory memory_ = DeviceMemory(), ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )\r
- : memory( memory_ )\r
- , handleType( handleType_ )\r
- {\r
- }\r
-\r
- MemoryGetFdInfoKHR( VkMemoryGetFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryGetFdInfoKHR ) );\r
- }\r
-\r
- MemoryGetFdInfoKHR& operator=( VkMemoryGetFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryGetFdInfoKHR ) );\r
- return *this;\r
- }\r
- MemoryGetFdInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryGetFdInfoKHR& setMemory( DeviceMemory memory_ )\r
- {\r
- memory = memory_;\r
- return *this;\r
- }\r
-\r
- MemoryGetFdInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryGetFdInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryGetFdInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( MemoryGetFdInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memory == rhs.memory )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( MemoryGetFdInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryGetFdInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceMemory memory;\r
- ExternalMemoryHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( MemoryGetFdInfoKHR ) == sizeof( VkMemoryGetFdInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct ImportMemoryHostPointerInfoEXT\r
- {\r
- ImportMemoryHostPointerInfoEXT( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void* pHostPointer_ = nullptr )\r
- : handleType( handleType_ )\r
- , pHostPointer( pHostPointer_ )\r
- {\r
- }\r
-\r
- ImportMemoryHostPointerInfoEXT( VkImportMemoryHostPointerInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );\r
- }\r
-\r
- ImportMemoryHostPointerInfoEXT& operator=( VkImportMemoryHostPointerInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );\r
- return *this;\r
- }\r
- ImportMemoryHostPointerInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryHostPointerInfoEXT& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportMemoryHostPointerInfoEXT& setPHostPointer( void* pHostPointer_ )\r
- {\r
- pHostPointer = pHostPointer_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportMemoryHostPointerInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkImportMemoryHostPointerInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( ImportMemoryHostPointerInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleType == rhs.handleType )\r
- && ( pHostPointer == rhs.pHostPointer );\r
- }\r
-\r
- bool operator!=( ImportMemoryHostPointerInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportMemoryHostPointerInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalMemoryHandleTypeFlagBits handleType;\r
- void* pHostPointer;\r
- };\r
- static_assert( sizeof( ImportMemoryHostPointerInfoEXT ) == sizeof( VkImportMemoryHostPointerInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class ExternalMemoryFeatureFlagBits\r
- {\r
- eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT,\r
- eDedicatedOnlyKHR = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT,\r
- eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT,\r
- eExportableKHR = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT,\r
- eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT,\r
- eImportableKHR = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT\r
- };\r
-\r
- using ExternalMemoryFeatureFlags = Flags<ExternalMemoryFeatureFlagBits, VkExternalMemoryFeatureFlags>;\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryFeatureFlags operator|( ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1 )\r
- {\r
- return ExternalMemoryFeatureFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalMemoryFeatureFlags operator~( ExternalMemoryFeatureFlagBits bits )\r
- {\r
- return ~( ExternalMemoryFeatureFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalMemoryFeatureFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalMemoryFeatureFlagBits::eDedicatedOnly) | VkFlags(ExternalMemoryFeatureFlagBits::eExportable) | VkFlags(ExternalMemoryFeatureFlagBits::eImportable)\r
- };\r
- };\r
-\r
- using ExternalMemoryFeatureFlagsKHR = ExternalMemoryFeatureFlags;\r
-\r
- struct ExternalMemoryProperties\r
- {\r
- operator const VkExternalMemoryProperties&() const\r
- {\r
- return *reinterpret_cast<const VkExternalMemoryProperties*>(this);\r
- }\r
-\r
- bool operator==( ExternalMemoryProperties const& rhs ) const\r
- {\r
- return ( externalMemoryFeatures == rhs.externalMemoryFeatures )\r
- && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )\r
- && ( compatibleHandleTypes == rhs.compatibleHandleTypes );\r
- }\r
-\r
- bool operator!=( ExternalMemoryProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ExternalMemoryFeatureFlags externalMemoryFeatures;\r
- ExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;\r
- ExternalMemoryHandleTypeFlags compatibleHandleTypes;\r
- };\r
- static_assert( sizeof( ExternalMemoryProperties ) == sizeof( VkExternalMemoryProperties ), "struct and wrapper have different size!" );\r
-\r
- using ExternalMemoryPropertiesKHR = ExternalMemoryProperties;\r
-\r
- struct ExternalImageFormatProperties\r
- {\r
- operator const VkExternalImageFormatProperties&() const\r
- {\r
- return *reinterpret_cast<const VkExternalImageFormatProperties*>(this);\r
- }\r
-\r
- bool operator==( ExternalImageFormatProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( externalMemoryProperties == rhs.externalMemoryProperties );\r
- }\r
-\r
- bool operator!=( ExternalImageFormatProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalImageFormatProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- ExternalMemoryProperties externalMemoryProperties;\r
- };\r
- static_assert( sizeof( ExternalImageFormatProperties ) == sizeof( VkExternalImageFormatProperties ), "struct and wrapper have different size!" );\r
-\r
- using ExternalImageFormatPropertiesKHR = ExternalImageFormatProperties;\r
-\r
- struct ExternalBufferProperties\r
- {\r
- operator const VkExternalBufferProperties&() const\r
- {\r
- return *reinterpret_cast<const VkExternalBufferProperties*>(this);\r
- }\r
-\r
- bool operator==( ExternalBufferProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( externalMemoryProperties == rhs.externalMemoryProperties );\r
- }\r
-\r
- bool operator!=( ExternalBufferProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalBufferProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- ExternalMemoryProperties externalMemoryProperties;\r
- };\r
- static_assert( sizeof( ExternalBufferProperties ) == sizeof( VkExternalBufferProperties ), "struct and wrapper have different size!" );\r
-\r
- using ExternalBufferPropertiesKHR = ExternalBufferProperties;\r
-\r
- enum class ExternalSemaphoreHandleTypeFlagBits\r
- {\r
- eOpaqueFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT,\r
- eOpaqueFdKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT,\r
- eOpaqueWin32 = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT,\r
- eOpaqueWin32KHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT,\r
- eOpaqueWin32Kmt = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,\r
- eOpaqueWin32KmtKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,\r
- eD3D12Fence = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT,\r
- eD3D12FenceKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT,\r
- eSyncFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT,\r
- eSyncFdKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT\r
- };\r
-\r
- using ExternalSemaphoreHandleTypeFlags = Flags<ExternalSemaphoreHandleTypeFlagBits, VkExternalSemaphoreHandleTypeFlags>;\r
-\r
- VULKAN_HPP_INLINE ExternalSemaphoreHandleTypeFlags operator|( ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1 )\r
- {\r
- return ExternalSemaphoreHandleTypeFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalSemaphoreHandleTypeFlags operator~( ExternalSemaphoreHandleTypeFlagBits bits )\r
- {\r
- return ~( ExternalSemaphoreHandleTypeFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalSemaphoreHandleTypeFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eSyncFd)\r
- };\r
- };\r
-\r
- using ExternalSemaphoreHandleTypeFlagsKHR = ExternalSemaphoreHandleTypeFlags;\r
-\r
- struct PhysicalDeviceExternalSemaphoreInfo\r
- {\r
- PhysicalDeviceExternalSemaphoreInfo( ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd )\r
- : handleType( handleType_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceExternalSemaphoreInfo( VkPhysicalDeviceExternalSemaphoreInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) );\r
- }\r
-\r
- PhysicalDeviceExternalSemaphoreInfo& operator=( VkPhysicalDeviceExternalSemaphoreInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) );\r
- return *this;\r
- }\r
- PhysicalDeviceExternalSemaphoreInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceExternalSemaphoreInfo& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceExternalSemaphoreInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceExternalSemaphoreInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceExternalSemaphoreInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalSemaphoreHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( PhysicalDeviceExternalSemaphoreInfo ) == sizeof( VkPhysicalDeviceExternalSemaphoreInfo ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceExternalSemaphoreInfoKHR = PhysicalDeviceExternalSemaphoreInfo;\r
-\r
- struct ExportSemaphoreCreateInfo\r
- {\r
- ExportSemaphoreCreateInfo( ExternalSemaphoreHandleTypeFlags handleTypes_ = ExternalSemaphoreHandleTypeFlags() )\r
- : handleTypes( handleTypes_ )\r
- {\r
- }\r
-\r
- ExportSemaphoreCreateInfo( VkExportSemaphoreCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportSemaphoreCreateInfo ) );\r
- }\r
-\r
- ExportSemaphoreCreateInfo& operator=( VkExportSemaphoreCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportSemaphoreCreateInfo ) );\r
- return *this;\r
- }\r
- ExportSemaphoreCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportSemaphoreCreateInfo& setHandleTypes( ExternalSemaphoreHandleTypeFlags handleTypes_ )\r
- {\r
- handleTypes = handleTypes_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportSemaphoreCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkExportSemaphoreCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ExportSemaphoreCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleTypes == rhs.handleTypes );\r
- }\r
-\r
- bool operator!=( ExportSemaphoreCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportSemaphoreCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalSemaphoreHandleTypeFlags handleTypes;\r
- };\r
- static_assert( sizeof( ExportSemaphoreCreateInfo ) == sizeof( VkExportSemaphoreCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using ExportSemaphoreCreateInfoKHR = ExportSemaphoreCreateInfo;\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct SemaphoreGetWin32HandleInfoKHR\r
- {\r
- SemaphoreGetWin32HandleInfoKHR( Semaphore semaphore_ = Semaphore(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd )\r
- : semaphore( semaphore_ )\r
- , handleType( handleType_ )\r
- {\r
- }\r
-\r
- SemaphoreGetWin32HandleInfoKHR( VkSemaphoreGetWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SemaphoreGetWin32HandleInfoKHR ) );\r
- }\r
-\r
- SemaphoreGetWin32HandleInfoKHR& operator=( VkSemaphoreGetWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SemaphoreGetWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- SemaphoreGetWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SemaphoreGetWin32HandleInfoKHR& setSemaphore( Semaphore semaphore_ )\r
- {\r
- semaphore = semaphore_;\r
- return *this;\r
- }\r
-\r
- SemaphoreGetWin32HandleInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkSemaphoreGetWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkSemaphoreGetWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( SemaphoreGetWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( semaphore == rhs.semaphore )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( SemaphoreGetWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSemaphoreGetWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Semaphore semaphore;\r
- ExternalSemaphoreHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( SemaphoreGetWin32HandleInfoKHR ) == sizeof( VkSemaphoreGetWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- struct SemaphoreGetFdInfoKHR\r
- {\r
- SemaphoreGetFdInfoKHR( Semaphore semaphore_ = Semaphore(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd )\r
- : semaphore( semaphore_ )\r
- , handleType( handleType_ )\r
- {\r
- }\r
-\r
- SemaphoreGetFdInfoKHR( VkSemaphoreGetFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SemaphoreGetFdInfoKHR ) );\r
- }\r
-\r
- SemaphoreGetFdInfoKHR& operator=( VkSemaphoreGetFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SemaphoreGetFdInfoKHR ) );\r
- return *this;\r
- }\r
- SemaphoreGetFdInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SemaphoreGetFdInfoKHR& setSemaphore( Semaphore semaphore_ )\r
- {\r
- semaphore = semaphore_;\r
- return *this;\r
- }\r
-\r
- SemaphoreGetFdInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkSemaphoreGetFdInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkSemaphoreGetFdInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( SemaphoreGetFdInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( semaphore == rhs.semaphore )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( SemaphoreGetFdInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSemaphoreGetFdInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Semaphore semaphore;\r
- ExternalSemaphoreHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( SemaphoreGetFdInfoKHR ) == sizeof( VkSemaphoreGetFdInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class ExternalSemaphoreFeatureFlagBits\r
- {\r
- eExportable = VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT,\r
- eExportableKHR = VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT,\r
- eImportable = VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT,\r
- eImportableKHR = VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT\r
- };\r
-\r
- using ExternalSemaphoreFeatureFlags = Flags<ExternalSemaphoreFeatureFlagBits, VkExternalSemaphoreFeatureFlags>;\r
-\r
- VULKAN_HPP_INLINE ExternalSemaphoreFeatureFlags operator|( ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1 )\r
- {\r
- return ExternalSemaphoreFeatureFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalSemaphoreFeatureFlags operator~( ExternalSemaphoreFeatureFlagBits bits )\r
- {\r
- return ~( ExternalSemaphoreFeatureFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalSemaphoreFeatureFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalSemaphoreFeatureFlagBits::eExportable) | VkFlags(ExternalSemaphoreFeatureFlagBits::eImportable)\r
- };\r
- };\r
-\r
- using ExternalSemaphoreFeatureFlagsKHR = ExternalSemaphoreFeatureFlags;\r
-\r
- struct ExternalSemaphoreProperties\r
- {\r
- operator const VkExternalSemaphoreProperties&() const\r
- {\r
- return *reinterpret_cast<const VkExternalSemaphoreProperties*>(this);\r
- }\r
-\r
- bool operator==( ExternalSemaphoreProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )\r
- && ( compatibleHandleTypes == rhs.compatibleHandleTypes )\r
- && ( externalSemaphoreFeatures == rhs.externalSemaphoreFeatures );\r
- }\r
-\r
- bool operator!=( ExternalSemaphoreProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalSemaphoreProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- ExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes;\r
- ExternalSemaphoreHandleTypeFlags compatibleHandleTypes;\r
- ExternalSemaphoreFeatureFlags externalSemaphoreFeatures;\r
- };\r
- static_assert( sizeof( ExternalSemaphoreProperties ) == sizeof( VkExternalSemaphoreProperties ), "struct and wrapper have different size!" );\r
-\r
- using ExternalSemaphorePropertiesKHR = ExternalSemaphoreProperties;\r
-\r
- enum class SemaphoreImportFlagBits\r
- {\r
- eTemporary = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT,\r
- eTemporaryKHR = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT\r
- };\r
-\r
- using SemaphoreImportFlags = Flags<SemaphoreImportFlagBits, VkSemaphoreImportFlags>;\r
-\r
- VULKAN_HPP_INLINE SemaphoreImportFlags operator|( SemaphoreImportFlagBits bit0, SemaphoreImportFlagBits bit1 )\r
- {\r
- return SemaphoreImportFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SemaphoreImportFlags operator~( SemaphoreImportFlagBits bits )\r
- {\r
- return ~( SemaphoreImportFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SemaphoreImportFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SemaphoreImportFlagBits::eTemporary)\r
- };\r
- };\r
-\r
- using SemaphoreImportFlagsKHR = SemaphoreImportFlags;\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct ImportSemaphoreWin32HandleInfoKHR\r
- {\r
- ImportSemaphoreWin32HandleInfoKHR( Semaphore semaphore_ = Semaphore(), SemaphoreImportFlags flags_ = SemaphoreImportFlags(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = 0, LPCWSTR name_ = 0 )\r
- : semaphore( semaphore_ )\r
- , flags( flags_ )\r
- , handleType( handleType_ )\r
- , handle( handle_ )\r
- , name( name_ )\r
- {\r
- }\r
-\r
- ImportSemaphoreWin32HandleInfoKHR( VkImportSemaphoreWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportSemaphoreWin32HandleInfoKHR ) );\r
- }\r
-\r
- ImportSemaphoreWin32HandleInfoKHR& operator=( VkImportSemaphoreWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportSemaphoreWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- ImportSemaphoreWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreWin32HandleInfoKHR& setSemaphore( Semaphore semaphore_ )\r
- {\r
- semaphore = semaphore_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreWin32HandleInfoKHR& setFlags( SemaphoreImportFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreWin32HandleInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreWin32HandleInfoKHR& setHandle( HANDLE handle_ )\r
- {\r
- handle = handle_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreWin32HandleInfoKHR& setName( LPCWSTR name_ )\r
- {\r
- name = name_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportSemaphoreWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImportSemaphoreWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImportSemaphoreWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( semaphore == rhs.semaphore )\r
- && ( flags == rhs.flags )\r
- && ( handleType == rhs.handleType )\r
- && ( handle == rhs.handle )\r
- && ( name == rhs.name );\r
- }\r
-\r
- bool operator!=( ImportSemaphoreWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportSemaphoreWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Semaphore semaphore;\r
- SemaphoreImportFlags flags;\r
- ExternalSemaphoreHandleTypeFlagBits handleType;\r
- HANDLE handle;\r
- LPCWSTR name;\r
- };\r
- static_assert( sizeof( ImportSemaphoreWin32HandleInfoKHR ) == sizeof( VkImportSemaphoreWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- struct ImportSemaphoreFdInfoKHR\r
- {\r
- ImportSemaphoreFdInfoKHR( Semaphore semaphore_ = Semaphore(), SemaphoreImportFlags flags_ = SemaphoreImportFlags(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, int fd_ = 0 )\r
- : semaphore( semaphore_ )\r
- , flags( flags_ )\r
- , handleType( handleType_ )\r
- , fd( fd_ )\r
- {\r
- }\r
-\r
- ImportSemaphoreFdInfoKHR( VkImportSemaphoreFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportSemaphoreFdInfoKHR ) );\r
- }\r
-\r
- ImportSemaphoreFdInfoKHR& operator=( VkImportSemaphoreFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportSemaphoreFdInfoKHR ) );\r
- return *this;\r
- }\r
- ImportSemaphoreFdInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreFdInfoKHR& setSemaphore( Semaphore semaphore_ )\r
- {\r
- semaphore = semaphore_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreFdInfoKHR& setFlags( SemaphoreImportFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreFdInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportSemaphoreFdInfoKHR& setFd( int fd_ )\r
- {\r
- fd = fd_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportSemaphoreFdInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImportSemaphoreFdInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImportSemaphoreFdInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( semaphore == rhs.semaphore )\r
- && ( flags == rhs.flags )\r
- && ( handleType == rhs.handleType )\r
- && ( fd == rhs.fd );\r
- }\r
-\r
- bool operator!=( ImportSemaphoreFdInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportSemaphoreFdInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Semaphore semaphore;\r
- SemaphoreImportFlags flags;\r
- ExternalSemaphoreHandleTypeFlagBits handleType;\r
- int fd;\r
- };\r
- static_assert( sizeof( ImportSemaphoreFdInfoKHR ) == sizeof( VkImportSemaphoreFdInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class ExternalFenceHandleTypeFlagBits\r
- {\r
- eOpaqueFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT,\r
- eOpaqueFdKHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT,\r
- eOpaqueWin32 = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT,\r
- eOpaqueWin32KHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT,\r
- eOpaqueWin32Kmt = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,\r
- eOpaqueWin32KmtKHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,\r
- eSyncFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT,\r
- eSyncFdKHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT\r
- };\r
-\r
- using ExternalFenceHandleTypeFlags = Flags<ExternalFenceHandleTypeFlagBits, VkExternalFenceHandleTypeFlags>;\r
-\r
- VULKAN_HPP_INLINE ExternalFenceHandleTypeFlags operator|( ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1 )\r
- {\r
- return ExternalFenceHandleTypeFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalFenceHandleTypeFlags operator~( ExternalFenceHandleTypeFlagBits bits )\r
- {\r
- return ~( ExternalFenceHandleTypeFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalFenceHandleTypeFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalFenceHandleTypeFlagBits::eSyncFd)\r
- };\r
- };\r
-\r
- using ExternalFenceHandleTypeFlagsKHR = ExternalFenceHandleTypeFlags;\r
-\r
- struct PhysicalDeviceExternalFenceInfo\r
- {\r
- PhysicalDeviceExternalFenceInfo( ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd )\r
- : handleType( handleType_ )\r
- {\r
- }\r
-\r
- PhysicalDeviceExternalFenceInfo( VkPhysicalDeviceExternalFenceInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalFenceInfo ) );\r
- }\r
-\r
- PhysicalDeviceExternalFenceInfo& operator=( VkPhysicalDeviceExternalFenceInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PhysicalDeviceExternalFenceInfo ) );\r
- return *this;\r
- }\r
- PhysicalDeviceExternalFenceInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PhysicalDeviceExternalFenceInfo& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkPhysicalDeviceExternalFenceInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceExternalFenceInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceExternalFenceInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceExternalFenceInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalFenceHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( PhysicalDeviceExternalFenceInfo ) == sizeof( VkPhysicalDeviceExternalFenceInfo ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceExternalFenceInfoKHR = PhysicalDeviceExternalFenceInfo;\r
-\r
- struct ExportFenceCreateInfo\r
- {\r
- ExportFenceCreateInfo( ExternalFenceHandleTypeFlags handleTypes_ = ExternalFenceHandleTypeFlags() )\r
- : handleTypes( handleTypes_ )\r
- {\r
- }\r
-\r
- ExportFenceCreateInfo( VkExportFenceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportFenceCreateInfo ) );\r
- }\r
-\r
- ExportFenceCreateInfo& operator=( VkExportFenceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ExportFenceCreateInfo ) );\r
- return *this;\r
- }\r
- ExportFenceCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ExportFenceCreateInfo& setHandleTypes( ExternalFenceHandleTypeFlags handleTypes_ )\r
- {\r
- handleTypes = handleTypes_;\r
- return *this;\r
- }\r
-\r
- operator const VkExportFenceCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkExportFenceCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( ExportFenceCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( handleTypes == rhs.handleTypes );\r
- }\r
-\r
- bool operator!=( ExportFenceCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExportFenceCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ExternalFenceHandleTypeFlags handleTypes;\r
- };\r
- static_assert( sizeof( ExportFenceCreateInfo ) == sizeof( VkExportFenceCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using ExportFenceCreateInfoKHR = ExportFenceCreateInfo;\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct FenceGetWin32HandleInfoKHR\r
- {\r
- FenceGetWin32HandleInfoKHR( Fence fence_ = Fence(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd )\r
- : fence( fence_ )\r
- , handleType( handleType_ )\r
- {\r
- }\r
-\r
- FenceGetWin32HandleInfoKHR( VkFenceGetWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FenceGetWin32HandleInfoKHR ) );\r
- }\r
-\r
- FenceGetWin32HandleInfoKHR& operator=( VkFenceGetWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FenceGetWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- FenceGetWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- FenceGetWin32HandleInfoKHR& setFence( Fence fence_ )\r
- {\r
- fence = fence_;\r
- return *this;\r
- }\r
-\r
- FenceGetWin32HandleInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkFenceGetWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkFenceGetWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( FenceGetWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( fence == rhs.fence )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( FenceGetWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eFenceGetWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Fence fence;\r
- ExternalFenceHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( FenceGetWin32HandleInfoKHR ) == sizeof( VkFenceGetWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- struct FenceGetFdInfoKHR\r
- {\r
- FenceGetFdInfoKHR( Fence fence_ = Fence(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd )\r
- : fence( fence_ )\r
- , handleType( handleType_ )\r
- {\r
- }\r
-\r
- FenceGetFdInfoKHR( VkFenceGetFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FenceGetFdInfoKHR ) );\r
- }\r
-\r
- FenceGetFdInfoKHR& operator=( VkFenceGetFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( FenceGetFdInfoKHR ) );\r
- return *this;\r
- }\r
- FenceGetFdInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- FenceGetFdInfoKHR& setFence( Fence fence_ )\r
- {\r
- fence = fence_;\r
- return *this;\r
- }\r
-\r
- FenceGetFdInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- operator const VkFenceGetFdInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkFenceGetFdInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( FenceGetFdInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( fence == rhs.fence )\r
- && ( handleType == rhs.handleType );\r
- }\r
-\r
- bool operator!=( FenceGetFdInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eFenceGetFdInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Fence fence;\r
- ExternalFenceHandleTypeFlagBits handleType;\r
- };\r
- static_assert( sizeof( FenceGetFdInfoKHR ) == sizeof( VkFenceGetFdInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class ExternalFenceFeatureFlagBits\r
- {\r
- eExportable = VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT,\r
- eExportableKHR = VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT,\r
- eImportable = VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT,\r
- eImportableKHR = VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT\r
- };\r
-\r
- using ExternalFenceFeatureFlags = Flags<ExternalFenceFeatureFlagBits, VkExternalFenceFeatureFlags>;\r
-\r
- VULKAN_HPP_INLINE ExternalFenceFeatureFlags operator|( ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1 )\r
- {\r
- return ExternalFenceFeatureFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE ExternalFenceFeatureFlags operator~( ExternalFenceFeatureFlagBits bits )\r
- {\r
- return ~( ExternalFenceFeatureFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<ExternalFenceFeatureFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(ExternalFenceFeatureFlagBits::eExportable) | VkFlags(ExternalFenceFeatureFlagBits::eImportable)\r
- };\r
- };\r
-\r
- using ExternalFenceFeatureFlagsKHR = ExternalFenceFeatureFlags;\r
-\r
- struct ExternalFenceProperties\r
- {\r
- operator const VkExternalFenceProperties&() const\r
- {\r
- return *reinterpret_cast<const VkExternalFenceProperties*>(this);\r
- }\r
-\r
- bool operator==( ExternalFenceProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )\r
- && ( compatibleHandleTypes == rhs.compatibleHandleTypes )\r
- && ( externalFenceFeatures == rhs.externalFenceFeatures );\r
- }\r
-\r
- bool operator!=( ExternalFenceProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eExternalFenceProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- ExternalFenceHandleTypeFlags exportFromImportedHandleTypes;\r
- ExternalFenceHandleTypeFlags compatibleHandleTypes;\r
- ExternalFenceFeatureFlags externalFenceFeatures;\r
- };\r
- static_assert( sizeof( ExternalFenceProperties ) == sizeof( VkExternalFenceProperties ), "struct and wrapper have different size!" );\r
-\r
- using ExternalFencePropertiesKHR = ExternalFenceProperties;\r
-\r
- enum class FenceImportFlagBits\r
- {\r
- eTemporary = VK_FENCE_IMPORT_TEMPORARY_BIT,\r
- eTemporaryKHR = VK_FENCE_IMPORT_TEMPORARY_BIT\r
- };\r
-\r
- using FenceImportFlags = Flags<FenceImportFlagBits, VkFenceImportFlags>;\r
-\r
- VULKAN_HPP_INLINE FenceImportFlags operator|( FenceImportFlagBits bit0, FenceImportFlagBits bit1 )\r
- {\r
- return FenceImportFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE FenceImportFlags operator~( FenceImportFlagBits bits )\r
- {\r
- return ~( FenceImportFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<FenceImportFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(FenceImportFlagBits::eTemporary)\r
- };\r
- };\r
-\r
- using FenceImportFlagsKHR = FenceImportFlags;\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- struct ImportFenceWin32HandleInfoKHR\r
- {\r
- ImportFenceWin32HandleInfoKHR( Fence fence_ = Fence(), FenceImportFlags flags_ = FenceImportFlags(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = 0, LPCWSTR name_ = 0 )\r
- : fence( fence_ )\r
- , flags( flags_ )\r
- , handleType( handleType_ )\r
- , handle( handle_ )\r
- , name( name_ )\r
- {\r
- }\r
-\r
- ImportFenceWin32HandleInfoKHR( VkImportFenceWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportFenceWin32HandleInfoKHR ) );\r
- }\r
-\r
- ImportFenceWin32HandleInfoKHR& operator=( VkImportFenceWin32HandleInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportFenceWin32HandleInfoKHR ) );\r
- return *this;\r
- }\r
- ImportFenceWin32HandleInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportFenceWin32HandleInfoKHR& setFence( Fence fence_ )\r
- {\r
- fence = fence_;\r
- return *this;\r
- }\r
-\r
- ImportFenceWin32HandleInfoKHR& setFlags( FenceImportFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ImportFenceWin32HandleInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportFenceWin32HandleInfoKHR& setHandle( HANDLE handle_ )\r
- {\r
- handle = handle_;\r
- return *this;\r
- }\r
-\r
- ImportFenceWin32HandleInfoKHR& setName( LPCWSTR name_ )\r
- {\r
- name = name_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportFenceWin32HandleInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImportFenceWin32HandleInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImportFenceWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( fence == rhs.fence )\r
- && ( flags == rhs.flags )\r
- && ( handleType == rhs.handleType )\r
- && ( handle == rhs.handle )\r
- && ( name == rhs.name );\r
- }\r
-\r
- bool operator!=( ImportFenceWin32HandleInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportFenceWin32HandleInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Fence fence;\r
- FenceImportFlags flags;\r
- ExternalFenceHandleTypeFlagBits handleType;\r
- HANDLE handle;\r
- LPCWSTR name;\r
- };\r
- static_assert( sizeof( ImportFenceWin32HandleInfoKHR ) == sizeof( VkImportFenceWin32HandleInfoKHR ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- struct ImportFenceFdInfoKHR\r
- {\r
- ImportFenceFdInfoKHR( Fence fence_ = Fence(), FenceImportFlags flags_ = FenceImportFlags(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd, int fd_ = 0 )\r
- : fence( fence_ )\r
- , flags( flags_ )\r
- , handleType( handleType_ )\r
- , fd( fd_ )\r
- {\r
- }\r
-\r
- ImportFenceFdInfoKHR( VkImportFenceFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportFenceFdInfoKHR ) );\r
- }\r
-\r
- ImportFenceFdInfoKHR& operator=( VkImportFenceFdInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ImportFenceFdInfoKHR ) );\r
- return *this;\r
- }\r
- ImportFenceFdInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- ImportFenceFdInfoKHR& setFence( Fence fence_ )\r
- {\r
- fence = fence_;\r
- return *this;\r
- }\r
-\r
- ImportFenceFdInfoKHR& setFlags( FenceImportFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- ImportFenceFdInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )\r
- {\r
- handleType = handleType_;\r
- return *this;\r
- }\r
-\r
- ImportFenceFdInfoKHR& setFd( int fd_ )\r
- {\r
- fd = fd_;\r
- return *this;\r
- }\r
-\r
- operator const VkImportFenceFdInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkImportFenceFdInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( ImportFenceFdInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( fence == rhs.fence )\r
- && ( flags == rhs.flags )\r
- && ( handleType == rhs.handleType )\r
- && ( fd == rhs.fd );\r
- }\r
-\r
- bool operator!=( ImportFenceFdInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eImportFenceFdInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Fence fence;\r
- FenceImportFlags flags;\r
- ExternalFenceHandleTypeFlagBits handleType;\r
- int fd;\r
- };\r
- static_assert( sizeof( ImportFenceFdInfoKHR ) == sizeof( VkImportFenceFdInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class SurfaceCounterFlagBitsEXT\r
- {\r
- eVblank = VK_SURFACE_COUNTER_VBLANK_EXT\r
- };\r
-\r
- using SurfaceCounterFlagsEXT = Flags<SurfaceCounterFlagBitsEXT, VkSurfaceCounterFlagsEXT>;\r
-\r
- VULKAN_HPP_INLINE SurfaceCounterFlagsEXT operator|( SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1 )\r
- {\r
- return SurfaceCounterFlagsEXT( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SurfaceCounterFlagsEXT operator~( SurfaceCounterFlagBitsEXT bits )\r
- {\r
- return ~( SurfaceCounterFlagsEXT( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SurfaceCounterFlagBitsEXT>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SurfaceCounterFlagBitsEXT::eVblank)\r
- };\r
- };\r
-\r
- struct SurfaceCapabilities2EXT\r
- {\r
- operator const VkSurfaceCapabilities2EXT&() const\r
- {\r
- return *reinterpret_cast<const VkSurfaceCapabilities2EXT*>(this);\r
- }\r
-\r
- bool operator==( SurfaceCapabilities2EXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( minImageCount == rhs.minImageCount )\r
- && ( maxImageCount == rhs.maxImageCount )\r
- && ( currentExtent == rhs.currentExtent )\r
- && ( minImageExtent == rhs.minImageExtent )\r
- && ( maxImageExtent == rhs.maxImageExtent )\r
- && ( maxImageArrayLayers == rhs.maxImageArrayLayers )\r
- && ( supportedTransforms == rhs.supportedTransforms )\r
- && ( currentTransform == rhs.currentTransform )\r
- && ( supportedCompositeAlpha == rhs.supportedCompositeAlpha )\r
- && ( supportedUsageFlags == rhs.supportedUsageFlags )\r
- && ( supportedSurfaceCounters == rhs.supportedSurfaceCounters );\r
- }\r
-\r
- bool operator!=( SurfaceCapabilities2EXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSurfaceCapabilities2EXT;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t minImageCount;\r
- uint32_t maxImageCount;\r
- Extent2D currentExtent;\r
- Extent2D minImageExtent;\r
- Extent2D maxImageExtent;\r
- uint32_t maxImageArrayLayers;\r
- SurfaceTransformFlagsKHR supportedTransforms;\r
- SurfaceTransformFlagBitsKHR currentTransform;\r
- CompositeAlphaFlagsKHR supportedCompositeAlpha;\r
- ImageUsageFlags supportedUsageFlags;\r
- SurfaceCounterFlagsEXT supportedSurfaceCounters;\r
- };\r
- static_assert( sizeof( SurfaceCapabilities2EXT ) == sizeof( VkSurfaceCapabilities2EXT ), "struct and wrapper have different size!" );\r
-\r
- struct SwapchainCounterCreateInfoEXT\r
- {\r
- SwapchainCounterCreateInfoEXT( SurfaceCounterFlagsEXT surfaceCounters_ = SurfaceCounterFlagsEXT() )\r
- : surfaceCounters( surfaceCounters_ )\r
- {\r
- }\r
-\r
- SwapchainCounterCreateInfoEXT( VkSwapchainCounterCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SwapchainCounterCreateInfoEXT ) );\r
- }\r
-\r
- SwapchainCounterCreateInfoEXT& operator=( VkSwapchainCounterCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SwapchainCounterCreateInfoEXT ) );\r
- return *this;\r
- }\r
- SwapchainCounterCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SwapchainCounterCreateInfoEXT& setSurfaceCounters( SurfaceCounterFlagsEXT surfaceCounters_ )\r
- {\r
- surfaceCounters = surfaceCounters_;\r
- return *this;\r
- }\r
-\r
- operator const VkSwapchainCounterCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkSwapchainCounterCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( SwapchainCounterCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( surfaceCounters == rhs.surfaceCounters );\r
- }\r
-\r
- bool operator!=( SwapchainCounterCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSwapchainCounterCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SurfaceCounterFlagsEXT surfaceCounters;\r
- };\r
- static_assert( sizeof( SwapchainCounterCreateInfoEXT ) == sizeof( VkSwapchainCounterCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class DisplayPowerStateEXT\r
- {\r
- eOff = VK_DISPLAY_POWER_STATE_OFF_EXT,\r
- eSuspend = VK_DISPLAY_POWER_STATE_SUSPEND_EXT,\r
- eOn = VK_DISPLAY_POWER_STATE_ON_EXT\r
- };\r
-\r
- struct DisplayPowerInfoEXT\r
- {\r
- DisplayPowerInfoEXT( DisplayPowerStateEXT powerState_ = DisplayPowerStateEXT::eOff )\r
- : powerState( powerState_ )\r
- {\r
- }\r
-\r
- DisplayPowerInfoEXT( VkDisplayPowerInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayPowerInfoEXT ) );\r
- }\r
-\r
- DisplayPowerInfoEXT& operator=( VkDisplayPowerInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayPowerInfoEXT ) );\r
- return *this;\r
- }\r
- DisplayPowerInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DisplayPowerInfoEXT& setPowerState( DisplayPowerStateEXT powerState_ )\r
- {\r
- powerState = powerState_;\r
- return *this;\r
- }\r
-\r
- operator const VkDisplayPowerInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayPowerInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DisplayPowerInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( powerState == rhs.powerState );\r
- }\r
-\r
- bool operator!=( DisplayPowerInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDisplayPowerInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DisplayPowerStateEXT powerState;\r
- };\r
- static_assert( sizeof( DisplayPowerInfoEXT ) == sizeof( VkDisplayPowerInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class DeviceEventTypeEXT\r
- {\r
- eDisplayHotplug = VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT\r
- };\r
-\r
- struct DeviceEventInfoEXT\r
- {\r
- DeviceEventInfoEXT( DeviceEventTypeEXT deviceEvent_ = DeviceEventTypeEXT::eDisplayHotplug )\r
- : deviceEvent( deviceEvent_ )\r
- {\r
- }\r
-\r
- DeviceEventInfoEXT( VkDeviceEventInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceEventInfoEXT ) );\r
- }\r
-\r
- DeviceEventInfoEXT& operator=( VkDeviceEventInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceEventInfoEXT ) );\r
- return *this;\r
- }\r
- DeviceEventInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceEventInfoEXT& setDeviceEvent( DeviceEventTypeEXT deviceEvent_ )\r
- {\r
- deviceEvent = deviceEvent_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceEventInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceEventInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DeviceEventInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( deviceEvent == rhs.deviceEvent );\r
- }\r
-\r
- bool operator!=( DeviceEventInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceEventInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceEventTypeEXT deviceEvent;\r
- };\r
- static_assert( sizeof( DeviceEventInfoEXT ) == sizeof( VkDeviceEventInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class DisplayEventTypeEXT\r
- {\r
- eFirstPixelOut = VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT\r
- };\r
-\r
- struct DisplayEventInfoEXT\r
- {\r
- DisplayEventInfoEXT( DisplayEventTypeEXT displayEvent_ = DisplayEventTypeEXT::eFirstPixelOut )\r
- : displayEvent( displayEvent_ )\r
- {\r
- }\r
-\r
- DisplayEventInfoEXT( VkDisplayEventInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayEventInfoEXT ) );\r
- }\r
-\r
- DisplayEventInfoEXT& operator=( VkDisplayEventInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DisplayEventInfoEXT ) );\r
- return *this;\r
- }\r
- DisplayEventInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DisplayEventInfoEXT& setDisplayEvent( DisplayEventTypeEXT displayEvent_ )\r
- {\r
- displayEvent = displayEvent_;\r
- return *this;\r
- }\r
-\r
- operator const VkDisplayEventInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDisplayEventInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DisplayEventInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( displayEvent == rhs.displayEvent );\r
- }\r
-\r
- bool operator!=( DisplayEventInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDisplayEventInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DisplayEventTypeEXT displayEvent;\r
- };\r
- static_assert( sizeof( DisplayEventInfoEXT ) == sizeof( VkDisplayEventInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class PeerMemoryFeatureFlagBits\r
- {\r
- eCopySrc = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT,\r
- eCopySrcKHR = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT,\r
- eCopyDst = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT,\r
- eCopyDstKHR = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT,\r
- eGenericSrc = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT,\r
- eGenericSrcKHR = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT,\r
- eGenericDst = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT,\r
- eGenericDstKHR = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT\r
- };\r
-\r
- using PeerMemoryFeatureFlags = Flags<PeerMemoryFeatureFlagBits, VkPeerMemoryFeatureFlags>;\r
-\r
- VULKAN_HPP_INLINE PeerMemoryFeatureFlags operator|( PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1 )\r
- {\r
- return PeerMemoryFeatureFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE PeerMemoryFeatureFlags operator~( PeerMemoryFeatureFlagBits bits )\r
- {\r
- return ~( PeerMemoryFeatureFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<PeerMemoryFeatureFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(PeerMemoryFeatureFlagBits::eCopySrc) | VkFlags(PeerMemoryFeatureFlagBits::eCopyDst) | VkFlags(PeerMemoryFeatureFlagBits::eGenericSrc) | VkFlags(PeerMemoryFeatureFlagBits::eGenericDst)\r
- };\r
- };\r
-\r
- using PeerMemoryFeatureFlagsKHR = PeerMemoryFeatureFlags;\r
-\r
- enum class MemoryAllocateFlagBits\r
- {\r
- eDeviceMask = VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT,\r
- eDeviceMaskKHR = VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT\r
- };\r
-\r
- using MemoryAllocateFlags = Flags<MemoryAllocateFlagBits, VkMemoryAllocateFlags>;\r
-\r
- VULKAN_HPP_INLINE MemoryAllocateFlags operator|( MemoryAllocateFlagBits bit0, MemoryAllocateFlagBits bit1 )\r
- {\r
- return MemoryAllocateFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE MemoryAllocateFlags operator~( MemoryAllocateFlagBits bits )\r
- {\r
- return ~( MemoryAllocateFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<MemoryAllocateFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(MemoryAllocateFlagBits::eDeviceMask)\r
- };\r
- };\r
-\r
- using MemoryAllocateFlagsKHR = MemoryAllocateFlags;\r
-\r
- struct MemoryAllocateFlagsInfo\r
- {\r
- MemoryAllocateFlagsInfo( MemoryAllocateFlags flags_ = MemoryAllocateFlags(), uint32_t deviceMask_ = 0 )\r
- : flags( flags_ )\r
- , deviceMask( deviceMask_ )\r
- {\r
- }\r
-\r
- MemoryAllocateFlagsInfo( VkMemoryAllocateFlagsInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryAllocateFlagsInfo ) );\r
- }\r
-\r
- MemoryAllocateFlagsInfo& operator=( VkMemoryAllocateFlagsInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( MemoryAllocateFlagsInfo ) );\r
- return *this;\r
- }\r
- MemoryAllocateFlagsInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- MemoryAllocateFlagsInfo& setFlags( MemoryAllocateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- MemoryAllocateFlagsInfo& setDeviceMask( uint32_t deviceMask_ )\r
- {\r
- deviceMask = deviceMask_;\r
- return *this;\r
- }\r
-\r
- operator const VkMemoryAllocateFlagsInfo&() const\r
- {\r
- return *reinterpret_cast<const VkMemoryAllocateFlagsInfo*>(this);\r
- }\r
-\r
- bool operator==( MemoryAllocateFlagsInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( deviceMask == rhs.deviceMask );\r
- }\r
-\r
- bool operator!=( MemoryAllocateFlagsInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eMemoryAllocateFlagsInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- MemoryAllocateFlags flags;\r
- uint32_t deviceMask;\r
- };\r
- static_assert( sizeof( MemoryAllocateFlagsInfo ) == sizeof( VkMemoryAllocateFlagsInfo ), "struct and wrapper have different size!" );\r
-\r
- using MemoryAllocateFlagsInfoKHR = MemoryAllocateFlagsInfo;\r
-\r
- enum class DeviceGroupPresentModeFlagBitsKHR\r
- {\r
- eLocal = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR,\r
- eRemote = VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR,\r
- eSum = VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR,\r
- eLocalMultiDevice = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR\r
- };\r
-\r
- using DeviceGroupPresentModeFlagsKHR = Flags<DeviceGroupPresentModeFlagBitsKHR, VkDeviceGroupPresentModeFlagsKHR>;\r
-\r
- VULKAN_HPP_INLINE DeviceGroupPresentModeFlagsKHR operator|( DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1 )\r
- {\r
- return DeviceGroupPresentModeFlagsKHR( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DeviceGroupPresentModeFlagsKHR operator~( DeviceGroupPresentModeFlagBitsKHR bits )\r
- {\r
- return ~( DeviceGroupPresentModeFlagsKHR( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DeviceGroupPresentModeFlagBitsKHR>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DeviceGroupPresentModeFlagBitsKHR::eLocal) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eRemote) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eSum) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice)\r
- };\r
- };\r
-\r
- struct DeviceGroupPresentCapabilitiesKHR\r
- {\r
- operator const VkDeviceGroupPresentCapabilitiesKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupPresentCapabilitiesKHR*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupPresentCapabilitiesKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( memcmp( presentMask, rhs.presentMask, VK_MAX_DEVICE_GROUP_SIZE * sizeof( uint32_t ) ) == 0 )\r
- && ( modes == rhs.modes );\r
- }\r
-\r
- bool operator!=( DeviceGroupPresentCapabilitiesKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupPresentCapabilitiesKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t presentMask[VK_MAX_DEVICE_GROUP_SIZE];\r
- DeviceGroupPresentModeFlagsKHR modes;\r
- };\r
- static_assert( sizeof( DeviceGroupPresentCapabilitiesKHR ) == sizeof( VkDeviceGroupPresentCapabilitiesKHR ), "struct and wrapper have different size!" );\r
-\r
- struct DeviceGroupPresentInfoKHR\r
- {\r
- DeviceGroupPresentInfoKHR( uint32_t swapchainCount_ = 0, const uint32_t* pDeviceMasks_ = nullptr, DeviceGroupPresentModeFlagBitsKHR mode_ = DeviceGroupPresentModeFlagBitsKHR::eLocal )\r
- : swapchainCount( swapchainCount_ )\r
- , pDeviceMasks( pDeviceMasks_ )\r
- , mode( mode_ )\r
- {\r
- }\r
-\r
- DeviceGroupPresentInfoKHR( VkDeviceGroupPresentInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupPresentInfoKHR ) );\r
- }\r
-\r
- DeviceGroupPresentInfoKHR& operator=( VkDeviceGroupPresentInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupPresentInfoKHR ) );\r
- return *this;\r
- }\r
- DeviceGroupPresentInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupPresentInfoKHR& setSwapchainCount( uint32_t swapchainCount_ )\r
- {\r
- swapchainCount = swapchainCount_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupPresentInfoKHR& setPDeviceMasks( const uint32_t* pDeviceMasks_ )\r
- {\r
- pDeviceMasks = pDeviceMasks_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupPresentInfoKHR& setMode( DeviceGroupPresentModeFlagBitsKHR mode_ )\r
- {\r
- mode = mode_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGroupPresentInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupPresentInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupPresentInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( swapchainCount == rhs.swapchainCount )\r
- && ( pDeviceMasks == rhs.pDeviceMasks )\r
- && ( mode == rhs.mode );\r
- }\r
-\r
- bool operator!=( DeviceGroupPresentInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupPresentInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t swapchainCount;\r
- const uint32_t* pDeviceMasks;\r
- DeviceGroupPresentModeFlagBitsKHR mode;\r
- };\r
- static_assert( sizeof( DeviceGroupPresentInfoKHR ) == sizeof( VkDeviceGroupPresentInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- struct DeviceGroupSwapchainCreateInfoKHR\r
- {\r
- DeviceGroupSwapchainCreateInfoKHR( DeviceGroupPresentModeFlagsKHR modes_ = DeviceGroupPresentModeFlagsKHR() )\r
- : modes( modes_ )\r
- {\r
- }\r
-\r
- DeviceGroupSwapchainCreateInfoKHR( VkDeviceGroupSwapchainCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupSwapchainCreateInfoKHR ) );\r
- }\r
-\r
- DeviceGroupSwapchainCreateInfoKHR& operator=( VkDeviceGroupSwapchainCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupSwapchainCreateInfoKHR ) );\r
- return *this;\r
- }\r
- DeviceGroupSwapchainCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupSwapchainCreateInfoKHR& setModes( DeviceGroupPresentModeFlagsKHR modes_ )\r
- {\r
- modes = modes_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGroupSwapchainCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupSwapchainCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupSwapchainCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( modes == rhs.modes );\r
- }\r
-\r
- bool operator!=( DeviceGroupSwapchainCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupSwapchainCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DeviceGroupPresentModeFlagsKHR modes;\r
- };\r
- static_assert( sizeof( DeviceGroupSwapchainCreateInfoKHR ) == sizeof( VkDeviceGroupSwapchainCreateInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class SwapchainCreateFlagBitsKHR\r
- {\r
- eSplitInstanceBindRegions = VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR,\r
- eProtected = VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR\r
- };\r
-\r
- using SwapchainCreateFlagsKHR = Flags<SwapchainCreateFlagBitsKHR, VkSwapchainCreateFlagsKHR>;\r
-\r
- VULKAN_HPP_INLINE SwapchainCreateFlagsKHR operator|( SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1 )\r
- {\r
- return SwapchainCreateFlagsKHR( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SwapchainCreateFlagsKHR operator~( SwapchainCreateFlagBitsKHR bits )\r
- {\r
- return ~( SwapchainCreateFlagsKHR( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SwapchainCreateFlagBitsKHR>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions) | VkFlags(SwapchainCreateFlagBitsKHR::eProtected)\r
- };\r
- };\r
-\r
- struct SwapchainCreateInfoKHR\r
- {\r
- SwapchainCreateInfoKHR( SwapchainCreateFlagsKHR flags_ = SwapchainCreateFlagsKHR(), SurfaceKHR surface_ = SurfaceKHR(), uint32_t minImageCount_ = 0, Format imageFormat_ = Format::eUndefined, ColorSpaceKHR imageColorSpace_ = ColorSpaceKHR::eSrgbNonlinear, Extent2D imageExtent_ = Extent2D(), uint32_t imageArrayLayers_ = 0, ImageUsageFlags imageUsage_ = ImageUsageFlags(), SharingMode imageSharingMode_ = SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = 0, const uint32_t* pQueueFamilyIndices_ = nullptr, SurfaceTransformFlagBitsKHR preTransform_ = SurfaceTransformFlagBitsKHR::eIdentity, CompositeAlphaFlagBitsKHR compositeAlpha_ = CompositeAlphaFlagBitsKHR::eOpaque, PresentModeKHR presentMode_ = PresentModeKHR::eImmediate, Bool32 clipped_ = 0, SwapchainKHR oldSwapchain_ = SwapchainKHR() )\r
- : flags( flags_ )\r
- , surface( surface_ )\r
- , minImageCount( minImageCount_ )\r
- , imageFormat( imageFormat_ )\r
- , imageColorSpace( imageColorSpace_ )\r
- , imageExtent( imageExtent_ )\r
- , imageArrayLayers( imageArrayLayers_ )\r
- , imageUsage( imageUsage_ )\r
- , imageSharingMode( imageSharingMode_ )\r
- , queueFamilyIndexCount( queueFamilyIndexCount_ )\r
- , pQueueFamilyIndices( pQueueFamilyIndices_ )\r
- , preTransform( preTransform_ )\r
- , compositeAlpha( compositeAlpha_ )\r
- , presentMode( presentMode_ )\r
- , clipped( clipped_ )\r
- , oldSwapchain( oldSwapchain_ )\r
- {\r
- }\r
-\r
- SwapchainCreateInfoKHR( VkSwapchainCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SwapchainCreateInfoKHR ) );\r
- }\r
-\r
- SwapchainCreateInfoKHR& operator=( VkSwapchainCreateInfoKHR const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SwapchainCreateInfoKHR ) );\r
- return *this;\r
- }\r
- SwapchainCreateInfoKHR& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setFlags( SwapchainCreateFlagsKHR flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setSurface( SurfaceKHR surface_ )\r
- {\r
- surface = surface_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setMinImageCount( uint32_t minImageCount_ )\r
- {\r
- minImageCount = minImageCount_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setImageFormat( Format imageFormat_ )\r
- {\r
- imageFormat = imageFormat_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setImageColorSpace( ColorSpaceKHR imageColorSpace_ )\r
- {\r
- imageColorSpace = imageColorSpace_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setImageExtent( Extent2D imageExtent_ )\r
- {\r
- imageExtent = imageExtent_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setImageArrayLayers( uint32_t imageArrayLayers_ )\r
- {\r
- imageArrayLayers = imageArrayLayers_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setImageUsage( ImageUsageFlags imageUsage_ )\r
- {\r
- imageUsage = imageUsage_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setImageSharingMode( SharingMode imageSharingMode_ )\r
- {\r
- imageSharingMode = imageSharingMode_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ )\r
- {\r
- queueFamilyIndexCount = queueFamilyIndexCount_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ )\r
- {\r
- pQueueFamilyIndices = pQueueFamilyIndices_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setPreTransform( SurfaceTransformFlagBitsKHR preTransform_ )\r
- {\r
- preTransform = preTransform_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setCompositeAlpha( CompositeAlphaFlagBitsKHR compositeAlpha_ )\r
- {\r
- compositeAlpha = compositeAlpha_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setPresentMode( PresentModeKHR presentMode_ )\r
- {\r
- presentMode = presentMode_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setClipped( Bool32 clipped_ )\r
- {\r
- clipped = clipped_;\r
- return *this;\r
- }\r
-\r
- SwapchainCreateInfoKHR& setOldSwapchain( SwapchainKHR oldSwapchain_ )\r
- {\r
- oldSwapchain = oldSwapchain_;\r
- return *this;\r
- }\r
-\r
- operator const VkSwapchainCreateInfoKHR&() const\r
- {\r
- return *reinterpret_cast<const VkSwapchainCreateInfoKHR*>(this);\r
- }\r
-\r
- bool operator==( SwapchainCreateInfoKHR const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( surface == rhs.surface )\r
- && ( minImageCount == rhs.minImageCount )\r
- && ( imageFormat == rhs.imageFormat )\r
- && ( imageColorSpace == rhs.imageColorSpace )\r
- && ( imageExtent == rhs.imageExtent )\r
- && ( imageArrayLayers == rhs.imageArrayLayers )\r
- && ( imageUsage == rhs.imageUsage )\r
- && ( imageSharingMode == rhs.imageSharingMode )\r
- && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount )\r
- && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices )\r
- && ( preTransform == rhs.preTransform )\r
- && ( compositeAlpha == rhs.compositeAlpha )\r
- && ( presentMode == rhs.presentMode )\r
- && ( clipped == rhs.clipped )\r
- && ( oldSwapchain == rhs.oldSwapchain );\r
- }\r
-\r
- bool operator!=( SwapchainCreateInfoKHR const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSwapchainCreateInfoKHR;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SwapchainCreateFlagsKHR flags;\r
- SurfaceKHR surface;\r
- uint32_t minImageCount;\r
- Format imageFormat;\r
- ColorSpaceKHR imageColorSpace;\r
- Extent2D imageExtent;\r
- uint32_t imageArrayLayers;\r
- ImageUsageFlags imageUsage;\r
- SharingMode imageSharingMode;\r
- uint32_t queueFamilyIndexCount;\r
- const uint32_t* pQueueFamilyIndices;\r
- SurfaceTransformFlagBitsKHR preTransform;\r
- CompositeAlphaFlagBitsKHR compositeAlpha;\r
- PresentModeKHR presentMode;\r
- Bool32 clipped;\r
- SwapchainKHR oldSwapchain;\r
- };\r
- static_assert( sizeof( SwapchainCreateInfoKHR ) == sizeof( VkSwapchainCreateInfoKHR ), "struct and wrapper have different size!" );\r
-\r
- enum class ViewportCoordinateSwizzleNV\r
- {\r
- ePositiveX = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV,\r
- eNegativeX = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV,\r
- ePositiveY = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV,\r
- eNegativeY = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV,\r
- ePositiveZ = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV,\r
- eNegativeZ = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV,\r
- ePositiveW = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV,\r
- eNegativeW = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV\r
- };\r
-\r
- struct ViewportSwizzleNV\r
- {\r
- ViewportSwizzleNV( ViewportCoordinateSwizzleNV x_ = ViewportCoordinateSwizzleNV::ePositiveX, ViewportCoordinateSwizzleNV y_ = ViewportCoordinateSwizzleNV::ePositiveX, ViewportCoordinateSwizzleNV z_ = ViewportCoordinateSwizzleNV::ePositiveX, ViewportCoordinateSwizzleNV w_ = ViewportCoordinateSwizzleNV::ePositiveX )\r
- : x( x_ )\r
- , y( y_ )\r
- , z( z_ )\r
- , w( w_ )\r
- {\r
- }\r
-\r
- ViewportSwizzleNV( VkViewportSwizzleNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ViewportSwizzleNV ) );\r
- }\r
-\r
- ViewportSwizzleNV& operator=( VkViewportSwizzleNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( ViewportSwizzleNV ) );\r
- return *this;\r
- }\r
- ViewportSwizzleNV& setX( ViewportCoordinateSwizzleNV x_ )\r
- {\r
- x = x_;\r
- return *this;\r
- }\r
-\r
- ViewportSwizzleNV& setY( ViewportCoordinateSwizzleNV y_ )\r
- {\r
- y = y_;\r
- return *this;\r
- }\r
-\r
- ViewportSwizzleNV& setZ( ViewportCoordinateSwizzleNV z_ )\r
- {\r
- z = z_;\r
- return *this;\r
- }\r
-\r
- ViewportSwizzleNV& setW( ViewportCoordinateSwizzleNV w_ )\r
- {\r
- w = w_;\r
- return *this;\r
- }\r
-\r
- operator const VkViewportSwizzleNV&() const\r
- {\r
- return *reinterpret_cast<const VkViewportSwizzleNV*>(this);\r
- }\r
-\r
- bool operator==( ViewportSwizzleNV const& rhs ) const\r
- {\r
- return ( x == rhs.x )\r
- && ( y == rhs.y )\r
- && ( z == rhs.z )\r
- && ( w == rhs.w );\r
- }\r
-\r
- bool operator!=( ViewportSwizzleNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- ViewportCoordinateSwizzleNV x;\r
- ViewportCoordinateSwizzleNV y;\r
- ViewportCoordinateSwizzleNV z;\r
- ViewportCoordinateSwizzleNV w;\r
- };\r
- static_assert( sizeof( ViewportSwizzleNV ) == sizeof( VkViewportSwizzleNV ), "struct and wrapper have different size!" );\r
-\r
- struct PipelineViewportSwizzleStateCreateInfoNV\r
- {\r
- PipelineViewportSwizzleStateCreateInfoNV( PipelineViewportSwizzleStateCreateFlagsNV flags_ = PipelineViewportSwizzleStateCreateFlagsNV(), uint32_t viewportCount_ = 0, const ViewportSwizzleNV* pViewportSwizzles_ = nullptr )\r
- : flags( flags_ )\r
- , viewportCount( viewportCount_ )\r
- , pViewportSwizzles( pViewportSwizzles_ )\r
- {\r
- }\r
-\r
- PipelineViewportSwizzleStateCreateInfoNV( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineViewportSwizzleStateCreateInfoNV ) );\r
- }\r
-\r
- PipelineViewportSwizzleStateCreateInfoNV& operator=( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineViewportSwizzleStateCreateInfoNV ) );\r
- return *this;\r
- }\r
- PipelineViewportSwizzleStateCreateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportSwizzleStateCreateInfoNV& setFlags( PipelineViewportSwizzleStateCreateFlagsNV flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportSwizzleStateCreateInfoNV& setViewportCount( uint32_t viewportCount_ )\r
- {\r
- viewportCount = viewportCount_;\r
- return *this;\r
- }\r
-\r
- PipelineViewportSwizzleStateCreateInfoNV& setPViewportSwizzles( const ViewportSwizzleNV* pViewportSwizzles_ )\r
- {\r
- pViewportSwizzles = pViewportSwizzles_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineViewportSwizzleStateCreateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineViewportSwizzleStateCreateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( PipelineViewportSwizzleStateCreateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( viewportCount == rhs.viewportCount )\r
- && ( pViewportSwizzles == rhs.pViewportSwizzles );\r
- }\r
-\r
- bool operator!=( PipelineViewportSwizzleStateCreateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineViewportSwizzleStateCreateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineViewportSwizzleStateCreateFlagsNV flags;\r
- uint32_t viewportCount;\r
- const ViewportSwizzleNV* pViewportSwizzles;\r
- };\r
- static_assert( sizeof( PipelineViewportSwizzleStateCreateInfoNV ) == sizeof( VkPipelineViewportSwizzleStateCreateInfoNV ), "struct and wrapper have different size!" );\r
-\r
- enum class DiscardRectangleModeEXT\r
- {\r
- eInclusive = VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT,\r
- eExclusive = VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT\r
- };\r
-\r
- struct PipelineDiscardRectangleStateCreateInfoEXT\r
- {\r
- PipelineDiscardRectangleStateCreateInfoEXT( PipelineDiscardRectangleStateCreateFlagsEXT flags_ = PipelineDiscardRectangleStateCreateFlagsEXT(), DiscardRectangleModeEXT discardRectangleMode_ = DiscardRectangleModeEXT::eInclusive, uint32_t discardRectangleCount_ = 0, const Rect2D* pDiscardRectangles_ = nullptr )\r
- : flags( flags_ )\r
- , discardRectangleMode( discardRectangleMode_ )\r
- , discardRectangleCount( discardRectangleCount_ )\r
- , pDiscardRectangles( pDiscardRectangles_ )\r
- {\r
- }\r
-\r
- PipelineDiscardRectangleStateCreateInfoEXT( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) );\r
- }\r
-\r
- PipelineDiscardRectangleStateCreateInfoEXT& operator=( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) );\r
- return *this;\r
- }\r
- PipelineDiscardRectangleStateCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineDiscardRectangleStateCreateInfoEXT& setFlags( PipelineDiscardRectangleStateCreateFlagsEXT flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineDiscardRectangleStateCreateInfoEXT& setDiscardRectangleMode( DiscardRectangleModeEXT discardRectangleMode_ )\r
- {\r
- discardRectangleMode = discardRectangleMode_;\r
- return *this;\r
- }\r
-\r
- PipelineDiscardRectangleStateCreateInfoEXT& setDiscardRectangleCount( uint32_t discardRectangleCount_ )\r
- {\r
- discardRectangleCount = discardRectangleCount_;\r
- return *this;\r
- }\r
-\r
- PipelineDiscardRectangleStateCreateInfoEXT& setPDiscardRectangles( const Rect2D* pDiscardRectangles_ )\r
- {\r
- pDiscardRectangles = pDiscardRectangles_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineDiscardRectangleStateCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineDiscardRectangleStateCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( PipelineDiscardRectangleStateCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( discardRectangleMode == rhs.discardRectangleMode )\r
- && ( discardRectangleCount == rhs.discardRectangleCount )\r
- && ( pDiscardRectangles == rhs.pDiscardRectangles );\r
- }\r
-\r
- bool operator!=( PipelineDiscardRectangleStateCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineDiscardRectangleStateCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineDiscardRectangleStateCreateFlagsEXT flags;\r
- DiscardRectangleModeEXT discardRectangleMode;\r
- uint32_t discardRectangleCount;\r
- const Rect2D* pDiscardRectangles;\r
- };\r
- static_assert( sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) == sizeof( VkPipelineDiscardRectangleStateCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class SubpassDescriptionFlagBits\r
- {\r
- ePerViewAttributesNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX,\r
- ePerViewPositionXOnlyNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX\r
- };\r
-\r
- using SubpassDescriptionFlags = Flags<SubpassDescriptionFlagBits, VkSubpassDescriptionFlags>;\r
-\r
- VULKAN_HPP_INLINE SubpassDescriptionFlags operator|( SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1 )\r
- {\r
- return SubpassDescriptionFlags( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE SubpassDescriptionFlags operator~( SubpassDescriptionFlagBits bits )\r
- {\r
- return ~( SubpassDescriptionFlags( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<SubpassDescriptionFlagBits>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(SubpassDescriptionFlagBits::ePerViewAttributesNVX) | VkFlags(SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX)\r
- };\r
- };\r
-\r
- struct SubpassDescription\r
- {\r
- SubpassDescription( SubpassDescriptionFlags flags_ = SubpassDescriptionFlags(), PipelineBindPoint pipelineBindPoint_ = PipelineBindPoint::eGraphics, uint32_t inputAttachmentCount_ = 0, const AttachmentReference* pInputAttachments_ = nullptr, uint32_t colorAttachmentCount_ = 0, const AttachmentReference* pColorAttachments_ = nullptr, const AttachmentReference* pResolveAttachments_ = nullptr, const AttachmentReference* pDepthStencilAttachment_ = nullptr, uint32_t preserveAttachmentCount_ = 0, const uint32_t* pPreserveAttachments_ = nullptr )\r
- : flags( flags_ )\r
- , pipelineBindPoint( pipelineBindPoint_ )\r
- , inputAttachmentCount( inputAttachmentCount_ )\r
- , pInputAttachments( pInputAttachments_ )\r
- , colorAttachmentCount( colorAttachmentCount_ )\r
- , pColorAttachments( pColorAttachments_ )\r
- , pResolveAttachments( pResolveAttachments_ )\r
- , pDepthStencilAttachment( pDepthStencilAttachment_ )\r
- , preserveAttachmentCount( preserveAttachmentCount_ )\r
- , pPreserveAttachments( pPreserveAttachments_ )\r
- {\r
- }\r
-\r
- SubpassDescription( VkSubpassDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubpassDescription ) );\r
- }\r
-\r
- SubpassDescription& operator=( VkSubpassDescription const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubpassDescription ) );\r
- return *this;\r
- }\r
- SubpassDescription& setFlags( SubpassDescriptionFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setPipelineBindPoint( PipelineBindPoint pipelineBindPoint_ )\r
- {\r
- pipelineBindPoint = pipelineBindPoint_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setInputAttachmentCount( uint32_t inputAttachmentCount_ )\r
- {\r
- inputAttachmentCount = inputAttachmentCount_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setPInputAttachments( const AttachmentReference* pInputAttachments_ )\r
- {\r
- pInputAttachments = pInputAttachments_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setColorAttachmentCount( uint32_t colorAttachmentCount_ )\r
- {\r
- colorAttachmentCount = colorAttachmentCount_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setPColorAttachments( const AttachmentReference* pColorAttachments_ )\r
- {\r
- pColorAttachments = pColorAttachments_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setPResolveAttachments( const AttachmentReference* pResolveAttachments_ )\r
- {\r
- pResolveAttachments = pResolveAttachments_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setPDepthStencilAttachment( const AttachmentReference* pDepthStencilAttachment_ )\r
- {\r
- pDepthStencilAttachment = pDepthStencilAttachment_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setPreserveAttachmentCount( uint32_t preserveAttachmentCount_ )\r
- {\r
- preserveAttachmentCount = preserveAttachmentCount_;\r
- return *this;\r
- }\r
-\r
- SubpassDescription& setPPreserveAttachments( const uint32_t* pPreserveAttachments_ )\r
- {\r
- pPreserveAttachments = pPreserveAttachments_;\r
- return *this;\r
- }\r
-\r
- operator const VkSubpassDescription&() const\r
- {\r
- return *reinterpret_cast<const VkSubpassDescription*>(this);\r
- }\r
-\r
- bool operator==( SubpassDescription const& rhs ) const\r
- {\r
- return ( flags == rhs.flags )\r
- && ( pipelineBindPoint == rhs.pipelineBindPoint )\r
- && ( inputAttachmentCount == rhs.inputAttachmentCount )\r
- && ( pInputAttachments == rhs.pInputAttachments )\r
- && ( colorAttachmentCount == rhs.colorAttachmentCount )\r
- && ( pColorAttachments == rhs.pColorAttachments )\r
- && ( pResolveAttachments == rhs.pResolveAttachments )\r
- && ( pDepthStencilAttachment == rhs.pDepthStencilAttachment )\r
- && ( preserveAttachmentCount == rhs.preserveAttachmentCount )\r
- && ( pPreserveAttachments == rhs.pPreserveAttachments );\r
- }\r
-\r
- bool operator!=( SubpassDescription const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- SubpassDescriptionFlags flags;\r
- PipelineBindPoint pipelineBindPoint;\r
- uint32_t inputAttachmentCount;\r
- const AttachmentReference* pInputAttachments;\r
- uint32_t colorAttachmentCount;\r
- const AttachmentReference* pColorAttachments;\r
- const AttachmentReference* pResolveAttachments;\r
- const AttachmentReference* pDepthStencilAttachment;\r
- uint32_t preserveAttachmentCount;\r
- const uint32_t* pPreserveAttachments;\r
- };\r
- static_assert( sizeof( SubpassDescription ) == sizeof( VkSubpassDescription ), "struct and wrapper have different size!" );\r
-\r
- struct RenderPassCreateInfo\r
- {\r
- RenderPassCreateInfo( RenderPassCreateFlags flags_ = RenderPassCreateFlags(), uint32_t attachmentCount_ = 0, const AttachmentDescription* pAttachments_ = nullptr, uint32_t subpassCount_ = 0, const SubpassDescription* pSubpasses_ = nullptr, uint32_t dependencyCount_ = 0, const SubpassDependency* pDependencies_ = nullptr )\r
- : flags( flags_ )\r
- , attachmentCount( attachmentCount_ )\r
- , pAttachments( pAttachments_ )\r
- , subpassCount( subpassCount_ )\r
- , pSubpasses( pSubpasses_ )\r
- , dependencyCount( dependencyCount_ )\r
- , pDependencies( pDependencies_ )\r
- {\r
- }\r
-\r
- RenderPassCreateInfo( VkRenderPassCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassCreateInfo ) );\r
- }\r
-\r
- RenderPassCreateInfo& operator=( VkRenderPassCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( RenderPassCreateInfo ) );\r
- return *this;\r
- }\r
- RenderPassCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- RenderPassCreateInfo& setFlags( RenderPassCreateFlags flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- RenderPassCreateInfo& setAttachmentCount( uint32_t attachmentCount_ )\r
- {\r
- attachmentCount = attachmentCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassCreateInfo& setPAttachments( const AttachmentDescription* pAttachments_ )\r
- {\r
- pAttachments = pAttachments_;\r
- return *this;\r
- }\r
-\r
- RenderPassCreateInfo& setSubpassCount( uint32_t subpassCount_ )\r
- {\r
- subpassCount = subpassCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassCreateInfo& setPSubpasses( const SubpassDescription* pSubpasses_ )\r
- {\r
- pSubpasses = pSubpasses_;\r
- return *this;\r
- }\r
-\r
- RenderPassCreateInfo& setDependencyCount( uint32_t dependencyCount_ )\r
- {\r
- dependencyCount = dependencyCount_;\r
- return *this;\r
- }\r
-\r
- RenderPassCreateInfo& setPDependencies( const SubpassDependency* pDependencies_ )\r
- {\r
- pDependencies = pDependencies_;\r
- return *this;\r
- }\r
-\r
- operator const VkRenderPassCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkRenderPassCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( RenderPassCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( attachmentCount == rhs.attachmentCount )\r
- && ( pAttachments == rhs.pAttachments )\r
- && ( subpassCount == rhs.subpassCount )\r
- && ( pSubpasses == rhs.pSubpasses )\r
- && ( dependencyCount == rhs.dependencyCount )\r
- && ( pDependencies == rhs.pDependencies );\r
- }\r
-\r
- bool operator!=( RenderPassCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eRenderPassCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- RenderPassCreateFlags flags;\r
- uint32_t attachmentCount;\r
- const AttachmentDescription* pAttachments;\r
- uint32_t subpassCount;\r
- const SubpassDescription* pSubpasses;\r
- uint32_t dependencyCount;\r
- const SubpassDependency* pDependencies;\r
- };\r
- static_assert( sizeof( RenderPassCreateInfo ) == sizeof( VkRenderPassCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- enum class PointClippingBehavior\r
- {\r
- eAllClipPlanes = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES,\r
- eAllClipPlanesKHR = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES,\r
- eUserClipPlanesOnly = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY,\r
- eUserClipPlanesOnlyKHR = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY\r
- };\r
-\r
- struct PhysicalDevicePointClippingProperties\r
- {\r
- operator const VkPhysicalDevicePointClippingProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDevicePointClippingProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDevicePointClippingProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( pointClippingBehavior == rhs.pointClippingBehavior );\r
- }\r
-\r
- bool operator!=( PhysicalDevicePointClippingProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDevicePointClippingProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- PointClippingBehavior pointClippingBehavior;\r
- };\r
- static_assert( sizeof( PhysicalDevicePointClippingProperties ) == sizeof( VkPhysicalDevicePointClippingProperties ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDevicePointClippingPropertiesKHR = PhysicalDevicePointClippingProperties;\r
-\r
- enum class SamplerReductionModeEXT\r
- {\r
- eWeightedAverage = VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT,\r
- eMin = VK_SAMPLER_REDUCTION_MODE_MIN_EXT,\r
- eMax = VK_SAMPLER_REDUCTION_MODE_MAX_EXT\r
- };\r
-\r
- struct SamplerReductionModeCreateInfoEXT\r
- {\r
- SamplerReductionModeCreateInfoEXT( SamplerReductionModeEXT reductionMode_ = SamplerReductionModeEXT::eWeightedAverage )\r
- : reductionMode( reductionMode_ )\r
- {\r
- }\r
-\r
- SamplerReductionModeCreateInfoEXT( VkSamplerReductionModeCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerReductionModeCreateInfoEXT ) );\r
- }\r
-\r
- SamplerReductionModeCreateInfoEXT& operator=( VkSamplerReductionModeCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerReductionModeCreateInfoEXT ) );\r
- return *this;\r
- }\r
- SamplerReductionModeCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SamplerReductionModeCreateInfoEXT& setReductionMode( SamplerReductionModeEXT reductionMode_ )\r
- {\r
- reductionMode = reductionMode_;\r
- return *this;\r
- }\r
-\r
- operator const VkSamplerReductionModeCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkSamplerReductionModeCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( SamplerReductionModeCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( reductionMode == rhs.reductionMode );\r
- }\r
-\r
- bool operator!=( SamplerReductionModeCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSamplerReductionModeCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- SamplerReductionModeEXT reductionMode;\r
- };\r
- static_assert( sizeof( SamplerReductionModeCreateInfoEXT ) == sizeof( VkSamplerReductionModeCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class TessellationDomainOrigin\r
- {\r
- eUpperLeft = VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT,\r
- eUpperLeftKHR = VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT,\r
- eLowerLeft = VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT,\r
- eLowerLeftKHR = VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT\r
- };\r
-\r
- struct PipelineTessellationDomainOriginStateCreateInfo\r
- {\r
- PipelineTessellationDomainOriginStateCreateInfo( TessellationDomainOrigin domainOrigin_ = TessellationDomainOrigin::eUpperLeft )\r
- : domainOrigin( domainOrigin_ )\r
- {\r
- }\r
-\r
- PipelineTessellationDomainOriginStateCreateInfo( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineTessellationDomainOriginStateCreateInfo ) );\r
- }\r
-\r
- PipelineTessellationDomainOriginStateCreateInfo& operator=( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineTessellationDomainOriginStateCreateInfo ) );\r
- return *this;\r
- }\r
- PipelineTessellationDomainOriginStateCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineTessellationDomainOriginStateCreateInfo& setDomainOrigin( TessellationDomainOrigin domainOrigin_ )\r
- {\r
- domainOrigin = domainOrigin_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineTessellationDomainOriginStateCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineTessellationDomainOriginStateCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( PipelineTessellationDomainOriginStateCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( domainOrigin == rhs.domainOrigin );\r
- }\r
-\r
- bool operator!=( PipelineTessellationDomainOriginStateCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineTessellationDomainOriginStateCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- TessellationDomainOrigin domainOrigin;\r
- };\r
- static_assert( sizeof( PipelineTessellationDomainOriginStateCreateInfo ) == sizeof( VkPipelineTessellationDomainOriginStateCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using PipelineTessellationDomainOriginStateCreateInfoKHR = PipelineTessellationDomainOriginStateCreateInfo;\r
-\r
- enum class SamplerYcbcrModelConversion\r
- {\r
- eRgbIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY,\r
- eRgbIdentityKHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY,\r
- eYcbcrIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY,\r
- eYcbcrIdentityKHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY,\r
- eYcbcr709 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709,\r
- eYcbcr709KHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709,\r
- eYcbcr601 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601,\r
- eYcbcr601KHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601,\r
- eYcbcr2020 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020,\r
- eYcbcr2020KHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020\r
- };\r
-\r
- enum class SamplerYcbcrRange\r
- {\r
- eItuFull = VK_SAMPLER_YCBCR_RANGE_ITU_FULL,\r
- eItuFullKHR = VK_SAMPLER_YCBCR_RANGE_ITU_FULL,\r
- eItuNarrow = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW,\r
- eItuNarrowKHR = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW\r
- };\r
-\r
- enum class ChromaLocation\r
- {\r
- eCositedEven = VK_CHROMA_LOCATION_COSITED_EVEN,\r
- eCositedEvenKHR = VK_CHROMA_LOCATION_COSITED_EVEN,\r
- eMidpoint = VK_CHROMA_LOCATION_MIDPOINT,\r
- eMidpointKHR = VK_CHROMA_LOCATION_MIDPOINT\r
- };\r
-\r
- struct SamplerYcbcrConversionCreateInfo\r
- {\r
- SamplerYcbcrConversionCreateInfo( Format format_ = Format::eUndefined, SamplerYcbcrModelConversion ycbcrModel_ = SamplerYcbcrModelConversion::eRgbIdentity, SamplerYcbcrRange ycbcrRange_ = SamplerYcbcrRange::eItuFull, ComponentMapping components_ = ComponentMapping(), ChromaLocation xChromaOffset_ = ChromaLocation::eCositedEven, ChromaLocation yChromaOffset_ = ChromaLocation::eCositedEven, Filter chromaFilter_ = Filter::eNearest, Bool32 forceExplicitReconstruction_ = 0 )\r
- : format( format_ )\r
- , ycbcrModel( ycbcrModel_ )\r
- , ycbcrRange( ycbcrRange_ )\r
- , components( components_ )\r
- , xChromaOffset( xChromaOffset_ )\r
- , yChromaOffset( yChromaOffset_ )\r
- , chromaFilter( chromaFilter_ )\r
- , forceExplicitReconstruction( forceExplicitReconstruction_ )\r
- {\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo( VkSamplerYcbcrConversionCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerYcbcrConversionCreateInfo ) );\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& operator=( VkSamplerYcbcrConversionCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SamplerYcbcrConversionCreateInfo ) );\r
- return *this;\r
- }\r
- SamplerYcbcrConversionCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setFormat( Format format_ )\r
- {\r
- format = format_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setYcbcrModel( SamplerYcbcrModelConversion ycbcrModel_ )\r
- {\r
- ycbcrModel = ycbcrModel_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setYcbcrRange( SamplerYcbcrRange ycbcrRange_ )\r
- {\r
- ycbcrRange = ycbcrRange_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setComponents( ComponentMapping components_ )\r
- {\r
- components = components_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setXChromaOffset( ChromaLocation xChromaOffset_ )\r
- {\r
- xChromaOffset = xChromaOffset_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setYChromaOffset( ChromaLocation yChromaOffset_ )\r
- {\r
- yChromaOffset = yChromaOffset_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setChromaFilter( Filter chromaFilter_ )\r
- {\r
- chromaFilter = chromaFilter_;\r
- return *this;\r
- }\r
-\r
- SamplerYcbcrConversionCreateInfo& setForceExplicitReconstruction( Bool32 forceExplicitReconstruction_ )\r
- {\r
- forceExplicitReconstruction = forceExplicitReconstruction_;\r
- return *this;\r
- }\r
-\r
- operator const VkSamplerYcbcrConversionCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( SamplerYcbcrConversionCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( format == rhs.format )\r
- && ( ycbcrModel == rhs.ycbcrModel )\r
- && ( ycbcrRange == rhs.ycbcrRange )\r
- && ( components == rhs.components )\r
- && ( xChromaOffset == rhs.xChromaOffset )\r
- && ( yChromaOffset == rhs.yChromaOffset )\r
- && ( chromaFilter == rhs.chromaFilter )\r
- && ( forceExplicitReconstruction == rhs.forceExplicitReconstruction );\r
- }\r
-\r
- bool operator!=( SamplerYcbcrConversionCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSamplerYcbcrConversionCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Format format;\r
- SamplerYcbcrModelConversion ycbcrModel;\r
- SamplerYcbcrRange ycbcrRange;\r
- ComponentMapping components;\r
- ChromaLocation xChromaOffset;\r
- ChromaLocation yChromaOffset;\r
- Filter chromaFilter;\r
- Bool32 forceExplicitReconstruction;\r
- };\r
- static_assert( sizeof( SamplerYcbcrConversionCreateInfo ) == sizeof( VkSamplerYcbcrConversionCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using SamplerYcbcrConversionCreateInfoKHR = SamplerYcbcrConversionCreateInfo;\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- struct AndroidHardwareBufferFormatPropertiesANDROID\r
- {\r
- operator const VkAndroidHardwareBufferFormatPropertiesANDROID&() const\r
- {\r
- return *reinterpret_cast<const VkAndroidHardwareBufferFormatPropertiesANDROID*>(this);\r
- }\r
-\r
- bool operator==( AndroidHardwareBufferFormatPropertiesANDROID const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( format == rhs.format )\r
- && ( externalFormat == rhs.externalFormat )\r
- && ( formatFeatures == rhs.formatFeatures )\r
- && ( samplerYcbcrConversionComponents == rhs.samplerYcbcrConversionComponents )\r
- && ( suggestedYcbcrModel == rhs.suggestedYcbcrModel )\r
- && ( suggestedYcbcrRange == rhs.suggestedYcbcrRange )\r
- && ( suggestedXChromaOffset == rhs.suggestedXChromaOffset )\r
- && ( suggestedYChromaOffset == rhs.suggestedYChromaOffset );\r
- }\r
-\r
- bool operator!=( AndroidHardwareBufferFormatPropertiesANDROID const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eAndroidHardwareBufferFormatPropertiesANDROID;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- Format format;\r
- uint64_t externalFormat;\r
- FormatFeatureFlags formatFeatures;\r
- ComponentMapping samplerYcbcrConversionComponents;\r
- SamplerYcbcrModelConversion suggestedYcbcrModel;\r
- SamplerYcbcrRange suggestedYcbcrRange;\r
- ChromaLocation suggestedXChromaOffset;\r
- ChromaLocation suggestedYChromaOffset;\r
- };\r
- static_assert( sizeof( AndroidHardwareBufferFormatPropertiesANDROID ) == sizeof( VkAndroidHardwareBufferFormatPropertiesANDROID ), "struct and wrapper have different size!" );\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
- enum class BlendOverlapEXT\r
- {\r
- eUncorrelated = VK_BLEND_OVERLAP_UNCORRELATED_EXT,\r
- eDisjoint = VK_BLEND_OVERLAP_DISJOINT_EXT,\r
- eConjoint = VK_BLEND_OVERLAP_CONJOINT_EXT\r
- };\r
-\r
- struct PipelineColorBlendAdvancedStateCreateInfoEXT\r
- {\r
- PipelineColorBlendAdvancedStateCreateInfoEXT( Bool32 srcPremultiplied_ = 0, Bool32 dstPremultiplied_ = 0, BlendOverlapEXT blendOverlap_ = BlendOverlapEXT::eUncorrelated )\r
- : srcPremultiplied( srcPremultiplied_ )\r
- , dstPremultiplied( dstPremultiplied_ )\r
- , blendOverlap( blendOverlap_ )\r
- {\r
- }\r
-\r
- PipelineColorBlendAdvancedStateCreateInfoEXT( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) );\r
- }\r
-\r
- PipelineColorBlendAdvancedStateCreateInfoEXT& operator=( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) );\r
- return *this;\r
- }\r
- PipelineColorBlendAdvancedStateCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAdvancedStateCreateInfoEXT& setSrcPremultiplied( Bool32 srcPremultiplied_ )\r
- {\r
- srcPremultiplied = srcPremultiplied_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAdvancedStateCreateInfoEXT& setDstPremultiplied( Bool32 dstPremultiplied_ )\r
- {\r
- dstPremultiplied = dstPremultiplied_;\r
- return *this;\r
- }\r
-\r
- PipelineColorBlendAdvancedStateCreateInfoEXT& setBlendOverlap( BlendOverlapEXT blendOverlap_ )\r
- {\r
- blendOverlap = blendOverlap_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineColorBlendAdvancedStateCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineColorBlendAdvancedStateCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( PipelineColorBlendAdvancedStateCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( srcPremultiplied == rhs.srcPremultiplied )\r
- && ( dstPremultiplied == rhs.dstPremultiplied )\r
- && ( blendOverlap == rhs.blendOverlap );\r
- }\r
-\r
- bool operator!=( PipelineColorBlendAdvancedStateCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- Bool32 srcPremultiplied;\r
- Bool32 dstPremultiplied;\r
- BlendOverlapEXT blendOverlap;\r
- };\r
- static_assert( sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) == sizeof( VkPipelineColorBlendAdvancedStateCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class CoverageModulationModeNV\r
- {\r
- eNone = VK_COVERAGE_MODULATION_MODE_NONE_NV,\r
- eRgb = VK_COVERAGE_MODULATION_MODE_RGB_NV,\r
- eAlpha = VK_COVERAGE_MODULATION_MODE_ALPHA_NV,\r
- eRgba = VK_COVERAGE_MODULATION_MODE_RGBA_NV\r
- };\r
-\r
- struct PipelineCoverageModulationStateCreateInfoNV\r
- {\r
- PipelineCoverageModulationStateCreateInfoNV( PipelineCoverageModulationStateCreateFlagsNV flags_ = PipelineCoverageModulationStateCreateFlagsNV(), CoverageModulationModeNV coverageModulationMode_ = CoverageModulationModeNV::eNone, Bool32 coverageModulationTableEnable_ = 0, uint32_t coverageModulationTableCount_ = 0, const float* pCoverageModulationTable_ = nullptr )\r
- : flags( flags_ )\r
- , coverageModulationMode( coverageModulationMode_ )\r
- , coverageModulationTableEnable( coverageModulationTableEnable_ )\r
- , coverageModulationTableCount( coverageModulationTableCount_ )\r
- , pCoverageModulationTable( pCoverageModulationTable_ )\r
- {\r
- }\r
-\r
- PipelineCoverageModulationStateCreateInfoNV( VkPipelineCoverageModulationStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineCoverageModulationStateCreateInfoNV ) );\r
- }\r
-\r
- PipelineCoverageModulationStateCreateInfoNV& operator=( VkPipelineCoverageModulationStateCreateInfoNV const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineCoverageModulationStateCreateInfoNV ) );\r
- return *this;\r
- }\r
- PipelineCoverageModulationStateCreateInfoNV& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageModulationStateCreateInfoNV& setFlags( PipelineCoverageModulationStateCreateFlagsNV flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageModulationStateCreateInfoNV& setCoverageModulationMode( CoverageModulationModeNV coverageModulationMode_ )\r
- {\r
- coverageModulationMode = coverageModulationMode_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageModulationStateCreateInfoNV& setCoverageModulationTableEnable( Bool32 coverageModulationTableEnable_ )\r
- {\r
- coverageModulationTableEnable = coverageModulationTableEnable_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageModulationStateCreateInfoNV& setCoverageModulationTableCount( uint32_t coverageModulationTableCount_ )\r
- {\r
- coverageModulationTableCount = coverageModulationTableCount_;\r
- return *this;\r
- }\r
-\r
- PipelineCoverageModulationStateCreateInfoNV& setPCoverageModulationTable( const float* pCoverageModulationTable_ )\r
- {\r
- pCoverageModulationTable = pCoverageModulationTable_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineCoverageModulationStateCreateInfoNV&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineCoverageModulationStateCreateInfoNV*>(this);\r
- }\r
-\r
- bool operator==( PipelineCoverageModulationStateCreateInfoNV const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( coverageModulationMode == rhs.coverageModulationMode )\r
- && ( coverageModulationTableEnable == rhs.coverageModulationTableEnable )\r
- && ( coverageModulationTableCount == rhs.coverageModulationTableCount )\r
- && ( pCoverageModulationTable == rhs.pCoverageModulationTable );\r
- }\r
-\r
- bool operator!=( PipelineCoverageModulationStateCreateInfoNV const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineCoverageModulationStateCreateInfoNV;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineCoverageModulationStateCreateFlagsNV flags;\r
- CoverageModulationModeNV coverageModulationMode;\r
- Bool32 coverageModulationTableEnable;\r
- uint32_t coverageModulationTableCount;\r
- const float* pCoverageModulationTable;\r
- };\r
- static_assert( sizeof( PipelineCoverageModulationStateCreateInfoNV ) == sizeof( VkPipelineCoverageModulationStateCreateInfoNV ), "struct and wrapper have different size!" );\r
-\r
- enum class ValidationCacheHeaderVersionEXT\r
- {\r
- eOne = VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT\r
- };\r
-\r
- enum class ShaderInfoTypeAMD\r
- {\r
- eStatistics = VK_SHADER_INFO_TYPE_STATISTICS_AMD,\r
- eBinary = VK_SHADER_INFO_TYPE_BINARY_AMD,\r
- eDisassembly = VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD\r
- };\r
-\r
- enum class QueueGlobalPriorityEXT\r
- {\r
- eLow = VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT,\r
- eMedium = VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT,\r
- eHigh = VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT,\r
- eRealtime = VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT\r
- };\r
-\r
- struct DeviceQueueGlobalPriorityCreateInfoEXT\r
- {\r
- DeviceQueueGlobalPriorityCreateInfoEXT( QueueGlobalPriorityEXT globalPriority_ = QueueGlobalPriorityEXT::eLow )\r
- : globalPriority( globalPriority_ )\r
- {\r
- }\r
-\r
- DeviceQueueGlobalPriorityCreateInfoEXT( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) );\r
- }\r
-\r
- DeviceQueueGlobalPriorityCreateInfoEXT& operator=( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) );\r
- return *this;\r
- }\r
- DeviceQueueGlobalPriorityCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceQueueGlobalPriorityCreateInfoEXT& setGlobalPriority( QueueGlobalPriorityEXT globalPriority_ )\r
- {\r
- globalPriority = globalPriority_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceQueueGlobalPriorityCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceQueueGlobalPriorityCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DeviceQueueGlobalPriorityCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( globalPriority == rhs.globalPriority );\r
- }\r
-\r
- bool operator!=( DeviceQueueGlobalPriorityCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- QueueGlobalPriorityEXT globalPriority;\r
- };\r
- static_assert( sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) == sizeof( VkDeviceQueueGlobalPriorityCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class DebugUtilsMessageSeverityFlagBitsEXT\r
- {\r
- eVerbose = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT,\r
- eInfo = VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT,\r
- eWarning = VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT,\r
- eError = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT\r
- };\r
-\r
- using DebugUtilsMessageSeverityFlagsEXT = Flags<DebugUtilsMessageSeverityFlagBitsEXT, VkDebugUtilsMessageSeverityFlagsEXT>;\r
-\r
- VULKAN_HPP_INLINE DebugUtilsMessageSeverityFlagsEXT operator|( DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1 )\r
- {\r
- return DebugUtilsMessageSeverityFlagsEXT( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DebugUtilsMessageSeverityFlagsEXT operator~( DebugUtilsMessageSeverityFlagBitsEXT bits )\r
- {\r
- return ~( DebugUtilsMessageSeverityFlagsEXT( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DebugUtilsMessageSeverityFlagBitsEXT>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eVerbose) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eInfo) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eWarning) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eError)\r
- };\r
- };\r
-\r
- enum class DebugUtilsMessageTypeFlagBitsEXT\r
- {\r
- eGeneral = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT,\r
- eValidation = VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT,\r
- ePerformance = VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT\r
- };\r
-\r
- using DebugUtilsMessageTypeFlagsEXT = Flags<DebugUtilsMessageTypeFlagBitsEXT, VkDebugUtilsMessageTypeFlagsEXT>;\r
-\r
- VULKAN_HPP_INLINE DebugUtilsMessageTypeFlagsEXT operator|( DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1 )\r
- {\r
- return DebugUtilsMessageTypeFlagsEXT( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DebugUtilsMessageTypeFlagsEXT operator~( DebugUtilsMessageTypeFlagBitsEXT bits )\r
- {\r
- return ~( DebugUtilsMessageTypeFlagsEXT( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DebugUtilsMessageTypeFlagBitsEXT>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DebugUtilsMessageTypeFlagBitsEXT::eGeneral) | VkFlags(DebugUtilsMessageTypeFlagBitsEXT::eValidation) | VkFlags(DebugUtilsMessageTypeFlagBitsEXT::ePerformance)\r
- };\r
- };\r
-\r
- struct DebugUtilsMessengerCreateInfoEXT\r
- {\r
- DebugUtilsMessengerCreateInfoEXT( DebugUtilsMessengerCreateFlagsEXT flags_ = DebugUtilsMessengerCreateFlagsEXT(), DebugUtilsMessageSeverityFlagsEXT messageSeverity_ = DebugUtilsMessageSeverityFlagsEXT(), DebugUtilsMessageTypeFlagsEXT messageType_ = DebugUtilsMessageTypeFlagsEXT(), PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ = nullptr, void* pUserData_ = nullptr )\r
- : flags( flags_ )\r
- , messageSeverity( messageSeverity_ )\r
- , messageType( messageType_ )\r
- , pfnUserCallback( pfnUserCallback_ )\r
- , pUserData( pUserData_ )\r
- {\r
- }\r
-\r
- DebugUtilsMessengerCreateInfoEXT( VkDebugUtilsMessengerCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsMessengerCreateInfoEXT ) );\r
- }\r
-\r
- DebugUtilsMessengerCreateInfoEXT& operator=( VkDebugUtilsMessengerCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DebugUtilsMessengerCreateInfoEXT ) );\r
- return *this;\r
- }\r
- DebugUtilsMessengerCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCreateInfoEXT& setFlags( DebugUtilsMessengerCreateFlagsEXT flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCreateInfoEXT& setMessageSeverity( DebugUtilsMessageSeverityFlagsEXT messageSeverity_ )\r
- {\r
- messageSeverity = messageSeverity_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCreateInfoEXT& setMessageType( DebugUtilsMessageTypeFlagsEXT messageType_ )\r
- {\r
- messageType = messageType_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCreateInfoEXT& setPfnUserCallback( PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ )\r
- {\r
- pfnUserCallback = pfnUserCallback_;\r
- return *this;\r
- }\r
-\r
- DebugUtilsMessengerCreateInfoEXT& setPUserData( void* pUserData_ )\r
- {\r
- pUserData = pUserData_;\r
- return *this;\r
- }\r
-\r
- operator const VkDebugUtilsMessengerCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DebugUtilsMessengerCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( messageSeverity == rhs.messageSeverity )\r
- && ( messageType == rhs.messageType )\r
- && ( pfnUserCallback == rhs.pfnUserCallback )\r
- && ( pUserData == rhs.pUserData );\r
- }\r
-\r
- bool operator!=( DebugUtilsMessengerCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDebugUtilsMessengerCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- DebugUtilsMessengerCreateFlagsEXT flags;\r
- DebugUtilsMessageSeverityFlagsEXT messageSeverity;\r
- DebugUtilsMessageTypeFlagsEXT messageType;\r
- PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback;\r
- void* pUserData;\r
- };\r
- static_assert( sizeof( DebugUtilsMessengerCreateInfoEXT ) == sizeof( VkDebugUtilsMessengerCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class ConservativeRasterizationModeEXT\r
- {\r
- eDisabled = VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT,\r
- eOverestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT,\r
- eUnderestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT\r
- };\r
-\r
- struct PipelineRasterizationConservativeStateCreateInfoEXT\r
- {\r
- PipelineRasterizationConservativeStateCreateInfoEXT( PipelineRasterizationConservativeStateCreateFlagsEXT flags_ = PipelineRasterizationConservativeStateCreateFlagsEXT(), ConservativeRasterizationModeEXT conservativeRasterizationMode_ = ConservativeRasterizationModeEXT::eDisabled, float extraPrimitiveOverestimationSize_ = 0 )\r
- : flags( flags_ )\r
- , conservativeRasterizationMode( conservativeRasterizationMode_ )\r
- , extraPrimitiveOverestimationSize( extraPrimitiveOverestimationSize_ )\r
- {\r
- }\r
-\r
- PipelineRasterizationConservativeStateCreateInfoEXT( VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) );\r
- }\r
-\r
- PipelineRasterizationConservativeStateCreateInfoEXT& operator=( VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) );\r
- return *this;\r
- }\r
- PipelineRasterizationConservativeStateCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationConservativeStateCreateInfoEXT& setFlags( PipelineRasterizationConservativeStateCreateFlagsEXT flags_ )\r
- {\r
- flags = flags_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationConservativeStateCreateInfoEXT& setConservativeRasterizationMode( ConservativeRasterizationModeEXT conservativeRasterizationMode_ )\r
- {\r
- conservativeRasterizationMode = conservativeRasterizationMode_;\r
- return *this;\r
- }\r
-\r
- PipelineRasterizationConservativeStateCreateInfoEXT& setExtraPrimitiveOverestimationSize( float extraPrimitiveOverestimationSize_ )\r
- {\r
- extraPrimitiveOverestimationSize = extraPrimitiveOverestimationSize_;\r
- return *this;\r
- }\r
-\r
- operator const VkPipelineRasterizationConservativeStateCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkPipelineRasterizationConservativeStateCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( PipelineRasterizationConservativeStateCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( flags == rhs.flags )\r
- && ( conservativeRasterizationMode == rhs.conservativeRasterizationMode )\r
- && ( extraPrimitiveOverestimationSize == rhs.extraPrimitiveOverestimationSize );\r
- }\r
-\r
- bool operator!=( PipelineRasterizationConservativeStateCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- PipelineRasterizationConservativeStateCreateFlagsEXT flags;\r
- ConservativeRasterizationModeEXT conservativeRasterizationMode;\r
- float extraPrimitiveOverestimationSize;\r
- };\r
- static_assert( sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) == sizeof( VkPipelineRasterizationConservativeStateCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- enum class DescriptorBindingFlagBitsEXT\r
- {\r
- eUpdateAfterBind = VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT,\r
- eUpdateUnusedWhilePending = VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT,\r
- ePartiallyBound = VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT,\r
- eVariableDescriptorCount = VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT\r
- };\r
-\r
- using DescriptorBindingFlagsEXT = Flags<DescriptorBindingFlagBitsEXT, VkDescriptorBindingFlagsEXT>;\r
-\r
- VULKAN_HPP_INLINE DescriptorBindingFlagsEXT operator|( DescriptorBindingFlagBitsEXT bit0, DescriptorBindingFlagBitsEXT bit1 )\r
- {\r
- return DescriptorBindingFlagsEXT( bit0 ) | bit1;\r
- }\r
-\r
- VULKAN_HPP_INLINE DescriptorBindingFlagsEXT operator~( DescriptorBindingFlagBitsEXT bits )\r
- {\r
- return ~( DescriptorBindingFlagsEXT( bits ) );\r
- }\r
-\r
- template <> struct FlagTraits<DescriptorBindingFlagBitsEXT>\r
- {\r
- enum\r
- {\r
- allFlags = VkFlags(DescriptorBindingFlagBitsEXT::eUpdateAfterBind) | VkFlags(DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending) | VkFlags(DescriptorBindingFlagBitsEXT::ePartiallyBound) | VkFlags(DescriptorBindingFlagBitsEXT::eVariableDescriptorCount)\r
- };\r
- };\r
-\r
- struct DescriptorSetLayoutBindingFlagsCreateInfoEXT\r
- {\r
- DescriptorSetLayoutBindingFlagsCreateInfoEXT( uint32_t bindingCount_ = 0, const DescriptorBindingFlagsEXT* pBindingFlags_ = nullptr )\r
- : bindingCount( bindingCount_ )\r
- , pBindingFlags( pBindingFlags_ )\r
- {\r
- }\r
-\r
- DescriptorSetLayoutBindingFlagsCreateInfoEXT( VkDescriptorSetLayoutBindingFlagsCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetLayoutBindingFlagsCreateInfoEXT ) );\r
- }\r
-\r
- DescriptorSetLayoutBindingFlagsCreateInfoEXT& operator=( VkDescriptorSetLayoutBindingFlagsCreateInfoEXT const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DescriptorSetLayoutBindingFlagsCreateInfoEXT ) );\r
- return *this;\r
- }\r
- DescriptorSetLayoutBindingFlagsCreateInfoEXT& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutBindingFlagsCreateInfoEXT& setBindingCount( uint32_t bindingCount_ )\r
- {\r
- bindingCount = bindingCount_;\r
- return *this;\r
- }\r
-\r
- DescriptorSetLayoutBindingFlagsCreateInfoEXT& setPBindingFlags( const DescriptorBindingFlagsEXT* pBindingFlags_ )\r
- {\r
- pBindingFlags = pBindingFlags_;\r
- return *this;\r
- }\r
-\r
- operator const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT&() const\r
- {\r
- return *reinterpret_cast<const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT*>(this);\r
- }\r
-\r
- bool operator==( DescriptorSetLayoutBindingFlagsCreateInfoEXT const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( bindingCount == rhs.bindingCount )\r
- && ( pBindingFlags == rhs.pBindingFlags );\r
- }\r
-\r
- bool operator!=( DescriptorSetLayoutBindingFlagsCreateInfoEXT const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDescriptorSetLayoutBindingFlagsCreateInfoEXT;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t bindingCount;\r
- const DescriptorBindingFlagsEXT* pBindingFlags;\r
- };\r
- static_assert( sizeof( DescriptorSetLayoutBindingFlagsCreateInfoEXT ) == sizeof( VkDescriptorSetLayoutBindingFlagsCreateInfoEXT ), "struct and wrapper have different size!" );\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumerateInstanceVersion( uint32_t* pApiVersion, Dispatch const &d = Dispatch() );\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<uint32_t>::type enumerateInstanceVersion(Dispatch const &d = Dispatch() );\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result enumerateInstanceVersion( uint32_t* pApiVersion, Dispatch const &d)\r
- {\r
- return static_cast<Result>( d.vkEnumerateInstanceVersion( pApiVersion ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<uint32_t>::type enumerateInstanceVersion(Dispatch const &d )\r
- {\r
- uint32_t apiVersion;\r
- Result result = static_cast<Result>( d.vkEnumerateInstanceVersion( &apiVersion ) );\r
- return createResultValue( result, apiVersion, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceVersion" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumerateInstanceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d = Dispatch() );\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<LayerProperties>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<LayerProperties,Allocator>>::type enumerateInstanceLayerProperties(Dispatch const &d = Dispatch() );\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result enumerateInstanceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d)\r
- {\r
- return static_cast<Result>( d.vkEnumerateInstanceLayerProperties( pPropertyCount, reinterpret_cast<VkLayerProperties*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<LayerProperties,Allocator>>::type enumerateInstanceLayerProperties(Dispatch const &d )\r
- {\r
- std::vector<LayerProperties,Allocator> properties;\r
- uint32_t propertyCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkEnumerateInstanceLayerProperties( &propertyCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && propertyCount )\r
- {\r
- properties.resize( propertyCount );\r
- result = static_cast<Result>( d.vkEnumerateInstanceLayerProperties( &propertyCount, reinterpret_cast<VkLayerProperties*>( properties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( propertyCount <= properties.size() );\r
- properties.resize( propertyCount );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceLayerProperties" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d = Dispatch() );\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<ExtensionProperties>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type enumerateInstanceExtensionProperties( Optional<const std::string> layerName = nullptr, Dispatch const &d = Dispatch() );\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result enumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d)\r
- {\r
- return static_cast<Result>( d.vkEnumerateInstanceExtensionProperties( pLayerName, pPropertyCount, reinterpret_cast<VkExtensionProperties*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type enumerateInstanceExtensionProperties( Optional<const std::string> layerName, Dispatch const &d )\r
- {\r
- std::vector<ExtensionProperties,Allocator> properties;\r
- uint32_t propertyCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && propertyCount )\r
- {\r
- properties.resize( propertyCount );\r
- result = static_cast<Result>( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast<VkExtensionProperties*>( properties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( propertyCount <= properties.size() );\r
- properties.resize( propertyCount );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceExtensionProperties" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-\r
- // forward declarations\r
- struct CmdProcessCommandsInfoNVX;\r
-\r
- class CommandBuffer\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR CommandBuffer()\r
- : m_commandBuffer(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR CommandBuffer( std::nullptr_t )\r
- : m_commandBuffer(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT CommandBuffer( VkCommandBuffer commandBuffer )\r
- : m_commandBuffer( commandBuffer )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- CommandBuffer & operator=(VkCommandBuffer commandBuffer)\r
- {\r
- m_commandBuffer = commandBuffer;\r
- return *this; \r
- }\r
-#endif\r
-\r
- CommandBuffer & operator=( std::nullptr_t )\r
- {\r
- m_commandBuffer = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( CommandBuffer const & rhs ) const\r
- {\r
- return m_commandBuffer == rhs.m_commandBuffer;\r
- }\r
-\r
- bool operator!=(CommandBuffer const & rhs ) const\r
- {\r
- return m_commandBuffer != rhs.m_commandBuffer;\r
- }\r
-\r
- bool operator<(CommandBuffer const & rhs ) const\r
- {\r
- return m_commandBuffer < rhs.m_commandBuffer;\r
- }\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result begin( const CommandBufferBeginInfo* pBeginInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type begin( const CommandBufferBeginInfo & beginInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result end(Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type end(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result reset( CommandBufferResetFlags flags, Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type reset( CommandBufferResetFlags flags, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setViewport( uint32_t firstViewport, uint32_t viewportCount, const Viewport* pViewports, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setViewport( uint32_t firstViewport, ArrayProxy<const Viewport> viewports, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setScissor( uint32_t firstScissor, uint32_t scissorCount, const Rect2D* pScissors, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setScissor( uint32_t firstScissor, ArrayProxy<const Rect2D> scissors, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setLineWidth( float lineWidth, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setBlendConstants( const float blendConstants[4], Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, ArrayProxy<const DescriptorSet> descriptorSets, ArrayProxy<const uint32_t> dynamicOffsets, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const Buffer* pBuffers, const DeviceSize* pOffsets, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void bindVertexBuffers( uint32_t firstBinding, ArrayProxy<const Buffer> buffers, ArrayProxy<const DeviceSize> offsets, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyBuffer( Buffer srcBuffer, Buffer dstBuffer, uint32_t regionCount, const BufferCopy* pRegions, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyBuffer( Buffer srcBuffer, Buffer dstBuffer, ArrayProxy<const BufferCopy> regions, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageCopy* pRegions, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageCopy> regions, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageBlit* pRegions, Filter filter, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageBlit> regions, Filter filter, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize dataSize, const void* pData, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename T, typename Dispatch = DispatchLoaderStatic>\r
- void updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, ArrayProxy<const T> data, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue* pColor, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue & color, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue & depthStencil, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void clearAttachments( uint32_t attachmentCount, const ClearAttachment* pAttachments, uint32_t rectCount, const ClearRect* pRects, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void clearAttachments( ArrayProxy<const ClearAttachment> attachments, ArrayProxy<const ClearRect> rects, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageResolve* pRegions, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageResolve> regions, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void waitEvents( uint32_t eventCount, const Event* pEvents, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void waitEvents( ArrayProxy<const Event> events, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void endQuery( QueryPool queryPool, uint32_t query, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Buffer dstBuffer, DeviceSize dstOffset, DeviceSize stride, QueryResultFlags flags, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename T, typename Dispatch = DispatchLoaderStatic>\r
- void pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, ArrayProxy<const T> values, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void beginRenderPass( const RenderPassBeginInfo* pRenderPassBegin, SubpassContents contents, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void beginRenderPass( const RenderPassBeginInfo & renderPassBegin, SubpassContents contents, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void nextSubpass( SubpassContents contents, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void endRenderPass(Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void executeCommands( uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void executeCommands( ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void debugMarkerEndEXT(Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void processCommandsNVX( const CmdProcessCommandsInfoNVX* pProcessCommandsInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void processCommandsNVX( const CmdProcessCommandsInfoNVX & processCommandsInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX & reserveSpaceInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, ArrayProxy<const WriteDescriptorSet> descriptorWrites, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setDeviceMask( uint32_t deviceMask, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setDeviceMaskKHR( uint32_t deviceMask, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, const void* pData, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const ViewportWScalingNV* pViewportWScalings, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setViewportWScalingNV( uint32_t firstViewport, ArrayProxy<const ViewportWScalingNV> viewportWScalings, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const Rect2D* pDiscardRectangles, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy<const Rect2D> discardRectangles, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setSampleLocationsEXT( const SampleLocationsInfoEXT* pSampleLocationsInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void endDebugUtilsLabelEXT(Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const &d = Dispatch() ) const;\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandBuffer() const\r
- {\r
- return m_commandBuffer;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_commandBuffer != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_commandBuffer == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkCommandBuffer m_commandBuffer;\r
- };\r
-\r
- static_assert( sizeof( CommandBuffer ) == sizeof( VkCommandBuffer ), "handle and wrapper have different size!" );\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result CommandBuffer::begin( const CommandBufferBeginInfo* pBeginInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast<const VkCommandBufferBeginInfo*>( pBeginInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type CommandBuffer::begin( const CommandBufferBeginInfo & beginInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast<const VkCommandBufferBeginInfo*>( &beginInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::CommandBuffer::begin" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result CommandBuffer::end(Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkEndCommandBuffer( m_commandBuffer ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type CommandBuffer::end(Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkEndCommandBuffer( m_commandBuffer ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::CommandBuffer::end" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result CommandBuffer::reset( CommandBufferResetFlags flags, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkResetCommandBuffer( m_commandBuffer, static_cast<VkCommandBufferResetFlags>( flags ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type CommandBuffer::reset( CommandBufferResetFlags flags, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkResetCommandBuffer( m_commandBuffer, static_cast<VkCommandBufferResetFlags>( flags ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::CommandBuffer::reset" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const &d) const\r
- {\r
- d.vkCmdBindPipeline( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipeline>( pipeline ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const &d ) const\r
- {\r
- d.vkCmdBindPipeline( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipeline>( pipeline ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, uint32_t viewportCount, const Viewport* pViewports, Dispatch const &d) const\r
- {\r
- d.vkCmdSetViewport( m_commandBuffer, firstViewport, viewportCount, reinterpret_cast<const VkViewport*>( pViewports ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, ArrayProxy<const Viewport> viewports, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetViewport( m_commandBuffer, firstViewport, viewports.size() , reinterpret_cast<const VkViewport*>( viewports.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, uint32_t scissorCount, const Rect2D* pScissors, Dispatch const &d) const\r
- {\r
- d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissorCount, reinterpret_cast<const VkRect2D*>( pScissors ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, ArrayProxy<const Rect2D> scissors, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissors.size() , reinterpret_cast<const VkRect2D*>( scissors.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth, Dispatch const &d) const\r
- {\r
- d.vkCmdSetLineWidth( m_commandBuffer, lineWidth );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetLineWidth( m_commandBuffer, lineWidth );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const &d) const\r
- {\r
- d.vkCmdSetDepthBias( m_commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetDepthBias( m_commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( const float blendConstants[4], Dispatch const &d) const\r
- {\r
- d.vkCmdSetBlendConstants( m_commandBuffer, blendConstants );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( const float blendConstants[4], Dispatch const &d ) const\r
- {\r
- d.vkCmdSetBlendConstants( m_commandBuffer, blendConstants );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const &d) const\r
- {\r
- d.vkCmdSetDepthBounds( m_commandBuffer, minDepthBounds, maxDepthBounds );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetDepthBounds( m_commandBuffer, minDepthBounds, maxDepthBounds );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const &d) const\r
- {\r
- d.vkCmdSetStencilCompareMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), compareMask );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetStencilCompareMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), compareMask );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const &d) const\r
- {\r
- d.vkCmdSetStencilWriteMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), writeMask );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetStencilWriteMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), writeMask );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const &d) const\r
- {\r
- d.vkCmdSetStencilReference( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), reference );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetStencilReference( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), reference );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets, Dispatch const &d) const\r
- {\r
- d.vkCmdBindDescriptorSets( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), firstSet, descriptorSetCount, reinterpret_cast<const VkDescriptorSet*>( pDescriptorSets ), dynamicOffsetCount, pDynamicOffsets );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, ArrayProxy<const DescriptorSet> descriptorSets, ArrayProxy<const uint32_t> dynamicOffsets, Dispatch const &d ) const\r
- {\r
- d.vkCmdBindDescriptorSets( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), firstSet, descriptorSets.size() , reinterpret_cast<const VkDescriptorSet*>( descriptorSets.data() ), dynamicOffsets.size() , dynamicOffsets.data() );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const &d) const\r
- {\r
- d.vkCmdBindIndexBuffer( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkIndexType>( indexType ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const &d ) const\r
- {\r
- d.vkCmdBindIndexBuffer( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkIndexType>( indexType ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const Buffer* pBuffers, const DeviceSize* pOffsets, Dispatch const &d) const\r
- {\r
- d.vkCmdBindVertexBuffers( m_commandBuffer, firstBinding, bindingCount, reinterpret_cast<const VkBuffer*>( pBuffers ), pOffsets );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, ArrayProxy<const Buffer> buffers, ArrayProxy<const DeviceSize> offsets, Dispatch const &d ) const\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( buffers.size() == offsets.size() );\r
-#else\r
- if ( buffers.size() != offsets.size() )\r
- {\r
- throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers: buffers.size() != offsets.size()" );\r
- }\r
-#endif // VULKAN_HPP_NO_EXCEPTIONS\r
- d.vkCmdBindVertexBuffers( m_commandBuffer, firstBinding, buffers.size() , reinterpret_cast<const VkBuffer*>( buffers.data() ), offsets.data() );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const &d) const\r
- {\r
- d.vkCmdDraw( m_commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const &d ) const\r
- {\r
- d.vkCmdDraw( m_commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const &d) const\r
- {\r
- d.vkCmdDrawIndexed( m_commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const &d ) const\r
- {\r
- d.vkCmdDrawIndexed( m_commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d) const\r
- {\r
- d.vkCmdDrawIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d ) const\r
- {\r
- d.vkCmdDrawIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d) const\r
- {\r
- d.vkCmdDrawIndexedIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d ) const\r
- {\r
- d.vkCmdDrawIndexedIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d) const\r
- {\r
- d.vkCmdDispatch( m_commandBuffer, groupCountX, groupCountY, groupCountZ );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d ) const\r
- {\r
- d.vkCmdDispatch( m_commandBuffer, groupCountX, groupCountY, groupCountZ );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const &d) const\r
- {\r
- d.vkCmdDispatchIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const &d ) const\r
- {\r
- d.vkCmdDispatchIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( Buffer srcBuffer, Buffer dstBuffer, uint32_t regionCount, const BufferCopy* pRegions, Dispatch const &d) const\r
- {\r
- d.vkCmdCopyBuffer( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkBuffer>( dstBuffer ), regionCount, reinterpret_cast<const VkBufferCopy*>( pRegions ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( Buffer srcBuffer, Buffer dstBuffer, ArrayProxy<const BufferCopy> regions, Dispatch const &d ) const\r
- {\r
- d.vkCmdCopyBuffer( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkBuffer>( dstBuffer ), regions.size() , reinterpret_cast<const VkBufferCopy*>( regions.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageCopy* pRegions, Dispatch const &d) const\r
- {\r
- d.vkCmdCopyImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageCopy*>( pRegions ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageCopy> regions, Dispatch const &d ) const\r
- {\r
- d.vkCmdCopyImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkImageCopy*>( regions.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageBlit* pRegions, Filter filter, Dispatch const &d) const\r
- {\r
- d.vkCmdBlitImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageBlit*>( pRegions ), static_cast<VkFilter>( filter ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageBlit> regions, Filter filter, Dispatch const &d ) const\r
- {\r
- d.vkCmdBlitImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkImageBlit*>( regions.data() ), static_cast<VkFilter>( filter ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d) const\r
- {\r
- d.vkCmdCopyBufferToImage( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkBufferImageCopy*>( pRegions ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d ) const\r
- {\r
- d.vkCmdCopyBufferToImage( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkBufferImageCopy*>( regions.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d) const\r
- {\r
- d.vkCmdCopyImageToBuffer( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkBuffer>( dstBuffer ), regionCount, reinterpret_cast<const VkBufferImageCopy*>( pRegions ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d ) const\r
- {\r
- d.vkCmdCopyImageToBuffer( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkBuffer>( dstBuffer ), regions.size() , reinterpret_cast<const VkBufferImageCopy*>( regions.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize dataSize, const void* pData, Dispatch const &d) const\r
- {\r
- d.vkCmdUpdateBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, dataSize, pData );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename T, typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, ArrayProxy<const T> data, Dispatch const &d ) const\r
- {\r
- d.vkCmdUpdateBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, data.size() * sizeof( T ) , reinterpret_cast<const void*>( data.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const &d) const\r
- {\r
- d.vkCmdFillBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, size, data );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const &d ) const\r
- {\r
- d.vkCmdFillBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, size, data );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue* pColor, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d) const\r
- {\r
- d.vkCmdClearColorImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearColorValue*>( pColor ), rangeCount, reinterpret_cast<const VkImageSubresourceRange*>( pRanges ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue & color, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d ) const\r
- {\r
- d.vkCmdClearColorImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearColorValue*>( &color ), ranges.size() , reinterpret_cast<const VkImageSubresourceRange*>( ranges.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d) const\r
- {\r
- d.vkCmdClearDepthStencilImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearDepthStencilValue*>( pDepthStencil ), rangeCount, reinterpret_cast<const VkImageSubresourceRange*>( pRanges ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue & depthStencil, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d ) const\r
- {\r
- d.vkCmdClearDepthStencilImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearDepthStencilValue*>( &depthStencil ), ranges.size() , reinterpret_cast<const VkImageSubresourceRange*>( ranges.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( uint32_t attachmentCount, const ClearAttachment* pAttachments, uint32_t rectCount, const ClearRect* pRects, Dispatch const &d) const\r
- {\r
- d.vkCmdClearAttachments( m_commandBuffer, attachmentCount, reinterpret_cast<const VkClearAttachment*>( pAttachments ), rectCount, reinterpret_cast<const VkClearRect*>( pRects ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( ArrayProxy<const ClearAttachment> attachments, ArrayProxy<const ClearRect> rects, Dispatch const &d ) const\r
- {\r
- d.vkCmdClearAttachments( m_commandBuffer, attachments.size() , reinterpret_cast<const VkClearAttachment*>( attachments.data() ), rects.size() , reinterpret_cast<const VkClearRect*>( rects.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageResolve* pRegions, Dispatch const &d) const\r
- {\r
- d.vkCmdResolveImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageResolve*>( pRegions ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageResolve> regions, Dispatch const &d ) const\r
- {\r
- d.vkCmdResolveImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkImageResolve*>( regions.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d) const\r
- {\r
- d.vkCmdSetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d) const\r
- {\r
- d.vkCmdResetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d ) const\r
- {\r
- d.vkCmdResetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::waitEvents( uint32_t eventCount, const Event* pEvents, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d) const\r
- {\r
- d.vkCmdWaitEvents( m_commandBuffer, eventCount, reinterpret_cast<const VkEvent*>( pEvents ), static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), memoryBarrierCount, reinterpret_cast<const VkMemoryBarrier*>( pMemoryBarriers ), bufferMemoryBarrierCount, reinterpret_cast<const VkBufferMemoryBarrier*>( pBufferMemoryBarriers ), imageMemoryBarrierCount, reinterpret_cast<const VkImageMemoryBarrier*>( pImageMemoryBarriers ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::waitEvents( ArrayProxy<const Event> events, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d ) const\r
- {\r
- d.vkCmdWaitEvents( m_commandBuffer, events.size() , reinterpret_cast<const VkEvent*>( events.data() ), static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), memoryBarriers.size() , reinterpret_cast<const VkMemoryBarrier*>( memoryBarriers.data() ), bufferMemoryBarriers.size() , reinterpret_cast<const VkBufferMemoryBarrier*>( bufferMemoryBarriers.data() ), imageMemoryBarriers.size() , reinterpret_cast<const VkImageMemoryBarrier*>( imageMemoryBarriers.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d) const\r
- {\r
- d.vkCmdPipelineBarrier( m_commandBuffer, static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), static_cast<VkDependencyFlags>( dependencyFlags ), memoryBarrierCount, reinterpret_cast<const VkMemoryBarrier*>( pMemoryBarriers ), bufferMemoryBarrierCount, reinterpret_cast<const VkBufferMemoryBarrier*>( pBufferMemoryBarriers ), imageMemoryBarrierCount, reinterpret_cast<const VkImageMemoryBarrier*>( pImageMemoryBarriers ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d ) const\r
- {\r
- d.vkCmdPipelineBarrier( m_commandBuffer, static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), static_cast<VkDependencyFlags>( dependencyFlags ), memoryBarriers.size() , reinterpret_cast<const VkMemoryBarrier*>( memoryBarriers.data() ), bufferMemoryBarriers.size() , reinterpret_cast<const VkBufferMemoryBarrier*>( bufferMemoryBarriers.data() ), imageMemoryBarriers.size() , reinterpret_cast<const VkImageMemoryBarrier*>( imageMemoryBarriers.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const &d) const\r
- {\r
- d.vkCmdBeginQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query, static_cast<VkQueryControlFlags>( flags ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const &d ) const\r
- {\r
- d.vkCmdBeginQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query, static_cast<VkQueryControlFlags>( flags ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::endQuery( QueryPool queryPool, uint32_t query, Dispatch const &d) const\r
- {\r
- d.vkCmdEndQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::endQuery( QueryPool queryPool, uint32_t query, Dispatch const &d ) const\r
- {\r
- d.vkCmdEndQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const &d) const\r
- {\r
- d.vkCmdResetQueryPool( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const &d ) const\r
- {\r
- d.vkCmdResetQueryPool( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const &d) const\r
- {\r
- d.vkCmdWriteTimestamp( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkQueryPool>( queryPool ), query );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const &d ) const\r
- {\r
- d.vkCmdWriteTimestamp( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkQueryPool>( queryPool ), query );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Buffer dstBuffer, DeviceSize dstOffset, DeviceSize stride, QueryResultFlags flags, Dispatch const &d) const\r
- {\r
- d.vkCmdCopyQueryPoolResults( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, static_cast<VkBuffer>( dstBuffer ), dstOffset, stride, static_cast<VkQueryResultFlags>( flags ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Buffer dstBuffer, DeviceSize dstOffset, DeviceSize stride, QueryResultFlags flags, Dispatch const &d ) const\r
- {\r
- d.vkCmdCopyQueryPoolResults( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, static_cast<VkBuffer>( dstBuffer ), dstOffset, stride, static_cast<VkQueryResultFlags>( flags ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues, Dispatch const &d) const\r
- {\r
- d.vkCmdPushConstants( m_commandBuffer, static_cast<VkPipelineLayout>( layout ), static_cast<VkShaderStageFlags>( stageFlags ), offset, size, pValues );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename T, typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, ArrayProxy<const T> values, Dispatch const &d ) const\r
- {\r
- d.vkCmdPushConstants( m_commandBuffer, static_cast<VkPipelineLayout>( layout ), static_cast<VkShaderStageFlags>( stageFlags ), offset, values.size() * sizeof( T ) , reinterpret_cast<const void*>( values.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const RenderPassBeginInfo* pRenderPassBegin, SubpassContents contents, Dispatch const &d) const\r
- {\r
- d.vkCmdBeginRenderPass( m_commandBuffer, reinterpret_cast<const VkRenderPassBeginInfo*>( pRenderPassBegin ), static_cast<VkSubpassContents>( contents ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const RenderPassBeginInfo & renderPassBegin, SubpassContents contents, Dispatch const &d ) const\r
- {\r
- d.vkCmdBeginRenderPass( m_commandBuffer, reinterpret_cast<const VkRenderPassBeginInfo*>( &renderPassBegin ), static_cast<VkSubpassContents>( contents ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( SubpassContents contents, Dispatch const &d) const\r
- {\r
- d.vkCmdNextSubpass( m_commandBuffer, static_cast<VkSubpassContents>( contents ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( SubpassContents contents, Dispatch const &d ) const\r
- {\r
- d.vkCmdNextSubpass( m_commandBuffer, static_cast<VkSubpassContents>( contents ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::endRenderPass(Dispatch const &d) const\r
- {\r
- d.vkCmdEndRenderPass( m_commandBuffer );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::endRenderPass(Dispatch const &d ) const\r
- {\r
- d.vkCmdEndRenderPass( m_commandBuffer );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::executeCommands( uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d) const\r
- {\r
- d.vkCmdExecuteCommands( m_commandBuffer, commandBufferCount, reinterpret_cast<const VkCommandBuffer*>( pCommandBuffers ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::executeCommands( ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d ) const\r
- {\r
- d.vkCmdExecuteCommands( m_commandBuffer, commandBuffers.size() , reinterpret_cast<const VkCommandBuffer*>( commandBuffers.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d) const\r
- {\r
- d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( pMarkerInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d ) const\r
- {\r
- d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( &markerInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT(Dispatch const &d) const\r
- {\r
- d.vkCmdDebugMarkerEndEXT( m_commandBuffer );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT(Dispatch const &d ) const\r
- {\r
- d.vkCmdDebugMarkerEndEXT( m_commandBuffer );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d) const\r
- {\r
- d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( pMarkerInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d ) const\r
- {\r
- d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( &markerInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d) const\r
- {\r
- d.vkCmdDrawIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d ) const\r
- {\r
- d.vkCmdDrawIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d) const\r
- {\r
- d.vkCmdDrawIndexedIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d ) const\r
- {\r
- d.vkCmdDrawIndexedIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::processCommandsNVX( const CmdProcessCommandsInfoNVX* pProcessCommandsInfo, Dispatch const &d) const\r
- {\r
- d.vkCmdProcessCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdProcessCommandsInfoNVX*>( pProcessCommandsInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::processCommandsNVX( const CmdProcessCommandsInfoNVX & processCommandsInfo, Dispatch const &d ) const\r
- {\r
- d.vkCmdProcessCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdProcessCommandsInfoNVX*>( &processCommandsInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo, Dispatch const &d) const\r
- {\r
- d.vkCmdReserveSpaceForCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdReserveSpaceForCommandsInfoNVX*>( pReserveSpaceInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX & reserveSpaceInfo, Dispatch const &d ) const\r
- {\r
- d.vkCmdReserveSpaceForCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdReserveSpaceForCommandsInfoNVX*>( &reserveSpaceInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, Dispatch const &d) const\r
- {\r
- d.vkCmdPushDescriptorSetKHR( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), set, descriptorWriteCount, reinterpret_cast<const VkWriteDescriptorSet*>( pDescriptorWrites ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, ArrayProxy<const WriteDescriptorSet> descriptorWrites, Dispatch const &d ) const\r
- {\r
- d.vkCmdPushDescriptorSetKHR( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), set, descriptorWrites.size() , reinterpret_cast<const VkWriteDescriptorSet*>( descriptorWrites.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask, Dispatch const &d) const\r
- {\r
- d.vkCmdSetDeviceMask( m_commandBuffer, deviceMask );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetDeviceMask( m_commandBuffer, deviceMask );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask, Dispatch const &d) const\r
- {\r
- d.vkCmdSetDeviceMaskKHR( m_commandBuffer, deviceMask );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetDeviceMaskKHR( m_commandBuffer, deviceMask );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d) const\r
- {\r
- d.vkCmdDispatchBase( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d ) const\r
- {\r
- d.vkCmdDispatchBase( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d) const\r
- {\r
- d.vkCmdDispatchBaseKHR( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d ) const\r
- {\r
- d.vkCmdDispatchBaseKHR( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, const void* pData, Dispatch const &d) const\r
- {\r
- d.vkCmdPushDescriptorSetWithTemplateKHR( m_commandBuffer, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), static_cast<VkPipelineLayout>( layout ), set, pData );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, const void* pData, Dispatch const &d ) const\r
- {\r
- d.vkCmdPushDescriptorSetWithTemplateKHR( m_commandBuffer, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), static_cast<VkPipelineLayout>( layout ), set, pData );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const ViewportWScalingNV* pViewportWScalings, Dispatch const &d) const\r
- {\r
- d.vkCmdSetViewportWScalingNV( m_commandBuffer, firstViewport, viewportCount, reinterpret_cast<const VkViewportWScalingNV*>( pViewportWScalings ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, ArrayProxy<const ViewportWScalingNV> viewportWScalings, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetViewportWScalingNV( m_commandBuffer, firstViewport, viewportWScalings.size() , reinterpret_cast<const VkViewportWScalingNV*>( viewportWScalings.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const Rect2D* pDiscardRectangles, Dispatch const &d) const\r
- {\r
- d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, firstDiscardRectangle, discardRectangleCount, reinterpret_cast<const VkRect2D*>( pDiscardRectangles ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy<const Rect2D> discardRectangles, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, firstDiscardRectangle, discardRectangles.size() , reinterpret_cast<const VkRect2D*>( discardRectangles.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const SampleLocationsInfoEXT* pSampleLocationsInfo, Dispatch const &d) const\r
- {\r
- d.vkCmdSetSampleLocationsEXT( m_commandBuffer, reinterpret_cast<const VkSampleLocationsInfoEXT*>( pSampleLocationsInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, Dispatch const &d ) const\r
- {\r
- d.vkCmdSetSampleLocationsEXT( m_commandBuffer, reinterpret_cast<const VkSampleLocationsInfoEXT*>( &sampleLocationsInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const\r
- {\r
- d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const\r
- {\r
- d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT(Dispatch const &d) const\r
- {\r
- d.vkCmdEndDebugUtilsLabelEXT( m_commandBuffer );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT(Dispatch const &d ) const\r
- {\r
- d.vkCmdEndDebugUtilsLabelEXT( m_commandBuffer );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const\r
- {\r
- d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const\r
- {\r
- d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const &d) const\r
- {\r
- d.vkCmdWriteBufferMarkerAMD( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkBuffer>( dstBuffer ), dstOffset, marker );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const &d ) const\r
- {\r
- d.vkCmdWriteBufferMarkerAMD( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkBuffer>( dstBuffer ), dstOffset, marker );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- struct SubmitInfo\r
- {\r
- SubmitInfo( uint32_t waitSemaphoreCount_ = 0, const Semaphore* pWaitSemaphores_ = nullptr, const PipelineStageFlags* pWaitDstStageMask_ = nullptr, uint32_t commandBufferCount_ = 0, const CommandBuffer* pCommandBuffers_ = nullptr, uint32_t signalSemaphoreCount_ = 0, const Semaphore* pSignalSemaphores_ = nullptr )\r
- : waitSemaphoreCount( waitSemaphoreCount_ )\r
- , pWaitSemaphores( pWaitSemaphores_ )\r
- , pWaitDstStageMask( pWaitDstStageMask_ )\r
- , commandBufferCount( commandBufferCount_ )\r
- , pCommandBuffers( pCommandBuffers_ )\r
- , signalSemaphoreCount( signalSemaphoreCount_ )\r
- , pSignalSemaphores( pSignalSemaphores_ )\r
- {\r
- }\r
-\r
- SubmitInfo( VkSubmitInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubmitInfo ) );\r
- }\r
-\r
- SubmitInfo& operator=( VkSubmitInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( SubmitInfo ) );\r
- return *this;\r
- }\r
- SubmitInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- SubmitInfo& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )\r
- {\r
- waitSemaphoreCount = waitSemaphoreCount_;\r
- return *this;\r
- }\r
-\r
- SubmitInfo& setPWaitSemaphores( const Semaphore* pWaitSemaphores_ )\r
- {\r
- pWaitSemaphores = pWaitSemaphores_;\r
- return *this;\r
- }\r
-\r
- SubmitInfo& setPWaitDstStageMask( const PipelineStageFlags* pWaitDstStageMask_ )\r
- {\r
- pWaitDstStageMask = pWaitDstStageMask_;\r
- return *this;\r
- }\r
-\r
- SubmitInfo& setCommandBufferCount( uint32_t commandBufferCount_ )\r
- {\r
- commandBufferCount = commandBufferCount_;\r
- return *this;\r
- }\r
-\r
- SubmitInfo& setPCommandBuffers( const CommandBuffer* pCommandBuffers_ )\r
- {\r
- pCommandBuffers = pCommandBuffers_;\r
- return *this;\r
- }\r
-\r
- SubmitInfo& setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ )\r
- {\r
- signalSemaphoreCount = signalSemaphoreCount_;\r
- return *this;\r
- }\r
-\r
- SubmitInfo& setPSignalSemaphores( const Semaphore* pSignalSemaphores_ )\r
- {\r
- pSignalSemaphores = pSignalSemaphores_;\r
- return *this;\r
- }\r
-\r
- operator const VkSubmitInfo&() const\r
- {\r
- return *reinterpret_cast<const VkSubmitInfo*>(this);\r
- }\r
-\r
- bool operator==( SubmitInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( waitSemaphoreCount == rhs.waitSemaphoreCount )\r
- && ( pWaitSemaphores == rhs.pWaitSemaphores )\r
- && ( pWaitDstStageMask == rhs.pWaitDstStageMask )\r
- && ( commandBufferCount == rhs.commandBufferCount )\r
- && ( pCommandBuffers == rhs.pCommandBuffers )\r
- && ( signalSemaphoreCount == rhs.signalSemaphoreCount )\r
- && ( pSignalSemaphores == rhs.pSignalSemaphores );\r
- }\r
-\r
- bool operator!=( SubmitInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eSubmitInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t waitSemaphoreCount;\r
- const Semaphore* pWaitSemaphores;\r
- const PipelineStageFlags* pWaitDstStageMask;\r
- uint32_t commandBufferCount;\r
- const CommandBuffer* pCommandBuffers;\r
- uint32_t signalSemaphoreCount;\r
- const Semaphore* pSignalSemaphores;\r
- };\r
- static_assert( sizeof( SubmitInfo ) == sizeof( VkSubmitInfo ), "struct and wrapper have different size!" );\r
-\r
- class Queue\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Queue()\r
- : m_queue(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Queue( std::nullptr_t )\r
- : m_queue(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Queue( VkQueue queue )\r
- : m_queue( queue )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Queue & operator=(VkQueue queue)\r
- {\r
- m_queue = queue;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Queue & operator=( std::nullptr_t )\r
- {\r
- m_queue = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Queue const & rhs ) const\r
- {\r
- return m_queue == rhs.m_queue;\r
- }\r
-\r
- bool operator!=(Queue const & rhs ) const\r
- {\r
- return m_queue != rhs.m_queue;\r
- }\r
-\r
- bool operator<(Queue const & rhs ) const\r
- {\r
- return m_queue < rhs.m_queue;\r
- }\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result submit( uint32_t submitCount, const SubmitInfo* pSubmits, Fence fence, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type submit( ArrayProxy<const SubmitInfo> submits, Fence fence, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result waitIdle(Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type waitIdle(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result bindSparse( uint32_t bindInfoCount, const BindSparseInfo* pBindInfo, Fence fence, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type bindSparse( ArrayProxy<const BindSparseInfo> bindInfo, Fence fence, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result presentKHR( const PresentInfoKHR* pPresentInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result presentKHR( const PresentInfoKHR & presentInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void endDebugUtilsLabelEXT(Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueue() const\r
- {\r
- return m_queue;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_queue != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_queue == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkQueue m_queue;\r
- };\r
-\r
- static_assert( sizeof( Queue ) == sizeof( VkQueue ), "handle and wrapper have different size!" );\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Queue::submit( uint32_t submitCount, const SubmitInfo* pSubmits, Fence fence, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkQueueSubmit( m_queue, submitCount, reinterpret_cast<const VkSubmitInfo*>( pSubmits ), static_cast<VkFence>( fence ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Queue::submit( ArrayProxy<const SubmitInfo> submits, Fence fence, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkQueueSubmit( m_queue, submits.size() , reinterpret_cast<const VkSubmitInfo*>( submits.data() ), static_cast<VkFence>( fence ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::submit" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Queue::waitIdle(Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkQueueWaitIdle( m_queue ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Queue::waitIdle(Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkQueueWaitIdle( m_queue ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::waitIdle" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Queue::bindSparse( uint32_t bindInfoCount, const BindSparseInfo* pBindInfo, Fence fence, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkQueueBindSparse( m_queue, bindInfoCount, reinterpret_cast<const VkBindSparseInfo*>( pBindInfo ), static_cast<VkFence>( fence ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Queue::bindSparse( ArrayProxy<const BindSparseInfo> bindInfo, Fence fence, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkQueueBindSparse( m_queue, bindInfo.size() , reinterpret_cast<const VkBindSparseInfo*>( bindInfo.data() ), static_cast<VkFence>( fence ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::bindSparse" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Queue::presentKHR( const PresentInfoKHR* pPresentInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkQueuePresentKHR( m_queue, reinterpret_cast<const VkPresentInfoKHR*>( pPresentInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Queue::presentKHR( const PresentInfoKHR & presentInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkQueuePresentKHR( m_queue, reinterpret_cast<const VkPresentInfoKHR*>( &presentInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::presentKHR", { Result::eSuccess, Result::eSuboptimalKHR } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const\r
- {\r
- d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const\r
- {\r
- d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT(Dispatch const &d) const\r
- {\r
- d.vkQueueEndDebugUtilsLabelEXT( m_queue );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT(Dispatch const &d ) const\r
- {\r
- d.vkQueueEndDebugUtilsLabelEXT( m_queue );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const\r
- {\r
- d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const\r
- {\r
- d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- class Device;\r
-\r
- template <> class UniqueHandleTraits<Buffer> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueBuffer = UniqueHandle<Buffer>;\r
- template <> class UniqueHandleTraits<BufferView> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueBufferView = UniqueHandle<BufferView>;\r
- template <> class UniqueHandleTraits<CommandBuffer> {public: using deleter = PoolFree<Device, CommandPool>; };\r
- using UniqueCommandBuffer = UniqueHandle<CommandBuffer>;\r
- template <> class UniqueHandleTraits<CommandPool> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueCommandPool = UniqueHandle<CommandPool>;\r
- template <> class UniqueHandleTraits<DescriptorPool> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueDescriptorPool = UniqueHandle<DescriptorPool>;\r
- template <> class UniqueHandleTraits<DescriptorSet> {public: using deleter = PoolFree<Device, DescriptorPool>; };\r
- using UniqueDescriptorSet = UniqueHandle<DescriptorSet>;\r
- template <> class UniqueHandleTraits<DescriptorSetLayout> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueDescriptorSetLayout = UniqueHandle<DescriptorSetLayout>;\r
- template <> class UniqueHandleTraits<DescriptorUpdateTemplate> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueDescriptorUpdateTemplate = UniqueHandle<DescriptorUpdateTemplate>;\r
- template <> class UniqueHandleTraits<DeviceMemory> {public: using deleter = ObjectFree<Device>; };\r
- using UniqueDeviceMemory = UniqueHandle<DeviceMemory>;\r
- template <> class UniqueHandleTraits<Event> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueEvent = UniqueHandle<Event>;\r
- template <> class UniqueHandleTraits<Fence> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueFence = UniqueHandle<Fence>;\r
- template <> class UniqueHandleTraits<Framebuffer> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueFramebuffer = UniqueHandle<Framebuffer>;\r
- template <> class UniqueHandleTraits<Image> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueImage = UniqueHandle<Image>;\r
- template <> class UniqueHandleTraits<ImageView> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueImageView = UniqueHandle<ImageView>;\r
- template <> class UniqueHandleTraits<IndirectCommandsLayoutNVX> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueIndirectCommandsLayoutNVX = UniqueHandle<IndirectCommandsLayoutNVX>;\r
- template <> class UniqueHandleTraits<ObjectTableNVX> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueObjectTableNVX = UniqueHandle<ObjectTableNVX>;\r
- template <> class UniqueHandleTraits<Pipeline> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniquePipeline = UniqueHandle<Pipeline>;\r
- template <> class UniqueHandleTraits<PipelineCache> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniquePipelineCache = UniqueHandle<PipelineCache>;\r
- template <> class UniqueHandleTraits<PipelineLayout> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniquePipelineLayout = UniqueHandle<PipelineLayout>;\r
- template <> class UniqueHandleTraits<QueryPool> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueQueryPool = UniqueHandle<QueryPool>;\r
- template <> class UniqueHandleTraits<RenderPass> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueRenderPass = UniqueHandle<RenderPass>;\r
- template <> class UniqueHandleTraits<Sampler> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueSampler = UniqueHandle<Sampler>;\r
- template <> class UniqueHandleTraits<SamplerYcbcrConversion> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueSamplerYcbcrConversion = UniqueHandle<SamplerYcbcrConversion>;\r
- template <> class UniqueHandleTraits<Semaphore> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueSemaphore = UniqueHandle<Semaphore>;\r
- template <> class UniqueHandleTraits<ShaderModule> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueShaderModule = UniqueHandle<ShaderModule>;\r
- template <> class UniqueHandleTraits<SwapchainKHR> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueSwapchainKHR = UniqueHandle<SwapchainKHR>;\r
- template <> class UniqueHandleTraits<ValidationCacheEXT> {public: using deleter = ObjectDestroy<Device>; };\r
- using UniqueValidationCacheEXT = UniqueHandle<ValidationCacheEXT>;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-\r
- class Device\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Device()\r
- : m_device(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Device( std::nullptr_t )\r
- : m_device(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Device( VkDevice device )\r
- : m_device( device )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Device & operator=(VkDevice device)\r
- {\r
- m_device = device;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Device & operator=( std::nullptr_t )\r
- {\r
- m_device = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Device const & rhs ) const\r
- {\r
- return m_device == rhs.m_device;\r
- }\r
-\r
- bool operator!=(Device const & rhs ) const\r
- {\r
- return m_device != rhs.m_device;\r
- }\r
-\r
- bool operator<(Device const & rhs ) const\r
- {\r
- return m_device < rhs.m_device;\r
- }\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PFN_vkVoidFunction getProcAddr( const char* pName, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PFN_vkVoidFunction getProcAddr( const std::string & name, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Queue* pQueue, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Queue getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result waitIdle(Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type waitIdle(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result allocateMemory( const MemoryAllocateInfo* pAllocateInfo, const AllocationCallbacks* pAllocator, DeviceMemory* pMemory, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DeviceMemory>::type allocateMemory( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDeviceMemory>::type allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void freeMemory( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void freeMemory( DeviceMemory memory, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void free( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void free( DeviceMemory memory, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, void** ppData, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void*>::type mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags = MemoryMapFlags(), Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void unmapMemory( DeviceMemory memory, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result flushMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type flushMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result invalidateMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type invalidateMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getMemoryCommitment( DeviceMemory memory, DeviceSize* pCommittedMemoryInBytes, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- DeviceSize getMemoryCommitment( DeviceMemory memory, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getBufferMemoryRequirements( Buffer buffer, MemoryRequirements* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- MemoryRequirements getBufferMemoryRequirements( Buffer buffer, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getImageMemoryRequirements( Image image, MemoryRequirements* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- MemoryRequirements getImageMemoryRequirements( Image image, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getImageSparseMemoryRequirements( Image image, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements* pSparseMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SparseImageMemoryRequirements>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<SparseImageMemoryRequirements,Allocator> getImageSparseMemoryRequirements( Image image, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createFence( const FenceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Fence>::type createFence( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueFence>::type createFenceUnique( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyFence( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyFence( Fence fence, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Fence fence, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result resetFences( uint32_t fenceCount, const Fence* pFences, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type resetFences( ArrayProxy<const Fence> fences, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getFenceStatus( Fence fence, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result waitForFences( uint32_t fenceCount, const Fence* pFences, Bool32 waitAll, uint64_t timeout, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result waitForFences( ArrayProxy<const Fence> fences, Bool32 waitAll, uint64_t timeout, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createSemaphore( const SemaphoreCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Semaphore* pSemaphore, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Semaphore>::type createSemaphore( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSemaphore>::type createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySemaphore( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySemaphore( Semaphore semaphore, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Semaphore semaphore, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createEvent( const EventCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Event* pEvent, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Event>::type createEvent( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueEvent>::type createEventUnique( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyEvent( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyEvent( Event event, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Event event, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getEventStatus( Event event, Dispatch const &d = Dispatch() ) const;\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result setEvent( Event event, Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type setEvent( Event event, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result resetEvent( Event event, Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type resetEvent( Event event, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createQueryPool( const QueryPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, QueryPool* pQueryPool, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<QueryPool>::type createQueryPool( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueQueryPool>::type createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyQueryPool( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyQueryPool( QueryPool queryPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( QueryPool queryPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, DeviceSize stride, QueryResultFlags flags, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename T, typename Dispatch = DispatchLoaderStatic>\r
- Result getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, ArrayProxy<T> data, DeviceSize stride, QueryResultFlags flags, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createBuffer( const BufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Buffer* pBuffer, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Buffer>::type createBuffer( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueBuffer>::type createBufferUnique( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyBuffer( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyBuffer( Buffer buffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Buffer buffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createBufferView( const BufferViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, BufferView* pView, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<BufferView>::type createBufferView( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueBufferView>::type createBufferViewUnique( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyBufferView( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyBufferView( BufferView bufferView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( BufferView bufferView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createImage( const ImageCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Image* pImage, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Image>::type createImage( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueImage>::type createImageUnique( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyImage( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyImage( Image image, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Image image, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getImageSubresourceLayout( Image image, const ImageSubresource* pSubresource, SubresourceLayout* pLayout, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- SubresourceLayout getImageSubresourceLayout( Image image, const ImageSubresource & subresource, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createImageView( const ImageViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ImageView* pView, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ImageView>::type createImageView( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueImageView>::type createImageViewUnique( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyImageView( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyImageView( ImageView imageView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ImageView imageView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createShaderModule( const ShaderModuleCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ShaderModule* pShaderModule, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ShaderModule>::type createShaderModule( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueShaderModule>::type createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyShaderModule( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyShaderModule( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createPipelineCache( const PipelineCacheCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineCache* pPipelineCache, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<PipelineCache>::type createPipelineCache( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniquePipelineCache>::type createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyPipelineCache( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyPipelineCache( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getPipelineCacheData( PipelineCache pipelineCache, size_t* pDataSize, void* pData, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<uint8_t>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<uint8_t,Allocator>>::type getPipelineCacheData( PipelineCache pipelineCache, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result mergePipelineCaches( PipelineCache dstCache, uint32_t srcCacheCount, const PipelineCache* pSrcCaches, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type mergePipelineCaches( PipelineCache dstCache, ArrayProxy<const PipelineCache> srcCaches, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createGraphicsPipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const GraphicsPipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<Pipeline,Allocator>>::type createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
- template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic> \r
- ResultValueType<Pipeline>::type createGraphicsPipeline( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
- template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic> \r
- ResultValueType<UniquePipeline>::type createGraphicsPipelineUnique( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createComputePipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const ComputePipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<Pipeline,Allocator>>::type createComputePipelines( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
- template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic> \r
- ResultValueType<Pipeline>::type createComputePipeline( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
- template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic> \r
- ResultValueType<UniquePipeline>::type createComputePipelineUnique( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyPipeline( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyPipeline( Pipeline pipeline, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Pipeline pipeline, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createPipelineLayout( const PipelineLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineLayout* pPipelineLayout, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<PipelineLayout>::type createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniquePipelineLayout>::type createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyPipelineLayout( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyPipelineLayout( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createSampler( const SamplerCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Sampler* pSampler, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Sampler>::type createSampler( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSampler>::type createSamplerUnique( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySampler( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySampler( Sampler sampler, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Sampler sampler, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorSetLayout* pSetLayout, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DescriptorSetLayout>::type createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDescriptorSetLayout>::type createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDescriptorPool( const DescriptorPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorPool* pDescriptorPool, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DescriptorPool>::type createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDescriptorPool>::type createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorPool( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorPool( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags = DescriptorPoolResetFlags(), Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags = DescriptorPoolResetFlags(), Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result allocateDescriptorSets( const DescriptorSetAllocateInfo* pAllocateInfo, DescriptorSet* pDescriptorSets, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<DescriptorSet>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<DescriptorSet,Allocator>>::type allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator = std::allocator<UniqueDescriptorSet>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<UniqueDescriptorSet,Allocator>>::type allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result freeDescriptorSets( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type freeDescriptorSets( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result free( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type free( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void updateDescriptorSets( uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const CopyDescriptorSet* pDescriptorCopies, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void updateDescriptorSets( ArrayProxy<const WriteDescriptorSet> descriptorWrites, ArrayProxy<const CopyDescriptorSet> descriptorCopies, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createFramebuffer( const FramebufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Framebuffer* pFramebuffer, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Framebuffer>::type createFramebuffer( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueFramebuffer>::type createFramebufferUnique( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyFramebuffer( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyFramebuffer( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createRenderPass( const RenderPassCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, RenderPass* pRenderPass, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<RenderPass>::type createRenderPass( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueRenderPass>::type createRenderPassUnique( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyRenderPass( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyRenderPass( RenderPass renderPass, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( RenderPass renderPass, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getRenderAreaGranularity( RenderPass renderPass, Extent2D* pGranularity, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Extent2D getRenderAreaGranularity( RenderPass renderPass, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createCommandPool( const CommandPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, CommandPool* pCommandPool, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<CommandPool>::type createCommandPool( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueCommandPool>::type createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyCommandPool( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyCommandPool( CommandPool commandPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( CommandPool commandPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result allocateCommandBuffers( const CommandBufferAllocateInfo* pAllocateInfo, CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<CommandBuffer>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<CommandBuffer,Allocator>>::type allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator = std::allocator<UniqueCommandBuffer>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<UniqueCommandBuffer,Allocator>>::type allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void freeCommandBuffers( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void freeCommandBuffers( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void free( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void free( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createSharedSwapchainsKHR( uint32_t swapchainCount, const SwapchainCreateInfoKHR* pCreateInfos, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchains, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SwapchainKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<SwapchainKHR,Allocator>>::type createSharedSwapchainsKHR( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
- template <typename Allocator = std::allocator<SwapchainKHR>, typename Dispatch = DispatchLoaderStatic> \r
- ResultValueType<SwapchainKHR>::type createSharedSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator = std::allocator<UniqueSwapchainKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<UniqueSwapchainKHR,Allocator>>::type createSharedSwapchainsKHRUnique( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
- template <typename Allocator = std::allocator<UniqueSwapchainKHR>, typename Dispatch = DispatchLoaderStatic> \r
- ResultValueType<UniqueSwapchainKHR>::type createSharedSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createSwapchainKHR( const SwapchainCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchain, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SwapchainKHR>::type createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSwapchainKHR>::type createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySwapchainKHR( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySwapchainKHR( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSwapchainImagesKHR( SwapchainKHR swapchain, uint32_t* pSwapchainImageCount, Image* pSwapchainImages, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<Image>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<Image,Allocator>>::type getSwapchainImagesKHR( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, uint32_t* pImageIndex, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValue<uint32_t> acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT* pNameInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT* pTagInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<HANDLE>::type getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, IndirectCommandsLayoutNVX* pIndirectCommandsLayout, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<IndirectCommandsLayoutNVX>::type createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueIndirectCommandsLayoutNVX>::type createIndirectCommandsLayoutNVXUnique( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createObjectTableNVX( const ObjectTableCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, ObjectTableNVX* pObjectTable, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ObjectTableNVX>::type createObjectTableNVX( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueObjectTableNVX>::type createObjectTableNVXUnique( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyObjectTableNVX( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyObjectTableNVX( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result registerObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectTableEntryNVX* const* ppObjectTableEntries, const uint32_t* pObjectIndices, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type registerObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectTableEntryNVX* const> pObjectTableEntries, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result unregisterObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectEntryTypeNVX* pObjectEntryTypes, const uint32_t* pObjectIndices, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type unregisterObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectEntryTypeNVX> objectEntryTypes, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags = CommandPoolTrimFlags(), Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags = CommandPoolTrimFlags(), Dispatch const &d = Dispatch() ) const;\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<HANDLE>::type getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<MemoryWin32HandlePropertiesKHR>::type getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getMemoryFdKHR( const MemoryGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<int>::type getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, MemoryFdPropertiesKHR* pMemoryFdProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<MemoryFdPropertiesKHR>::type getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<HANDLE>::type getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<int>::type getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<HANDLE>::type getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getFenceFdKHR( const FenceGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<int>::type getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result importFenceFdKHR( const ImportFenceFdInfoKHR* pImportFenceFdInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT* pDisplayPowerInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT & displayPowerInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result registerEventEXT( const DeviceEventInfoEXT* pDeviceEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Fence>::type registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT* pDisplayEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Fence>::type registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<uint64_t>::type getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PeerMemoryFeatureFlags getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PeerMemoryFeatureFlags getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result bindBufferMemory2( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type bindBufferMemory2( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result bindBufferMemory2KHR( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type bindBufferMemory2KHR( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result bindImageMemory2( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type bindImageMemory2( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result bindImageMemory2KHR( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type bindImageMemory2KHR( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DeviceGroupPresentCapabilitiesKHR>::type getGroupPresentCapabilitiesKHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getGroupSurfacePresentModesKHR( SurfaceKHR surface, DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DeviceGroupPresentModeFlagsKHR>::type getGroupSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result acquireNextImage2KHR( const AcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValue<uint32_t> acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DescriptorUpdateTemplate>::type createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDescriptorUpdateTemplate>::type createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DescriptorUpdateTemplate>::type createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDescriptorUpdateTemplate>::type createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setHdrMetadataEXT( uint32_t swapchainCount, const SwapchainKHR* pSwapchains, const HdrMetadataEXT* pMetadata, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void setHdrMetadataEXT( ArrayProxy<const SwapchainKHR> swapchains, ArrayProxy<const HdrMetadataEXT> metadata, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, RefreshCycleDurationGOOGLE* pDisplayTimingProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<RefreshCycleDurationGOOGLE>::type getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, uint32_t* pPresentationTimingCount, PastPresentationTimingGOOGLE* pPresentationTimings, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<PastPresentationTimingGOOGLE>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<PastPresentationTimingGOOGLE,Allocator>>::type getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- MemoryRequirements2 getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- MemoryRequirements2 getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- MemoryRequirements2 getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- MemoryRequirements2 getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SparseImageMemoryRequirements2>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<SparseImageMemoryRequirements2,Allocator> getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SparseImageMemoryRequirements2>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<SparseImageMemoryRequirements2,Allocator> getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SamplerYcbcrConversion>::type createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSamplerYcbcrConversion>::type createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SamplerYcbcrConversion>::type createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSamplerYcbcrConversion>::type createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getQueue2( const DeviceQueueInfo2* pQueueInfo, Queue* pQueue, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Queue getQueue2( const DeviceQueueInfo2 & queueInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createValidationCacheEXT( const ValidationCacheCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, ValidationCacheEXT* pValidationCache, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ValidationCacheEXT>::type createValidationCacheEXT( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueValidationCacheEXT>::type createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyValidationCacheEXT( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyValidationCacheEXT( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getValidationCacheDataEXT( ValidationCacheEXT validationCache, size_t* pDataSize, void* pData, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<uint8_t>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<uint8_t,Allocator>>::type getValidationCacheDataEXT( ValidationCacheEXT validationCache, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result mergeValidationCachesEXT( ValidationCacheEXT dstCache, uint32_t srcCacheCount, const ValidationCacheEXT* pSrcCaches, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type mergeValidationCachesEXT( ValidationCacheEXT dstCache, ArrayProxy<const ValidationCacheEXT> srcCaches, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- DescriptorSetLayoutSupport getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- DescriptorSetLayoutSupport getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<uint8_t>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<uint8_t,Allocator>>::type getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT* pNameInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT* pTagInfo, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<MemoryHostPointerPropertiesEXT>::type getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer* buffer, AndroidHardwareBufferPropertiesANDROID* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<AndroidHardwareBufferPropertiesANDROID>::type getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- typename ResultValueType<StructureChain<T...>>::type getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<struct AHardwareBuffer*>::type getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDevice() const\r
- {\r
- return m_device;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_device != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_device == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkDevice m_device;\r
- };\r
-\r
- static_assert( sizeof( Device ) == sizeof( VkDevice ), "handle and wrapper have different size!" );\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const char* pName, Dispatch const &d) const\r
- {\r
- return d.vkGetDeviceProcAddr( m_device, pName );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const std::string & name, Dispatch const &d ) const\r
- {\r
- return d.vkGetDeviceProcAddr( m_device, name.c_str() );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDevice( m_device, reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDevice( m_device, reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Queue* pQueue, Dispatch const &d) const\r
- {\r
- d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue*>( pQueue ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Queue Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const &d ) const\r
- {\r
- Queue queue;\r
- d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue*>( &queue ) );\r
- return queue;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::waitIdle(Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkDeviceWaitIdle( m_device ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::waitIdle(Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkDeviceWaitIdle( m_device ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::waitIdle" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::allocateMemory( const MemoryAllocateInfo* pAllocateInfo, const AllocationCallbacks* pAllocator, DeviceMemory* pMemory, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkAllocateMemory( m_device, reinterpret_cast<const VkMemoryAllocateInfo*>( pAllocateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDeviceMemory*>( pMemory ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DeviceMemory>::type Device::allocateMemory( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DeviceMemory memory;\r
- Result result = static_cast<Result>( d.vkAllocateMemory( m_device, reinterpret_cast<const VkMemoryAllocateInfo*>( &allocateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDeviceMemory*>( &memory ) ) );\r
- return createResultValue( result, memory, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateMemory" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDeviceMemory>::type Device::allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DeviceMemory memory;\r
- Result result = static_cast<Result>( d.vkAllocateMemory( m_device, reinterpret_cast<const VkMemoryAllocateInfo*>( &allocateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDeviceMemory*>( &memory ) ) );\r
-\r
- ObjectFree<Device> deleter( *this, allocator );\r
- return createResultValue( result, memory, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateMemoryUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::freeMemory( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::freeMemory( DeviceMemory memory, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::free( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::free( DeviceMemory memory, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, void** ppData, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkMapMemory( m_device, static_cast<VkDeviceMemory>( memory ), offset, size, static_cast<VkMemoryMapFlags>( flags ), ppData ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void*>::type Device::mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, Dispatch const &d ) const\r
- {\r
- void* pData;\r
- Result result = static_cast<Result>( d.vkMapMemory( m_device, static_cast<VkDeviceMemory>( memory ), offset, size, static_cast<VkMemoryMapFlags>( flags ), &pData ) );\r
- return createResultValue( result, pData, VULKAN_HPP_NAMESPACE_STRING"::Device::mapMemory" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::unmapMemory( DeviceMemory memory, Dispatch const &d) const\r
- {\r
- d.vkUnmapMemory( m_device, static_cast<VkDeviceMemory>( memory ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::unmapMemory( DeviceMemory memory, Dispatch const &d ) const\r
- {\r
- d.vkUnmapMemory( m_device, static_cast<VkDeviceMemory>( memory ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::flushMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkFlushMappedMemoryRanges( m_device, memoryRangeCount, reinterpret_cast<const VkMappedMemoryRange*>( pMemoryRanges ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::flushMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkFlushMappedMemoryRanges( m_device, memoryRanges.size() , reinterpret_cast<const VkMappedMemoryRange*>( memoryRanges.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::flushMappedMemoryRanges" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::invalidateMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkInvalidateMappedMemoryRanges( m_device, memoryRangeCount, reinterpret_cast<const VkMappedMemoryRange*>( pMemoryRanges ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::invalidateMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkInvalidateMappedMemoryRanges( m_device, memoryRanges.size() , reinterpret_cast<const VkMappedMemoryRange*>( memoryRanges.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::invalidateMappedMemoryRanges" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getMemoryCommitment( DeviceMemory memory, DeviceSize* pCommittedMemoryInBytes, Dispatch const &d) const\r
- {\r
- d.vkGetDeviceMemoryCommitment( m_device, static_cast<VkDeviceMemory>( memory ), pCommittedMemoryInBytes );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE DeviceSize Device::getMemoryCommitment( DeviceMemory memory, Dispatch const &d ) const\r
- {\r
- DeviceSize committedMemoryInBytes;\r
- d.vkGetDeviceMemoryCommitment( m_device, static_cast<VkDeviceMemory>( memory ), &committedMemoryInBytes );\r
- return committedMemoryInBytes;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements( Buffer buffer, MemoryRequirements* pMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetBufferMemoryRequirements( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements*>( pMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE MemoryRequirements Device::getBufferMemoryRequirements( Buffer buffer, Dispatch const &d ) const\r
- {\r
- MemoryRequirements memoryRequirements;\r
- d.vkGetBufferMemoryRequirements( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements*>( &memoryRequirements ) );\r
- return memoryRequirements;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkBindBufferMemory( m_device, static_cast<VkBuffer>( buffer ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkBindBufferMemory( m_device, static_cast<VkBuffer>( buffer ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindBufferMemory" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getImageMemoryRequirements( Image image, MemoryRequirements* pMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetImageMemoryRequirements( m_device, static_cast<VkImage>( image ), reinterpret_cast<VkMemoryRequirements*>( pMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE MemoryRequirements Device::getImageMemoryRequirements( Image image, Dispatch const &d ) const\r
- {\r
- MemoryRequirements memoryRequirements;\r
- d.vkGetImageMemoryRequirements( m_device, static_cast<VkImage>( image ), reinterpret_cast<VkMemoryRequirements*>( &memoryRequirements ) );\r
- return memoryRequirements;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkBindImageMemory( m_device, static_cast<VkImage>( image ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkBindImageMemory( m_device, static_cast<VkImage>( image ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindImageMemory" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements( Image image, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements* pSparseMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetImageSparseMemoryRequirements( m_device, static_cast<VkImage>( image ), pSparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements*>( pSparseMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements,Allocator> Device::getImageSparseMemoryRequirements( Image image, Dispatch const &d ) const\r
- {\r
- std::vector<SparseImageMemoryRequirements,Allocator> sparseMemoryRequirements;\r
- uint32_t sparseMemoryRequirementCount;\r
- d.vkGetImageSparseMemoryRequirements( m_device, static_cast<VkImage>( image ), &sparseMemoryRequirementCount, nullptr );\r
- sparseMemoryRequirements.resize( sparseMemoryRequirementCount );\r
- d.vkGetImageSparseMemoryRequirements( m_device, static_cast<VkImage>( image ), &sparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements*>( sparseMemoryRequirements.data() ) );\r
- return sparseMemoryRequirements;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createFence( const FenceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateFence( m_device, reinterpret_cast<const VkFenceCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFence*>( pFence ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Fence>::type Device::createFence( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Fence fence;\r
- Result result = static_cast<Result>( d.vkCreateFence( m_device, reinterpret_cast<const VkFenceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );\r
- return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::createFence" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueFence>::type Device::createFenceUnique( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Fence fence;\r
- Result result = static_cast<Result>( d.vkCreateFence( m_device, reinterpret_cast<const VkFenceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::createFenceUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyFence( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyFence( Fence fence, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Fence fence, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::resetFences( uint32_t fenceCount, const Fence* pFences, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkResetFences( m_device, fenceCount, reinterpret_cast<const VkFence*>( pFences ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetFences( ArrayProxy<const Fence> fences, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkResetFences( m_device, fences.size() , reinterpret_cast<const VkFence*>( fences.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetFences" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getFenceStatus( Fence fence, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetFenceStatus( m_device, static_cast<VkFence>( fence ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getFenceStatus( Fence fence, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkGetFenceStatus( m_device, static_cast<VkFence>( fence ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getFenceStatus", { Result::eSuccess, Result::eNotReady } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::waitForFences( uint32_t fenceCount, const Fence* pFences, Bool32 waitAll, uint64_t timeout, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkWaitForFences( m_device, fenceCount, reinterpret_cast<const VkFence*>( pFences ), waitAll, timeout ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::waitForFences( ArrayProxy<const Fence> fences, Bool32 waitAll, uint64_t timeout, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkWaitForFences( m_device, fences.size() , reinterpret_cast<const VkFence*>( fences.data() ), waitAll, timeout ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::waitForFences", { Result::eSuccess, Result::eTimeout } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createSemaphore( const SemaphoreCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Semaphore* pSemaphore, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateSemaphore( m_device, reinterpret_cast<const VkSemaphoreCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSemaphore*>( pSemaphore ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Semaphore>::type Device::createSemaphore( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Semaphore semaphore;\r
- Result result = static_cast<Result>( d.vkCreateSemaphore( m_device, reinterpret_cast<const VkSemaphoreCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSemaphore*>( &semaphore ) ) );\r
- return createResultValue( result, semaphore, VULKAN_HPP_NAMESPACE_STRING"::Device::createSemaphore" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSemaphore>::type Device::createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Semaphore semaphore;\r
- Result result = static_cast<Result>( d.vkCreateSemaphore( m_device, reinterpret_cast<const VkSemaphoreCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSemaphore*>( &semaphore ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, semaphore, VULKAN_HPP_NAMESPACE_STRING"::Device::createSemaphoreUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySemaphore( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySemaphore( Semaphore semaphore, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Semaphore semaphore, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createEvent( const EventCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Event* pEvent, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateEvent( m_device, reinterpret_cast<const VkEventCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkEvent*>( pEvent ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Event>::type Device::createEvent( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Event event;\r
- Result result = static_cast<Result>( d.vkCreateEvent( m_device, reinterpret_cast<const VkEventCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkEvent*>( &event ) ) );\r
- return createResultValue( result, event, VULKAN_HPP_NAMESPACE_STRING"::Device::createEvent" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueEvent>::type Device::createEventUnique( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Event event;\r
- Result result = static_cast<Result>( d.vkCreateEvent( m_device, reinterpret_cast<const VkEventCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkEvent*>( &event ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, event, VULKAN_HPP_NAMESPACE_STRING"::Device::createEventUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyEvent( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyEvent( Event event, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Event event, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getEventStatus( Event event, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetEventStatus( m_device, static_cast<VkEvent>( event ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getEventStatus( Event event, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkGetEventStatus( m_device, static_cast<VkEvent>( event ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getEventStatus", { Result::eEventSet, Result::eEventReset } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::setEvent( Event event, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkSetEvent( m_device, static_cast<VkEvent>( event ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::setEvent( Event event, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkSetEvent( m_device, static_cast<VkEvent>( event ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::setEvent" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::resetEvent( Event event, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkResetEvent( m_device, static_cast<VkEvent>( event ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetEvent( Event event, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkResetEvent( m_device, static_cast<VkEvent>( event ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetEvent" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createQueryPool( const QueryPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, QueryPool* pQueryPool, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateQueryPool( m_device, reinterpret_cast<const VkQueryPoolCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkQueryPool*>( pQueryPool ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<QueryPool>::type Device::createQueryPool( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- QueryPool queryPool;\r
- Result result = static_cast<Result>( d.vkCreateQueryPool( m_device, reinterpret_cast<const VkQueryPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkQueryPool*>( &queryPool ) ) );\r
- return createResultValue( result, queryPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createQueryPool" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueQueryPool>::type Device::createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- QueryPool queryPool;\r
- Result result = static_cast<Result>( d.vkCreateQueryPool( m_device, reinterpret_cast<const VkQueryPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkQueryPool*>( &queryPool ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, queryPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createQueryPoolUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyQueryPool( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyQueryPool( QueryPool queryPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( QueryPool queryPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, DeviceSize stride, QueryResultFlags flags, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetQueryPoolResults( m_device, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, dataSize, pData, stride, static_cast<VkQueryResultFlags>( flags ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename T, typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, ArrayProxy<T> data, DeviceSize stride, QueryResultFlags flags, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkGetQueryPoolResults( m_device, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, data.size() * sizeof( T ) , reinterpret_cast<void*>( data.data() ), stride, static_cast<VkQueryResultFlags>( flags ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getQueryPoolResults", { Result::eSuccess, Result::eNotReady } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createBuffer( const BufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Buffer* pBuffer, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateBuffer( m_device, reinterpret_cast<const VkBufferCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkBuffer*>( pBuffer ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Buffer>::type Device::createBuffer( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Buffer buffer;\r
- Result result = static_cast<Result>( d.vkCreateBuffer( m_device, reinterpret_cast<const VkBufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBuffer*>( &buffer ) ) );\r
- return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createBuffer" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueBuffer>::type Device::createBufferUnique( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Buffer buffer;\r
- Result result = static_cast<Result>( d.vkCreateBuffer( m_device, reinterpret_cast<const VkBufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBuffer*>( &buffer ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createBufferUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyBuffer( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyBuffer( Buffer buffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Buffer buffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createBufferView( const BufferViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, BufferView* pView, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateBufferView( m_device, reinterpret_cast<const VkBufferViewCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkBufferView*>( pView ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<BufferView>::type Device::createBufferView( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- BufferView view;\r
- Result result = static_cast<Result>( d.vkCreateBufferView( m_device, reinterpret_cast<const VkBufferViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBufferView*>( &view ) ) );\r
- return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createBufferView" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueBufferView>::type Device::createBufferViewUnique( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- BufferView view;\r
- Result result = static_cast<Result>( d.vkCreateBufferView( m_device, reinterpret_cast<const VkBufferViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBufferView*>( &view ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createBufferViewUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyBufferView( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyBufferView( BufferView bufferView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( BufferView bufferView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createImage( const ImageCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Image* pImage, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateImage( m_device, reinterpret_cast<const VkImageCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkImage*>( pImage ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Image>::type Device::createImage( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Image image;\r
- Result result = static_cast<Result>( d.vkCreateImage( m_device, reinterpret_cast<const VkImageCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImage*>( &image ) ) );\r
- return createResultValue( result, image, VULKAN_HPP_NAMESPACE_STRING"::Device::createImage" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueImage>::type Device::createImageUnique( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Image image;\r
- Result result = static_cast<Result>( d.vkCreateImage( m_device, reinterpret_cast<const VkImageCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImage*>( &image ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, image, VULKAN_HPP_NAMESPACE_STRING"::Device::createImageUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyImage( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyImage( Image image, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Image image, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getImageSubresourceLayout( Image image, const ImageSubresource* pSubresource, SubresourceLayout* pLayout, Dispatch const &d) const\r
- {\r
- d.vkGetImageSubresourceLayout( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkImageSubresource*>( pSubresource ), reinterpret_cast<VkSubresourceLayout*>( pLayout ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE SubresourceLayout Device::getImageSubresourceLayout( Image image, const ImageSubresource & subresource, Dispatch const &d ) const\r
- {\r
- SubresourceLayout layout;\r
- d.vkGetImageSubresourceLayout( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkImageSubresource*>( &subresource ), reinterpret_cast<VkSubresourceLayout*>( &layout ) );\r
- return layout;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createImageView( const ImageViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ImageView* pView, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateImageView( m_device, reinterpret_cast<const VkImageViewCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkImageView*>( pView ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ImageView>::type Device::createImageView( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ImageView view;\r
- Result result = static_cast<Result>( d.vkCreateImageView( m_device, reinterpret_cast<const VkImageViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImageView*>( &view ) ) );\r
- return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createImageView" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueImageView>::type Device::createImageViewUnique( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ImageView view;\r
- Result result = static_cast<Result>( d.vkCreateImageView( m_device, reinterpret_cast<const VkImageViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImageView*>( &view ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createImageViewUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyImageView( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyImageView( ImageView imageView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ImageView imageView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createShaderModule( const ShaderModuleCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ShaderModule* pShaderModule, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateShaderModule( m_device, reinterpret_cast<const VkShaderModuleCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkShaderModule*>( pShaderModule ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ShaderModule>::type Device::createShaderModule( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ShaderModule shaderModule;\r
- Result result = static_cast<Result>( d.vkCreateShaderModule( m_device, reinterpret_cast<const VkShaderModuleCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkShaderModule*>( &shaderModule ) ) );\r
- return createResultValue( result, shaderModule, VULKAN_HPP_NAMESPACE_STRING"::Device::createShaderModule" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueShaderModule>::type Device::createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ShaderModule shaderModule;\r
- Result result = static_cast<Result>( d.vkCreateShaderModule( m_device, reinterpret_cast<const VkShaderModuleCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkShaderModule*>( &shaderModule ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, shaderModule, VULKAN_HPP_NAMESPACE_STRING"::Device::createShaderModuleUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyShaderModule( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyShaderModule( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createPipelineCache( const PipelineCacheCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineCache* pPipelineCache, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreatePipelineCache( m_device, reinterpret_cast<const VkPipelineCacheCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipelineCache*>( pPipelineCache ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<PipelineCache>::type Device::createPipelineCache( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- PipelineCache pipelineCache;\r
- Result result = static_cast<Result>( d.vkCreatePipelineCache( m_device, reinterpret_cast<const VkPipelineCacheCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineCache*>( &pipelineCache ) ) );\r
- return createResultValue( result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineCache" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniquePipelineCache>::type Device::createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- PipelineCache pipelineCache;\r
- Result result = static_cast<Result>( d.vkCreatePipelineCache( m_device, reinterpret_cast<const VkPipelineCacheCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineCache*>( &pipelineCache ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineCacheUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyPipelineCache( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyPipelineCache( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getPipelineCacheData( PipelineCache pipelineCache, size_t* pDataSize, void* pData, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPipelineCacheData( m_device, static_cast<VkPipelineCache>( pipelineCache ), pDataSize, pData ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t,Allocator>>::type Device::getPipelineCacheData( PipelineCache pipelineCache, Dispatch const &d ) const\r
- {\r
- std::vector<uint8_t,Allocator> data;\r
- size_t dataSize;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPipelineCacheData( m_device, static_cast<VkPipelineCache>( pipelineCache ), &dataSize, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && dataSize )\r
- {\r
- data.resize( dataSize );\r
- result = static_cast<Result>( d.vkGetPipelineCacheData( m_device, static_cast<VkPipelineCache>( pipelineCache ), &dataSize, reinterpret_cast<void*>( data.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( dataSize <= data.size() );\r
- data.resize( dataSize );\r
- return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineCacheData" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::mergePipelineCaches( PipelineCache dstCache, uint32_t srcCacheCount, const PipelineCache* pSrcCaches, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkMergePipelineCaches( m_device, static_cast<VkPipelineCache>( dstCache ), srcCacheCount, reinterpret_cast<const VkPipelineCache*>( pSrcCaches ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::mergePipelineCaches( PipelineCache dstCache, ArrayProxy<const PipelineCache> srcCaches, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkMergePipelineCaches( m_device, static_cast<VkPipelineCache>( dstCache ), srcCaches.size() , reinterpret_cast<const VkPipelineCache*>( srcCaches.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::mergePipelineCaches" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createGraphicsPipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const GraphicsPipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfoCount, reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( pCreateInfos ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipeline*>( pPipelines ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline,Allocator>>::type Device::createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- std::vector<Pipeline,Allocator> pipelines( createInfos.size() );\r
- Result result = static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( pipelines.data() ) ) );\r
- return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING"::Device::createGraphicsPipelines" );\r
- }\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE ResultValueType<Pipeline>::type Device::createGraphicsPipeline( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Pipeline pipeline;\r
- Result result = static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );\r
- return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createGraphicsPipeline" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type Device::createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- static_assert( sizeof( Pipeline ) <= sizeof( UniquePipeline ), "Pipeline is greater than UniquePipeline!" );\r
- std::vector<UniquePipeline, Allocator> pipelines;\r
- pipelines.reserve( createInfos.size() );\r
- Pipeline* buffer = reinterpret_cast<Pipeline*>( reinterpret_cast<char*>( pipelines.data() ) + createInfos.size() * ( sizeof( UniquePipeline ) - sizeof( Pipeline ) ) );\r
- Result result = static_cast<Result>(d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( buffer ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- for ( size_t i=0 ; i<createInfos.size() ; i++ )\r
- {\r
- pipelines.push_back( UniquePipeline( buffer[i], deleter ) );\r
- }\r
-\r
- return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelinesUnique" );\r
- }\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE ResultValueType<UniquePipeline>::type Device::createGraphicsPipelineUnique( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Pipeline pipeline;\r
- Result result = static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createGraphicsPipelineUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createComputePipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const ComputePipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfoCount, reinterpret_cast<const VkComputePipelineCreateInfo*>( pCreateInfos ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipeline*>( pPipelines ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline,Allocator>>::type Device::createComputePipelines( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- std::vector<Pipeline,Allocator> pipelines( createInfos.size() );\r
- Result result = static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkComputePipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( pipelines.data() ) ) );\r
- return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING"::Device::createComputePipelines" );\r
- }\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE ResultValueType<Pipeline>::type Device::createComputePipeline( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Pipeline pipeline;\r
- Result result = static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkComputePipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );\r
- return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createComputePipeline" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type Device::createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- static_assert( sizeof( Pipeline ) <= sizeof( UniquePipeline ), "Pipeline is greater than UniquePipeline!" );\r
- std::vector<UniquePipeline, Allocator> pipelines;\r
- pipelines.reserve( createInfos.size() );\r
- Pipeline* buffer = reinterpret_cast<Pipeline*>( reinterpret_cast<char*>( pipelines.data() ) + createInfos.size() * ( sizeof( UniquePipeline ) - sizeof( Pipeline ) ) );\r
- Result result = static_cast<Result>(d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkComputePipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( buffer ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- for ( size_t i=0 ; i<createInfos.size() ; i++ )\r
- {\r
- pipelines.push_back( UniquePipeline( buffer[i], deleter ) );\r
- }\r
-\r
- return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelinesUnique" );\r
- }\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE ResultValueType<UniquePipeline>::type Device::createComputePipelineUnique( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Pipeline pipeline;\r
- Result result = static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkComputePipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createComputePipelineUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyPipeline( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyPipeline( Pipeline pipeline, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Pipeline pipeline, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createPipelineLayout( const PipelineLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineLayout* pPipelineLayout, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreatePipelineLayout( m_device, reinterpret_cast<const VkPipelineLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipelineLayout*>( pPipelineLayout ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<PipelineLayout>::type Device::createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- PipelineLayout pipelineLayout;\r
- Result result = static_cast<Result>( d.vkCreatePipelineLayout( m_device, reinterpret_cast<const VkPipelineLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineLayout*>( &pipelineLayout ) ) );\r
- return createResultValue( result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineLayout" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniquePipelineLayout>::type Device::createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- PipelineLayout pipelineLayout;\r
- Result result = static_cast<Result>( d.vkCreatePipelineLayout( m_device, reinterpret_cast<const VkPipelineLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineLayout*>( &pipelineLayout ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineLayoutUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyPipelineLayout( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyPipelineLayout( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createSampler( const SamplerCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Sampler* pSampler, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateSampler( m_device, reinterpret_cast<const VkSamplerCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSampler*>( pSampler ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Sampler>::type Device::createSampler( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Sampler sampler;\r
- Result result = static_cast<Result>( d.vkCreateSampler( m_device, reinterpret_cast<const VkSamplerCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSampler*>( &sampler ) ) );\r
- return createResultValue( result, sampler, VULKAN_HPP_NAMESPACE_STRING"::Device::createSampler" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSampler>::type Device::createSamplerUnique( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Sampler sampler;\r
- Result result = static_cast<Result>( d.vkCreateSampler( m_device, reinterpret_cast<const VkSamplerCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSampler*>( &sampler ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, sampler, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySampler( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySampler( Sampler sampler, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Sampler sampler, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorSetLayout* pSetLayout, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorSetLayout*>( pSetLayout ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DescriptorSetLayout>::type Device::createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorSetLayout setLayout;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorSetLayout*>( &setLayout ) ) );\r
- return createResultValue( result, setLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorSetLayout" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorSetLayout>::type Device::createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorSetLayout setLayout;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorSetLayout*>( &setLayout ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, setLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorSetLayoutUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createDescriptorPool( const DescriptorPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorPool* pDescriptorPool, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDescriptorPool( m_device, reinterpret_cast<const VkDescriptorPoolCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorPool*>( pDescriptorPool ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DescriptorPool>::type Device::createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorPool descriptorPool;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorPool( m_device, reinterpret_cast<const VkDescriptorPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorPool*>( &descriptorPool ) ) );\r
- return createResultValue( result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorPool" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorPool>::type Device::createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorPool descriptorPool;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorPool( m_device, reinterpret_cast<const VkDescriptorPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorPool*>( &descriptorPool ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorPoolUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorPool( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorPool( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkResetDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), static_cast<VkDescriptorPoolResetFlags>( flags ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkResetDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), static_cast<VkDescriptorPoolResetFlags>( flags ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetDescriptorPool" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::allocateDescriptorSets( const DescriptorSetAllocateInfo* pAllocateInfo, DescriptorSet* pDescriptorSets, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkAllocateDescriptorSets( m_device, reinterpret_cast<const VkDescriptorSetAllocateInfo*>( pAllocateInfo ), reinterpret_cast<VkDescriptorSet*>( pDescriptorSets ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<DescriptorSet,Allocator>>::type Device::allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d ) const\r
- {\r
- std::vector<DescriptorSet,Allocator> descriptorSets( allocateInfo.descriptorSetCount );\r
- Result result = static_cast<Result>( d.vkAllocateDescriptorSets( m_device, reinterpret_cast<const VkDescriptorSetAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkDescriptorSet*>( descriptorSets.data() ) ) );\r
- return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateDescriptorSets" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniqueDescriptorSet,Allocator>>::type Device::allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d ) const\r
- {\r
- static_assert( sizeof( DescriptorSet ) <= sizeof( UniqueDescriptorSet ), "DescriptorSet is greater than UniqueDescriptorSet!" );\r
- std::vector<UniqueDescriptorSet, Allocator> descriptorSets;\r
- descriptorSets.reserve( allocateInfo.descriptorSetCount );\r
- DescriptorSet* buffer = reinterpret_cast<DescriptorSet*>( reinterpret_cast<char*>( descriptorSets.data() ) + allocateInfo.descriptorSetCount * ( sizeof( UniqueDescriptorSet ) - sizeof( DescriptorSet ) ) );\r
- Result result = static_cast<Result>(d.vkAllocateDescriptorSets( m_device, reinterpret_cast<const VkDescriptorSetAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkDescriptorSet*>( buffer ) ) );\r
-\r
- PoolFree<Device,DescriptorPool> deleter( *this, allocateInfo.descriptorPool );\r
- for ( size_t i=0 ; i<allocateInfo.descriptorSetCount ; i++ )\r
- {\r
- descriptorSets.push_back( UniqueDescriptorSet( buffer[i], deleter ) );\r
- }\r
-\r
- return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::freeDescriptorSets( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSetCount, reinterpret_cast<const VkDescriptorSet*>( pDescriptorSets ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::freeDescriptorSets( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSets.size() , reinterpret_cast<const VkDescriptorSet*>( descriptorSets.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::freeDescriptorSets" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::free( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSetCount, reinterpret_cast<const VkDescriptorSet*>( pDescriptorSets ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::free( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSets.size() , reinterpret_cast<const VkDescriptorSet*>( descriptorSets.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::free" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::updateDescriptorSets( uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const CopyDescriptorSet* pDescriptorCopies, Dispatch const &d) const\r
- {\r
- d.vkUpdateDescriptorSets( m_device, descriptorWriteCount, reinterpret_cast<const VkWriteDescriptorSet*>( pDescriptorWrites ), descriptorCopyCount, reinterpret_cast<const VkCopyDescriptorSet*>( pDescriptorCopies ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::updateDescriptorSets( ArrayProxy<const WriteDescriptorSet> descriptorWrites, ArrayProxy<const CopyDescriptorSet> descriptorCopies, Dispatch const &d ) const\r
- {\r
- d.vkUpdateDescriptorSets( m_device, descriptorWrites.size() , reinterpret_cast<const VkWriteDescriptorSet*>( descriptorWrites.data() ), descriptorCopies.size() , reinterpret_cast<const VkCopyDescriptorSet*>( descriptorCopies.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createFramebuffer( const FramebufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Framebuffer* pFramebuffer, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateFramebuffer( m_device, reinterpret_cast<const VkFramebufferCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFramebuffer*>( pFramebuffer ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Framebuffer>::type Device::createFramebuffer( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Framebuffer framebuffer;\r
- Result result = static_cast<Result>( d.vkCreateFramebuffer( m_device, reinterpret_cast<const VkFramebufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFramebuffer*>( &framebuffer ) ) );\r
- return createResultValue( result, framebuffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createFramebuffer" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueFramebuffer>::type Device::createFramebufferUnique( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Framebuffer framebuffer;\r
- Result result = static_cast<Result>( d.vkCreateFramebuffer( m_device, reinterpret_cast<const VkFramebufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFramebuffer*>( &framebuffer ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, framebuffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createFramebufferUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyFramebuffer( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyFramebuffer( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createRenderPass( const RenderPassCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, RenderPass* pRenderPass, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateRenderPass( m_device, reinterpret_cast<const VkRenderPassCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkRenderPass*>( pRenderPass ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<RenderPass>::type Device::createRenderPass( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- RenderPass renderPass;\r
- Result result = static_cast<Result>( d.vkCreateRenderPass( m_device, reinterpret_cast<const VkRenderPassCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkRenderPass*>( &renderPass ) ) );\r
- return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING"::Device::createRenderPass" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueRenderPass>::type Device::createRenderPassUnique( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- RenderPass renderPass;\r
- Result result = static_cast<Result>( d.vkCreateRenderPass( m_device, reinterpret_cast<const VkRenderPassCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkRenderPass*>( &renderPass ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING"::Device::createRenderPassUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyRenderPass( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyRenderPass( RenderPass renderPass, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( RenderPass renderPass, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getRenderAreaGranularity( RenderPass renderPass, Extent2D* pGranularity, Dispatch const &d) const\r
- {\r
- d.vkGetRenderAreaGranularity( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<VkExtent2D*>( pGranularity ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Extent2D Device::getRenderAreaGranularity( RenderPass renderPass, Dispatch const &d ) const\r
- {\r
- Extent2D granularity;\r
- d.vkGetRenderAreaGranularity( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<VkExtent2D*>( &granularity ) );\r
- return granularity;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createCommandPool( const CommandPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, CommandPool* pCommandPool, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateCommandPool( m_device, reinterpret_cast<const VkCommandPoolCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkCommandPool*>( pCommandPool ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<CommandPool>::type Device::createCommandPool( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- CommandPool commandPool;\r
- Result result = static_cast<Result>( d.vkCreateCommandPool( m_device, reinterpret_cast<const VkCommandPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkCommandPool*>( &commandPool ) ) );\r
- return createResultValue( result, commandPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createCommandPool" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueCommandPool>::type Device::createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- CommandPool commandPool;\r
- Result result = static_cast<Result>( d.vkCreateCommandPool( m_device, reinterpret_cast<const VkCommandPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkCommandPool*>( &commandPool ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, commandPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createCommandPoolUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyCommandPool( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyCommandPool( CommandPool commandPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( CommandPool commandPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkResetCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolResetFlags>( flags ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkResetCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolResetFlags>( flags ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetCommandPool" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::allocateCommandBuffers( const CommandBufferAllocateInfo* pAllocateInfo, CommandBuffer* pCommandBuffers, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkAllocateCommandBuffers( m_device, reinterpret_cast<const VkCommandBufferAllocateInfo*>( pAllocateInfo ), reinterpret_cast<VkCommandBuffer*>( pCommandBuffers ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<CommandBuffer,Allocator>>::type Device::allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d ) const\r
- {\r
- std::vector<CommandBuffer,Allocator> commandBuffers( allocateInfo.commandBufferCount );\r
- Result result = static_cast<Result>( d.vkAllocateCommandBuffers( m_device, reinterpret_cast<const VkCommandBufferAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkCommandBuffer*>( commandBuffers.data() ) ) );\r
- return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateCommandBuffers" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniqueCommandBuffer,Allocator>>::type Device::allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d ) const\r
- {\r
- static_assert( sizeof( CommandBuffer ) <= sizeof( UniqueCommandBuffer ), "CommandBuffer is greater than UniqueCommandBuffer!" );\r
- std::vector<UniqueCommandBuffer, Allocator> commandBuffers;\r
- commandBuffers.reserve( allocateInfo.commandBufferCount );\r
- CommandBuffer* buffer = reinterpret_cast<CommandBuffer*>( reinterpret_cast<char*>( commandBuffers.data() ) + allocateInfo.commandBufferCount * ( sizeof( UniqueCommandBuffer ) - sizeof( CommandBuffer ) ) );\r
- Result result = static_cast<Result>(d.vkAllocateCommandBuffers( m_device, reinterpret_cast<const VkCommandBufferAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkCommandBuffer*>( buffer ) ) );\r
-\r
- PoolFree<Device,CommandPool> deleter( *this, allocateInfo.commandPool );\r
- for ( size_t i=0 ; i<allocateInfo.commandBufferCount ; i++ )\r
- {\r
- commandBuffers.push_back( UniqueCommandBuffer( buffer[i], deleter ) );\r
- }\r
-\r
- return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::freeCommandBuffers( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d) const\r
- {\r
- d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBufferCount, reinterpret_cast<const VkCommandBuffer*>( pCommandBuffers ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::freeCommandBuffers( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d ) const\r
- {\r
- d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBuffers.size() , reinterpret_cast<const VkCommandBuffer*>( commandBuffers.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::free( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d) const\r
- {\r
- d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBufferCount, reinterpret_cast<const VkCommandBuffer*>( pCommandBuffers ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::free( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d ) const\r
- {\r
- d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBuffers.size() , reinterpret_cast<const VkCommandBuffer*>( commandBuffers.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createSharedSwapchainsKHR( uint32_t swapchainCount, const SwapchainCreateInfoKHR* pCreateInfos, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchains, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, swapchainCount, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( pCreateInfos ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSwapchainKHR*>( pSwapchains ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<SwapchainKHR,Allocator>>::type Device::createSharedSwapchainsKHR( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- std::vector<SwapchainKHR,Allocator> swapchains( createInfos.size() );\r
- Result result = static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size() , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( swapchains.data() ) ) );\r
- return createResultValue( result, swapchains, VULKAN_HPP_NAMESPACE_STRING"::Device::createSharedSwapchainsKHR" );\r
- }\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE ResultValueType<SwapchainKHR>::type Device::createSharedSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SwapchainKHR swapchain;\r
- Result result = static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, 1 , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );\r
- return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSharedSwapchainKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniqueSwapchainKHR,Allocator>>::type Device::createSharedSwapchainsKHRUnique( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- static_assert( sizeof( SwapchainKHR ) <= sizeof( UniqueSwapchainKHR ), "SwapchainKHR is greater than UniqueSwapchainKHR!" );\r
- std::vector<UniqueSwapchainKHR, Allocator> swapchainKHRs;\r
- swapchainKHRs.reserve( createInfos.size() );\r
- SwapchainKHR* buffer = reinterpret_cast<SwapchainKHR*>( reinterpret_cast<char*>( swapchainKHRs.data() ) + createInfos.size() * ( sizeof( UniqueSwapchainKHR ) - sizeof( SwapchainKHR ) ) );\r
- Result result = static_cast<Result>(d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size() , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( buffer ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- for ( size_t i=0 ; i<createInfos.size() ; i++ )\r
- {\r
- swapchainKHRs.push_back( UniqueSwapchainKHR( buffer[i], deleter ) );\r
- }\r
-\r
- return createResultValue( result, swapchainKHRs, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHRUnique" );\r
- }\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE ResultValueType<UniqueSwapchainKHR>::type Device::createSharedSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SwapchainKHR swapchain;\r
- Result result = static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, 1 , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSharedSwapchainKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createSwapchainKHR( const SwapchainCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchain, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateSwapchainKHR( m_device, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSwapchainKHR*>( pSwapchain ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SwapchainKHR>::type Device::createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SwapchainKHR swapchain;\r
- Result result = static_cast<Result>( d.vkCreateSwapchainKHR( m_device, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );\r
- return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSwapchainKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSwapchainKHR>::type Device::createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SwapchainKHR swapchain;\r
- Result result = static_cast<Result>( d.vkCreateSwapchainKHR( m_device, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSwapchainKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySwapchainKHR( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySwapchainKHR( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getSwapchainImagesKHR( SwapchainKHR swapchain, uint32_t* pSwapchainImageCount, Image* pSwapchainImages, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetSwapchainImagesKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), pSwapchainImageCount, reinterpret_cast<VkImage*>( pSwapchainImages ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<Image,Allocator>>::type Device::getSwapchainImagesKHR( SwapchainKHR swapchain, Dispatch const &d ) const\r
- {\r
- std::vector<Image,Allocator> swapchainImages;\r
- uint32_t swapchainImageCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetSwapchainImagesKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), &swapchainImageCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && swapchainImageCount )\r
- {\r
- swapchainImages.resize( swapchainImageCount );\r
- result = static_cast<Result>( d.vkGetSwapchainImagesKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), &swapchainImageCount, reinterpret_cast<VkImage*>( swapchainImages.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( swapchainImageCount <= swapchainImages.size() );\r
- swapchainImages.resize( swapchainImageCount );\r
- return createResultValue( result, swapchainImages, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainImagesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, uint32_t* pImageIndex, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkAcquireNextImageKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), timeout, static_cast<VkSemaphore>( semaphore ), static_cast<VkFence>( fence ), pImageIndex ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValue<uint32_t> Device::acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, Dispatch const &d ) const\r
- {\r
- uint32_t imageIndex;\r
- Result result = static_cast<Result>( d.vkAcquireNextImageKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), timeout, static_cast<VkSemaphore>( semaphore ), static_cast<VkFence>( fence ), &imageIndex ) );\r
- return createResultValue( result, imageIndex, VULKAN_HPP_NAMESPACE_STRING"::Device::acquireNextImageKHR", { Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT* pNameInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkDebugMarkerSetObjectNameEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectNameInfoEXT*>( pNameInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkDebugMarkerSetObjectNameEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectNameInfoEXT*>( &nameInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::debugMarkerSetObjectNameEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT* pTagInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectTagInfoEXT*>( pTagInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectTagInfoEXT*>( &tagInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::debugMarkerSetObjectTagEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetMemoryWin32HandleNV( m_device, static_cast<VkDeviceMemory>( memory ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( handleType ), pHandle ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const &d ) const\r
- {\r
- HANDLE handle;\r
- Result result = static_cast<Result>( d.vkGetMemoryWin32HandleNV( m_device, static_cast<VkDeviceMemory>( memory ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( handleType ), &handle ) );\r
- return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryWin32HandleNV" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, IndirectCommandsLayoutNVX* pIndirectCommandsLayout, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateIndirectCommandsLayoutNVX( m_device, reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkIndirectCommandsLayoutNVX*>( pIndirectCommandsLayout ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<IndirectCommandsLayoutNVX>::type Device::createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- IndirectCommandsLayoutNVX indirectCommandsLayout;\r
- Result result = static_cast<Result>( d.vkCreateIndirectCommandsLayoutNVX( m_device, reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkIndirectCommandsLayoutNVX*>( &indirectCommandsLayout ) ) );\r
- return createResultValue( result, indirectCommandsLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createIndirectCommandsLayoutNVX" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueIndirectCommandsLayoutNVX>::type Device::createIndirectCommandsLayoutNVXUnique( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- IndirectCommandsLayoutNVX indirectCommandsLayout;\r
- Result result = static_cast<Result>( d.vkCreateIndirectCommandsLayoutNVX( m_device, reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkIndirectCommandsLayoutNVX*>( &indirectCommandsLayout ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, indirectCommandsLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createIndirectCommandsLayoutNVXUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createObjectTableNVX( const ObjectTableCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, ObjectTableNVX* pObjectTable, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateObjectTableNVX( m_device, reinterpret_cast<const VkObjectTableCreateInfoNVX*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkObjectTableNVX*>( pObjectTable ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ObjectTableNVX>::type Device::createObjectTableNVX( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ObjectTableNVX objectTable;\r
- Result result = static_cast<Result>( d.vkCreateObjectTableNVX( m_device, reinterpret_cast<const VkObjectTableCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkObjectTableNVX*>( &objectTable ) ) );\r
- return createResultValue( result, objectTable, VULKAN_HPP_NAMESPACE_STRING"::Device::createObjectTableNVX" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueObjectTableNVX>::type Device::createObjectTableNVXUnique( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ObjectTableNVX objectTable;\r
- Result result = static_cast<Result>( d.vkCreateObjectTableNVX( m_device, reinterpret_cast<const VkObjectTableCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkObjectTableNVX*>( &objectTable ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, objectTable, VULKAN_HPP_NAMESPACE_STRING"::Device::createObjectTableNVXUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyObjectTableNVX( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyObjectTableNVX( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::registerObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectTableEntryNVX* const* ppObjectTableEntries, const uint32_t* pObjectIndices, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkRegisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), objectCount, reinterpret_cast<const VkObjectTableEntryNVX* const*>( ppObjectTableEntries ), pObjectIndices ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::registerObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectTableEntryNVX* const> pObjectTableEntries, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d ) const\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( pObjectTableEntries.size() == objectIndices.size() );\r
-#else\r
- if ( pObjectTableEntries.size() != objectIndices.size() )\r
- {\r
- throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::registerObjectsNVX: pObjectTableEntries.size() != objectIndices.size()" );\r
- }\r
-#endif // VULKAN_HPP_NO_EXCEPTIONS\r
- Result result = static_cast<Result>( d.vkRegisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), pObjectTableEntries.size() , reinterpret_cast<const VkObjectTableEntryNVX* const*>( pObjectTableEntries.data() ), objectIndices.data() ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::registerObjectsNVX" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::unregisterObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectEntryTypeNVX* pObjectEntryTypes, const uint32_t* pObjectIndices, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkUnregisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), objectCount, reinterpret_cast<const VkObjectEntryTypeNVX*>( pObjectEntryTypes ), pObjectIndices ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::unregisterObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectEntryTypeNVX> objectEntryTypes, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d ) const\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( objectEntryTypes.size() == objectIndices.size() );\r
-#else\r
- if ( objectEntryTypes.size() != objectIndices.size() )\r
- {\r
- throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::unregisterObjectsNVX: objectEntryTypes.size() != objectIndices.size()" );\r
- }\r
-#endif // VULKAN_HPP_NO_EXCEPTIONS\r
- Result result = static_cast<Result>( d.vkUnregisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), objectEntryTypes.size() , reinterpret_cast<const VkObjectEntryTypeNVX*>( objectEntryTypes.data() ), objectIndices.data() ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::unregisterObjectsNVX" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d) const\r
- {\r
- d.vkTrimCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d ) const\r
- {\r
- d.vkTrimCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d) const\r
- {\r
- d.vkTrimCommandPoolKHR( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d ) const\r
- {\r
- d.vkTrimCommandPoolKHR( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetMemoryWin32HandleKHR( m_device, reinterpret_cast<const VkMemoryGetWin32HandleInfoKHR*>( pGetWin32HandleInfo ), pHandle ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d ) const\r
- {\r
- HANDLE handle;\r
- Result result = static_cast<Result>( d.vkGetMemoryWin32HandleKHR( m_device, reinterpret_cast<const VkMemoryGetWin32HandleInfoKHR*>( &getWin32HandleInfo ), &handle ) );\r
- return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryWin32HandleKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetMemoryWin32HandlePropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), handle, reinterpret_cast<VkMemoryWin32HandlePropertiesKHR*>( pMemoryWin32HandleProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<MemoryWin32HandlePropertiesKHR>::type Device::getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const &d ) const\r
- {\r
- MemoryWin32HandlePropertiesKHR memoryWin32HandleProperties;\r
- Result result = static_cast<Result>( d.vkGetMemoryWin32HandlePropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), handle, reinterpret_cast<VkMemoryWin32HandlePropertiesKHR*>( &memoryWin32HandleProperties ) ) );\r
- return createResultValue( result, memoryWin32HandleProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryWin32HandlePropertiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getMemoryFdKHR( const MemoryGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetMemoryFdKHR( m_device, reinterpret_cast<const VkMemoryGetFdInfoKHR*>( pGetFdInfo ), pFd ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<int>::type Device::getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, Dispatch const &d ) const\r
- {\r
- int fd;\r
- Result result = static_cast<Result>( d.vkGetMemoryFdKHR( m_device, reinterpret_cast<const VkMemoryGetFdInfoKHR*>( &getFdInfo ), &fd ) );\r
- return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryFdKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, MemoryFdPropertiesKHR* pMemoryFdProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetMemoryFdPropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), fd, reinterpret_cast<VkMemoryFdPropertiesKHR*>( pMemoryFdProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<MemoryFdPropertiesKHR>::type Device::getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const &d ) const\r
- {\r
- MemoryFdPropertiesKHR memoryFdProperties;\r
- Result result = static_cast<Result>( d.vkGetMemoryFdPropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), fd, reinterpret_cast<VkMemoryFdPropertiesKHR*>( &memoryFdProperties ) ) );\r
- return createResultValue( result, memoryFdProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryFdPropertiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkSemaphoreGetWin32HandleInfoKHR*>( pGetWin32HandleInfo ), pHandle ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d ) const\r
- {\r
- HANDLE handle;\r
- Result result = static_cast<Result>( d.vkGetSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkSemaphoreGetWin32HandleInfoKHR*>( &getWin32HandleInfo ), &handle ) );\r
- return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getSemaphoreWin32HandleKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkImportSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkImportSemaphoreWin32HandleInfoKHR*>( pImportSemaphoreWin32HandleInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkImportSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkImportSemaphoreWin32HandleInfoKHR*>( &importSemaphoreWin32HandleInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importSemaphoreWin32HandleKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast<const VkSemaphoreGetFdInfoKHR*>( pGetFdInfo ), pFd ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<int>::type Device::getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, Dispatch const &d ) const\r
- {\r
- int fd;\r
- Result result = static_cast<Result>( d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast<const VkSemaphoreGetFdInfoKHR*>( &getFdInfo ), &fd ) );\r
- return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING"::Device::getSemaphoreFdKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkImportSemaphoreFdKHR( m_device, reinterpret_cast<const VkImportSemaphoreFdInfoKHR*>( pImportSemaphoreFdInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkImportSemaphoreFdKHR( m_device, reinterpret_cast<const VkImportSemaphoreFdInfoKHR*>( &importSemaphoreFdInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importSemaphoreFdKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetFenceWin32HandleKHR( m_device, reinterpret_cast<const VkFenceGetWin32HandleInfoKHR*>( pGetWin32HandleInfo ), pHandle ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d ) const\r
- {\r
- HANDLE handle;\r
- Result result = static_cast<Result>( d.vkGetFenceWin32HandleKHR( m_device, reinterpret_cast<const VkFenceGetWin32HandleInfoKHR*>( &getWin32HandleInfo ), &handle ) );\r
- return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getFenceWin32HandleKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkImportFenceWin32HandleKHR( m_device, reinterpret_cast<const VkImportFenceWin32HandleInfoKHR*>( pImportFenceWin32HandleInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkImportFenceWin32HandleKHR( m_device, reinterpret_cast<const VkImportFenceWin32HandleInfoKHR*>( &importFenceWin32HandleInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importFenceWin32HandleKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getFenceFdKHR( const FenceGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetFenceFdKHR( m_device, reinterpret_cast<const VkFenceGetFdInfoKHR*>( pGetFdInfo ), pFd ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<int>::type Device::getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, Dispatch const &d ) const\r
- {\r
- int fd;\r
- Result result = static_cast<Result>( d.vkGetFenceFdKHR( m_device, reinterpret_cast<const VkFenceGetFdInfoKHR*>( &getFdInfo ), &fd ) );\r
- return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING"::Device::getFenceFdKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::importFenceFdKHR( const ImportFenceFdInfoKHR* pImportFenceFdInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkImportFenceFdKHR( m_device, reinterpret_cast<const VkImportFenceFdInfoKHR*>( pImportFenceFdInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkImportFenceFdKHR( m_device, reinterpret_cast<const VkImportFenceFdInfoKHR*>( &importFenceFdInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importFenceFdKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT* pDisplayPowerInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkDisplayPowerControlEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayPowerInfoEXT*>( pDisplayPowerInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT & displayPowerInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkDisplayPowerControlEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayPowerInfoEXT*>( &displayPowerInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::displayPowerControlEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::registerEventEXT( const DeviceEventInfoEXT* pDeviceEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkRegisterDeviceEventEXT( m_device, reinterpret_cast<const VkDeviceEventInfoEXT*>( pDeviceEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFence*>( pFence ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Fence>::type Device::registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Fence fence;\r
- Result result = static_cast<Result>( d.vkRegisterDeviceEventEXT( m_device, reinterpret_cast<const VkDeviceEventInfoEXT*>( &deviceEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );\r
- return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::registerEventEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT* pDisplayEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkRegisterDisplayEventEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayEventInfoEXT*>( pDisplayEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFence*>( pFence ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Fence>::type Device::registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Fence fence;\r
- Result result = static_cast<Result>( d.vkRegisterDisplayEventEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayEventInfoEXT*>( &displayEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );\r
- return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::registerDisplayEventEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetSwapchainCounterEXT( m_device, static_cast<VkSwapchainKHR>( swapchain ), static_cast<VkSurfaceCounterFlagBitsEXT>( counter ), pCounterValue ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<uint64_t>::type Device::getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, Dispatch const &d ) const\r
- {\r
- uint64_t counterValue;\r
- Result result = static_cast<Result>( d.vkGetSwapchainCounterEXT( m_device, static_cast<VkSwapchainKHR>( swapchain ), static_cast<VkSurfaceCounterFlagBitsEXT>( counter ), &counterValue ) );\r
- return createResultValue( result, counterValue, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainCounterEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d) const\r
- {\r
- d.vkGetDeviceGroupPeerMemoryFeatures( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( pPeerMemoryFeatures ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d ) const\r
- {\r
- PeerMemoryFeatureFlags peerMemoryFeatures;\r
- d.vkGetDeviceGroupPeerMemoryFeatures( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( &peerMemoryFeatures ) );\r
- return peerMemoryFeatures;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d) const\r
- {\r
- d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( pPeerMemoryFeatures ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d ) const\r
- {\r
- PeerMemoryFeatureFlags peerMemoryFeatures;\r
- d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( &peerMemoryFeatures ) );\r
- return peerMemoryFeatures;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::bindBufferMemory2( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkBindBufferMemory2( m_device, bindInfoCount, reinterpret_cast<const VkBindBufferMemoryInfo*>( pBindInfos ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindBufferMemory2( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkBindBufferMemory2( m_device, bindInfos.size() , reinterpret_cast<const VkBindBufferMemoryInfo*>( bindInfos.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindBufferMemory2" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::bindBufferMemory2KHR( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkBindBufferMemory2KHR( m_device, bindInfoCount, reinterpret_cast<const VkBindBufferMemoryInfo*>( pBindInfos ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindBufferMemory2KHR( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkBindBufferMemory2KHR( m_device, bindInfos.size() , reinterpret_cast<const VkBindBufferMemoryInfo*>( bindInfos.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindBufferMemory2KHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::bindImageMemory2( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkBindImageMemory2( m_device, bindInfoCount, reinterpret_cast<const VkBindImageMemoryInfo*>( pBindInfos ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindImageMemory2( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkBindImageMemory2( m_device, bindInfos.size() , reinterpret_cast<const VkBindImageMemoryInfo*>( bindInfos.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindImageMemory2" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::bindImageMemory2KHR( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkBindImageMemory2KHR( m_device, bindInfoCount, reinterpret_cast<const VkBindImageMemoryInfo*>( pBindInfos ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindImageMemory2KHR( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkBindImageMemory2KHR( m_device, bindInfos.size() , reinterpret_cast<const VkBindImageMemoryInfo*>( bindInfos.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindImageMemory2KHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetDeviceGroupPresentCapabilitiesKHR( m_device, reinterpret_cast<VkDeviceGroupPresentCapabilitiesKHR*>( pDeviceGroupPresentCapabilities ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DeviceGroupPresentCapabilitiesKHR>::type Device::getGroupPresentCapabilitiesKHR(Dispatch const &d ) const\r
- {\r
- DeviceGroupPresentCapabilitiesKHR deviceGroupPresentCapabilities;\r
- Result result = static_cast<Result>( d.vkGetDeviceGroupPresentCapabilitiesKHR( m_device, reinterpret_cast<VkDeviceGroupPresentCapabilitiesKHR*>( &deviceGroupPresentCapabilities ) ) );\r
- return createResultValue( result, deviceGroupPresentCapabilities, VULKAN_HPP_NAMESPACE_STRING"::Device::getGroupPresentCapabilitiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getGroupSurfacePresentModesKHR( SurfaceKHR surface, DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkDeviceGroupPresentModeFlagsKHR*>( pModes ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DeviceGroupPresentModeFlagsKHR>::type Device::getGroupSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d ) const\r
- {\r
- DeviceGroupPresentModeFlagsKHR modes;\r
- Result result = static_cast<Result>( d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkDeviceGroupPresentModeFlagsKHR*>( &modes ) ) );\r
- return createResultValue( result, modes, VULKAN_HPP_NAMESPACE_STRING"::Device::getGroupSurfacePresentModesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::acquireNextImage2KHR( const AcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkAcquireNextImage2KHR( m_device, reinterpret_cast<const VkAcquireNextImageInfoKHR*>( pAcquireInfo ), pImageIndex ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValue<uint32_t> Device::acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, Dispatch const &d ) const\r
- {\r
- uint32_t imageIndex;\r
- Result result = static_cast<Result>( d.vkAcquireNextImage2KHR( m_device, reinterpret_cast<const VkAcquireNextImageInfoKHR*>( &acquireInfo ), &imageIndex ) );\r
- return createResultValue( result, imageIndex, VULKAN_HPP_NAMESPACE_STRING"::Device::acquireNextImage2KHR", { Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorUpdateTemplate*>( pDescriptorUpdateTemplate ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorUpdateTemplate descriptorUpdateTemplate;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );\r
- return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplate" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorUpdateTemplate descriptorUpdateTemplate;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplateUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorUpdateTemplate*>( pDescriptorUpdateTemplate ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorUpdateTemplate descriptorUpdateTemplate;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );\r
- return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplateKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DescriptorUpdateTemplate descriptorUpdateTemplate;\r
- Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplateKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDescriptorUpdateTemplateKHR( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDescriptorUpdateTemplateKHR( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d) const\r
- {\r
- d.vkUpdateDescriptorSetWithTemplate( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d ) const\r
- {\r
- d.vkUpdateDescriptorSetWithTemplate( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d) const\r
- {\r
- d.vkUpdateDescriptorSetWithTemplateKHR( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d ) const\r
- {\r
- d.vkUpdateDescriptorSetWithTemplateKHR( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( uint32_t swapchainCount, const SwapchainKHR* pSwapchains, const HdrMetadataEXT* pMetadata, Dispatch const &d) const\r
- {\r
- d.vkSetHdrMetadataEXT( m_device, swapchainCount, reinterpret_cast<const VkSwapchainKHR*>( pSwapchains ), reinterpret_cast<const VkHdrMetadataEXT*>( pMetadata ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( ArrayProxy<const SwapchainKHR> swapchains, ArrayProxy<const HdrMetadataEXT> metadata, Dispatch const &d ) const\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( swapchains.size() == metadata.size() );\r
-#else\r
- if ( swapchains.size() != metadata.size() )\r
- {\r
- throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::setHdrMetadataEXT: swapchains.size() != metadata.size()" );\r
- }\r
-#endif // VULKAN_HPP_NO_EXCEPTIONS\r
- d.vkSetHdrMetadataEXT( m_device, swapchains.size() , reinterpret_cast<const VkSwapchainKHR*>( swapchains.data() ), reinterpret_cast<const VkHdrMetadataEXT*>( metadata.data() ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetSwapchainStatusKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkGetSwapchainStatusKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainStatusKHR", { Result::eSuccess, Result::eSuboptimalKHR } );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, RefreshCycleDurationGOOGLE* pDisplayTimingProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetRefreshCycleDurationGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkRefreshCycleDurationGOOGLE*>( pDisplayTimingProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<RefreshCycleDurationGOOGLE>::type Device::getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, Dispatch const &d ) const\r
- {\r
- RefreshCycleDurationGOOGLE displayTimingProperties;\r
- Result result = static_cast<Result>( d.vkGetRefreshCycleDurationGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkRefreshCycleDurationGOOGLE*>( &displayTimingProperties ) ) );\r
- return createResultValue( result, displayTimingProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getRefreshCycleDurationGOOGLE" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, uint32_t* pPresentationTimingCount, PastPresentationTimingGOOGLE* pPresentationTimings, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), pPresentationTimingCount, reinterpret_cast<VkPastPresentationTimingGOOGLE*>( pPresentationTimings ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<PastPresentationTimingGOOGLE,Allocator>>::type Device::getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, Dispatch const &d ) const\r
- {\r
- std::vector<PastPresentationTimingGOOGLE,Allocator> presentationTimings;\r
- uint32_t presentationTimingCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), &presentationTimingCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && presentationTimingCount )\r
- {\r
- presentationTimings.resize( presentationTimingCount );\r
- result = static_cast<Result>( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), &presentationTimingCount, reinterpret_cast<VkPastPresentationTimingGOOGLE*>( presentationTimings.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( presentationTimingCount <= presentationTimings.size() );\r
- presentationTimings.resize( presentationTimingCount );\r
- return createResultValue( result, presentationTimings, VULKAN_HPP_NAMESPACE_STRING"::Device::getPastPresentationTimingGOOGLE" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- MemoryRequirements2 memoryRequirements;\r
- d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return memoryRequirements;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();\r
- d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- MemoryRequirements2 memoryRequirements;\r
- d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return memoryRequirements;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();\r
- d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- MemoryRequirements2 memoryRequirements;\r
- d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return memoryRequirements;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();\r
- d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- MemoryRequirements2 memoryRequirements;\r
- d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return memoryRequirements;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();\r
- d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( pInfo ), pSparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( pSparseMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2,Allocator> Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- std::vector<SparseImageMemoryRequirements2,Allocator> sparseMemoryRequirements;\r
- uint32_t sparseMemoryRequirementCount;\r
- d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, nullptr );\r
- sparseMemoryRequirements.resize( sparseMemoryRequirementCount );\r
- d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( sparseMemoryRequirements.data() ) );\r
- return sparseMemoryRequirements;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d) const\r
- {\r
- d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( pInfo ), pSparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( pSparseMemoryRequirements ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2,Allocator> Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d ) const\r
- {\r
- std::vector<SparseImageMemoryRequirements2,Allocator> sparseMemoryRequirements;\r
- uint32_t sparseMemoryRequirementCount;\r
- d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, nullptr );\r
- sparseMemoryRequirements.resize( sparseMemoryRequirementCount );\r
- d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( sparseMemoryRequirements.data() ) );\r
- return sparseMemoryRequirements;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSamplerYcbcrConversion*>( pYcbcrConversion ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SamplerYcbcrConversion>::type Device::createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SamplerYcbcrConversion ycbcrConversion;\r
- Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );\r
- return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversion" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSamplerYcbcrConversion>::type Device::createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SamplerYcbcrConversion ycbcrConversion;\r
- Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversionUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSamplerYcbcrConversion*>( pYcbcrConversion ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SamplerYcbcrConversion>::type Device::createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SamplerYcbcrConversion ycbcrConversion;\r
- Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );\r
- return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversionKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSamplerYcbcrConversion>::type Device::createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SamplerYcbcrConversion ycbcrConversion;\r
- Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversionKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySamplerYcbcrConversionKHR( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySamplerYcbcrConversionKHR( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getQueue2( const DeviceQueueInfo2* pQueueInfo, Queue* pQueue, Dispatch const &d) const\r
- {\r
- d.vkGetDeviceQueue2( m_device, reinterpret_cast<const VkDeviceQueueInfo2*>( pQueueInfo ), reinterpret_cast<VkQueue*>( pQueue ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Queue Device::getQueue2( const DeviceQueueInfo2 & queueInfo, Dispatch const &d ) const\r
- {\r
- Queue queue;\r
- d.vkGetDeviceQueue2( m_device, reinterpret_cast<const VkDeviceQueueInfo2*>( &queueInfo ), reinterpret_cast<VkQueue*>( &queue ) );\r
- return queue;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::createValidationCacheEXT( const ValidationCacheCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, ValidationCacheEXT* pValidationCache, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast<const VkValidationCacheCreateInfoEXT*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkValidationCacheEXT*>( pValidationCache ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ValidationCacheEXT>::type Device::createValidationCacheEXT( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ValidationCacheEXT validationCache;\r
- Result result = static_cast<Result>( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast<const VkValidationCacheCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkValidationCacheEXT*>( &validationCache ) ) );\r
- return createResultValue( result, validationCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createValidationCacheEXT" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueValidationCacheEXT>::type Device::createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- ValidationCacheEXT validationCache;\r
- Result result = static_cast<Result>( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast<const VkValidationCacheCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkValidationCacheEXT*>( &validationCache ) ) );\r
-\r
- ObjectDestroy<Device> deleter( *this, allocator );\r
- return createResultValue( result, validationCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createValidationCacheEXTUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::destroy( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getValidationCacheDataEXT( ValidationCacheEXT validationCache, size_t* pDataSize, void* pData, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetValidationCacheDataEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), pDataSize, pData ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t,Allocator>>::type Device::getValidationCacheDataEXT( ValidationCacheEXT validationCache, Dispatch const &d ) const\r
- {\r
- std::vector<uint8_t,Allocator> data;\r
- size_t dataSize;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetValidationCacheDataEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), &dataSize, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && dataSize )\r
- {\r
- data.resize( dataSize );\r
- result = static_cast<Result>( d.vkGetValidationCacheDataEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), &dataSize, reinterpret_cast<void*>( data.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( dataSize <= data.size() );\r
- data.resize( dataSize );\r
- return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getValidationCacheDataEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::mergeValidationCachesEXT( ValidationCacheEXT dstCache, uint32_t srcCacheCount, const ValidationCacheEXT* pSrcCaches, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkMergeValidationCachesEXT( m_device, static_cast<VkValidationCacheEXT>( dstCache ), srcCacheCount, reinterpret_cast<const VkValidationCacheEXT*>( pSrcCaches ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::mergeValidationCachesEXT( ValidationCacheEXT dstCache, ArrayProxy<const ValidationCacheEXT> srcCaches, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkMergeValidationCachesEXT( m_device, static_cast<VkValidationCacheEXT>( dstCache ), srcCaches.size() , reinterpret_cast<const VkValidationCacheEXT*>( srcCaches.data() ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::mergeValidationCachesEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d) const\r
- {\r
- d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( pSupport ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const\r
- {\r
- DescriptorSetLayoutSupport support;\r
- d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );\r
- return support;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- DescriptorSetLayoutSupport& support = structureChain.template get<DescriptorSetLayoutSupport>();\r
- d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d) const\r
- {\r
- d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( pSupport ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const\r
- {\r
- DescriptorSetLayoutSupport support;\r
- d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );\r
- return support;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- DescriptorSetLayoutSupport& support = structureChain.template get<DescriptorSetLayoutSupport>();\r
- d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetShaderInfoAMD( m_device, static_cast<VkPipeline>( pipeline ), static_cast<VkShaderStageFlagBits>( shaderStage ), static_cast<VkShaderInfoTypeAMD>( infoType ), pInfoSize, pInfo ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t,Allocator>>::type Device::getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, Dispatch const &d ) const\r
- {\r
- std::vector<uint8_t,Allocator> info;\r
- size_t infoSize;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetShaderInfoAMD( m_device, static_cast<VkPipeline>( pipeline ), static_cast<VkShaderStageFlagBits>( shaderStage ), static_cast<VkShaderInfoTypeAMD>( infoType ), &infoSize, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && infoSize )\r
- {\r
- info.resize( infoSize );\r
- result = static_cast<Result>( d.vkGetShaderInfoAMD( m_device, static_cast<VkPipeline>( pipeline ), static_cast<VkShaderStageFlagBits>( shaderStage ), static_cast<VkShaderInfoTypeAMD>( infoType ), &infoSize, reinterpret_cast<void*>( info.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( infoSize <= info.size() );\r
- info.resize( infoSize );\r
- return createResultValue( result, info, VULKAN_HPP_NAMESPACE_STRING"::Device::getShaderInfoAMD" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT* pNameInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkSetDebugUtilsObjectNameEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectNameInfoEXT*>( pNameInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkSetDebugUtilsObjectNameEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectNameInfoEXT*>( &nameInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::setDebugUtilsObjectNameEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT* pTagInfo, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectTagInfoEXT*>( pTagInfo ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type Device::setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectTagInfoEXT*>( &tagInfo ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::setDebugUtilsObjectTagEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), pHostPointer, reinterpret_cast<VkMemoryHostPointerPropertiesEXT*>( pMemoryHostPointerProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<MemoryHostPointerPropertiesEXT>::type Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, Dispatch const &d ) const\r
- {\r
- MemoryHostPointerPropertiesEXT memoryHostPointerProperties;\r
- Result result = static_cast<Result>( d.vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), pHostPointer, reinterpret_cast<VkMemoryHostPointerPropertiesEXT*>( &memoryHostPointerProperties ) ) );\r
- return createResultValue( result, memoryHostPointerProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryHostPointerPropertiesEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer* buffer, AndroidHardwareBufferPropertiesANDROID* pProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<AndroidHardwareBufferPropertiesANDROID>::type Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d ) const\r
- {\r
- AndroidHardwareBufferPropertiesANDROID properties;\r
- Result result = static_cast<Result>( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID*>( &properties ) ) );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::Device::getAndroidHardwareBufferPropertiesANDROID" );\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- AndroidHardwareBufferPropertiesANDROID& properties = structureChain.template get<AndroidHardwareBufferPropertiesANDROID>();\r
- Result result = static_cast<Result>( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID*>( &properties ) ) );\r
- return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::Device::getAndroidHardwareBufferPropertiesANDROID" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetMemoryAndroidHardwareBufferANDROID( m_device, reinterpret_cast<const VkMemoryGetAndroidHardwareBufferInfoANDROID*>( pInfo ), pBuffer ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<struct AHardwareBuffer*>::type Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, Dispatch const &d ) const\r
- {\r
- struct AHardwareBuffer* buffer;\r
- Result result = static_cast<Result>( d.vkGetMemoryAndroidHardwareBufferANDROID( m_device, reinterpret_cast<const VkMemoryGetAndroidHardwareBufferInfoANDROID*>( &info ), &buffer ) );\r
- return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryAndroidHardwareBufferANDROID" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
-\r
- template <> class UniqueHandleTraits<Device> {public: using deleter = ObjectDestroy<NoParent>; };\r
- using UniqueDevice = UniqueHandle<Device>;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-\r
- class PhysicalDevice\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR PhysicalDevice()\r
- : m_physicalDevice(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR PhysicalDevice( std::nullptr_t )\r
- : m_physicalDevice(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT PhysicalDevice( VkPhysicalDevice physicalDevice )\r
- : m_physicalDevice( physicalDevice )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- PhysicalDevice & operator=(VkPhysicalDevice physicalDevice)\r
- {\r
- m_physicalDevice = physicalDevice;\r
- return *this; \r
- }\r
-#endif\r
-\r
- PhysicalDevice & operator=( std::nullptr_t )\r
- {\r
- m_physicalDevice = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( PhysicalDevice const & rhs ) const\r
- {\r
- return m_physicalDevice == rhs.m_physicalDevice;\r
- }\r
-\r
- bool operator!=(PhysicalDevice const & rhs ) const\r
- {\r
- return m_physicalDevice != rhs.m_physicalDevice;\r
- }\r
-\r
- bool operator<(PhysicalDevice const & rhs ) const\r
- {\r
- return m_physicalDevice < rhs.m_physicalDevice;\r
- }\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getProperties( PhysicalDeviceProperties* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceProperties getProperties(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getQueueFamilyProperties( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties* pQueueFamilyProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<QueueFamilyProperties>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<QueueFamilyProperties,Allocator> getQueueFamilyProperties(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getMemoryProperties( PhysicalDeviceMemoryProperties* pMemoryProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceMemoryProperties getMemoryProperties(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getFeatures( PhysicalDeviceFeatures* pFeatures, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceFeatures getFeatures(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getFormatProperties( Format format, FormatProperties* pFormatProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- FormatProperties getFormatProperties( Format format, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ImageFormatProperties* pImageFormatProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ImageFormatProperties>::type getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDevice( const DeviceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Device* pDevice, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Device>::type createDevice( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDevice>::type createDeviceUnique( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumerateDeviceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<LayerProperties>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<LayerProperties,Allocator>>::type enumerateDeviceLayerProperties(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumerateDeviceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<ExtensionProperties>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type enumerateDeviceExtensionProperties( Optional<const std::string> layerName = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, uint32_t* pPropertyCount, SparseImageFormatProperties* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SparseImageFormatProperties>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<SparseImageFormatProperties,Allocator> getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getDisplayPropertiesKHR( uint32_t* pPropertyCount, DisplayPropertiesKHR* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<DisplayPropertiesKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<DisplayPropertiesKHR,Allocator>>::type getDisplayPropertiesKHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getDisplayPlanePropertiesKHR( uint32_t* pPropertyCount, DisplayPlanePropertiesKHR* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<DisplayPlanePropertiesKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<DisplayPlanePropertiesKHR,Allocator>>::type getDisplayPlanePropertiesKHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t* pDisplayCount, DisplayKHR* pDisplays, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<DisplayKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<DisplayKHR,Allocator>>::type getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getDisplayModePropertiesKHR( DisplayKHR display, uint32_t* pPropertyCount, DisplayModePropertiesKHR* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<DisplayModePropertiesKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<DisplayModePropertiesKHR,Allocator>>::type getDisplayModePropertiesKHR( DisplayKHR display, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, DisplayModeKHR* pMode, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DisplayModeKHR>::type createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, DisplayPlaneCapabilitiesKHR* pCapabilities, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DisplayPlaneCapabilitiesKHR>::type getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection* connection, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection & connection, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Bool32* pSupported, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Bool32>::type getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSurfaceCapabilitiesKHR( SurfaceKHR surface, SurfaceCapabilitiesKHR* pSurfaceCapabilities, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceCapabilitiesKHR>::type getSurfaceCapabilitiesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSurfaceFormatsKHR( SurfaceKHR surface, uint32_t* pSurfaceFormatCount, SurfaceFormatKHR* pSurfaceFormats, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SurfaceFormatKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<SurfaceFormatKHR,Allocator>>::type getSurfaceFormatsKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSurfacePresentModesKHR( SurfaceKHR surface, uint32_t* pPresentModeCount, PresentModeKHR* pPresentModes, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<PresentModeKHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<PresentModeKHR,Allocator>>::type getSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display* display, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display* dpy, VisualID visualID, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, ExternalImageFormatPropertiesNV* pExternalImageFormatProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ExternalImageFormatPropertiesNV>::type getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX* pFeatures, DeviceGeneratedCommandsLimitsNVX* pLimits, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- DeviceGeneratedCommandsLimitsNVX getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX & features, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getFeatures2( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceFeatures2 getFeatures2(Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getFeatures2(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getFeatures2KHR( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceFeatures2 getFeatures2KHR(Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getFeatures2KHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getProperties2( PhysicalDeviceProperties2* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceProperties2 getProperties2(Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getProperties2(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getProperties2KHR( PhysicalDeviceProperties2* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceProperties2 getProperties2KHR(Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- StructureChain<T...> getProperties2KHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getFormatProperties2( Format format, FormatProperties2* pFormatProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- FormatProperties2 getFormatProperties2( Format format, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getFormatProperties2KHR( Format format, FormatProperties2* pFormatProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- FormatProperties2 getFormatProperties2KHR( Format format, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ImageFormatProperties2>::type getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- typename ResultValueType<StructureChain<T...>>::type getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<ImageFormatProperties2>::type getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- typename ResultValueType<StructureChain<T...>>::type getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getQueueFamilyProperties2( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<QueueFamilyProperties2>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<QueueFamilyProperties2,Allocator> getQueueFamilyProperties2(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getQueueFamilyProperties2KHR( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<QueueFamilyProperties2>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<QueueFamilyProperties2,Allocator> getQueueFamilyProperties2KHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getMemoryProperties2( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceMemoryProperties2 getMemoryProperties2(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getMemoryProperties2KHR( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PhysicalDeviceMemoryProperties2 getMemoryProperties2KHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SparseImageFormatProperties2>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<SparseImageFormatProperties2,Allocator> getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SparseImageFormatProperties2>, typename Dispatch = DispatchLoaderStatic> \r
- std::vector<SparseImageFormatProperties2,Allocator> getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ExternalBufferProperties getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ExternalBufferProperties getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ExternalSemaphoreProperties getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ExternalSemaphoreProperties getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ExternalFenceProperties getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ExternalFenceProperties getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result releaseDisplayEXT( DisplayKHR display, Dispatch const &d = Dispatch() ) const;\r
-#else\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<void>::type releaseDisplayEXT( DisplayKHR display, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result acquireXlibDisplayEXT( Display* dpy, DisplayKHR display, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Display>::type acquireXlibDisplayEXT( DisplayKHR display, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getRandROutputDisplayEXT( Display* dpy, RROutput rrOutput, DisplayKHR* pDisplay, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DisplayKHR>::type getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSurfaceCapabilities2EXT( SurfaceKHR surface, SurfaceCapabilities2EXT* pSurfaceCapabilities, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceCapabilities2EXT>::type getSurfaceCapabilities2EXT( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getPresentRectanglesKHR( SurfaceKHR surface, uint32_t* pRectCount, Rect2D* pRects, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<Rect2D>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<Rect2D,Allocator>>::type getPresentRectanglesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void getMultisamplePropertiesEXT( SampleCountFlagBits samples, MultisamplePropertiesEXT* pMultisampleProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- MultisamplePropertiesEXT getMultisamplePropertiesEXT( SampleCountFlagBits samples, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, SurfaceCapabilities2KHR* pSurfaceCapabilities, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceCapabilities2KHR>::type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d = Dispatch() ) const;\r
- template <typename ...T, typename Dispatch = DispatchLoaderStatic>\r
- typename ResultValueType<StructureChain<T...>>::type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, SurfaceFormat2KHR* pSurfaceFormats, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<SurfaceFormat2KHR>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<SurfaceFormat2KHR,Allocator>>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPhysicalDevice() const\r
- {\r
- return m_physicalDevice;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_physicalDevice != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_physicalDevice == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkPhysicalDevice m_physicalDevice;\r
- };\r
-\r
- static_assert( sizeof( PhysicalDevice ) == sizeof( VkPhysicalDevice ), "handle and wrapper have different size!" );\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getProperties( PhysicalDeviceProperties* pProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties*>( pProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceProperties PhysicalDevice::getProperties(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceProperties properties;\r
- d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties*>( &properties ) );\r
- return properties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties* pQueueFamilyProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties*>( pQueueFamilyProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<QueueFamilyProperties,Allocator> PhysicalDevice::getQueueFamilyProperties(Dispatch const &d ) const\r
- {\r
- std::vector<QueueFamilyProperties,Allocator> queueFamilyProperties;\r
- uint32_t queueFamilyPropertyCount;\r
- d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr );\r
- queueFamilyProperties.resize( queueFamilyPropertyCount );\r
- d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties*>( queueFamilyProperties.data() ) );\r
- return queueFamilyProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties( PhysicalDeviceMemoryProperties* pMemoryProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties*>( pMemoryProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties PhysicalDevice::getMemoryProperties(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceMemoryProperties memoryProperties;\r
- d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties*>( &memoryProperties ) );\r
- return memoryProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getFeatures( PhysicalDeviceFeatures* pFeatures, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures*>( pFeatures ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceFeatures PhysicalDevice::getFeatures(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceFeatures features;\r
- d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures*>( &features ) );\r
- return features;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties( Format format, FormatProperties* pFormatProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties*>( pFormatProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE FormatProperties PhysicalDevice::getFormatProperties( Format format, Dispatch const &d ) const\r
- {\r
- FormatProperties formatProperties;\r
- d.vkGetPhysicalDeviceFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties*>( &formatProperties ) );\r
- return formatProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ImageFormatProperties* pImageFormatProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), reinterpret_cast<VkImageFormatProperties*>( pImageFormatProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ImageFormatProperties>::type PhysicalDevice::getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, Dispatch const &d ) const\r
- {\r
- ImageFormatProperties imageFormatProperties;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), reinterpret_cast<VkImageFormatProperties*>( &imageFormatProperties ) ) );\r
- return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::createDevice( const DeviceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Device* pDevice, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDevice( m_physicalDevice, reinterpret_cast<const VkDeviceCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDevice*>( pDevice ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Device>::type PhysicalDevice::createDevice( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Device device;\r
- Result result = static_cast<Result>( d.vkCreateDevice( m_physicalDevice, reinterpret_cast<const VkDeviceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDevice*>( &device ) ) );\r
- return createResultValue( result, device, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::createDevice" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDevice>::type PhysicalDevice::createDeviceUnique( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- Device device;\r
- Result result = static_cast<Result>( d.vkCreateDevice( m_physicalDevice, reinterpret_cast<const VkDeviceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDevice*>( &device ) ) );\r
-\r
- ObjectDestroy<NoParent> deleter( allocator );\r
- return createResultValue( result, device, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::createDeviceUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, pPropertyCount, reinterpret_cast<VkLayerProperties*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<LayerProperties,Allocator>>::type PhysicalDevice::enumerateDeviceLayerProperties(Dispatch const &d ) const\r
- {\r
- std::vector<LayerProperties,Allocator> properties;\r
- uint32_t propertyCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && propertyCount )\r
- {\r
- properties.resize( propertyCount );\r
- result = static_cast<Result>( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, reinterpret_cast<VkLayerProperties*>( properties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( propertyCount <= properties.size() );\r
- properties.resize( propertyCount );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceLayerProperties" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, pLayerName, pPropertyCount, reinterpret_cast<VkExtensionProperties*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type PhysicalDevice::enumerateDeviceExtensionProperties( Optional<const std::string> layerName, Dispatch const &d ) const\r
- {\r
- std::vector<ExtensionProperties,Allocator> properties;\r
- uint32_t propertyCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && propertyCount )\r
- {\r
- properties.resize( propertyCount );\r
- result = static_cast<Result>( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast<VkExtensionProperties*>( properties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( propertyCount <= properties.size() );\r
- properties.resize( propertyCount );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceExtensionProperties" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, uint32_t* pPropertyCount, SparseImageFormatProperties* pProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkSampleCountFlagBits>( samples ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageTiling>( tiling ), pPropertyCount, reinterpret_cast<VkSparseImageFormatProperties*>( pProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties,Allocator> PhysicalDevice::getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, Dispatch const &d ) const\r
- {\r
- std::vector<SparseImageFormatProperties,Allocator> properties;\r
- uint32_t propertyCount;\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkSampleCountFlagBits>( samples ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageTiling>( tiling ), &propertyCount, nullptr );\r
- properties.resize( propertyCount );\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkSampleCountFlagBits>( samples ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageTiling>( tiling ), &propertyCount, reinterpret_cast<VkSparseImageFormatProperties*>( properties.data() ) );\r
- return properties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPropertiesKHR( uint32_t* pPropertyCount, DisplayPropertiesKHR* pProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, pPropertyCount, reinterpret_cast<VkDisplayPropertiesKHR*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayPropertiesKHR,Allocator>>::type PhysicalDevice::getDisplayPropertiesKHR(Dispatch const &d ) const\r
- {\r
- std::vector<DisplayPropertiesKHR,Allocator> properties;\r
- uint32_t propertyCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && propertyCount )\r
- {\r
- properties.resize( propertyCount );\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast<VkDisplayPropertiesKHR*>( properties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( propertyCount <= properties.size() );\r
- properties.resize( propertyCount );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPropertiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlanePropertiesKHR( uint32_t* pPropertyCount, DisplayPlanePropertiesKHR* pProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, pPropertyCount, reinterpret_cast<VkDisplayPlanePropertiesKHR*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayPlanePropertiesKHR,Allocator>>::type PhysicalDevice::getDisplayPlanePropertiesKHR(Dispatch const &d ) const\r
- {\r
- std::vector<DisplayPlanePropertiesKHR,Allocator> properties;\r
- uint32_t propertyCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && propertyCount )\r
- {\r
- properties.resize( propertyCount );\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast<VkDisplayPlanePropertiesKHR*>( properties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( propertyCount <= properties.size() );\r
- properties.resize( propertyCount );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlanePropertiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t* pDisplayCount, DisplayKHR* pDisplays, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, pDisplayCount, reinterpret_cast<VkDisplayKHR*>( pDisplays ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayKHR,Allocator>>::type PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const &d ) const\r
- {\r
- std::vector<DisplayKHR,Allocator> displays;\r
- uint32_t displayCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && displayCount )\r
- {\r
- displays.resize( displayCount );\r
- result = static_cast<Result>( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, reinterpret_cast<VkDisplayKHR*>( displays.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( displayCount <= displays.size() );\r
- displays.resize( displayCount );\r
- return createResultValue( result, displays, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayModePropertiesKHR( DisplayKHR display, uint32_t* pPropertyCount, DisplayModePropertiesKHR* pProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), pPropertyCount, reinterpret_cast<VkDisplayModePropertiesKHR*>( pProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayModePropertiesKHR,Allocator>>::type PhysicalDevice::getDisplayModePropertiesKHR( DisplayKHR display, Dispatch const &d ) const\r
- {\r
- std::vector<DisplayModePropertiesKHR,Allocator> properties;\r
- uint32_t propertyCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), &propertyCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && propertyCount )\r
- {\r
- properties.resize( propertyCount );\r
- result = static_cast<Result>( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), &propertyCount, reinterpret_cast<VkDisplayModePropertiesKHR*>( properties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( propertyCount <= properties.size() );\r
- properties.resize( propertyCount );\r
- return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayModePropertiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, DisplayModeKHR* pMode, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDisplayModeKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayModeCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDisplayModeKHR*>( pMode ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DisplayModeKHR>::type PhysicalDevice::createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DisplayModeKHR mode;\r
- Result result = static_cast<Result>( d.vkCreateDisplayModeKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayModeCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDisplayModeKHR*>( &mode ) ) );\r
- return createResultValue( result, mode, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::createDisplayModeKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, DisplayPlaneCapabilitiesKHR* pCapabilities, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, static_cast<VkDisplayModeKHR>( mode ), planeIndex, reinterpret_cast<VkDisplayPlaneCapabilitiesKHR*>( pCapabilities ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DisplayPlaneCapabilitiesKHR>::type PhysicalDevice::getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, Dispatch const &d ) const\r
- {\r
- DisplayPlaneCapabilitiesKHR capabilities;\r
- Result result = static_cast<Result>( d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, static_cast<VkDisplayModeKHR>( mode ), planeIndex, reinterpret_cast<VkDisplayPlaneCapabilitiesKHR*>( &capabilities ) ) );\r
- return createResultValue( result, capabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneCapabilitiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection* connection, Dispatch const &d) const\r
- {\r
- return d.vkGetPhysicalDeviceMirPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, connection );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection & connection, Dispatch const &d ) const\r
- {\r
- return d.vkGetPhysicalDeviceMirPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &connection );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Bool32* pSupported, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, queueFamilyIndex, static_cast<VkSurfaceKHR>( surface ), pSupported ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Bool32>::type PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Dispatch const &d ) const\r
- {\r
- Bool32 supported;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, queueFamilyIndex, static_cast<VkSurfaceKHR>( surface ), &supported ) );\r
- return createResultValue( result, supported, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceSupportKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilitiesKHR( SurfaceKHR surface, SurfaceCapabilitiesKHR* pSurfaceCapabilities, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilitiesKHR*>( pSurfaceCapabilities ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceCapabilitiesKHR>::type PhysicalDevice::getSurfaceCapabilitiesKHR( SurfaceKHR surface, Dispatch const &d ) const\r
- {\r
- SurfaceCapabilitiesKHR surfaceCapabilities;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilitiesKHR*>( &surfaceCapabilities ) ) );\r
- return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilitiesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormatsKHR( SurfaceKHR surface, uint32_t* pSurfaceFormatCount, SurfaceFormatKHR* pSurfaceFormats, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), pSurfaceFormatCount, reinterpret_cast<VkSurfaceFormatKHR*>( pSurfaceFormats ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<SurfaceFormatKHR,Allocator>>::type PhysicalDevice::getSurfaceFormatsKHR( SurfaceKHR surface, Dispatch const &d ) const\r
- {\r
- std::vector<SurfaceFormatKHR,Allocator> surfaceFormats;\r
- uint32_t surfaceFormatCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && surfaceFormatCount )\r
- {\r
- surfaceFormats.resize( surfaceFormatCount );\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, reinterpret_cast<VkSurfaceFormatKHR*>( surfaceFormats.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() );\r
- surfaceFormats.resize( surfaceFormatCount );\r
- return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormatsKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getSurfacePresentModesKHR( SurfaceKHR surface, uint32_t* pPresentModeCount, PresentModeKHR* pPresentModes, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), pPresentModeCount, reinterpret_cast<VkPresentModeKHR*>( pPresentModes ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<PresentModeKHR,Allocator>>::type PhysicalDevice::getSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d ) const\r
- {\r
- std::vector<PresentModeKHR,Allocator> presentModes;\r
- uint32_t presentModeCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &presentModeCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && presentModeCount )\r
- {\r
- presentModes.resize( presentModeCount );\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &presentModeCount, reinterpret_cast<VkPresentModeKHR*>( presentModes.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() );\r
- presentModes.resize( presentModeCount );\r
- return createResultValue( result, presentModes, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfacePresentModesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display* display, Dispatch const &d) const\r
- {\r
- return d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, display );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const &d ) const\r
- {\r
- return d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &display );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const &d) const\r
- {\r
- return d.vkGetPhysicalDeviceWin32PresentationSupportKHR( m_physicalDevice, queueFamilyIndex );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const &d ) const\r
- {\r
- return d.vkGetPhysicalDeviceWin32PresentationSupportKHR( m_physicalDevice, queueFamilyIndex );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display* dpy, VisualID visualID, Dispatch const &d) const\r
- {\r
- return d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, dpy, visualID );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, Dispatch const &d ) const\r
- {\r
- return d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &dpy, visualID );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id, Dispatch const &d) const\r
- {\r
- return d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, connection, visual_id );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, Dispatch const &d ) const\r
- {\r
- return d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &connection, visual_id );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, ExternalImageFormatPropertiesNV* pExternalImageFormatProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( externalHandleType ), reinterpret_cast<VkExternalImageFormatPropertiesNV*>( pExternalImageFormatProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ExternalImageFormatPropertiesNV>::type PhysicalDevice::getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, Dispatch const &d ) const\r
- {\r
- ExternalImageFormatPropertiesNV externalImageFormatProperties;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( externalHandleType ), reinterpret_cast<VkExternalImageFormatPropertiesNV*>( &externalImageFormatProperties ) ) );\r
- return createResultValue( result, externalImageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getExternalImageFormatPropertiesNV" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX* pFeatures, DeviceGeneratedCommandsLimitsNVX* pLimits, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( m_physicalDevice, reinterpret_cast<VkDeviceGeneratedCommandsFeaturesNVX*>( pFeatures ), reinterpret_cast<VkDeviceGeneratedCommandsLimitsNVX*>( pLimits ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE DeviceGeneratedCommandsLimitsNVX PhysicalDevice::getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX & features, Dispatch const &d ) const\r
- {\r
- DeviceGeneratedCommandsLimitsNVX limits;\r
- d.vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( m_physicalDevice, reinterpret_cast<VkDeviceGeneratedCommandsFeaturesNVX*>( &features ), reinterpret_cast<VkDeviceGeneratedCommandsLimitsNVX*>( &limits ) );\r
- return limits;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( pFeatures ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceFeatures2 features;\r
- d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );\r
- return features;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getFeatures2(Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- PhysicalDeviceFeatures2& features = structureChain.template get<PhysicalDeviceFeatures2>();\r
- d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2KHR( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( pFeatures ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2KHR(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceFeatures2 features;\r
- d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );\r
- return features;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getFeatures2KHR(Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- PhysicalDeviceFeatures2& features = structureChain.template get<PhysicalDeviceFeatures2>();\r
- d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getProperties2( PhysicalDeviceProperties2* pProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( pProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceProperties2 properties;\r
- d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );\r
- return properties;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getProperties2(Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- PhysicalDeviceProperties2& properties = structureChain.template get<PhysicalDeviceProperties2>();\r
- d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getProperties2KHR( PhysicalDeviceProperties2* pProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( pProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2KHR(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceProperties2 properties;\r
- d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );\r
- return properties;\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getProperties2KHR(Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- PhysicalDeviceProperties2& properties = structureChain.template get<PhysicalDeviceProperties2>();\r
- d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );\r
- return structureChain;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2( Format format, FormatProperties2* pFormatProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( pFormatProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2( Format format, Dispatch const &d ) const\r
- {\r
- FormatProperties2 formatProperties;\r
- d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( &formatProperties ) );\r
- return formatProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2KHR( Format format, FormatProperties2* pFormatProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceFormatProperties2KHR( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( pFormatProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2KHR( Format format, Dispatch const &d ) const\r
- {\r
- FormatProperties2 formatProperties;\r
- d.vkGetPhysicalDeviceFormatProperties2KHR( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( &formatProperties ) );\r
- return formatProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( pImageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( pImageFormatProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ImageFormatProperties2>::type PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const\r
- {\r
- ImageFormatProperties2 imageFormatProperties;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );\r
- return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2" );\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- ImageFormatProperties2& imageFormatProperties = structureChain.template get<ImageFormatProperties2>();\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );\r
- return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( pImageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( pImageFormatProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<ImageFormatProperties2>::type PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const\r
- {\r
- ImageFormatProperties2 imageFormatProperties;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );\r
- return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2KHR" );\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- ImageFormatProperties2& imageFormatProperties = structureChain.template get<ImageFormatProperties2>();\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );\r
- return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2KHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( pQueueFamilyProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<QueueFamilyProperties2,Allocator> PhysicalDevice::getQueueFamilyProperties2(Dispatch const &d ) const\r
- {\r
- std::vector<QueueFamilyProperties2,Allocator> queueFamilyProperties;\r
- uint32_t queueFamilyPropertyCount;\r
- d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr );\r
- queueFamilyProperties.resize( queueFamilyPropertyCount );\r
- d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( queueFamilyProperties.data() ) );\r
- return queueFamilyProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2KHR( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( pQueueFamilyProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<QueueFamilyProperties2,Allocator> PhysicalDevice::getQueueFamilyProperties2KHR(Dispatch const &d ) const\r
- {\r
- std::vector<QueueFamilyProperties2,Allocator> queueFamilyProperties;\r
- uint32_t queueFamilyPropertyCount;\r
- d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr );\r
- queueFamilyProperties.resize( queueFamilyPropertyCount );\r
- d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( queueFamilyProperties.data() ) );\r
- return queueFamilyProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( pMemoryProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceMemoryProperties2 memoryProperties;\r
- d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) );\r
- return memoryProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2KHR( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( pMemoryProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2KHR(Dispatch const &d ) const\r
- {\r
- PhysicalDeviceMemoryProperties2 memoryProperties;\r
- d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) );\r
- return memoryProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( pFormatInfo ), pPropertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( pProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties2,Allocator> PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d ) const\r
- {\r
- std::vector<SparseImageFormatProperties2,Allocator> properties;\r
- uint32_t propertyCount;\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, nullptr );\r
- properties.resize( propertyCount );\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( properties.data() ) );\r
- return properties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( pFormatInfo ), pPropertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( pProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties2,Allocator> PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d ) const\r
- {\r
- std::vector<SparseImageFormatProperties2,Allocator> properties;\r
- uint32_t propertyCount;\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, nullptr );\r
- properties.resize( propertyCount );\r
- d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( properties.data() ) );\r
- return properties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceExternalBufferProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( pExternalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( pExternalBufferProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ExternalBufferProperties PhysicalDevice::getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d ) const\r
- {\r
- ExternalBufferProperties externalBufferProperties;\r
- d.vkGetPhysicalDeviceExternalBufferProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( &externalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( &externalBufferProperties ) );\r
- return externalBufferProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( pExternalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( pExternalBufferProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ExternalBufferProperties PhysicalDevice::getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d ) const\r
- {\r
- ExternalBufferProperties externalBufferProperties;\r
- d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( &externalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( &externalBufferProperties ) );\r
- return externalBufferProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceExternalSemaphoreProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( pExternalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( pExternalSemaphoreProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d ) const\r
- {\r
- ExternalSemaphoreProperties externalSemaphoreProperties;\r
- d.vkGetPhysicalDeviceExternalSemaphoreProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( &externalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( &externalSemaphoreProperties ) );\r
- return externalSemaphoreProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( pExternalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( pExternalSemaphoreProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d ) const\r
- {\r
- ExternalSemaphoreProperties externalSemaphoreProperties;\r
- d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( &externalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( &externalSemaphoreProperties ) );\r
- return externalSemaphoreProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceExternalFenceProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( pExternalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( pExternalFenceProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ExternalFenceProperties PhysicalDevice::getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d ) const\r
- {\r
- ExternalFenceProperties externalFenceProperties;\r
- d.vkGetPhysicalDeviceExternalFenceProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( &externalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( &externalFenceProperties ) );\r
- return externalFenceProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceExternalFencePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( pExternalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( pExternalFenceProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ExternalFenceProperties PhysicalDevice::getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d ) const\r
- {\r
- ExternalFenceProperties externalFenceProperties;\r
- d.vkGetPhysicalDeviceExternalFencePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( &externalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( &externalFenceProperties ) );\r
- return externalFenceProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::releaseDisplayEXT( DisplayKHR display, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast<VkDisplayKHR>( display ) ) );\r
- }\r
-#else\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<void>::type PhysicalDevice::releaseDisplayEXT( DisplayKHR display, Dispatch const &d ) const\r
- {\r
- Result result = static_cast<Result>( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast<VkDisplayKHR>( display ) ) );\r
- return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::releaseDisplayEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::acquireXlibDisplayEXT( Display* dpy, DisplayKHR display, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkAcquireXlibDisplayEXT( m_physicalDevice, dpy, static_cast<VkDisplayKHR>( display ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Display>::type PhysicalDevice::acquireXlibDisplayEXT( DisplayKHR display, Dispatch const &d ) const\r
- {\r
- Display dpy;\r
- Result result = static_cast<Result>( d.vkAcquireXlibDisplayEXT( m_physicalDevice, &dpy, static_cast<VkDisplayKHR>( display ) ) );\r
- return createResultValue( result, dpy, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::acquireXlibDisplayEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getRandROutputDisplayEXT( Display* dpy, RROutput rrOutput, DisplayKHR* pDisplay, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetRandROutputDisplayEXT( m_physicalDevice, dpy, rrOutput, reinterpret_cast<VkDisplayKHR*>( pDisplay ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DisplayKHR>::type PhysicalDevice::getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const &d ) const\r
- {\r
- DisplayKHR display;\r
- Result result = static_cast<Result>( d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast<VkDisplayKHR*>( &display ) ) );\r
- return createResultValue( result, display, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getRandROutputDisplayEXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2EXT( SurfaceKHR surface, SurfaceCapabilities2EXT* pSurfaceCapabilities, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilities2EXT*>( pSurfaceCapabilities ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceCapabilities2EXT>::type PhysicalDevice::getSurfaceCapabilities2EXT( SurfaceKHR surface, Dispatch const &d ) const\r
- {\r
- SurfaceCapabilities2EXT surfaceCapabilities;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilities2EXT*>( &surfaceCapabilities ) ) );\r
- return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilities2EXT" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getPresentRectanglesKHR( SurfaceKHR surface, uint32_t* pRectCount, Rect2D* pRects, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), pRectCount, reinterpret_cast<VkRect2D*>( pRects ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<Rect2D,Allocator>>::type PhysicalDevice::getPresentRectanglesKHR( SurfaceKHR surface, Dispatch const &d ) const\r
- {\r
- std::vector<Rect2D,Allocator> rects;\r
- uint32_t rectCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &rectCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && rectCount )\r
- {\r
- rects.resize( rectCount );\r
- result = static_cast<Result>( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &rectCount, reinterpret_cast<VkRect2D*>( rects.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( rectCount <= rects.size() );\r
- rects.resize( rectCount );\r
- return createResultValue( result, rects, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getPresentRectanglesKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void PhysicalDevice::getMultisamplePropertiesEXT( SampleCountFlagBits samples, MultisamplePropertiesEXT* pMultisampleProperties, Dispatch const &d) const\r
- {\r
- d.vkGetPhysicalDeviceMultisamplePropertiesEXT( m_physicalDevice, static_cast<VkSampleCountFlagBits>( samples ), reinterpret_cast<VkMultisamplePropertiesEXT*>( pMultisampleProperties ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE MultisamplePropertiesEXT PhysicalDevice::getMultisamplePropertiesEXT( SampleCountFlagBits samples, Dispatch const &d ) const\r
- {\r
- MultisamplePropertiesEXT multisampleProperties;\r
- d.vkGetPhysicalDeviceMultisamplePropertiesEXT( m_physicalDevice, static_cast<VkSampleCountFlagBits>( samples ), reinterpret_cast<VkMultisamplePropertiesEXT*>( &multisampleProperties ) );\r
- return multisampleProperties;\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, SurfaceCapabilities2KHR* pSurfaceCapabilities, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( pSurfaceInfo ), reinterpret_cast<VkSurfaceCapabilities2KHR*>( pSurfaceCapabilities ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceCapabilities2KHR>::type PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d ) const\r
- {\r
- SurfaceCapabilities2KHR surfaceCapabilities;\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), reinterpret_cast<VkSurfaceCapabilities2KHR*>( &surfaceCapabilities ) ) );\r
- return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilities2KHR" );\r
- }\r
- template <typename ...T, typename Dispatch>\r
- VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d ) const\r
- {\r
- StructureChain<T...> structureChain;\r
- SurfaceCapabilities2KHR& surfaceCapabilities = structureChain.template get<SurfaceCapabilities2KHR>();\r
- Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), reinterpret_cast<VkSurfaceCapabilities2KHR*>( &surfaceCapabilities ) ) );\r
- return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilities2KHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, SurfaceFormat2KHR* pSurfaceFormats, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( pSurfaceInfo ), pSurfaceFormatCount, reinterpret_cast<VkSurfaceFormat2KHR*>( pSurfaceFormats ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<SurfaceFormat2KHR,Allocator>>::type PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d ) const\r
- {\r
- std::vector<SurfaceFormat2KHR,Allocator> surfaceFormats;\r
- uint32_t surfaceFormatCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), &surfaceFormatCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && surfaceFormatCount )\r
- {\r
- surfaceFormats.resize( surfaceFormatCount );\r
- result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast<VkSurfaceFormat2KHR*>( surfaceFormats.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() );\r
- surfaceFormats.resize( surfaceFormatCount );\r
- return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormats2KHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- struct CmdProcessCommandsInfoNVX\r
- {\r
- CmdProcessCommandsInfoNVX( ObjectTableNVX objectTable_ = ObjectTableNVX(), IndirectCommandsLayoutNVX indirectCommandsLayout_ = IndirectCommandsLayoutNVX(), uint32_t indirectCommandsTokenCount_ = 0, const IndirectCommandsTokenNVX* pIndirectCommandsTokens_ = nullptr, uint32_t maxSequencesCount_ = 0, CommandBuffer targetCommandBuffer_ = CommandBuffer(), Buffer sequencesCountBuffer_ = Buffer(), DeviceSize sequencesCountOffset_ = 0, Buffer sequencesIndexBuffer_ = Buffer(), DeviceSize sequencesIndexOffset_ = 0 )\r
- : objectTable( objectTable_ )\r
- , indirectCommandsLayout( indirectCommandsLayout_ )\r
- , indirectCommandsTokenCount( indirectCommandsTokenCount_ )\r
- , pIndirectCommandsTokens( pIndirectCommandsTokens_ )\r
- , maxSequencesCount( maxSequencesCount_ )\r
- , targetCommandBuffer( targetCommandBuffer_ )\r
- , sequencesCountBuffer( sequencesCountBuffer_ )\r
- , sequencesCountOffset( sequencesCountOffset_ )\r
- , sequencesIndexBuffer( sequencesIndexBuffer_ )\r
- , sequencesIndexOffset( sequencesIndexOffset_ )\r
- {\r
- }\r
-\r
- CmdProcessCommandsInfoNVX( VkCmdProcessCommandsInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CmdProcessCommandsInfoNVX ) );\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& operator=( VkCmdProcessCommandsInfoNVX const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( CmdProcessCommandsInfoNVX ) );\r
- return *this;\r
- }\r
- CmdProcessCommandsInfoNVX& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setObjectTable( ObjectTableNVX objectTable_ )\r
- {\r
- objectTable = objectTable_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setIndirectCommandsLayout( IndirectCommandsLayoutNVX indirectCommandsLayout_ )\r
- {\r
- indirectCommandsLayout = indirectCommandsLayout_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setIndirectCommandsTokenCount( uint32_t indirectCommandsTokenCount_ )\r
- {\r
- indirectCommandsTokenCount = indirectCommandsTokenCount_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setPIndirectCommandsTokens( const IndirectCommandsTokenNVX* pIndirectCommandsTokens_ )\r
- {\r
- pIndirectCommandsTokens = pIndirectCommandsTokens_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setMaxSequencesCount( uint32_t maxSequencesCount_ )\r
- {\r
- maxSequencesCount = maxSequencesCount_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setTargetCommandBuffer( CommandBuffer targetCommandBuffer_ )\r
- {\r
- targetCommandBuffer = targetCommandBuffer_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setSequencesCountBuffer( Buffer sequencesCountBuffer_ )\r
- {\r
- sequencesCountBuffer = sequencesCountBuffer_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setSequencesCountOffset( DeviceSize sequencesCountOffset_ )\r
- {\r
- sequencesCountOffset = sequencesCountOffset_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setSequencesIndexBuffer( Buffer sequencesIndexBuffer_ )\r
- {\r
- sequencesIndexBuffer = sequencesIndexBuffer_;\r
- return *this;\r
- }\r
-\r
- CmdProcessCommandsInfoNVX& setSequencesIndexOffset( DeviceSize sequencesIndexOffset_ )\r
- {\r
- sequencesIndexOffset = sequencesIndexOffset_;\r
- return *this;\r
- }\r
-\r
- operator const VkCmdProcessCommandsInfoNVX&() const\r
- {\r
- return *reinterpret_cast<const VkCmdProcessCommandsInfoNVX*>(this);\r
- }\r
-\r
- bool operator==( CmdProcessCommandsInfoNVX const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( objectTable == rhs.objectTable )\r
- && ( indirectCommandsLayout == rhs.indirectCommandsLayout )\r
- && ( indirectCommandsTokenCount == rhs.indirectCommandsTokenCount )\r
- && ( pIndirectCommandsTokens == rhs.pIndirectCommandsTokens )\r
- && ( maxSequencesCount == rhs.maxSequencesCount )\r
- && ( targetCommandBuffer == rhs.targetCommandBuffer )\r
- && ( sequencesCountBuffer == rhs.sequencesCountBuffer )\r
- && ( sequencesCountOffset == rhs.sequencesCountOffset )\r
- && ( sequencesIndexBuffer == rhs.sequencesIndexBuffer )\r
- && ( sequencesIndexOffset == rhs.sequencesIndexOffset );\r
- }\r
-\r
- bool operator!=( CmdProcessCommandsInfoNVX const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eCmdProcessCommandsInfoNVX;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- ObjectTableNVX objectTable;\r
- IndirectCommandsLayoutNVX indirectCommandsLayout;\r
- uint32_t indirectCommandsTokenCount;\r
- const IndirectCommandsTokenNVX* pIndirectCommandsTokens;\r
- uint32_t maxSequencesCount;\r
- CommandBuffer targetCommandBuffer;\r
- Buffer sequencesCountBuffer;\r
- DeviceSize sequencesCountOffset;\r
- Buffer sequencesIndexBuffer;\r
- DeviceSize sequencesIndexOffset;\r
- };\r
- static_assert( sizeof( CmdProcessCommandsInfoNVX ) == sizeof( VkCmdProcessCommandsInfoNVX ), "struct and wrapper have different size!" );\r
-\r
- struct PhysicalDeviceGroupProperties\r
- {\r
- operator const VkPhysicalDeviceGroupProperties&() const\r
- {\r
- return *reinterpret_cast<const VkPhysicalDeviceGroupProperties*>(this);\r
- }\r
-\r
- bool operator==( PhysicalDeviceGroupProperties const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( physicalDeviceCount == rhs.physicalDeviceCount )\r
- && ( memcmp( physicalDevices, rhs.physicalDevices, VK_MAX_DEVICE_GROUP_SIZE * sizeof( PhysicalDevice ) ) == 0 )\r
- && ( subsetAllocation == rhs.subsetAllocation );\r
- }\r
-\r
- bool operator!=( PhysicalDeviceGroupProperties const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::ePhysicalDeviceGroupProperties;\r
-\r
- public:\r
- void* pNext = nullptr;\r
- uint32_t physicalDeviceCount;\r
- PhysicalDevice physicalDevices[VK_MAX_DEVICE_GROUP_SIZE];\r
- Bool32 subsetAllocation;\r
- };\r
- static_assert( sizeof( PhysicalDeviceGroupProperties ) == sizeof( VkPhysicalDeviceGroupProperties ), "struct and wrapper have different size!" );\r
-\r
- using PhysicalDeviceGroupPropertiesKHR = PhysicalDeviceGroupProperties;\r
-\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- class Instance;\r
-\r
- template <> class UniqueHandleTraits<DebugReportCallbackEXT> {public: using deleter = ObjectDestroy<Instance>; };\r
- using UniqueDebugReportCallbackEXT = UniqueHandle<DebugReportCallbackEXT>;\r
- template <> class UniqueHandleTraits<DebugUtilsMessengerEXT> {public: using deleter = ObjectDestroy<Instance>; };\r
- using UniqueDebugUtilsMessengerEXT = UniqueHandle<DebugUtilsMessengerEXT>;\r
- template <> class UniqueHandleTraits<SurfaceKHR> {public: using deleter = ObjectDestroy<Instance>; };\r
- using UniqueSurfaceKHR = UniqueHandle<SurfaceKHR>;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-\r
- class Instance\r
- {\r
- public:\r
- VULKAN_HPP_CONSTEXPR Instance()\r
- : m_instance(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_CONSTEXPR Instance( std::nullptr_t )\r
- : m_instance(VK_NULL_HANDLE)\r
- {}\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT Instance( VkInstance instance )\r
- : m_instance( instance )\r
- {}\r
-\r
-#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)\r
- Instance & operator=(VkInstance instance)\r
- {\r
- m_instance = instance;\r
- return *this; \r
- }\r
-#endif\r
-\r
- Instance & operator=( std::nullptr_t )\r
- {\r
- m_instance = VK_NULL_HANDLE;\r
- return *this;\r
- }\r
-\r
- bool operator==( Instance const & rhs ) const\r
- {\r
- return m_instance == rhs.m_instance;\r
- }\r
-\r
- bool operator!=(Instance const & rhs ) const\r
- {\r
- return m_instance != rhs.m_instance;\r
- }\r
-\r
- bool operator<(Instance const & rhs ) const\r
- {\r
- return m_instance < rhs.m_instance;\r
- }\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumeratePhysicalDevices( uint32_t* pPhysicalDeviceCount, PhysicalDevice* pPhysicalDevices, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<PhysicalDevice>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<PhysicalDevice,Allocator>>::type enumeratePhysicalDevices(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PFN_vkVoidFunction getProcAddr( const char* pName, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- PFN_vkVoidFunction getProcAddr( const std::string & name, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createMirSurfaceKHR( const MirSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createMirSurfaceKHR( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createMirSurfaceKHRUnique( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySurfaceKHR( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroySurfaceKHR( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createViSurfaceNN( const ViSurfaceCreateInfoNN* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugReportCallbackEXT* pCallback, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DebugReportCallbackEXT>::type createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDebugReportCallbackEXT>::type createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const std::string & layerPrefix, const std::string & message, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumeratePhysicalDeviceGroups( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<PhysicalDeviceGroupProperties>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type enumeratePhysicalDeviceGroups(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result enumeratePhysicalDeviceGroupsKHR( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator = std::allocator<PhysicalDeviceGroupProperties>, typename Dispatch = DispatchLoaderStatic> \r
- typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type enumeratePhysicalDeviceGroupsKHR(Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<SurfaceKHR>::type createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueSurfaceKHR>::type createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugUtilsMessengerEXT* pMessenger, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<DebugUtilsMessengerEXT>::type createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueDebugUtilsMessengerEXT>::type createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void destroy( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT* pCallbackData, Dispatch const &d = Dispatch() ) const;\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- void submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT & callbackData, Dispatch const &d = Dispatch() ) const;\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-\r
-\r
- VULKAN_HPP_TYPESAFE_EXPLICIT operator VkInstance() const\r
- {\r
- return m_instance;\r
- }\r
-\r
- explicit operator bool() const\r
- {\r
- return m_instance != VK_NULL_HANDLE;\r
- }\r
-\r
- bool operator!() const\r
- {\r
- return m_instance == VK_NULL_HANDLE;\r
- }\r
-\r
- private:\r
- VkInstance m_instance;\r
- };\r
-\r
- static_assert( sizeof( Instance ) == sizeof( VkInstance ), "handle and wrapper have different size!" );\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyInstance( m_instance, reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyInstance( m_instance, reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDevices( uint32_t* pPhysicalDeviceCount, PhysicalDevice* pPhysicalDevices, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, pPhysicalDeviceCount, reinterpret_cast<VkPhysicalDevice*>( pPhysicalDevices ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDevice,Allocator>>::type Instance::enumeratePhysicalDevices(Dispatch const &d ) const\r
- {\r
- std::vector<PhysicalDevice,Allocator> physicalDevices;\r
- uint32_t physicalDeviceCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && physicalDeviceCount )\r
- {\r
- physicalDevices.resize( physicalDeviceCount );\r
- result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysicalDevice*>( physicalDevices.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() );\r
- physicalDevices.resize( physicalDeviceCount );\r
- return createResultValue( result, physicalDevices, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDevices" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const char* pName, Dispatch const &d) const\r
- {\r
- return d.vkGetInstanceProcAddr( m_instance, pName );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const std::string & name, Dispatch const &d ) const\r
- {\r
- return d.vkGetInstanceProcAddr( m_instance, name.c_str() );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createAndroidSurfaceKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createAndroidSurfaceKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDisplayPlaneSurfaceKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDisplayPlaneSurfaceKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createMirSurfaceKHR( const MirSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateMirSurfaceKHR( m_instance, reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createMirSurfaceKHR( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateMirSurfaceKHR( m_instance, reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMirSurfaceKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createMirSurfaceKHRUnique( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateMirSurfaceKHR( m_instance, reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMirSurfaceKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createViSurfaceNN( const ViSurfaceCreateInfoNN* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast<const VkViSurfaceCreateInfoNN*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast<const VkViSurfaceCreateInfoNN*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createViSurfaceNN" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast<const VkViSurfaceCreateInfoNN*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createViSurfaceNNUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWaylandSurfaceKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWaylandSurfaceKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWin32SurfaceKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWin32SurfaceKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXlibSurfaceKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXlibSurfaceKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXcbSurfaceKHR" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXcbSurfaceKHRUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugReportCallbackEXT* pCallback, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDebugReportCallbackEXT*>( pCallback ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DebugReportCallbackEXT>::type Instance::createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DebugReportCallbackEXT callback;\r
- Result result = static_cast<Result>( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugReportCallbackEXT*>( &callback ) ) );\r
- return createResultValue( result, callback, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugReportCallbackEXT" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDebugReportCallbackEXT>::type Instance::createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DebugReportCallbackEXT callback;\r
- Result result = static_cast<Result>( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugReportCallbackEXT*>( &callback ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, callback, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugReportCallbackEXTUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, Dispatch const &d) const\r
- {\r
- d.vkDebugReportMessageEXT( m_instance, static_cast<VkDebugReportFlagsEXT>( flags ), static_cast<VkDebugReportObjectTypeEXT>( objectType ), object, location, messageCode, pLayerPrefix, pMessage );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const std::string & layerPrefix, const std::string & message, Dispatch const &d ) const\r
- {\r
-#ifdef VULKAN_HPP_NO_EXCEPTIONS\r
- VULKAN_HPP_ASSERT( layerPrefix.size() == message.size() );\r
-#else\r
- if ( layerPrefix.size() != message.size() )\r
- {\r
- throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Instance::debugReportMessageEXT: layerPrefix.size() != message.size()" );\r
- }\r
-#endif // VULKAN_HPP_NO_EXCEPTIONS\r
- d.vkDebugReportMessageEXT( m_instance, static_cast<VkDebugReportFlagsEXT>( flags ), static_cast<VkDebugReportObjectTypeEXT>( objectType ), object, location, messageCode, layerPrefix.c_str(), message.c_str() );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroups( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkEnumeratePhysicalDeviceGroups( m_instance, pPhysicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( pPhysicalDeviceGroupProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type Instance::enumeratePhysicalDeviceGroups(Dispatch const &d ) const\r
- {\r
- std::vector<PhysicalDeviceGroupProperties,Allocator> physicalDeviceGroupProperties;\r
- uint32_t physicalDeviceGroupCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount )\r
- {\r
- physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );\r
- result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( physicalDeviceGroupProperties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() );\r
- physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );\r
- return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroups" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroupsKHR( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, pPhysicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( pPhysicalDeviceGroupProperties ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template <typename Allocator, typename Dispatch> \r
- VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type Instance::enumeratePhysicalDeviceGroupsKHR(Dispatch const &d ) const\r
- {\r
- std::vector<PhysicalDeviceGroupProperties,Allocator> physicalDeviceGroupProperties;\r
- uint32_t physicalDeviceGroupCount;\r
- Result result;\r
- do\r
- {\r
- result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) );\r
- if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount )\r
- {\r
- physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );\r
- result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( physicalDeviceGroupProperties.data() ) ) );\r
- }\r
- } while ( result == Result::eIncomplete );\r
- VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() );\r
- physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );\r
- return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroupsKHR" );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createIOSSurfaceMVK" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createIOSSurfaceMVKUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMacOSSurfaceMVK" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- SurfaceKHR surface;\r
- Result result = static_cast<Result>( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMacOSSurfaceMVKUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result Instance::createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugUtilsMessengerEXT* pMessenger, Dispatch const &d) const\r
- {\r
- return static_cast<Result>( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDebugUtilsMessengerEXT*>( pMessenger ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<DebugUtilsMessengerEXT>::type Instance::createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DebugUtilsMessengerEXT messenger;\r
- Result result = static_cast<Result>( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugUtilsMessengerEXT*>( &messenger ) ) );\r
- return createResultValue( result, messenger, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugUtilsMessengerEXT" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueDebugUtilsMessengerEXT>::type Instance::createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- DebugUtilsMessengerEXT messenger;\r
- Result result = static_cast<Result>( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugUtilsMessengerEXT*>( &messenger ) ) );\r
-\r
- ObjectDestroy<Instance> deleter( *this, allocator );\r
- return createResultValue( result, messenger, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugUtilsMessengerEXTUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d) const\r
- {\r
- d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::destroy( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const\r
- {\r
- d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT* pCallbackData, Dispatch const &d) const\r
- {\r
- d.vkSubmitDebugUtilsMessageEXT( m_instance, static_cast<VkDebugUtilsMessageSeverityFlagBitsEXT>( messageSeverity ), static_cast<VkDebugUtilsMessageTypeFlagsEXT>( messageTypes ), reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT*>( pCallbackData ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT & callbackData, Dispatch const &d ) const\r
- {\r
- d.vkSubmitDebugUtilsMessageEXT( m_instance, static_cast<VkDebugUtilsMessageSeverityFlagBitsEXT>( messageSeverity ), static_cast<VkDebugUtilsMessageTypeFlagsEXT>( messageTypes ), reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT*>( &callbackData ) );\r
- }\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- struct DeviceGroupDeviceCreateInfo\r
- {\r
- DeviceGroupDeviceCreateInfo( uint32_t physicalDeviceCount_ = 0, const PhysicalDevice* pPhysicalDevices_ = nullptr )\r
- : physicalDeviceCount( physicalDeviceCount_ )\r
- , pPhysicalDevices( pPhysicalDevices_ )\r
- {\r
- }\r
-\r
- DeviceGroupDeviceCreateInfo( VkDeviceGroupDeviceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupDeviceCreateInfo ) );\r
- }\r
-\r
- DeviceGroupDeviceCreateInfo& operator=( VkDeviceGroupDeviceCreateInfo const & rhs )\r
- {\r
- memcpy( this, &rhs, sizeof( DeviceGroupDeviceCreateInfo ) );\r
- return *this;\r
- }\r
- DeviceGroupDeviceCreateInfo& setPNext( const void* pNext_ )\r
- {\r
- pNext = pNext_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupDeviceCreateInfo& setPhysicalDeviceCount( uint32_t physicalDeviceCount_ )\r
- {\r
- physicalDeviceCount = physicalDeviceCount_;\r
- return *this;\r
- }\r
-\r
- DeviceGroupDeviceCreateInfo& setPPhysicalDevices( const PhysicalDevice* pPhysicalDevices_ )\r
- {\r
- pPhysicalDevices = pPhysicalDevices_;\r
- return *this;\r
- }\r
-\r
- operator const VkDeviceGroupDeviceCreateInfo&() const\r
- {\r
- return *reinterpret_cast<const VkDeviceGroupDeviceCreateInfo*>(this);\r
- }\r
-\r
- bool operator==( DeviceGroupDeviceCreateInfo const& rhs ) const\r
- {\r
- return ( sType == rhs.sType )\r
- && ( pNext == rhs.pNext )\r
- && ( physicalDeviceCount == rhs.physicalDeviceCount )\r
- && ( pPhysicalDevices == rhs.pPhysicalDevices );\r
- }\r
-\r
- bool operator!=( DeviceGroupDeviceCreateInfo const& rhs ) const\r
- {\r
- return !operator==( rhs );\r
- }\r
-\r
- private:\r
- StructureType sType = StructureType::eDeviceGroupDeviceCreateInfo;\r
-\r
- public:\r
- const void* pNext = nullptr;\r
- uint32_t physicalDeviceCount;\r
- const PhysicalDevice* pPhysicalDevices;\r
- };\r
- static_assert( sizeof( DeviceGroupDeviceCreateInfo ) == sizeof( VkDeviceGroupDeviceCreateInfo ), "struct and wrapper have different size!" );\r
-\r
- using DeviceGroupDeviceCreateInfoKHR = DeviceGroupDeviceCreateInfo;\r
-\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
-\r
- template <> class UniqueHandleTraits<Instance> {public: using deleter = ObjectDestroy<NoParent>; };\r
- using UniqueInstance = UniqueHandle<Instance>;\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- Result createInstance( const InstanceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Instance* pInstance, Dispatch const &d = Dispatch() );\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<Instance>::type createInstance( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() );\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch = DispatchLoaderStatic>\r
- ResultValueType<UniqueInstance>::type createInstanceUnique( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() );\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE Result createInstance( const InstanceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Instance* pInstance, Dispatch const &d)\r
- {\r
- return static_cast<Result>( d.vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkInstance*>( pInstance ) ) );\r
- }\r
-#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<Instance>::type createInstance( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d )\r
- {\r
- Instance instance;\r
- Result result = static_cast<Result>( d.vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkInstance*>( &instance ) ) );\r
- return createResultValue( result, instance, VULKAN_HPP_NAMESPACE_STRING"::createInstance" );\r
- }\r
-#ifndef VULKAN_HPP_NO_SMART_HANDLE\r
- template<typename Dispatch>\r
- VULKAN_HPP_INLINE ResultValueType<UniqueInstance>::type createInstanceUnique( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d )\r
- {\r
- Instance instance;\r
- Result result = static_cast<Result>( d.vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkInstance*>( &instance ) ) );\r
-\r
- ObjectDestroy<NoParent> deleter( allocator );\r
- return createResultValue( result, instance, VULKAN_HPP_NAMESPACE_STRING"::createInstanceUnique", deleter );\r
- }\r
-#endif /*VULKAN_HPP_NO_SMART_HANDLE*/\r
-#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/\r
-\r
-\r
- template <> struct isStructureChainValid<PresentInfoKHR, DisplayPresentInfoKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageCreateInfo, DedicatedAllocationImageCreateInfoNV>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<BufferCreateInfo, DedicatedAllocationBufferCreateInfoNV>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, DedicatedAllocationMemoryAllocateInfoNV>{ enum { value = true }; };\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryWin32HandleInfoNV>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- template <> struct isStructureChainValid<SubmitInfo, Win32KeyedMutexAcquireReleaseInfoNV>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
- template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceFeatures2>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDevicePushDescriptorPropertiesKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PresentInfoKHR, PresentRegionsKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceVariablePointerFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceVariablePointerFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceIDProperties>{ enum { value = true }; };\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryWin32HandleInfoKHR>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template <> struct isStructureChainValid<SubmitInfo, Win32KeyedMutexAcquireReleaseInfoKHR>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template <> struct isStructureChainValid<SemaphoreCreateInfo, ExportSemaphoreWin32HandleInfoKHR>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template <> struct isStructureChainValid<SubmitInfo, D3D12FenceSubmitInfoKHR>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template <> struct isStructureChainValid<FenceCreateInfo, ExportFenceWin32HandleInfoKHR>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceMultiviewFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceMultiviewFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceMultiviewProperties>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<RenderPassCreateInfo, RenderPassMultiviewCreateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<BindBufferMemoryInfo, BindBufferMemoryDeviceGroupInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<BindImageMemoryInfo, BindImageMemoryDeviceGroupInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<RenderPassBeginInfo, DeviceGroupRenderPassBeginInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<CommandBufferBeginInfo, DeviceGroupCommandBufferBeginInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SubmitInfo, DeviceGroupSubmitInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<BindSparseInfo, DeviceGroupBindSparseInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageCreateInfo, ImageSwapchainCreateInfoKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<BindImageMemoryInfo, BindImageMemorySwapchainInfoKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PresentInfoKHR, PresentTimesInfoGOOGLE>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineViewportStateCreateInfo, PipelineViewportWScalingStateCreateInfoNV>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceDiscardRectanglePropertiesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDevice16BitStorageFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDevice16BitStorageFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<MemoryRequirements2, MemoryDedicatedRequirements>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, MemoryDedicatedAllocateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SamplerCreateInfo, SamplerYcbcrConversionInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageViewCreateInfo, SamplerYcbcrConversionInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceSamplerYcbcrConversionFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceSamplerYcbcrConversionFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageFormatProperties2, SamplerYcbcrConversionImageFormatProperties>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageFormatProperties2, TextureLODGatherFormatPropertiesAMD>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SubmitInfo, ProtectedSubmitInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceProtectedMemoryFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceProtectedMemoryFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceProtectedMemoryProperties>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineMultisampleStateCreateInfo, PipelineCoverageToColorStateCreateInfoNV>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceSamplerFilterMinmaxPropertiesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceBlendOperationAdvancedFeaturesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceBlendOperationAdvancedPropertiesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageCreateInfo, ImageFormatListCreateInfoKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ShaderModuleCreateInfo, ShaderModuleValidationCacheCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceMaintenance3Properties>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceShaderDrawParameterFeatures>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceExternalMemoryHostPropertiesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceConservativeRasterizationPropertiesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceShaderCorePropertiesAMD>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeaturesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceDescriptorIndexingFeaturesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceDescriptorIndexingPropertiesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DescriptorSetAllocateInfo, DescriptorSetVariableDescriptorCountAllocateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DescriptorSetLayoutSupport, DescriptorSetVariableDescriptorCountLayoutSupportEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineVertexInputStateCreateInfo, PipelineVertexInputDivisorStateCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceVertexAttributeDivisorPropertiesEXT>{ enum { value = true }; };\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ImportAndroidHardwareBufferInfoANDROID>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template <> struct isStructureChainValid<ImageFormatProperties2, AndroidHardwareBufferUsageANDROID>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template <> struct isStructureChainValid<ImageCreateInfo, ExternalFormatANDROID>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SamplerYcbcrConversionCreateInfo, ExternalFormatANDROID>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- template <> struct isStructureChainValid<SurfaceCapabilities2KHR, SharedPresentSurfaceCapabilitiesKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageViewCreateInfo, ImageViewUsageCreateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<RenderPassCreateInfo, RenderPassInputAttachmentAspectCreateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<BindImageMemoryInfo, BindImagePlaneMemoryInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageMemoryRequirementsInfo2, ImagePlaneMemoryRequirementsInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageMemoryBarrier, SampleLocationsInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<RenderPassBeginInfo, RenderPassSampleLocationsBeginInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineMultisampleStateCreateInfo, PipelineSampleLocationsStateCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceSampleLocationsPropertiesEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<InstanceCreateInfo, DebugReportCallbackCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineRasterizationStateCreateInfo, PipelineRasterizationStateRasterizationOrderAMD>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageCreateInfo, ExternalMemoryImageCreateInfoNV>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryAllocateInfoNV>{ enum { value = true }; };\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryWin32HandleInfoNV>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
- template <> struct isStructureChainValid<InstanceCreateInfo, ValidationFlagsEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceSubgroupProperties>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceImageFormatInfo2, PhysicalDeviceExternalImageFormatInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageCreateInfo, ExternalMemoryImageCreateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<BufferCreateInfo, ExternalMemoryBufferCreateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryAllocateInfo>{ enum { value = true }; };\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryWin32HandleInfoKHR>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryFdInfoKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryHostPointerInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<ImageFormatProperties2, ExternalImageFormatProperties>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SemaphoreCreateInfo, ExportSemaphoreCreateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<FenceCreateInfo, ExportFenceCreateInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SwapchainCreateInfoKHR, SwapchainCounterCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<MemoryAllocateInfo, MemoryAllocateFlagsInfo>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PresentInfoKHR, DeviceGroupPresentInfoKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SwapchainCreateInfoKHR, DeviceGroupSwapchainCreateInfoKHR>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineViewportStateCreateInfo, PipelineViewportSwizzleStateCreateInfoNV>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<GraphicsPipelineCreateInfo, PipelineDiscardRectangleStateCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDevicePointClippingProperties>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<SamplerCreateInfo, SamplerReductionModeCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineTessellationStateCreateInfo, PipelineTessellationDomainOriginStateCreateInfo>{ enum { value = true }; };\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- template <> struct isStructureChainValid<AndroidHardwareBufferPropertiesANDROID, AndroidHardwareBufferFormatPropertiesANDROID>{ enum { value = true }; };\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- template <> struct isStructureChainValid<PipelineColorBlendStateCreateInfo, PipelineColorBlendAdvancedStateCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineMultisampleStateCreateInfo, PipelineCoverageModulationStateCreateInfoNV>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceQueueCreateInfo, DeviceQueueGlobalPriorityCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<InstanceCreateInfo, DebugUtilsMessengerCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<PipelineRasterizationStateCreateInfo, PipelineRasterizationConservativeStateCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DescriptorSetLayoutCreateInfo, DescriptorSetLayoutBindingFlagsCreateInfoEXT>{ enum { value = true }; };\r
- template <> struct isStructureChainValid<DeviceCreateInfo, DeviceGroupDeviceCreateInfo>{ enum { value = true }; };\r
- VULKAN_HPP_INLINE std::string to_string(FramebufferCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FramebufferCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryPoolCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryPoolCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(RenderPassCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(RenderPassCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SamplerCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SamplerCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineLayoutCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineLayoutCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCacheCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCacheCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineDepthStencilStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineDepthStencilStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineDynamicStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineDynamicStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineColorBlendStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineColorBlendStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineMultisampleStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineMultisampleStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineViewportStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineViewportStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineTessellationStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineTessellationStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineInputAssemblyStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineInputAssemblyStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineVertexInputStateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineVertexInputStateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineShaderStageCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineShaderStageCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BufferViewCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BufferViewCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(InstanceCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(InstanceCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DeviceCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DeviceCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageViewCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageViewCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SemaphoreCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SemaphoreCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ShaderModuleCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ShaderModuleCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(EventCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(EventCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryMapFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryMapFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorPoolResetFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorPoolResetFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorUpdateTemplateCreateFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorUpdateTemplateCreateFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplayModeCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplayModeCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplaySurfaceCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplaySurfaceCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- VULKAN_HPP_INLINE std::string to_string(AndroidSurfaceCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- VULKAN_HPP_INLINE std::string to_string(AndroidSurfaceCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- VULKAN_HPP_INLINE std::string to_string(MirSurfaceCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- VULKAN_HPP_INLINE std::string to_string(MirSurfaceCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- VULKAN_HPP_INLINE std::string to_string(ViSurfaceCreateFlagBitsNN)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- VULKAN_HPP_INLINE std::string to_string(ViSurfaceCreateFlagsNN)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- VULKAN_HPP_INLINE std::string to_string(WaylandSurfaceCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- VULKAN_HPP_INLINE std::string to_string(WaylandSurfaceCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VULKAN_HPP_INLINE std::string to_string(Win32SurfaceCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- VULKAN_HPP_INLINE std::string to_string(Win32SurfaceCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- VULKAN_HPP_INLINE std::string to_string(XlibSurfaceCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- VULKAN_HPP_INLINE std::string to_string(XlibSurfaceCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- VULKAN_HPP_INLINE std::string to_string(XcbSurfaceCreateFlagBitsKHR)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- VULKAN_HPP_INLINE std::string to_string(XcbSurfaceCreateFlagsKHR)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- VULKAN_HPP_INLINE std::string to_string(IOSSurfaceCreateFlagBitsMVK)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- VULKAN_HPP_INLINE std::string to_string(IOSSurfaceCreateFlagsMVK)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- VULKAN_HPP_INLINE std::string to_string(MacOSSurfaceCreateFlagBitsMVK)\r
- {\r
- return "(void)";\r
- }\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- VULKAN_HPP_INLINE std::string to_string(MacOSSurfaceCreateFlagsMVK)\r
- {\r
- return "{}";\r
- }\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandPoolTrimFlagBits)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandPoolTrimFlags)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineViewportSwizzleStateCreateFlagBitsNV)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineViewportSwizzleStateCreateFlagsNV)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineDiscardRectangleStateCreateFlagBitsEXT)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineDiscardRectangleStateCreateFlagsEXT)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCoverageToColorStateCreateFlagBitsNV)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCoverageToColorStateCreateFlagsNV)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCoverageModulationStateCreateFlagBitsNV)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCoverageModulationStateCreateFlagsNV)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ValidationCacheCreateFlagBitsEXT)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ValidationCacheCreateFlagsEXT)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCreateFlagBitsEXT)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCreateFlagsEXT)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCallbackDataFlagBitsEXT)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCallbackDataFlagsEXT)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationConservativeStateCreateFlagBitsEXT)\r
- {\r
- return "(void)";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationConservativeStateCreateFlagsEXT)\r
- {\r
- return "{}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageLayout value)\r
- {\r
- switch (value)\r
- {\r
- case ImageLayout::eUndefined: return "Undefined";\r
- case ImageLayout::eGeneral: return "General";\r
- case ImageLayout::eColorAttachmentOptimal: return "ColorAttachmentOptimal";\r
- case ImageLayout::eDepthStencilAttachmentOptimal: return "DepthStencilAttachmentOptimal";\r
- case ImageLayout::eDepthStencilReadOnlyOptimal: return "DepthStencilReadOnlyOptimal";\r
- case ImageLayout::eShaderReadOnlyOptimal: return "ShaderReadOnlyOptimal";\r
- case ImageLayout::eTransferSrcOptimal: return "TransferSrcOptimal";\r
- case ImageLayout::eTransferDstOptimal: return "TransferDstOptimal";\r
- case ImageLayout::ePreinitialized: return "Preinitialized";\r
- case ImageLayout::eDepthReadOnlyStencilAttachmentOptimal: return "DepthReadOnlyStencilAttachmentOptimal";\r
- case ImageLayout::eDepthAttachmentStencilReadOnlyOptimal: return "DepthAttachmentStencilReadOnlyOptimal";\r
- case ImageLayout::ePresentSrcKHR: return "PresentSrcKHR";\r
- case ImageLayout::eSharedPresentKHR: return "SharedPresentKHR";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(AttachmentLoadOp value)\r
- {\r
- switch (value)\r
- {\r
- case AttachmentLoadOp::eLoad: return "Load";\r
- case AttachmentLoadOp::eClear: return "Clear";\r
- case AttachmentLoadOp::eDontCare: return "DontCare";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(AttachmentStoreOp value)\r
- {\r
- switch (value)\r
- {\r
- case AttachmentStoreOp::eStore: return "Store";\r
- case AttachmentStoreOp::eDontCare: return "DontCare";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageType value)\r
- {\r
- switch (value)\r
- {\r
- case ImageType::e1D: return "1D";\r
- case ImageType::e2D: return "2D";\r
- case ImageType::e3D: return "3D";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageTiling value)\r
- {\r
- switch (value)\r
- {\r
- case ImageTiling::eOptimal: return "Optimal";\r
- case ImageTiling::eLinear: return "Linear";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageViewType value)\r
- {\r
- switch (value)\r
- {\r
- case ImageViewType::e1D: return "1D";\r
- case ImageViewType::e2D: return "2D";\r
- case ImageViewType::e3D: return "3D";\r
- case ImageViewType::eCube: return "Cube";\r
- case ImageViewType::e1DArray: return "1DArray";\r
- case ImageViewType::e2DArray: return "2DArray";\r
- case ImageViewType::eCubeArray: return "CubeArray";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandBufferLevel value)\r
- {\r
- switch (value)\r
- {\r
- case CommandBufferLevel::ePrimary: return "Primary";\r
- case CommandBufferLevel::eSecondary: return "Secondary";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ComponentSwizzle value)\r
- {\r
- switch (value)\r
- {\r
- case ComponentSwizzle::eIdentity: return "Identity";\r
- case ComponentSwizzle::eZero: return "Zero";\r
- case ComponentSwizzle::eOne: return "One";\r
- case ComponentSwizzle::eR: return "R";\r
- case ComponentSwizzle::eG: return "G";\r
- case ComponentSwizzle::eB: return "B";\r
- case ComponentSwizzle::eA: return "A";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorType value)\r
- {\r
- switch (value)\r
- {\r
- case DescriptorType::eSampler: return "Sampler";\r
- case DescriptorType::eCombinedImageSampler: return "CombinedImageSampler";\r
- case DescriptorType::eSampledImage: return "SampledImage";\r
- case DescriptorType::eStorageImage: return "StorageImage";\r
- case DescriptorType::eUniformTexelBuffer: return "UniformTexelBuffer";\r
- case DescriptorType::eStorageTexelBuffer: return "StorageTexelBuffer";\r
- case DescriptorType::eUniformBuffer: return "UniformBuffer";\r
- case DescriptorType::eStorageBuffer: return "StorageBuffer";\r
- case DescriptorType::eUniformBufferDynamic: return "UniformBufferDynamic";\r
- case DescriptorType::eStorageBufferDynamic: return "StorageBufferDynamic";\r
- case DescriptorType::eInputAttachment: return "InputAttachment";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryType value)\r
- {\r
- switch (value)\r
- {\r
- case QueryType::eOcclusion: return "Occlusion";\r
- case QueryType::ePipelineStatistics: return "PipelineStatistics";\r
- case QueryType::eTimestamp: return "Timestamp";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BorderColor value)\r
- {\r
- switch (value)\r
- {\r
- case BorderColor::eFloatTransparentBlack: return "FloatTransparentBlack";\r
- case BorderColor::eIntTransparentBlack: return "IntTransparentBlack";\r
- case BorderColor::eFloatOpaqueBlack: return "FloatOpaqueBlack";\r
- case BorderColor::eIntOpaqueBlack: return "IntOpaqueBlack";\r
- case BorderColor::eFloatOpaqueWhite: return "FloatOpaqueWhite";\r
- case BorderColor::eIntOpaqueWhite: return "IntOpaqueWhite";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineBindPoint value)\r
- {\r
- switch (value)\r
- {\r
- case PipelineBindPoint::eGraphics: return "Graphics";\r
- case PipelineBindPoint::eCompute: return "Compute";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCacheHeaderVersion value)\r
- {\r
- switch (value)\r
- {\r
- case PipelineCacheHeaderVersion::eOne: return "One";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PrimitiveTopology value)\r
- {\r
- switch (value)\r
- {\r
- case PrimitiveTopology::ePointList: return "PointList";\r
- case PrimitiveTopology::eLineList: return "LineList";\r
- case PrimitiveTopology::eLineStrip: return "LineStrip";\r
- case PrimitiveTopology::eTriangleList: return "TriangleList";\r
- case PrimitiveTopology::eTriangleStrip: return "TriangleStrip";\r
- case PrimitiveTopology::eTriangleFan: return "TriangleFan";\r
- case PrimitiveTopology::eLineListWithAdjacency: return "LineListWithAdjacency";\r
- case PrimitiveTopology::eLineStripWithAdjacency: return "LineStripWithAdjacency";\r
- case PrimitiveTopology::eTriangleListWithAdjacency: return "TriangleListWithAdjacency";\r
- case PrimitiveTopology::eTriangleStripWithAdjacency: return "TriangleStripWithAdjacency";\r
- case PrimitiveTopology::ePatchList: return "PatchList";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SharingMode value)\r
- {\r
- switch (value)\r
- {\r
- case SharingMode::eExclusive: return "Exclusive";\r
- case SharingMode::eConcurrent: return "Concurrent";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(IndexType value)\r
- {\r
- switch (value)\r
- {\r
- case IndexType::eUint16: return "Uint16";\r
- case IndexType::eUint32: return "Uint32";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(Filter value)\r
- {\r
- switch (value)\r
- {\r
- case Filter::eNearest: return "Nearest";\r
- case Filter::eLinear: return "Linear";\r
- case Filter::eCubicIMG: return "CubicIMG";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SamplerMipmapMode value)\r
- {\r
- switch (value)\r
- {\r
- case SamplerMipmapMode::eNearest: return "Nearest";\r
- case SamplerMipmapMode::eLinear: return "Linear";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SamplerAddressMode value)\r
- {\r
- switch (value)\r
- {\r
- case SamplerAddressMode::eRepeat: return "Repeat";\r
- case SamplerAddressMode::eMirroredRepeat: return "MirroredRepeat";\r
- case SamplerAddressMode::eClampToEdge: return "ClampToEdge";\r
- case SamplerAddressMode::eClampToBorder: return "ClampToBorder";\r
- case SamplerAddressMode::eMirrorClampToEdge: return "MirrorClampToEdge";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CompareOp value)\r
- {\r
- switch (value)\r
- {\r
- case CompareOp::eNever: return "Never";\r
- case CompareOp::eLess: return "Less";\r
- case CompareOp::eEqual: return "Equal";\r
- case CompareOp::eLessOrEqual: return "LessOrEqual";\r
- case CompareOp::eGreater: return "Greater";\r
- case CompareOp::eNotEqual: return "NotEqual";\r
- case CompareOp::eGreaterOrEqual: return "GreaterOrEqual";\r
- case CompareOp::eAlways: return "Always";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PolygonMode value)\r
- {\r
- switch (value)\r
- {\r
- case PolygonMode::eFill: return "Fill";\r
- case PolygonMode::eLine: return "Line";\r
- case PolygonMode::ePoint: return "Point";\r
- case PolygonMode::eFillRectangleNV: return "FillRectangleNV";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CullModeFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case CullModeFlagBits::eNone: return "None";\r
- case CullModeFlagBits::eFront: return "Front";\r
- case CullModeFlagBits::eBack: return "Back";\r
- case CullModeFlagBits::eFrontAndBack: return "FrontAndBack";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CullModeFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & CullModeFlagBits::eNone) result += "None | ";\r
- if (value & CullModeFlagBits::eFront) result += "Front | ";\r
- if (value & CullModeFlagBits::eBack) result += "Back | ";\r
- if (value & CullModeFlagBits::eFrontAndBack) result += "FrontAndBack | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FrontFace value)\r
- {\r
- switch (value)\r
- {\r
- case FrontFace::eCounterClockwise: return "CounterClockwise";\r
- case FrontFace::eClockwise: return "Clockwise";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BlendFactor value)\r
- {\r
- switch (value)\r
- {\r
- case BlendFactor::eZero: return "Zero";\r
- case BlendFactor::eOne: return "One";\r
- case BlendFactor::eSrcColor: return "SrcColor";\r
- case BlendFactor::eOneMinusSrcColor: return "OneMinusSrcColor";\r
- case BlendFactor::eDstColor: return "DstColor";\r
- case BlendFactor::eOneMinusDstColor: return "OneMinusDstColor";\r
- case BlendFactor::eSrcAlpha: return "SrcAlpha";\r
- case BlendFactor::eOneMinusSrcAlpha: return "OneMinusSrcAlpha";\r
- case BlendFactor::eDstAlpha: return "DstAlpha";\r
- case BlendFactor::eOneMinusDstAlpha: return "OneMinusDstAlpha";\r
- case BlendFactor::eConstantColor: return "ConstantColor";\r
- case BlendFactor::eOneMinusConstantColor: return "OneMinusConstantColor";\r
- case BlendFactor::eConstantAlpha: return "ConstantAlpha";\r
- case BlendFactor::eOneMinusConstantAlpha: return "OneMinusConstantAlpha";\r
- case BlendFactor::eSrcAlphaSaturate: return "SrcAlphaSaturate";\r
- case BlendFactor::eSrc1Color: return "Src1Color";\r
- case BlendFactor::eOneMinusSrc1Color: return "OneMinusSrc1Color";\r
- case BlendFactor::eSrc1Alpha: return "Src1Alpha";\r
- case BlendFactor::eOneMinusSrc1Alpha: return "OneMinusSrc1Alpha";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BlendOp value)\r
- {\r
- switch (value)\r
- {\r
- case BlendOp::eAdd: return "Add";\r
- case BlendOp::eSubtract: return "Subtract";\r
- case BlendOp::eReverseSubtract: return "ReverseSubtract";\r
- case BlendOp::eMin: return "Min";\r
- case BlendOp::eMax: return "Max";\r
- case BlendOp::eZeroEXT: return "ZeroEXT";\r
- case BlendOp::eSrcEXT: return "SrcEXT";\r
- case BlendOp::eDstEXT: return "DstEXT";\r
- case BlendOp::eSrcOverEXT: return "SrcOverEXT";\r
- case BlendOp::eDstOverEXT: return "DstOverEXT";\r
- case BlendOp::eSrcInEXT: return "SrcInEXT";\r
- case BlendOp::eDstInEXT: return "DstInEXT";\r
- case BlendOp::eSrcOutEXT: return "SrcOutEXT";\r
- case BlendOp::eDstOutEXT: return "DstOutEXT";\r
- case BlendOp::eSrcAtopEXT: return "SrcAtopEXT";\r
- case BlendOp::eDstAtopEXT: return "DstAtopEXT";\r
- case BlendOp::eXorEXT: return "XorEXT";\r
- case BlendOp::eMultiplyEXT: return "MultiplyEXT";\r
- case BlendOp::eScreenEXT: return "ScreenEXT";\r
- case BlendOp::eOverlayEXT: return "OverlayEXT";\r
- case BlendOp::eDarkenEXT: return "DarkenEXT";\r
- case BlendOp::eLightenEXT: return "LightenEXT";\r
- case BlendOp::eColordodgeEXT: return "ColordodgeEXT";\r
- case BlendOp::eColorburnEXT: return "ColorburnEXT";\r
- case BlendOp::eHardlightEXT: return "HardlightEXT";\r
- case BlendOp::eSoftlightEXT: return "SoftlightEXT";\r
- case BlendOp::eDifferenceEXT: return "DifferenceEXT";\r
- case BlendOp::eExclusionEXT: return "ExclusionEXT";\r
- case BlendOp::eInvertEXT: return "InvertEXT";\r
- case BlendOp::eInvertRgbEXT: return "InvertRgbEXT";\r
- case BlendOp::eLineardodgeEXT: return "LineardodgeEXT";\r
- case BlendOp::eLinearburnEXT: return "LinearburnEXT";\r
- case BlendOp::eVividlightEXT: return "VividlightEXT";\r
- case BlendOp::eLinearlightEXT: return "LinearlightEXT";\r
- case BlendOp::ePinlightEXT: return "PinlightEXT";\r
- case BlendOp::eHardmixEXT: return "HardmixEXT";\r
- case BlendOp::eHslHueEXT: return "HslHueEXT";\r
- case BlendOp::eHslSaturationEXT: return "HslSaturationEXT";\r
- case BlendOp::eHslColorEXT: return "HslColorEXT";\r
- case BlendOp::eHslLuminosityEXT: return "HslLuminosityEXT";\r
- case BlendOp::ePlusEXT: return "PlusEXT";\r
- case BlendOp::ePlusClampedEXT: return "PlusClampedEXT";\r
- case BlendOp::ePlusClampedAlphaEXT: return "PlusClampedAlphaEXT";\r
- case BlendOp::ePlusDarkerEXT: return "PlusDarkerEXT";\r
- case BlendOp::eMinusEXT: return "MinusEXT";\r
- case BlendOp::eMinusClampedEXT: return "MinusClampedEXT";\r
- case BlendOp::eContrastEXT: return "ContrastEXT";\r
- case BlendOp::eInvertOvgEXT: return "InvertOvgEXT";\r
- case BlendOp::eRedEXT: return "RedEXT";\r
- case BlendOp::eGreenEXT: return "GreenEXT";\r
- case BlendOp::eBlueEXT: return "BlueEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(StencilOp value)\r
- {\r
- switch (value)\r
- {\r
- case StencilOp::eKeep: return "Keep";\r
- case StencilOp::eZero: return "Zero";\r
- case StencilOp::eReplace: return "Replace";\r
- case StencilOp::eIncrementAndClamp: return "IncrementAndClamp";\r
- case StencilOp::eDecrementAndClamp: return "DecrementAndClamp";\r
- case StencilOp::eInvert: return "Invert";\r
- case StencilOp::eIncrementAndWrap: return "IncrementAndWrap";\r
- case StencilOp::eDecrementAndWrap: return "DecrementAndWrap";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(LogicOp value)\r
- {\r
- switch (value)\r
- {\r
- case LogicOp::eClear: return "Clear";\r
- case LogicOp::eAnd: return "And";\r
- case LogicOp::eAndReverse: return "AndReverse";\r
- case LogicOp::eCopy: return "Copy";\r
- case LogicOp::eAndInverted: return "AndInverted";\r
- case LogicOp::eNoOp: return "NoOp";\r
- case LogicOp::eXor: return "Xor";\r
- case LogicOp::eOr: return "Or";\r
- case LogicOp::eNor: return "Nor";\r
- case LogicOp::eEquivalent: return "Equivalent";\r
- case LogicOp::eInvert: return "Invert";\r
- case LogicOp::eOrReverse: return "OrReverse";\r
- case LogicOp::eCopyInverted: return "CopyInverted";\r
- case LogicOp::eOrInverted: return "OrInverted";\r
- case LogicOp::eNand: return "Nand";\r
- case LogicOp::eSet: return "Set";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(InternalAllocationType value)\r
- {\r
- switch (value)\r
- {\r
- case InternalAllocationType::eExecutable: return "Executable";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SystemAllocationScope value)\r
- {\r
- switch (value)\r
- {\r
- case SystemAllocationScope::eCommand: return "Command";\r
- case SystemAllocationScope::eObject: return "Object";\r
- case SystemAllocationScope::eCache: return "Cache";\r
- case SystemAllocationScope::eDevice: return "Device";\r
- case SystemAllocationScope::eInstance: return "Instance";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PhysicalDeviceType value)\r
- {\r
- switch (value)\r
- {\r
- case PhysicalDeviceType::eOther: return "Other";\r
- case PhysicalDeviceType::eIntegratedGpu: return "IntegratedGpu";\r
- case PhysicalDeviceType::eDiscreteGpu: return "DiscreteGpu";\r
- case PhysicalDeviceType::eVirtualGpu: return "VirtualGpu";\r
- case PhysicalDeviceType::eCpu: return "Cpu";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(VertexInputRate value)\r
- {\r
- switch (value)\r
- {\r
- case VertexInputRate::eVertex: return "Vertex";\r
- case VertexInputRate::eInstance: return "Instance";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(Format value)\r
- {\r
- switch (value)\r
- {\r
- case Format::eUndefined: return "Undefined";\r
- case Format::eR4G4UnormPack8: return "R4G4UnormPack8";\r
- case Format::eR4G4B4A4UnormPack16: return "R4G4B4A4UnormPack16";\r
- case Format::eB4G4R4A4UnormPack16: return "B4G4R4A4UnormPack16";\r
- case Format::eR5G6B5UnormPack16: return "R5G6B5UnormPack16";\r
- case Format::eB5G6R5UnormPack16: return "B5G6R5UnormPack16";\r
- case Format::eR5G5B5A1UnormPack16: return "R5G5B5A1UnormPack16";\r
- case Format::eB5G5R5A1UnormPack16: return "B5G5R5A1UnormPack16";\r
- case Format::eA1R5G5B5UnormPack16: return "A1R5G5B5UnormPack16";\r
- case Format::eR8Unorm: return "R8Unorm";\r
- case Format::eR8Snorm: return "R8Snorm";\r
- case Format::eR8Uscaled: return "R8Uscaled";\r
- case Format::eR8Sscaled: return "R8Sscaled";\r
- case Format::eR8Uint: return "R8Uint";\r
- case Format::eR8Sint: return "R8Sint";\r
- case Format::eR8Srgb: return "R8Srgb";\r
- case Format::eR8G8Unorm: return "R8G8Unorm";\r
- case Format::eR8G8Snorm: return "R8G8Snorm";\r
- case Format::eR8G8Uscaled: return "R8G8Uscaled";\r
- case Format::eR8G8Sscaled: return "R8G8Sscaled";\r
- case Format::eR8G8Uint: return "R8G8Uint";\r
- case Format::eR8G8Sint: return "R8G8Sint";\r
- case Format::eR8G8Srgb: return "R8G8Srgb";\r
- case Format::eR8G8B8Unorm: return "R8G8B8Unorm";\r
- case Format::eR8G8B8Snorm: return "R8G8B8Snorm";\r
- case Format::eR8G8B8Uscaled: return "R8G8B8Uscaled";\r
- case Format::eR8G8B8Sscaled: return "R8G8B8Sscaled";\r
- case Format::eR8G8B8Uint: return "R8G8B8Uint";\r
- case Format::eR8G8B8Sint: return "R8G8B8Sint";\r
- case Format::eR8G8B8Srgb: return "R8G8B8Srgb";\r
- case Format::eB8G8R8Unorm: return "B8G8R8Unorm";\r
- case Format::eB8G8R8Snorm: return "B8G8R8Snorm";\r
- case Format::eB8G8R8Uscaled: return "B8G8R8Uscaled";\r
- case Format::eB8G8R8Sscaled: return "B8G8R8Sscaled";\r
- case Format::eB8G8R8Uint: return "B8G8R8Uint";\r
- case Format::eB8G8R8Sint: return "B8G8R8Sint";\r
- case Format::eB8G8R8Srgb: return "B8G8R8Srgb";\r
- case Format::eR8G8B8A8Unorm: return "R8G8B8A8Unorm";\r
- case Format::eR8G8B8A8Snorm: return "R8G8B8A8Snorm";\r
- case Format::eR8G8B8A8Uscaled: return "R8G8B8A8Uscaled";\r
- case Format::eR8G8B8A8Sscaled: return "R8G8B8A8Sscaled";\r
- case Format::eR8G8B8A8Uint: return "R8G8B8A8Uint";\r
- case Format::eR8G8B8A8Sint: return "R8G8B8A8Sint";\r
- case Format::eR8G8B8A8Srgb: return "R8G8B8A8Srgb";\r
- case Format::eB8G8R8A8Unorm: return "B8G8R8A8Unorm";\r
- case Format::eB8G8R8A8Snorm: return "B8G8R8A8Snorm";\r
- case Format::eB8G8R8A8Uscaled: return "B8G8R8A8Uscaled";\r
- case Format::eB8G8R8A8Sscaled: return "B8G8R8A8Sscaled";\r
- case Format::eB8G8R8A8Uint: return "B8G8R8A8Uint";\r
- case Format::eB8G8R8A8Sint: return "B8G8R8A8Sint";\r
- case Format::eB8G8R8A8Srgb: return "B8G8R8A8Srgb";\r
- case Format::eA8B8G8R8UnormPack32: return "A8B8G8R8UnormPack32";\r
- case Format::eA8B8G8R8SnormPack32: return "A8B8G8R8SnormPack32";\r
- case Format::eA8B8G8R8UscaledPack32: return "A8B8G8R8UscaledPack32";\r
- case Format::eA8B8G8R8SscaledPack32: return "A8B8G8R8SscaledPack32";\r
- case Format::eA8B8G8R8UintPack32: return "A8B8G8R8UintPack32";\r
- case Format::eA8B8G8R8SintPack32: return "A8B8G8R8SintPack32";\r
- case Format::eA8B8G8R8SrgbPack32: return "A8B8G8R8SrgbPack32";\r
- case Format::eA2R10G10B10UnormPack32: return "A2R10G10B10UnormPack32";\r
- case Format::eA2R10G10B10SnormPack32: return "A2R10G10B10SnormPack32";\r
- case Format::eA2R10G10B10UscaledPack32: return "A2R10G10B10UscaledPack32";\r
- case Format::eA2R10G10B10SscaledPack32: return "A2R10G10B10SscaledPack32";\r
- case Format::eA2R10G10B10UintPack32: return "A2R10G10B10UintPack32";\r
- case Format::eA2R10G10B10SintPack32: return "A2R10G10B10SintPack32";\r
- case Format::eA2B10G10R10UnormPack32: return "A2B10G10R10UnormPack32";\r
- case Format::eA2B10G10R10SnormPack32: return "A2B10G10R10SnormPack32";\r
- case Format::eA2B10G10R10UscaledPack32: return "A2B10G10R10UscaledPack32";\r
- case Format::eA2B10G10R10SscaledPack32: return "A2B10G10R10SscaledPack32";\r
- case Format::eA2B10G10R10UintPack32: return "A2B10G10R10UintPack32";\r
- case Format::eA2B10G10R10SintPack32: return "A2B10G10R10SintPack32";\r
- case Format::eR16Unorm: return "R16Unorm";\r
- case Format::eR16Snorm: return "R16Snorm";\r
- case Format::eR16Uscaled: return "R16Uscaled";\r
- case Format::eR16Sscaled: return "R16Sscaled";\r
- case Format::eR16Uint: return "R16Uint";\r
- case Format::eR16Sint: return "R16Sint";\r
- case Format::eR16Sfloat: return "R16Sfloat";\r
- case Format::eR16G16Unorm: return "R16G16Unorm";\r
- case Format::eR16G16Snorm: return "R16G16Snorm";\r
- case Format::eR16G16Uscaled: return "R16G16Uscaled";\r
- case Format::eR16G16Sscaled: return "R16G16Sscaled";\r
- case Format::eR16G16Uint: return "R16G16Uint";\r
- case Format::eR16G16Sint: return "R16G16Sint";\r
- case Format::eR16G16Sfloat: return "R16G16Sfloat";\r
- case Format::eR16G16B16Unorm: return "R16G16B16Unorm";\r
- case Format::eR16G16B16Snorm: return "R16G16B16Snorm";\r
- case Format::eR16G16B16Uscaled: return "R16G16B16Uscaled";\r
- case Format::eR16G16B16Sscaled: return "R16G16B16Sscaled";\r
- case Format::eR16G16B16Uint: return "R16G16B16Uint";\r
- case Format::eR16G16B16Sint: return "R16G16B16Sint";\r
- case Format::eR16G16B16Sfloat: return "R16G16B16Sfloat";\r
- case Format::eR16G16B16A16Unorm: return "R16G16B16A16Unorm";\r
- case Format::eR16G16B16A16Snorm: return "R16G16B16A16Snorm";\r
- case Format::eR16G16B16A16Uscaled: return "R16G16B16A16Uscaled";\r
- case Format::eR16G16B16A16Sscaled: return "R16G16B16A16Sscaled";\r
- case Format::eR16G16B16A16Uint: return "R16G16B16A16Uint";\r
- case Format::eR16G16B16A16Sint: return "R16G16B16A16Sint";\r
- case Format::eR16G16B16A16Sfloat: return "R16G16B16A16Sfloat";\r
- case Format::eR32Uint: return "R32Uint";\r
- case Format::eR32Sint: return "R32Sint";\r
- case Format::eR32Sfloat: return "R32Sfloat";\r
- case Format::eR32G32Uint: return "R32G32Uint";\r
- case Format::eR32G32Sint: return "R32G32Sint";\r
- case Format::eR32G32Sfloat: return "R32G32Sfloat";\r
- case Format::eR32G32B32Uint: return "R32G32B32Uint";\r
- case Format::eR32G32B32Sint: return "R32G32B32Sint";\r
- case Format::eR32G32B32Sfloat: return "R32G32B32Sfloat";\r
- case Format::eR32G32B32A32Uint: return "R32G32B32A32Uint";\r
- case Format::eR32G32B32A32Sint: return "R32G32B32A32Sint";\r
- case Format::eR32G32B32A32Sfloat: return "R32G32B32A32Sfloat";\r
- case Format::eR64Uint: return "R64Uint";\r
- case Format::eR64Sint: return "R64Sint";\r
- case Format::eR64Sfloat: return "R64Sfloat";\r
- case Format::eR64G64Uint: return "R64G64Uint";\r
- case Format::eR64G64Sint: return "R64G64Sint";\r
- case Format::eR64G64Sfloat: return "R64G64Sfloat";\r
- case Format::eR64G64B64Uint: return "R64G64B64Uint";\r
- case Format::eR64G64B64Sint: return "R64G64B64Sint";\r
- case Format::eR64G64B64Sfloat: return "R64G64B64Sfloat";\r
- case Format::eR64G64B64A64Uint: return "R64G64B64A64Uint";\r
- case Format::eR64G64B64A64Sint: return "R64G64B64A64Sint";\r
- case Format::eR64G64B64A64Sfloat: return "R64G64B64A64Sfloat";\r
- case Format::eB10G11R11UfloatPack32: return "B10G11R11UfloatPack32";\r
- case Format::eE5B9G9R9UfloatPack32: return "E5B9G9R9UfloatPack32";\r
- case Format::eD16Unorm: return "D16Unorm";\r
- case Format::eX8D24UnormPack32: return "X8D24UnormPack32";\r
- case Format::eD32Sfloat: return "D32Sfloat";\r
- case Format::eS8Uint: return "S8Uint";\r
- case Format::eD16UnormS8Uint: return "D16UnormS8Uint";\r
- case Format::eD24UnormS8Uint: return "D24UnormS8Uint";\r
- case Format::eD32SfloatS8Uint: return "D32SfloatS8Uint";\r
- case Format::eBc1RgbUnormBlock: return "Bc1RgbUnormBlock";\r
- case Format::eBc1RgbSrgbBlock: return "Bc1RgbSrgbBlock";\r
- case Format::eBc1RgbaUnormBlock: return "Bc1RgbaUnormBlock";\r
- case Format::eBc1RgbaSrgbBlock: return "Bc1RgbaSrgbBlock";\r
- case Format::eBc2UnormBlock: return "Bc2UnormBlock";\r
- case Format::eBc2SrgbBlock: return "Bc2SrgbBlock";\r
- case Format::eBc3UnormBlock: return "Bc3UnormBlock";\r
- case Format::eBc3SrgbBlock: return "Bc3SrgbBlock";\r
- case Format::eBc4UnormBlock: return "Bc4UnormBlock";\r
- case Format::eBc4SnormBlock: return "Bc4SnormBlock";\r
- case Format::eBc5UnormBlock: return "Bc5UnormBlock";\r
- case Format::eBc5SnormBlock: return "Bc5SnormBlock";\r
- case Format::eBc6HUfloatBlock: return "Bc6HUfloatBlock";\r
- case Format::eBc6HSfloatBlock: return "Bc6HSfloatBlock";\r
- case Format::eBc7UnormBlock: return "Bc7UnormBlock";\r
- case Format::eBc7SrgbBlock: return "Bc7SrgbBlock";\r
- case Format::eEtc2R8G8B8UnormBlock: return "Etc2R8G8B8UnormBlock";\r
- case Format::eEtc2R8G8B8SrgbBlock: return "Etc2R8G8B8SrgbBlock";\r
- case Format::eEtc2R8G8B8A1UnormBlock: return "Etc2R8G8B8A1UnormBlock";\r
- case Format::eEtc2R8G8B8A1SrgbBlock: return "Etc2R8G8B8A1SrgbBlock";\r
- case Format::eEtc2R8G8B8A8UnormBlock: return "Etc2R8G8B8A8UnormBlock";\r
- case Format::eEtc2R8G8B8A8SrgbBlock: return "Etc2R8G8B8A8SrgbBlock";\r
- case Format::eEacR11UnormBlock: return "EacR11UnormBlock";\r
- case Format::eEacR11SnormBlock: return "EacR11SnormBlock";\r
- case Format::eEacR11G11UnormBlock: return "EacR11G11UnormBlock";\r
- case Format::eEacR11G11SnormBlock: return "EacR11G11SnormBlock";\r
- case Format::eAstc4x4UnormBlock: return "Astc4x4UnormBlock";\r
- case Format::eAstc4x4SrgbBlock: return "Astc4x4SrgbBlock";\r
- case Format::eAstc5x4UnormBlock: return "Astc5x4UnormBlock";\r
- case Format::eAstc5x4SrgbBlock: return "Astc5x4SrgbBlock";\r
- case Format::eAstc5x5UnormBlock: return "Astc5x5UnormBlock";\r
- case Format::eAstc5x5SrgbBlock: return "Astc5x5SrgbBlock";\r
- case Format::eAstc6x5UnormBlock: return "Astc6x5UnormBlock";\r
- case Format::eAstc6x5SrgbBlock: return "Astc6x5SrgbBlock";\r
- case Format::eAstc6x6UnormBlock: return "Astc6x6UnormBlock";\r
- case Format::eAstc6x6SrgbBlock: return "Astc6x6SrgbBlock";\r
- case Format::eAstc8x5UnormBlock: return "Astc8x5UnormBlock";\r
- case Format::eAstc8x5SrgbBlock: return "Astc8x5SrgbBlock";\r
- case Format::eAstc8x6UnormBlock: return "Astc8x6UnormBlock";\r
- case Format::eAstc8x6SrgbBlock: return "Astc8x6SrgbBlock";\r
- case Format::eAstc8x8UnormBlock: return "Astc8x8UnormBlock";\r
- case Format::eAstc8x8SrgbBlock: return "Astc8x8SrgbBlock";\r
- case Format::eAstc10x5UnormBlock: return "Astc10x5UnormBlock";\r
- case Format::eAstc10x5SrgbBlock: return "Astc10x5SrgbBlock";\r
- case Format::eAstc10x6UnormBlock: return "Astc10x6UnormBlock";\r
- case Format::eAstc10x6SrgbBlock: return "Astc10x6SrgbBlock";\r
- case Format::eAstc10x8UnormBlock: return "Astc10x8UnormBlock";\r
- case Format::eAstc10x8SrgbBlock: return "Astc10x8SrgbBlock";\r
- case Format::eAstc10x10UnormBlock: return "Astc10x10UnormBlock";\r
- case Format::eAstc10x10SrgbBlock: return "Astc10x10SrgbBlock";\r
- case Format::eAstc12x10UnormBlock: return "Astc12x10UnormBlock";\r
- case Format::eAstc12x10SrgbBlock: return "Astc12x10SrgbBlock";\r
- case Format::eAstc12x12UnormBlock: return "Astc12x12UnormBlock";\r
- case Format::eAstc12x12SrgbBlock: return "Astc12x12SrgbBlock";\r
- case Format::eG8B8G8R8422Unorm: return "G8B8G8R8422Unorm";\r
- case Format::eB8G8R8G8422Unorm: return "B8G8R8G8422Unorm";\r
- case Format::eG8B8R83Plane420Unorm: return "G8B8R83Plane420Unorm";\r
- case Format::eG8B8R82Plane420Unorm: return "G8B8R82Plane420Unorm";\r
- case Format::eG8B8R83Plane422Unorm: return "G8B8R83Plane422Unorm";\r
- case Format::eG8B8R82Plane422Unorm: return "G8B8R82Plane422Unorm";\r
- case Format::eG8B8R83Plane444Unorm: return "G8B8R83Plane444Unorm";\r
- case Format::eR10X6UnormPack16: return "R10X6UnormPack16";\r
- case Format::eR10X6G10X6Unorm2Pack16: return "R10X6G10X6Unorm2Pack16";\r
- case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: return "R10X6G10X6B10X6A10X6Unorm4Pack16";\r
- case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return "G10X6B10X6G10X6R10X6422Unorm4Pack16";\r
- case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return "B10X6G10X6R10X6G10X6422Unorm4Pack16";\r
- case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return "G10X6B10X6R10X63Plane420Unorm3Pack16";\r
- case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return "G10X6B10X6R10X62Plane420Unorm3Pack16";\r
- case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return "G10X6B10X6R10X63Plane422Unorm3Pack16";\r
- case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return "G10X6B10X6R10X62Plane422Unorm3Pack16";\r
- case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return "G10X6B10X6R10X63Plane444Unorm3Pack16";\r
- case Format::eR12X4UnormPack16: return "R12X4UnormPack16";\r
- case Format::eR12X4G12X4Unorm2Pack16: return "R12X4G12X4Unorm2Pack16";\r
- case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: return "R12X4G12X4B12X4A12X4Unorm4Pack16";\r
- case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return "G12X4B12X4G12X4R12X4422Unorm4Pack16";\r
- case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return "B12X4G12X4R12X4G12X4422Unorm4Pack16";\r
- case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return "G12X4B12X4R12X43Plane420Unorm3Pack16";\r
- case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return "G12X4B12X4R12X42Plane420Unorm3Pack16";\r
- case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return "G12X4B12X4R12X43Plane422Unorm3Pack16";\r
- case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return "G12X4B12X4R12X42Plane422Unorm3Pack16";\r
- case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return "G12X4B12X4R12X43Plane444Unorm3Pack16";\r
- case Format::eG16B16G16R16422Unorm: return "G16B16G16R16422Unorm";\r
- case Format::eB16G16R16G16422Unorm: return "B16G16R16G16422Unorm";\r
- case Format::eG16B16R163Plane420Unorm: return "G16B16R163Plane420Unorm";\r
- case Format::eG16B16R162Plane420Unorm: return "G16B16R162Plane420Unorm";\r
- case Format::eG16B16R163Plane422Unorm: return "G16B16R163Plane422Unorm";\r
- case Format::eG16B16R162Plane422Unorm: return "G16B16R162Plane422Unorm";\r
- case Format::eG16B16R163Plane444Unorm: return "G16B16R163Plane444Unorm";\r
- case Format::ePvrtc12BppUnormBlockIMG: return "Pvrtc12BppUnormBlockIMG";\r
- case Format::ePvrtc14BppUnormBlockIMG: return "Pvrtc14BppUnormBlockIMG";\r
- case Format::ePvrtc22BppUnormBlockIMG: return "Pvrtc22BppUnormBlockIMG";\r
- case Format::ePvrtc24BppUnormBlockIMG: return "Pvrtc24BppUnormBlockIMG";\r
- case Format::ePvrtc12BppSrgbBlockIMG: return "Pvrtc12BppSrgbBlockIMG";\r
- case Format::ePvrtc14BppSrgbBlockIMG: return "Pvrtc14BppSrgbBlockIMG";\r
- case Format::ePvrtc22BppSrgbBlockIMG: return "Pvrtc22BppSrgbBlockIMG";\r
- case Format::ePvrtc24BppSrgbBlockIMG: return "Pvrtc24BppSrgbBlockIMG";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(StructureType value)\r
- {\r
- switch (value)\r
- {\r
- case StructureType::eApplicationInfo: return "ApplicationInfo";\r
- case StructureType::eInstanceCreateInfo: return "InstanceCreateInfo";\r
- case StructureType::eDeviceQueueCreateInfo: return "DeviceQueueCreateInfo";\r
- case StructureType::eDeviceCreateInfo: return "DeviceCreateInfo";\r
- case StructureType::eSubmitInfo: return "SubmitInfo";\r
- case StructureType::eMemoryAllocateInfo: return "MemoryAllocateInfo";\r
- case StructureType::eMappedMemoryRange: return "MappedMemoryRange";\r
- case StructureType::eBindSparseInfo: return "BindSparseInfo";\r
- case StructureType::eFenceCreateInfo: return "FenceCreateInfo";\r
- case StructureType::eSemaphoreCreateInfo: return "SemaphoreCreateInfo";\r
- case StructureType::eEventCreateInfo: return "EventCreateInfo";\r
- case StructureType::eQueryPoolCreateInfo: return "QueryPoolCreateInfo";\r
- case StructureType::eBufferCreateInfo: return "BufferCreateInfo";\r
- case StructureType::eBufferViewCreateInfo: return "BufferViewCreateInfo";\r
- case StructureType::eImageCreateInfo: return "ImageCreateInfo";\r
- case StructureType::eImageViewCreateInfo: return "ImageViewCreateInfo";\r
- case StructureType::eShaderModuleCreateInfo: return "ShaderModuleCreateInfo";\r
- case StructureType::ePipelineCacheCreateInfo: return "PipelineCacheCreateInfo";\r
- case StructureType::ePipelineShaderStageCreateInfo: return "PipelineShaderStageCreateInfo";\r
- case StructureType::ePipelineVertexInputStateCreateInfo: return "PipelineVertexInputStateCreateInfo";\r
- case StructureType::ePipelineInputAssemblyStateCreateInfo: return "PipelineInputAssemblyStateCreateInfo";\r
- case StructureType::ePipelineTessellationStateCreateInfo: return "PipelineTessellationStateCreateInfo";\r
- case StructureType::ePipelineViewportStateCreateInfo: return "PipelineViewportStateCreateInfo";\r
- case StructureType::ePipelineRasterizationStateCreateInfo: return "PipelineRasterizationStateCreateInfo";\r
- case StructureType::ePipelineMultisampleStateCreateInfo: return "PipelineMultisampleStateCreateInfo";\r
- case StructureType::ePipelineDepthStencilStateCreateInfo: return "PipelineDepthStencilStateCreateInfo";\r
- case StructureType::ePipelineColorBlendStateCreateInfo: return "PipelineColorBlendStateCreateInfo";\r
- case StructureType::ePipelineDynamicStateCreateInfo: return "PipelineDynamicStateCreateInfo";\r
- case StructureType::eGraphicsPipelineCreateInfo: return "GraphicsPipelineCreateInfo";\r
- case StructureType::eComputePipelineCreateInfo: return "ComputePipelineCreateInfo";\r
- case StructureType::ePipelineLayoutCreateInfo: return "PipelineLayoutCreateInfo";\r
- case StructureType::eSamplerCreateInfo: return "SamplerCreateInfo";\r
- case StructureType::eDescriptorSetLayoutCreateInfo: return "DescriptorSetLayoutCreateInfo";\r
- case StructureType::eDescriptorPoolCreateInfo: return "DescriptorPoolCreateInfo";\r
- case StructureType::eDescriptorSetAllocateInfo: return "DescriptorSetAllocateInfo";\r
- case StructureType::eWriteDescriptorSet: return "WriteDescriptorSet";\r
- case StructureType::eCopyDescriptorSet: return "CopyDescriptorSet";\r
- case StructureType::eFramebufferCreateInfo: return "FramebufferCreateInfo";\r
- case StructureType::eRenderPassCreateInfo: return "RenderPassCreateInfo";\r
- case StructureType::eCommandPoolCreateInfo: return "CommandPoolCreateInfo";\r
- case StructureType::eCommandBufferAllocateInfo: return "CommandBufferAllocateInfo";\r
- case StructureType::eCommandBufferInheritanceInfo: return "CommandBufferInheritanceInfo";\r
- case StructureType::eCommandBufferBeginInfo: return "CommandBufferBeginInfo";\r
- case StructureType::eRenderPassBeginInfo: return "RenderPassBeginInfo";\r
- case StructureType::eBufferMemoryBarrier: return "BufferMemoryBarrier";\r
- case StructureType::eImageMemoryBarrier: return "ImageMemoryBarrier";\r
- case StructureType::eMemoryBarrier: return "MemoryBarrier";\r
- case StructureType::eLoaderInstanceCreateInfo: return "LoaderInstanceCreateInfo";\r
- case StructureType::eLoaderDeviceCreateInfo: return "LoaderDeviceCreateInfo";\r
- case StructureType::ePhysicalDeviceSubgroupProperties: return "PhysicalDeviceSubgroupProperties";\r
- case StructureType::eBindBufferMemoryInfo: return "BindBufferMemoryInfo";\r
- case StructureType::eBindImageMemoryInfo: return "BindImageMemoryInfo";\r
- case StructureType::ePhysicalDevice16BitStorageFeatures: return "PhysicalDevice16BitStorageFeatures";\r
- case StructureType::eMemoryDedicatedRequirements: return "MemoryDedicatedRequirements";\r
- case StructureType::eMemoryDedicatedAllocateInfo: return "MemoryDedicatedAllocateInfo";\r
- case StructureType::eMemoryAllocateFlagsInfo: return "MemoryAllocateFlagsInfo";\r
- case StructureType::eDeviceGroupRenderPassBeginInfo: return "DeviceGroupRenderPassBeginInfo";\r
- case StructureType::eDeviceGroupCommandBufferBeginInfo: return "DeviceGroupCommandBufferBeginInfo";\r
- case StructureType::eDeviceGroupSubmitInfo: return "DeviceGroupSubmitInfo";\r
- case StructureType::eDeviceGroupBindSparseInfo: return "DeviceGroupBindSparseInfo";\r
- case StructureType::eBindBufferMemoryDeviceGroupInfo: return "BindBufferMemoryDeviceGroupInfo";\r
- case StructureType::eBindImageMemoryDeviceGroupInfo: return "BindImageMemoryDeviceGroupInfo";\r
- case StructureType::ePhysicalDeviceGroupProperties: return "PhysicalDeviceGroupProperties";\r
- case StructureType::eDeviceGroupDeviceCreateInfo: return "DeviceGroupDeviceCreateInfo";\r
- case StructureType::eBufferMemoryRequirementsInfo2: return "BufferMemoryRequirementsInfo2";\r
- case StructureType::eImageMemoryRequirementsInfo2: return "ImageMemoryRequirementsInfo2";\r
- case StructureType::eImageSparseMemoryRequirementsInfo2: return "ImageSparseMemoryRequirementsInfo2";\r
- case StructureType::eMemoryRequirements2: return "MemoryRequirements2";\r
- case StructureType::eSparseImageMemoryRequirements2: return "SparseImageMemoryRequirements2";\r
- case StructureType::ePhysicalDeviceFeatures2: return "PhysicalDeviceFeatures2";\r
- case StructureType::ePhysicalDeviceProperties2: return "PhysicalDeviceProperties2";\r
- case StructureType::eFormatProperties2: return "FormatProperties2";\r
- case StructureType::eImageFormatProperties2: return "ImageFormatProperties2";\r
- case StructureType::ePhysicalDeviceImageFormatInfo2: return "PhysicalDeviceImageFormatInfo2";\r
- case StructureType::eQueueFamilyProperties2: return "QueueFamilyProperties2";\r
- case StructureType::ePhysicalDeviceMemoryProperties2: return "PhysicalDeviceMemoryProperties2";\r
- case StructureType::eSparseImageFormatProperties2: return "SparseImageFormatProperties2";\r
- case StructureType::ePhysicalDeviceSparseImageFormatInfo2: return "PhysicalDeviceSparseImageFormatInfo2";\r
- case StructureType::ePhysicalDevicePointClippingProperties: return "PhysicalDevicePointClippingProperties";\r
- case StructureType::eRenderPassInputAttachmentAspectCreateInfo: return "RenderPassInputAttachmentAspectCreateInfo";\r
- case StructureType::eImageViewUsageCreateInfo: return "ImageViewUsageCreateInfo";\r
- case StructureType::ePipelineTessellationDomainOriginStateCreateInfo: return "PipelineTessellationDomainOriginStateCreateInfo";\r
- case StructureType::eRenderPassMultiviewCreateInfo: return "RenderPassMultiviewCreateInfo";\r
- case StructureType::ePhysicalDeviceMultiviewFeatures: return "PhysicalDeviceMultiviewFeatures";\r
- case StructureType::ePhysicalDeviceMultiviewProperties: return "PhysicalDeviceMultiviewProperties";\r
- case StructureType::ePhysicalDeviceVariablePointerFeatures: return "PhysicalDeviceVariablePointerFeatures";\r
- case StructureType::eProtectedSubmitInfo: return "ProtectedSubmitInfo";\r
- case StructureType::ePhysicalDeviceProtectedMemoryFeatures: return "PhysicalDeviceProtectedMemoryFeatures";\r
- case StructureType::ePhysicalDeviceProtectedMemoryProperties: return "PhysicalDeviceProtectedMemoryProperties";\r
- case StructureType::eDeviceQueueInfo2: return "DeviceQueueInfo2";\r
- case StructureType::eSamplerYcbcrConversionCreateInfo: return "SamplerYcbcrConversionCreateInfo";\r
- case StructureType::eSamplerYcbcrConversionInfo: return "SamplerYcbcrConversionInfo";\r
- case StructureType::eBindImagePlaneMemoryInfo: return "BindImagePlaneMemoryInfo";\r
- case StructureType::eImagePlaneMemoryRequirementsInfo: return "ImagePlaneMemoryRequirementsInfo";\r
- case StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures: return "PhysicalDeviceSamplerYcbcrConversionFeatures";\r
- case StructureType::eSamplerYcbcrConversionImageFormatProperties: return "SamplerYcbcrConversionImageFormatProperties";\r
- case StructureType::eDescriptorUpdateTemplateCreateInfo: return "DescriptorUpdateTemplateCreateInfo";\r
- case StructureType::ePhysicalDeviceExternalImageFormatInfo: return "PhysicalDeviceExternalImageFormatInfo";\r
- case StructureType::eExternalImageFormatProperties: return "ExternalImageFormatProperties";\r
- case StructureType::ePhysicalDeviceExternalBufferInfo: return "PhysicalDeviceExternalBufferInfo";\r
- case StructureType::eExternalBufferProperties: return "ExternalBufferProperties";\r
- case StructureType::ePhysicalDeviceIdProperties: return "PhysicalDeviceIdProperties";\r
- case StructureType::eExternalMemoryBufferCreateInfo: return "ExternalMemoryBufferCreateInfo";\r
- case StructureType::eExternalMemoryImageCreateInfo: return "ExternalMemoryImageCreateInfo";\r
- case StructureType::eExportMemoryAllocateInfo: return "ExportMemoryAllocateInfo";\r
- case StructureType::ePhysicalDeviceExternalFenceInfo: return "PhysicalDeviceExternalFenceInfo";\r
- case StructureType::eExternalFenceProperties: return "ExternalFenceProperties";\r
- case StructureType::eExportFenceCreateInfo: return "ExportFenceCreateInfo";\r
- case StructureType::eExportSemaphoreCreateInfo: return "ExportSemaphoreCreateInfo";\r
- case StructureType::ePhysicalDeviceExternalSemaphoreInfo: return "PhysicalDeviceExternalSemaphoreInfo";\r
- case StructureType::eExternalSemaphoreProperties: return "ExternalSemaphoreProperties";\r
- case StructureType::ePhysicalDeviceMaintenance3Properties: return "PhysicalDeviceMaintenance3Properties";\r
- case StructureType::eDescriptorSetLayoutSupport: return "DescriptorSetLayoutSupport";\r
- case StructureType::ePhysicalDeviceShaderDrawParameterFeatures: return "PhysicalDeviceShaderDrawParameterFeatures";\r
- case StructureType::eSwapchainCreateInfoKHR: return "SwapchainCreateInfoKHR";\r
- case StructureType::ePresentInfoKHR: return "PresentInfoKHR";\r
- case StructureType::eDeviceGroupPresentCapabilitiesKHR: return "DeviceGroupPresentCapabilitiesKHR";\r
- case StructureType::eImageSwapchainCreateInfoKHR: return "ImageSwapchainCreateInfoKHR";\r
- case StructureType::eBindImageMemorySwapchainInfoKHR: return "BindImageMemorySwapchainInfoKHR";\r
- case StructureType::eAcquireNextImageInfoKHR: return "AcquireNextImageInfoKHR";\r
- case StructureType::eDeviceGroupPresentInfoKHR: return "DeviceGroupPresentInfoKHR";\r
- case StructureType::eDeviceGroupSwapchainCreateInfoKHR: return "DeviceGroupSwapchainCreateInfoKHR";\r
- case StructureType::eDisplayModeCreateInfoKHR: return "DisplayModeCreateInfoKHR";\r
- case StructureType::eDisplaySurfaceCreateInfoKHR: return "DisplaySurfaceCreateInfoKHR";\r
- case StructureType::eDisplayPresentInfoKHR: return "DisplayPresentInfoKHR";\r
- case StructureType::eXlibSurfaceCreateInfoKHR: return "XlibSurfaceCreateInfoKHR";\r
- case StructureType::eXcbSurfaceCreateInfoKHR: return "XcbSurfaceCreateInfoKHR";\r
- case StructureType::eWaylandSurfaceCreateInfoKHR: return "WaylandSurfaceCreateInfoKHR";\r
- case StructureType::eMirSurfaceCreateInfoKHR: return "MirSurfaceCreateInfoKHR";\r
- case StructureType::eAndroidSurfaceCreateInfoKHR: return "AndroidSurfaceCreateInfoKHR";\r
- case StructureType::eWin32SurfaceCreateInfoKHR: return "Win32SurfaceCreateInfoKHR";\r
- case StructureType::eDebugReportCallbackCreateInfoEXT: return "DebugReportCallbackCreateInfoEXT";\r
- case StructureType::ePipelineRasterizationStateRasterizationOrderAMD: return "PipelineRasterizationStateRasterizationOrderAMD";\r
- case StructureType::eDebugMarkerObjectNameInfoEXT: return "DebugMarkerObjectNameInfoEXT";\r
- case StructureType::eDebugMarkerObjectTagInfoEXT: return "DebugMarkerObjectTagInfoEXT";\r
- case StructureType::eDebugMarkerMarkerInfoEXT: return "DebugMarkerMarkerInfoEXT";\r
- case StructureType::eDedicatedAllocationImageCreateInfoNV: return "DedicatedAllocationImageCreateInfoNV";\r
- case StructureType::eDedicatedAllocationBufferCreateInfoNV: return "DedicatedAllocationBufferCreateInfoNV";\r
- case StructureType::eDedicatedAllocationMemoryAllocateInfoNV: return "DedicatedAllocationMemoryAllocateInfoNV";\r
- case StructureType::eTextureLodGatherFormatPropertiesAMD: return "TextureLodGatherFormatPropertiesAMD";\r
- case StructureType::eExternalMemoryImageCreateInfoNV: return "ExternalMemoryImageCreateInfoNV";\r
- case StructureType::eExportMemoryAllocateInfoNV: return "ExportMemoryAllocateInfoNV";\r
- case StructureType::eImportMemoryWin32HandleInfoNV: return "ImportMemoryWin32HandleInfoNV";\r
- case StructureType::eExportMemoryWin32HandleInfoNV: return "ExportMemoryWin32HandleInfoNV";\r
- case StructureType::eWin32KeyedMutexAcquireReleaseInfoNV: return "Win32KeyedMutexAcquireReleaseInfoNV";\r
- case StructureType::eValidationFlagsEXT: return "ValidationFlagsEXT";\r
- case StructureType::eViSurfaceCreateInfoNN: return "ViSurfaceCreateInfoNN";\r
- case StructureType::eImportMemoryWin32HandleInfoKHR: return "ImportMemoryWin32HandleInfoKHR";\r
- case StructureType::eExportMemoryWin32HandleInfoKHR: return "ExportMemoryWin32HandleInfoKHR";\r
- case StructureType::eMemoryWin32HandlePropertiesKHR: return "MemoryWin32HandlePropertiesKHR";\r
- case StructureType::eMemoryGetWin32HandleInfoKHR: return "MemoryGetWin32HandleInfoKHR";\r
- case StructureType::eImportMemoryFdInfoKHR: return "ImportMemoryFdInfoKHR";\r
- case StructureType::eMemoryFdPropertiesKHR: return "MemoryFdPropertiesKHR";\r
- case StructureType::eMemoryGetFdInfoKHR: return "MemoryGetFdInfoKHR";\r
- case StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR: return "Win32KeyedMutexAcquireReleaseInfoKHR";\r
- case StructureType::eImportSemaphoreWin32HandleInfoKHR: return "ImportSemaphoreWin32HandleInfoKHR";\r
- case StructureType::eExportSemaphoreWin32HandleInfoKHR: return "ExportSemaphoreWin32HandleInfoKHR";\r
- case StructureType::eD3D12FenceSubmitInfoKHR: return "D3D12FenceSubmitInfoKHR";\r
- case StructureType::eSemaphoreGetWin32HandleInfoKHR: return "SemaphoreGetWin32HandleInfoKHR";\r
- case StructureType::eImportSemaphoreFdInfoKHR: return "ImportSemaphoreFdInfoKHR";\r
- case StructureType::eSemaphoreGetFdInfoKHR: return "SemaphoreGetFdInfoKHR";\r
- case StructureType::ePhysicalDevicePushDescriptorPropertiesKHR: return "PhysicalDevicePushDescriptorPropertiesKHR";\r
- case StructureType::ePresentRegionsKHR: return "PresentRegionsKHR";\r
- case StructureType::eObjectTableCreateInfoNVX: return "ObjectTableCreateInfoNVX";\r
- case StructureType::eIndirectCommandsLayoutCreateInfoNVX: return "IndirectCommandsLayoutCreateInfoNVX";\r
- case StructureType::eCmdProcessCommandsInfoNVX: return "CmdProcessCommandsInfoNVX";\r
- case StructureType::eCmdReserveSpaceForCommandsInfoNVX: return "CmdReserveSpaceForCommandsInfoNVX";\r
- case StructureType::eDeviceGeneratedCommandsLimitsNVX: return "DeviceGeneratedCommandsLimitsNVX";\r
- case StructureType::eDeviceGeneratedCommandsFeaturesNVX: return "DeviceGeneratedCommandsFeaturesNVX";\r
- case StructureType::ePipelineViewportWScalingStateCreateInfoNV: return "PipelineViewportWScalingStateCreateInfoNV";\r
- case StructureType::eSurfaceCapabilities2EXT: return "SurfaceCapabilities2EXT";\r
- case StructureType::eDisplayPowerInfoEXT: return "DisplayPowerInfoEXT";\r
- case StructureType::eDeviceEventInfoEXT: return "DeviceEventInfoEXT";\r
- case StructureType::eDisplayEventInfoEXT: return "DisplayEventInfoEXT";\r
- case StructureType::eSwapchainCounterCreateInfoEXT: return "SwapchainCounterCreateInfoEXT";\r
- case StructureType::ePresentTimesInfoGOOGLE: return "PresentTimesInfoGOOGLE";\r
- case StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX: return "PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX";\r
- case StructureType::ePipelineViewportSwizzleStateCreateInfoNV: return "PipelineViewportSwizzleStateCreateInfoNV";\r
- case StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT: return "PhysicalDeviceDiscardRectanglePropertiesEXT";\r
- case StructureType::ePipelineDiscardRectangleStateCreateInfoEXT: return "PipelineDiscardRectangleStateCreateInfoEXT";\r
- case StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT: return "PhysicalDeviceConservativeRasterizationPropertiesEXT";\r
- case StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT: return "PipelineRasterizationConservativeStateCreateInfoEXT";\r
- case StructureType::eHdrMetadataEXT: return "HdrMetadataEXT";\r
- case StructureType::eSharedPresentSurfaceCapabilitiesKHR: return "SharedPresentSurfaceCapabilitiesKHR";\r
- case StructureType::eImportFenceWin32HandleInfoKHR: return "ImportFenceWin32HandleInfoKHR";\r
- case StructureType::eExportFenceWin32HandleInfoKHR: return "ExportFenceWin32HandleInfoKHR";\r
- case StructureType::eFenceGetWin32HandleInfoKHR: return "FenceGetWin32HandleInfoKHR";\r
- case StructureType::eImportFenceFdInfoKHR: return "ImportFenceFdInfoKHR";\r
- case StructureType::eFenceGetFdInfoKHR: return "FenceGetFdInfoKHR";\r
- case StructureType::ePhysicalDeviceSurfaceInfo2KHR: return "PhysicalDeviceSurfaceInfo2KHR";\r
- case StructureType::eSurfaceCapabilities2KHR: return "SurfaceCapabilities2KHR";\r
- case StructureType::eSurfaceFormat2KHR: return "SurfaceFormat2KHR";\r
- case StructureType::eIosSurfaceCreateInfoMVK: return "IosSurfaceCreateInfoMVK";\r
- case StructureType::eMacosSurfaceCreateInfoMVK: return "MacosSurfaceCreateInfoMVK";\r
- case StructureType::eDebugUtilsObjectNameInfoEXT: return "DebugUtilsObjectNameInfoEXT";\r
- case StructureType::eDebugUtilsObjectTagInfoEXT: return "DebugUtilsObjectTagInfoEXT";\r
- case StructureType::eDebugUtilsLabelEXT: return "DebugUtilsLabelEXT";\r
- case StructureType::eDebugUtilsMessengerCallbackDataEXT: return "DebugUtilsMessengerCallbackDataEXT";\r
- case StructureType::eDebugUtilsMessengerCreateInfoEXT: return "DebugUtilsMessengerCreateInfoEXT";\r
- case StructureType::eAndroidHardwareBufferUsageANDROID: return "AndroidHardwareBufferUsageANDROID";\r
- case StructureType::eAndroidHardwareBufferPropertiesANDROID: return "AndroidHardwareBufferPropertiesANDROID";\r
- case StructureType::eAndroidHardwareBufferFormatPropertiesANDROID: return "AndroidHardwareBufferFormatPropertiesANDROID";\r
- case StructureType::eImportAndroidHardwareBufferInfoANDROID: return "ImportAndroidHardwareBufferInfoANDROID";\r
- case StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID: return "MemoryGetAndroidHardwareBufferInfoANDROID";\r
- case StructureType::eExternalFormatANDROID: return "ExternalFormatANDROID";\r
- case StructureType::ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT: return "PhysicalDeviceSamplerFilterMinmaxPropertiesEXT";\r
- case StructureType::eSamplerReductionModeCreateInfoEXT: return "SamplerReductionModeCreateInfoEXT";\r
- case StructureType::eSampleLocationsInfoEXT: return "SampleLocationsInfoEXT";\r
- case StructureType::eRenderPassSampleLocationsBeginInfoEXT: return "RenderPassSampleLocationsBeginInfoEXT";\r
- case StructureType::ePipelineSampleLocationsStateCreateInfoEXT: return "PipelineSampleLocationsStateCreateInfoEXT";\r
- case StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT: return "PhysicalDeviceSampleLocationsPropertiesEXT";\r
- case StructureType::eMultisamplePropertiesEXT: return "MultisamplePropertiesEXT";\r
- case StructureType::eImageFormatListCreateInfoKHR: return "ImageFormatListCreateInfoKHR";\r
- case StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT: return "PhysicalDeviceBlendOperationAdvancedFeaturesEXT";\r
- case StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT: return "PhysicalDeviceBlendOperationAdvancedPropertiesEXT";\r
- case StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT: return "PipelineColorBlendAdvancedStateCreateInfoEXT";\r
- case StructureType::ePipelineCoverageToColorStateCreateInfoNV: return "PipelineCoverageToColorStateCreateInfoNV";\r
- case StructureType::ePipelineCoverageModulationStateCreateInfoNV: return "PipelineCoverageModulationStateCreateInfoNV";\r
- case StructureType::eValidationCacheCreateInfoEXT: return "ValidationCacheCreateInfoEXT";\r
- case StructureType::eShaderModuleValidationCacheCreateInfoEXT: return "ShaderModuleValidationCacheCreateInfoEXT";\r
- case StructureType::eDescriptorSetLayoutBindingFlagsCreateInfoEXT: return "DescriptorSetLayoutBindingFlagsCreateInfoEXT";\r
- case StructureType::ePhysicalDeviceDescriptorIndexingFeaturesEXT: return "PhysicalDeviceDescriptorIndexingFeaturesEXT";\r
- case StructureType::ePhysicalDeviceDescriptorIndexingPropertiesEXT: return "PhysicalDeviceDescriptorIndexingPropertiesEXT";\r
- case StructureType::eDescriptorSetVariableDescriptorCountAllocateInfoEXT: return "DescriptorSetVariableDescriptorCountAllocateInfoEXT";\r
- case StructureType::eDescriptorSetVariableDescriptorCountLayoutSupportEXT: return "DescriptorSetVariableDescriptorCountLayoutSupportEXT";\r
- case StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT: return "DeviceQueueGlobalPriorityCreateInfoEXT";\r
- case StructureType::eImportMemoryHostPointerInfoEXT: return "ImportMemoryHostPointerInfoEXT";\r
- case StructureType::eMemoryHostPointerPropertiesEXT: return "MemoryHostPointerPropertiesEXT";\r
- case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT: return "PhysicalDeviceExternalMemoryHostPropertiesEXT";\r
- case StructureType::ePhysicalDeviceShaderCorePropertiesAMD: return "PhysicalDeviceShaderCorePropertiesAMD";\r
- case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT: return "PhysicalDeviceVertexAttributeDivisorPropertiesEXT";\r
- case StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT: return "PipelineVertexInputDivisorStateCreateInfoEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SubpassContents value)\r
- {\r
- switch (value)\r
- {\r
- case SubpassContents::eInline: return "Inline";\r
- case SubpassContents::eSecondaryCommandBuffers: return "SecondaryCommandBuffers";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DynamicState value)\r
- {\r
- switch (value)\r
- {\r
- case DynamicState::eViewport: return "Viewport";\r
- case DynamicState::eScissor: return "Scissor";\r
- case DynamicState::eLineWidth: return "LineWidth";\r
- case DynamicState::eDepthBias: return "DepthBias";\r
- case DynamicState::eBlendConstants: return "BlendConstants";\r
- case DynamicState::eDepthBounds: return "DepthBounds";\r
- case DynamicState::eStencilCompareMask: return "StencilCompareMask";\r
- case DynamicState::eStencilWriteMask: return "StencilWriteMask";\r
- case DynamicState::eStencilReference: return "StencilReference";\r
- case DynamicState::eViewportWScalingNV: return "ViewportWScalingNV";\r
- case DynamicState::eDiscardRectangleEXT: return "DiscardRectangleEXT";\r
- case DynamicState::eSampleLocationsEXT: return "SampleLocationsEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorUpdateTemplateType value)\r
- {\r
- switch (value)\r
- {\r
- case DescriptorUpdateTemplateType::eDescriptorSet: return "DescriptorSet";\r
- case DescriptorUpdateTemplateType::ePushDescriptorsKHR: return "PushDescriptorsKHR";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ObjectType value)\r
- {\r
- switch (value)\r
- {\r
- case ObjectType::eUnknown: return "Unknown";\r
- case ObjectType::eInstance: return "Instance";\r
- case ObjectType::ePhysicalDevice: return "PhysicalDevice";\r
- case ObjectType::eDevice: return "Device";\r
- case ObjectType::eQueue: return "Queue";\r
- case ObjectType::eSemaphore: return "Semaphore";\r
- case ObjectType::eCommandBuffer: return "CommandBuffer";\r
- case ObjectType::eFence: return "Fence";\r
- case ObjectType::eDeviceMemory: return "DeviceMemory";\r
- case ObjectType::eBuffer: return "Buffer";\r
- case ObjectType::eImage: return "Image";\r
- case ObjectType::eEvent: return "Event";\r
- case ObjectType::eQueryPool: return "QueryPool";\r
- case ObjectType::eBufferView: return "BufferView";\r
- case ObjectType::eImageView: return "ImageView";\r
- case ObjectType::eShaderModule: return "ShaderModule";\r
- case ObjectType::ePipelineCache: return "PipelineCache";\r
- case ObjectType::ePipelineLayout: return "PipelineLayout";\r
- case ObjectType::eRenderPass: return "RenderPass";\r
- case ObjectType::ePipeline: return "Pipeline";\r
- case ObjectType::eDescriptorSetLayout: return "DescriptorSetLayout";\r
- case ObjectType::eSampler: return "Sampler";\r
- case ObjectType::eDescriptorPool: return "DescriptorPool";\r
- case ObjectType::eDescriptorSet: return "DescriptorSet";\r
- case ObjectType::eFramebuffer: return "Framebuffer";\r
- case ObjectType::eCommandPool: return "CommandPool";\r
- case ObjectType::eSamplerYcbcrConversion: return "SamplerYcbcrConversion";\r
- case ObjectType::eDescriptorUpdateTemplate: return "DescriptorUpdateTemplate";\r
- case ObjectType::eSurfaceKHR: return "SurfaceKHR";\r
- case ObjectType::eSwapchainKHR: return "SwapchainKHR";\r
- case ObjectType::eDisplayKHR: return "DisplayKHR";\r
- case ObjectType::eDisplayModeKHR: return "DisplayModeKHR";\r
- case ObjectType::eDebugReportCallbackEXT: return "DebugReportCallbackEXT";\r
- case ObjectType::eObjectTableNVX: return "ObjectTableNVX";\r
- case ObjectType::eIndirectCommandsLayoutNVX: return "IndirectCommandsLayoutNVX";\r
- case ObjectType::eDebugUtilsMessengerEXT: return "DebugUtilsMessengerEXT";\r
- case ObjectType::eValidationCacheEXT: return "ValidationCacheEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueueFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case QueueFlagBits::eGraphics: return "Graphics";\r
- case QueueFlagBits::eCompute: return "Compute";\r
- case QueueFlagBits::eTransfer: return "Transfer";\r
- case QueueFlagBits::eSparseBinding: return "SparseBinding";\r
- case QueueFlagBits::eProtected: return "Protected";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueueFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & QueueFlagBits::eGraphics) result += "Graphics | ";\r
- if (value & QueueFlagBits::eCompute) result += "Compute | ";\r
- if (value & QueueFlagBits::eTransfer) result += "Transfer | ";\r
- if (value & QueueFlagBits::eSparseBinding) result += "SparseBinding | ";\r
- if (value & QueueFlagBits::eProtected) result += "Protected | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DeviceQueueCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case DeviceQueueCreateFlagBits::eProtected: return "Protected";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DeviceQueueCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DeviceQueueCreateFlagBits::eProtected) result += "Protected | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryPropertyFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case MemoryPropertyFlagBits::eDeviceLocal: return "DeviceLocal";\r
- case MemoryPropertyFlagBits::eHostVisible: return "HostVisible";\r
- case MemoryPropertyFlagBits::eHostCoherent: return "HostCoherent";\r
- case MemoryPropertyFlagBits::eHostCached: return "HostCached";\r
- case MemoryPropertyFlagBits::eLazilyAllocated: return "LazilyAllocated";\r
- case MemoryPropertyFlagBits::eProtected: return "Protected";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryPropertyFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & MemoryPropertyFlagBits::eDeviceLocal) result += "DeviceLocal | ";\r
- if (value & MemoryPropertyFlagBits::eHostVisible) result += "HostVisible | ";\r
- if (value & MemoryPropertyFlagBits::eHostCoherent) result += "HostCoherent | ";\r
- if (value & MemoryPropertyFlagBits::eHostCached) result += "HostCached | ";\r
- if (value & MemoryPropertyFlagBits::eLazilyAllocated) result += "LazilyAllocated | ";\r
- if (value & MemoryPropertyFlagBits::eProtected) result += "Protected | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryHeapFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case MemoryHeapFlagBits::eDeviceLocal: return "DeviceLocal";\r
- case MemoryHeapFlagBits::eMultiInstance: return "MultiInstance";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryHeapFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & MemoryHeapFlagBits::eDeviceLocal) result += "DeviceLocal | ";\r
- if (value & MemoryHeapFlagBits::eMultiInstance) result += "MultiInstance | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(AccessFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case AccessFlagBits::eIndirectCommandRead: return "IndirectCommandRead";\r
- case AccessFlagBits::eIndexRead: return "IndexRead";\r
- case AccessFlagBits::eVertexAttributeRead: return "VertexAttributeRead";\r
- case AccessFlagBits::eUniformRead: return "UniformRead";\r
- case AccessFlagBits::eInputAttachmentRead: return "InputAttachmentRead";\r
- case AccessFlagBits::eShaderRead: return "ShaderRead";\r
- case AccessFlagBits::eShaderWrite: return "ShaderWrite";\r
- case AccessFlagBits::eColorAttachmentRead: return "ColorAttachmentRead";\r
- case AccessFlagBits::eColorAttachmentWrite: return "ColorAttachmentWrite";\r
- case AccessFlagBits::eDepthStencilAttachmentRead: return "DepthStencilAttachmentRead";\r
- case AccessFlagBits::eDepthStencilAttachmentWrite: return "DepthStencilAttachmentWrite";\r
- case AccessFlagBits::eTransferRead: return "TransferRead";\r
- case AccessFlagBits::eTransferWrite: return "TransferWrite";\r
- case AccessFlagBits::eHostRead: return "HostRead";\r
- case AccessFlagBits::eHostWrite: return "HostWrite";\r
- case AccessFlagBits::eMemoryRead: return "MemoryRead";\r
- case AccessFlagBits::eMemoryWrite: return "MemoryWrite";\r
- case AccessFlagBits::eCommandProcessReadNVX: return "CommandProcessReadNVX";\r
- case AccessFlagBits::eCommandProcessWriteNVX: return "CommandProcessWriteNVX";\r
- case AccessFlagBits::eColorAttachmentReadNoncoherentEXT: return "ColorAttachmentReadNoncoherentEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(AccessFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & AccessFlagBits::eIndirectCommandRead) result += "IndirectCommandRead | ";\r
- if (value & AccessFlagBits::eIndexRead) result += "IndexRead | ";\r
- if (value & AccessFlagBits::eVertexAttributeRead) result += "VertexAttributeRead | ";\r
- if (value & AccessFlagBits::eUniformRead) result += "UniformRead | ";\r
- if (value & AccessFlagBits::eInputAttachmentRead) result += "InputAttachmentRead | ";\r
- if (value & AccessFlagBits::eShaderRead) result += "ShaderRead | ";\r
- if (value & AccessFlagBits::eShaderWrite) result += "ShaderWrite | ";\r
- if (value & AccessFlagBits::eColorAttachmentRead) result += "ColorAttachmentRead | ";\r
- if (value & AccessFlagBits::eColorAttachmentWrite) result += "ColorAttachmentWrite | ";\r
- if (value & AccessFlagBits::eDepthStencilAttachmentRead) result += "DepthStencilAttachmentRead | ";\r
- if (value & AccessFlagBits::eDepthStencilAttachmentWrite) result += "DepthStencilAttachmentWrite | ";\r
- if (value & AccessFlagBits::eTransferRead) result += "TransferRead | ";\r
- if (value & AccessFlagBits::eTransferWrite) result += "TransferWrite | ";\r
- if (value & AccessFlagBits::eHostRead) result += "HostRead | ";\r
- if (value & AccessFlagBits::eHostWrite) result += "HostWrite | ";\r
- if (value & AccessFlagBits::eMemoryRead) result += "MemoryRead | ";\r
- if (value & AccessFlagBits::eMemoryWrite) result += "MemoryWrite | ";\r
- if (value & AccessFlagBits::eCommandProcessReadNVX) result += "CommandProcessReadNVX | ";\r
- if (value & AccessFlagBits::eCommandProcessWriteNVX) result += "CommandProcessWriteNVX | ";\r
- if (value & AccessFlagBits::eColorAttachmentReadNoncoherentEXT) result += "ColorAttachmentReadNoncoherentEXT | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BufferUsageFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case BufferUsageFlagBits::eTransferSrc: return "TransferSrc";\r
- case BufferUsageFlagBits::eTransferDst: return "TransferDst";\r
- case BufferUsageFlagBits::eUniformTexelBuffer: return "UniformTexelBuffer";\r
- case BufferUsageFlagBits::eStorageTexelBuffer: return "StorageTexelBuffer";\r
- case BufferUsageFlagBits::eUniformBuffer: return "UniformBuffer";\r
- case BufferUsageFlagBits::eStorageBuffer: return "StorageBuffer";\r
- case BufferUsageFlagBits::eIndexBuffer: return "IndexBuffer";\r
- case BufferUsageFlagBits::eVertexBuffer: return "VertexBuffer";\r
- case BufferUsageFlagBits::eIndirectBuffer: return "IndirectBuffer";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BufferUsageFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & BufferUsageFlagBits::eTransferSrc) result += "TransferSrc | ";\r
- if (value & BufferUsageFlagBits::eTransferDst) result += "TransferDst | ";\r
- if (value & BufferUsageFlagBits::eUniformTexelBuffer) result += "UniformTexelBuffer | ";\r
- if (value & BufferUsageFlagBits::eStorageTexelBuffer) result += "StorageTexelBuffer | ";\r
- if (value & BufferUsageFlagBits::eUniformBuffer) result += "UniformBuffer | ";\r
- if (value & BufferUsageFlagBits::eStorageBuffer) result += "StorageBuffer | ";\r
- if (value & BufferUsageFlagBits::eIndexBuffer) result += "IndexBuffer | ";\r
- if (value & BufferUsageFlagBits::eVertexBuffer) result += "VertexBuffer | ";\r
- if (value & BufferUsageFlagBits::eIndirectBuffer) result += "IndirectBuffer | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BufferCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case BufferCreateFlagBits::eSparseBinding: return "SparseBinding";\r
- case BufferCreateFlagBits::eSparseResidency: return "SparseResidency";\r
- case BufferCreateFlagBits::eSparseAliased: return "SparseAliased";\r
- case BufferCreateFlagBits::eProtected: return "Protected";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BufferCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & BufferCreateFlagBits::eSparseBinding) result += "SparseBinding | ";\r
- if (value & BufferCreateFlagBits::eSparseResidency) result += "SparseResidency | ";\r
- if (value & BufferCreateFlagBits::eSparseAliased) result += "SparseAliased | ";\r
- if (value & BufferCreateFlagBits::eProtected) result += "Protected | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ShaderStageFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ShaderStageFlagBits::eVertex: return "Vertex";\r
- case ShaderStageFlagBits::eTessellationControl: return "TessellationControl";\r
- case ShaderStageFlagBits::eTessellationEvaluation: return "TessellationEvaluation";\r
- case ShaderStageFlagBits::eGeometry: return "Geometry";\r
- case ShaderStageFlagBits::eFragment: return "Fragment";\r
- case ShaderStageFlagBits::eCompute: return "Compute";\r
- case ShaderStageFlagBits::eAllGraphics: return "AllGraphics";\r
- case ShaderStageFlagBits::eAll: return "All";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ShaderStageFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ShaderStageFlagBits::eVertex) result += "Vertex | ";\r
- if (value & ShaderStageFlagBits::eTessellationControl) result += "TessellationControl | ";\r
- if (value & ShaderStageFlagBits::eTessellationEvaluation) result += "TessellationEvaluation | ";\r
- if (value & ShaderStageFlagBits::eGeometry) result += "Geometry | ";\r
- if (value & ShaderStageFlagBits::eFragment) result += "Fragment | ";\r
- if (value & ShaderStageFlagBits::eCompute) result += "Compute | ";\r
- if (value & ShaderStageFlagBits::eAllGraphics) result += "AllGraphics | ";\r
- if (value & ShaderStageFlagBits::eAll) result += "All | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageUsageFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ImageUsageFlagBits::eTransferSrc: return "TransferSrc";\r
- case ImageUsageFlagBits::eTransferDst: return "TransferDst";\r
- case ImageUsageFlagBits::eSampled: return "Sampled";\r
- case ImageUsageFlagBits::eStorage: return "Storage";\r
- case ImageUsageFlagBits::eColorAttachment: return "ColorAttachment";\r
- case ImageUsageFlagBits::eDepthStencilAttachment: return "DepthStencilAttachment";\r
- case ImageUsageFlagBits::eTransientAttachment: return "TransientAttachment";\r
- case ImageUsageFlagBits::eInputAttachment: return "InputAttachment";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageUsageFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ImageUsageFlagBits::eTransferSrc) result += "TransferSrc | ";\r
- if (value & ImageUsageFlagBits::eTransferDst) result += "TransferDst | ";\r
- if (value & ImageUsageFlagBits::eSampled) result += "Sampled | ";\r
- if (value & ImageUsageFlagBits::eStorage) result += "Storage | ";\r
- if (value & ImageUsageFlagBits::eColorAttachment) result += "ColorAttachment | ";\r
- if (value & ImageUsageFlagBits::eDepthStencilAttachment) result += "DepthStencilAttachment | ";\r
- if (value & ImageUsageFlagBits::eTransientAttachment) result += "TransientAttachment | ";\r
- if (value & ImageUsageFlagBits::eInputAttachment) result += "InputAttachment | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ImageCreateFlagBits::eSparseBinding: return "SparseBinding";\r
- case ImageCreateFlagBits::eSparseResidency: return "SparseResidency";\r
- case ImageCreateFlagBits::eSparseAliased: return "SparseAliased";\r
- case ImageCreateFlagBits::eMutableFormat: return "MutableFormat";\r
- case ImageCreateFlagBits::eCubeCompatible: return "CubeCompatible";\r
- case ImageCreateFlagBits::eAlias: return "Alias";\r
- case ImageCreateFlagBits::eSplitInstanceBindRegions: return "SplitInstanceBindRegions";\r
- case ImageCreateFlagBits::e2DArrayCompatible: return "2DArrayCompatible";\r
- case ImageCreateFlagBits::eBlockTexelViewCompatible: return "BlockTexelViewCompatible";\r
- case ImageCreateFlagBits::eExtendedUsage: return "ExtendedUsage";\r
- case ImageCreateFlagBits::eProtected: return "Protected";\r
- case ImageCreateFlagBits::eDisjoint: return "Disjoint";\r
- case ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT: return "SampleLocationsCompatibleDepthEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ImageCreateFlagBits::eSparseBinding) result += "SparseBinding | ";\r
- if (value & ImageCreateFlagBits::eSparseResidency) result += "SparseResidency | ";\r
- if (value & ImageCreateFlagBits::eSparseAliased) result += "SparseAliased | ";\r
- if (value & ImageCreateFlagBits::eMutableFormat) result += "MutableFormat | ";\r
- if (value & ImageCreateFlagBits::eCubeCompatible) result += "CubeCompatible | ";\r
- if (value & ImageCreateFlagBits::eAlias) result += "Alias | ";\r
- if (value & ImageCreateFlagBits::eSplitInstanceBindRegions) result += "SplitInstanceBindRegions | ";\r
- if (value & ImageCreateFlagBits::e2DArrayCompatible) result += "2DArrayCompatible | ";\r
- if (value & ImageCreateFlagBits::eBlockTexelViewCompatible) result += "BlockTexelViewCompatible | ";\r
- if (value & ImageCreateFlagBits::eExtendedUsage) result += "ExtendedUsage | ";\r
- if (value & ImageCreateFlagBits::eProtected) result += "Protected | ";\r
- if (value & ImageCreateFlagBits::eDisjoint) result += "Disjoint | ";\r
- if (value & ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT) result += "SampleLocationsCompatibleDepthEXT | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case PipelineCreateFlagBits::eDisableOptimization: return "DisableOptimization";\r
- case PipelineCreateFlagBits::eAllowDerivatives: return "AllowDerivatives";\r
- case PipelineCreateFlagBits::eDerivative: return "Derivative";\r
- case PipelineCreateFlagBits::eViewIndexFromDeviceIndex: return "ViewIndexFromDeviceIndex";\r
- case PipelineCreateFlagBits::eDispatchBase: return "DispatchBase";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & PipelineCreateFlagBits::eDisableOptimization) result += "DisableOptimization | ";\r
- if (value & PipelineCreateFlagBits::eAllowDerivatives) result += "AllowDerivatives | ";\r
- if (value & PipelineCreateFlagBits::eDerivative) result += "Derivative | ";\r
- if (value & PipelineCreateFlagBits::eViewIndexFromDeviceIndex) result += "ViewIndexFromDeviceIndex | ";\r
- if (value & PipelineCreateFlagBits::eDispatchBase) result += "DispatchBase | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ColorComponentFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ColorComponentFlagBits::eR: return "R";\r
- case ColorComponentFlagBits::eG: return "G";\r
- case ColorComponentFlagBits::eB: return "B";\r
- case ColorComponentFlagBits::eA: return "A";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ColorComponentFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ColorComponentFlagBits::eR) result += "R | ";\r
- if (value & ColorComponentFlagBits::eG) result += "G | ";\r
- if (value & ColorComponentFlagBits::eB) result += "B | ";\r
- if (value & ColorComponentFlagBits::eA) result += "A | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FenceCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case FenceCreateFlagBits::eSignaled: return "Signaled";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FenceCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & FenceCreateFlagBits::eSignaled) result += "Signaled | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FormatFeatureFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case FormatFeatureFlagBits::eSampledImage: return "SampledImage";\r
- case FormatFeatureFlagBits::eStorageImage: return "StorageImage";\r
- case FormatFeatureFlagBits::eStorageImageAtomic: return "StorageImageAtomic";\r
- case FormatFeatureFlagBits::eUniformTexelBuffer: return "UniformTexelBuffer";\r
- case FormatFeatureFlagBits::eStorageTexelBuffer: return "StorageTexelBuffer";\r
- case FormatFeatureFlagBits::eStorageTexelBufferAtomic: return "StorageTexelBufferAtomic";\r
- case FormatFeatureFlagBits::eVertexBuffer: return "VertexBuffer";\r
- case FormatFeatureFlagBits::eColorAttachment: return "ColorAttachment";\r
- case FormatFeatureFlagBits::eColorAttachmentBlend: return "ColorAttachmentBlend";\r
- case FormatFeatureFlagBits::eDepthStencilAttachment: return "DepthStencilAttachment";\r
- case FormatFeatureFlagBits::eBlitSrc: return "BlitSrc";\r
- case FormatFeatureFlagBits::eBlitDst: return "BlitDst";\r
- case FormatFeatureFlagBits::eSampledImageFilterLinear: return "SampledImageFilterLinear";\r
- case FormatFeatureFlagBits::eTransferSrc: return "TransferSrc";\r
- case FormatFeatureFlagBits::eTransferDst: return "TransferDst";\r
- case FormatFeatureFlagBits::eMidpointChromaSamples: return "MidpointChromaSamples";\r
- case FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter: return "SampledImageYcbcrConversionLinearFilter";\r
- case FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter: return "SampledImageYcbcrConversionSeparateReconstructionFilter";\r
- case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit: return "SampledImageYcbcrConversionChromaReconstructionExplicit";\r
- case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable: return "SampledImageYcbcrConversionChromaReconstructionExplicitForceable";\r
- case FormatFeatureFlagBits::eDisjoint: return "Disjoint";\r
- case FormatFeatureFlagBits::eCositedChromaSamples: return "CositedChromaSamples";\r
- case FormatFeatureFlagBits::eSampledImageFilterCubicIMG: return "SampledImageFilterCubicIMG";\r
- case FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT: return "SampledImageFilterMinmaxEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FormatFeatureFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & FormatFeatureFlagBits::eSampledImage) result += "SampledImage | ";\r
- if (value & FormatFeatureFlagBits::eStorageImage) result += "StorageImage | ";\r
- if (value & FormatFeatureFlagBits::eStorageImageAtomic) result += "StorageImageAtomic | ";\r
- if (value & FormatFeatureFlagBits::eUniformTexelBuffer) result += "UniformTexelBuffer | ";\r
- if (value & FormatFeatureFlagBits::eStorageTexelBuffer) result += "StorageTexelBuffer | ";\r
- if (value & FormatFeatureFlagBits::eStorageTexelBufferAtomic) result += "StorageTexelBufferAtomic | ";\r
- if (value & FormatFeatureFlagBits::eVertexBuffer) result += "VertexBuffer | ";\r
- if (value & FormatFeatureFlagBits::eColorAttachment) result += "ColorAttachment | ";\r
- if (value & FormatFeatureFlagBits::eColorAttachmentBlend) result += "ColorAttachmentBlend | ";\r
- if (value & FormatFeatureFlagBits::eDepthStencilAttachment) result += "DepthStencilAttachment | ";\r
- if (value & FormatFeatureFlagBits::eBlitSrc) result += "BlitSrc | ";\r
- if (value & FormatFeatureFlagBits::eBlitDst) result += "BlitDst | ";\r
- if (value & FormatFeatureFlagBits::eSampledImageFilterLinear) result += "SampledImageFilterLinear | ";\r
- if (value & FormatFeatureFlagBits::eTransferSrc) result += "TransferSrc | ";\r
- if (value & FormatFeatureFlagBits::eTransferDst) result += "TransferDst | ";\r
- if (value & FormatFeatureFlagBits::eMidpointChromaSamples) result += "MidpointChromaSamples | ";\r
- if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter) result += "SampledImageYcbcrConversionLinearFilter | ";\r
- if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter) result += "SampledImageYcbcrConversionSeparateReconstructionFilter | ";\r
- if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit) result += "SampledImageYcbcrConversionChromaReconstructionExplicit | ";\r
- if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable) result += "SampledImageYcbcrConversionChromaReconstructionExplicitForceable | ";\r
- if (value & FormatFeatureFlagBits::eDisjoint) result += "Disjoint | ";\r
- if (value & FormatFeatureFlagBits::eCositedChromaSamples) result += "CositedChromaSamples | ";\r
- if (value & FormatFeatureFlagBits::eSampledImageFilterCubicIMG) result += "SampledImageFilterCubicIMG | ";\r
- if (value & FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT) result += "SampledImageFilterMinmaxEXT | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryControlFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case QueryControlFlagBits::ePrecise: return "Precise";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryControlFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & QueryControlFlagBits::ePrecise) result += "Precise | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryResultFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case QueryResultFlagBits::e64: return "64";\r
- case QueryResultFlagBits::eWait: return "Wait";\r
- case QueryResultFlagBits::eWithAvailability: return "WithAvailability";\r
- case QueryResultFlagBits::ePartial: return "Partial";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryResultFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & QueryResultFlagBits::e64) result += "64 | ";\r
- if (value & QueryResultFlagBits::eWait) result += "Wait | ";\r
- if (value & QueryResultFlagBits::eWithAvailability) result += "WithAvailability | ";\r
- if (value & QueryResultFlagBits::ePartial) result += "Partial | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandBufferUsageFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case CommandBufferUsageFlagBits::eOneTimeSubmit: return "OneTimeSubmit";\r
- case CommandBufferUsageFlagBits::eRenderPassContinue: return "RenderPassContinue";\r
- case CommandBufferUsageFlagBits::eSimultaneousUse: return "SimultaneousUse";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandBufferUsageFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & CommandBufferUsageFlagBits::eOneTimeSubmit) result += "OneTimeSubmit | ";\r
- if (value & CommandBufferUsageFlagBits::eRenderPassContinue) result += "RenderPassContinue | ";\r
- if (value & CommandBufferUsageFlagBits::eSimultaneousUse) result += "SimultaneousUse | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryPipelineStatisticFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case QueryPipelineStatisticFlagBits::eInputAssemblyVertices: return "InputAssemblyVertices";\r
- case QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives: return "InputAssemblyPrimitives";\r
- case QueryPipelineStatisticFlagBits::eVertexShaderInvocations: return "VertexShaderInvocations";\r
- case QueryPipelineStatisticFlagBits::eGeometryShaderInvocations: return "GeometryShaderInvocations";\r
- case QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives: return "GeometryShaderPrimitives";\r
- case QueryPipelineStatisticFlagBits::eClippingInvocations: return "ClippingInvocations";\r
- case QueryPipelineStatisticFlagBits::eClippingPrimitives: return "ClippingPrimitives";\r
- case QueryPipelineStatisticFlagBits::eFragmentShaderInvocations: return "FragmentShaderInvocations";\r
- case QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches: return "TessellationControlShaderPatches";\r
- case QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations: return "TessellationEvaluationShaderInvocations";\r
- case QueryPipelineStatisticFlagBits::eComputeShaderInvocations: return "ComputeShaderInvocations";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueryPipelineStatisticFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & QueryPipelineStatisticFlagBits::eInputAssemblyVertices) result += "InputAssemblyVertices | ";\r
- if (value & QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives) result += "InputAssemblyPrimitives | ";\r
- if (value & QueryPipelineStatisticFlagBits::eVertexShaderInvocations) result += "VertexShaderInvocations | ";\r
- if (value & QueryPipelineStatisticFlagBits::eGeometryShaderInvocations) result += "GeometryShaderInvocations | ";\r
- if (value & QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives) result += "GeometryShaderPrimitives | ";\r
- if (value & QueryPipelineStatisticFlagBits::eClippingInvocations) result += "ClippingInvocations | ";\r
- if (value & QueryPipelineStatisticFlagBits::eClippingPrimitives) result += "ClippingPrimitives | ";\r
- if (value & QueryPipelineStatisticFlagBits::eFragmentShaderInvocations) result += "FragmentShaderInvocations | ";\r
- if (value & QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches) result += "TessellationControlShaderPatches | ";\r
- if (value & QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations) result += "TessellationEvaluationShaderInvocations | ";\r
- if (value & QueryPipelineStatisticFlagBits::eComputeShaderInvocations) result += "ComputeShaderInvocations | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageAspectFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ImageAspectFlagBits::eColor: return "Color";\r
- case ImageAspectFlagBits::eDepth: return "Depth";\r
- case ImageAspectFlagBits::eStencil: return "Stencil";\r
- case ImageAspectFlagBits::eMetadata: return "Metadata";\r
- case ImageAspectFlagBits::ePlane0: return "Plane0";\r
- case ImageAspectFlagBits::ePlane1: return "Plane1";\r
- case ImageAspectFlagBits::ePlane2: return "Plane2";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ImageAspectFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ImageAspectFlagBits::eColor) result += "Color | ";\r
- if (value & ImageAspectFlagBits::eDepth) result += "Depth | ";\r
- if (value & ImageAspectFlagBits::eStencil) result += "Stencil | ";\r
- if (value & ImageAspectFlagBits::eMetadata) result += "Metadata | ";\r
- if (value & ImageAspectFlagBits::ePlane0) result += "Plane0 | ";\r
- if (value & ImageAspectFlagBits::ePlane1) result += "Plane1 | ";\r
- if (value & ImageAspectFlagBits::ePlane2) result += "Plane2 | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SparseImageFormatFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case SparseImageFormatFlagBits::eSingleMiptail: return "SingleMiptail";\r
- case SparseImageFormatFlagBits::eAlignedMipSize: return "AlignedMipSize";\r
- case SparseImageFormatFlagBits::eNonstandardBlockSize: return "NonstandardBlockSize";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SparseImageFormatFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SparseImageFormatFlagBits::eSingleMiptail) result += "SingleMiptail | ";\r
- if (value & SparseImageFormatFlagBits::eAlignedMipSize) result += "AlignedMipSize | ";\r
- if (value & SparseImageFormatFlagBits::eNonstandardBlockSize) result += "NonstandardBlockSize | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SparseMemoryBindFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case SparseMemoryBindFlagBits::eMetadata: return "Metadata";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SparseMemoryBindFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SparseMemoryBindFlagBits::eMetadata) result += "Metadata | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineStageFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case PipelineStageFlagBits::eTopOfPipe: return "TopOfPipe";\r
- case PipelineStageFlagBits::eDrawIndirect: return "DrawIndirect";\r
- case PipelineStageFlagBits::eVertexInput: return "VertexInput";\r
- case PipelineStageFlagBits::eVertexShader: return "VertexShader";\r
- case PipelineStageFlagBits::eTessellationControlShader: return "TessellationControlShader";\r
- case PipelineStageFlagBits::eTessellationEvaluationShader: return "TessellationEvaluationShader";\r
- case PipelineStageFlagBits::eGeometryShader: return "GeometryShader";\r
- case PipelineStageFlagBits::eFragmentShader: return "FragmentShader";\r
- case PipelineStageFlagBits::eEarlyFragmentTests: return "EarlyFragmentTests";\r
- case PipelineStageFlagBits::eLateFragmentTests: return "LateFragmentTests";\r
- case PipelineStageFlagBits::eColorAttachmentOutput: return "ColorAttachmentOutput";\r
- case PipelineStageFlagBits::eComputeShader: return "ComputeShader";\r
- case PipelineStageFlagBits::eTransfer: return "Transfer";\r
- case PipelineStageFlagBits::eBottomOfPipe: return "BottomOfPipe";\r
- case PipelineStageFlagBits::eHost: return "Host";\r
- case PipelineStageFlagBits::eAllGraphics: return "AllGraphics";\r
- case PipelineStageFlagBits::eAllCommands: return "AllCommands";\r
- case PipelineStageFlagBits::eCommandProcessNVX: return "CommandProcessNVX";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PipelineStageFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & PipelineStageFlagBits::eTopOfPipe) result += "TopOfPipe | ";\r
- if (value & PipelineStageFlagBits::eDrawIndirect) result += "DrawIndirect | ";\r
- if (value & PipelineStageFlagBits::eVertexInput) result += "VertexInput | ";\r
- if (value & PipelineStageFlagBits::eVertexShader) result += "VertexShader | ";\r
- if (value & PipelineStageFlagBits::eTessellationControlShader) result += "TessellationControlShader | ";\r
- if (value & PipelineStageFlagBits::eTessellationEvaluationShader) result += "TessellationEvaluationShader | ";\r
- if (value & PipelineStageFlagBits::eGeometryShader) result += "GeometryShader | ";\r
- if (value & PipelineStageFlagBits::eFragmentShader) result += "FragmentShader | ";\r
- if (value & PipelineStageFlagBits::eEarlyFragmentTests) result += "EarlyFragmentTests | ";\r
- if (value & PipelineStageFlagBits::eLateFragmentTests) result += "LateFragmentTests | ";\r
- if (value & PipelineStageFlagBits::eColorAttachmentOutput) result += "ColorAttachmentOutput | ";\r
- if (value & PipelineStageFlagBits::eComputeShader) result += "ComputeShader | ";\r
- if (value & PipelineStageFlagBits::eTransfer) result += "Transfer | ";\r
- if (value & PipelineStageFlagBits::eBottomOfPipe) result += "BottomOfPipe | ";\r
- if (value & PipelineStageFlagBits::eHost) result += "Host | ";\r
- if (value & PipelineStageFlagBits::eAllGraphics) result += "AllGraphics | ";\r
- if (value & PipelineStageFlagBits::eAllCommands) result += "AllCommands | ";\r
- if (value & PipelineStageFlagBits::eCommandProcessNVX) result += "CommandProcessNVX | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandPoolCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case CommandPoolCreateFlagBits::eTransient: return "Transient";\r
- case CommandPoolCreateFlagBits::eResetCommandBuffer: return "ResetCommandBuffer";\r
- case CommandPoolCreateFlagBits::eProtected: return "Protected";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandPoolCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & CommandPoolCreateFlagBits::eTransient) result += "Transient | ";\r
- if (value & CommandPoolCreateFlagBits::eResetCommandBuffer) result += "ResetCommandBuffer | ";\r
- if (value & CommandPoolCreateFlagBits::eProtected) result += "Protected | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandPoolResetFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case CommandPoolResetFlagBits::eReleaseResources: return "ReleaseResources";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandPoolResetFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & CommandPoolResetFlagBits::eReleaseResources) result += "ReleaseResources | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandBufferResetFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case CommandBufferResetFlagBits::eReleaseResources: return "ReleaseResources";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CommandBufferResetFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & CommandBufferResetFlagBits::eReleaseResources) result += "ReleaseResources | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SampleCountFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case SampleCountFlagBits::e1: return "1";\r
- case SampleCountFlagBits::e2: return "2";\r
- case SampleCountFlagBits::e4: return "4";\r
- case SampleCountFlagBits::e8: return "8";\r
- case SampleCountFlagBits::e16: return "16";\r
- case SampleCountFlagBits::e32: return "32";\r
- case SampleCountFlagBits::e64: return "64";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SampleCountFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SampleCountFlagBits::e1) result += "1 | ";\r
- if (value & SampleCountFlagBits::e2) result += "2 | ";\r
- if (value & SampleCountFlagBits::e4) result += "4 | ";\r
- if (value & SampleCountFlagBits::e8) result += "8 | ";\r
- if (value & SampleCountFlagBits::e16) result += "16 | ";\r
- if (value & SampleCountFlagBits::e32) result += "32 | ";\r
- if (value & SampleCountFlagBits::e64) result += "64 | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(AttachmentDescriptionFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case AttachmentDescriptionFlagBits::eMayAlias: return "MayAlias";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(AttachmentDescriptionFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & AttachmentDescriptionFlagBits::eMayAlias) result += "MayAlias | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(StencilFaceFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case StencilFaceFlagBits::eFront: return "Front";\r
- case StencilFaceFlagBits::eBack: return "Back";\r
- case StencilFaceFlagBits::eVkStencilFrontAndBack: return "VkStencilFrontAndBack";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(StencilFaceFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & StencilFaceFlagBits::eFront) result += "Front | ";\r
- if (value & StencilFaceFlagBits::eBack) result += "Back | ";\r
- if (value & StencilFaceFlagBits::eVkStencilFrontAndBack) result += "VkStencilFrontAndBack | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorPoolCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case DescriptorPoolCreateFlagBits::eFreeDescriptorSet: return "FreeDescriptorSet";\r
- case DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT: return "UpdateAfterBindEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorPoolCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DescriptorPoolCreateFlagBits::eFreeDescriptorSet) result += "FreeDescriptorSet | ";\r
- if (value & DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT) result += "UpdateAfterBindEXT | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DependencyFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case DependencyFlagBits::eByRegion: return "ByRegion";\r
- case DependencyFlagBits::eDeviceGroup: return "DeviceGroup";\r
- case DependencyFlagBits::eViewLocal: return "ViewLocal";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DependencyFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DependencyFlagBits::eByRegion) result += "ByRegion | ";\r
- if (value & DependencyFlagBits::eDeviceGroup) result += "DeviceGroup | ";\r
- if (value & DependencyFlagBits::eViewLocal) result += "ViewLocal | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PresentModeKHR value)\r
- {\r
- switch (value)\r
- {\r
- case PresentModeKHR::eImmediate: return "Immediate";\r
- case PresentModeKHR::eMailbox: return "Mailbox";\r
- case PresentModeKHR::eFifo: return "Fifo";\r
- case PresentModeKHR::eFifoRelaxed: return "FifoRelaxed";\r
- case PresentModeKHR::eSharedDemandRefresh: return "SharedDemandRefresh";\r
- case PresentModeKHR::eSharedContinuousRefresh: return "SharedContinuousRefresh";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ColorSpaceKHR value)\r
- {\r
- switch (value)\r
- {\r
- case ColorSpaceKHR::eSrgbNonlinear: return "SrgbNonlinear";\r
- case ColorSpaceKHR::eDisplayP3NonlinearEXT: return "DisplayP3NonlinearEXT";\r
- case ColorSpaceKHR::eExtendedSrgbLinearEXT: return "ExtendedSrgbLinearEXT";\r
- case ColorSpaceKHR::eDciP3LinearEXT: return "DciP3LinearEXT";\r
- case ColorSpaceKHR::eDciP3NonlinearEXT: return "DciP3NonlinearEXT";\r
- case ColorSpaceKHR::eBt709LinearEXT: return "Bt709LinearEXT";\r
- case ColorSpaceKHR::eBt709NonlinearEXT: return "Bt709NonlinearEXT";\r
- case ColorSpaceKHR::eBt2020LinearEXT: return "Bt2020LinearEXT";\r
- case ColorSpaceKHR::eHdr10St2084EXT: return "Hdr10St2084EXT";\r
- case ColorSpaceKHR::eDolbyvisionEXT: return "DolbyvisionEXT";\r
- case ColorSpaceKHR::eHdr10HlgEXT: return "Hdr10HlgEXT";\r
- case ColorSpaceKHR::eAdobergbLinearEXT: return "AdobergbLinearEXT";\r
- case ColorSpaceKHR::eAdobergbNonlinearEXT: return "AdobergbNonlinearEXT";\r
- case ColorSpaceKHR::ePassThroughEXT: return "PassThroughEXT";\r
- case ColorSpaceKHR::eExtendedSrgbNonlinearEXT: return "ExtendedSrgbNonlinearEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplayPlaneAlphaFlagBitsKHR value)\r
- {\r
- switch (value)\r
- {\r
- case DisplayPlaneAlphaFlagBitsKHR::eOpaque: return "Opaque";\r
- case DisplayPlaneAlphaFlagBitsKHR::eGlobal: return "Global";\r
- case DisplayPlaneAlphaFlagBitsKHR::ePerPixel: return "PerPixel";\r
- case DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied: return "PerPixelPremultiplied";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplayPlaneAlphaFlagsKHR value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DisplayPlaneAlphaFlagBitsKHR::eOpaque) result += "Opaque | ";\r
- if (value & DisplayPlaneAlphaFlagBitsKHR::eGlobal) result += "Global | ";\r
- if (value & DisplayPlaneAlphaFlagBitsKHR::ePerPixel) result += "PerPixel | ";\r
- if (value & DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied) result += "PerPixelPremultiplied | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CompositeAlphaFlagBitsKHR value)\r
- {\r
- switch (value)\r
- {\r
- case CompositeAlphaFlagBitsKHR::eOpaque: return "Opaque";\r
- case CompositeAlphaFlagBitsKHR::ePreMultiplied: return "PreMultiplied";\r
- case CompositeAlphaFlagBitsKHR::ePostMultiplied: return "PostMultiplied";\r
- case CompositeAlphaFlagBitsKHR::eInherit: return "Inherit";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CompositeAlphaFlagsKHR value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & CompositeAlphaFlagBitsKHR::eOpaque) result += "Opaque | ";\r
- if (value & CompositeAlphaFlagBitsKHR::ePreMultiplied) result += "PreMultiplied | ";\r
- if (value & CompositeAlphaFlagBitsKHR::ePostMultiplied) result += "PostMultiplied | ";\r
- if (value & CompositeAlphaFlagBitsKHR::eInherit) result += "Inherit | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SurfaceTransformFlagBitsKHR value)\r
- {\r
- switch (value)\r
- {\r
- case SurfaceTransformFlagBitsKHR::eIdentity: return "Identity";\r
- case SurfaceTransformFlagBitsKHR::eRotate90: return "Rotate90";\r
- case SurfaceTransformFlagBitsKHR::eRotate180: return "Rotate180";\r
- case SurfaceTransformFlagBitsKHR::eRotate270: return "Rotate270";\r
- case SurfaceTransformFlagBitsKHR::eHorizontalMirror: return "HorizontalMirror";\r
- case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90: return "HorizontalMirrorRotate90";\r
- case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180: return "HorizontalMirrorRotate180";\r
- case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270: return "HorizontalMirrorRotate270";\r
- case SurfaceTransformFlagBitsKHR::eInherit: return "Inherit";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SurfaceTransformFlagsKHR value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SurfaceTransformFlagBitsKHR::eIdentity) result += "Identity | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eRotate90) result += "Rotate90 | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eRotate180) result += "Rotate180 | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eRotate270) result += "Rotate270 | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirror) result += "HorizontalMirror | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90) result += "HorizontalMirrorRotate90 | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180) result += "HorizontalMirrorRotate180 | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270) result += "HorizontalMirrorRotate270 | ";\r
- if (value & SurfaceTransformFlagBitsKHR::eInherit) result += "Inherit | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugReportFlagBitsEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DebugReportFlagBitsEXT::eInformation: return "Information";\r
- case DebugReportFlagBitsEXT::eWarning: return "Warning";\r
- case DebugReportFlagBitsEXT::ePerformanceWarning: return "PerformanceWarning";\r
- case DebugReportFlagBitsEXT::eError: return "Error";\r
- case DebugReportFlagBitsEXT::eDebug: return "Debug";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugReportFlagsEXT value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DebugReportFlagBitsEXT::eInformation) result += "Information | ";\r
- if (value & DebugReportFlagBitsEXT::eWarning) result += "Warning | ";\r
- if (value & DebugReportFlagBitsEXT::ePerformanceWarning) result += "PerformanceWarning | ";\r
- if (value & DebugReportFlagBitsEXT::eError) result += "Error | ";\r
- if (value & DebugReportFlagBitsEXT::eDebug) result += "Debug | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugReportObjectTypeEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DebugReportObjectTypeEXT::eUnknown: return "Unknown";\r
- case DebugReportObjectTypeEXT::eInstance: return "Instance";\r
- case DebugReportObjectTypeEXT::ePhysicalDevice: return "PhysicalDevice";\r
- case DebugReportObjectTypeEXT::eDevice: return "Device";\r
- case DebugReportObjectTypeEXT::eQueue: return "Queue";\r
- case DebugReportObjectTypeEXT::eSemaphore: return "Semaphore";\r
- case DebugReportObjectTypeEXT::eCommandBuffer: return "CommandBuffer";\r
- case DebugReportObjectTypeEXT::eFence: return "Fence";\r
- case DebugReportObjectTypeEXT::eDeviceMemory: return "DeviceMemory";\r
- case DebugReportObjectTypeEXT::eBuffer: return "Buffer";\r
- case DebugReportObjectTypeEXT::eImage: return "Image";\r
- case DebugReportObjectTypeEXT::eEvent: return "Event";\r
- case DebugReportObjectTypeEXT::eQueryPool: return "QueryPool";\r
- case DebugReportObjectTypeEXT::eBufferView: return "BufferView";\r
- case DebugReportObjectTypeEXT::eImageView: return "ImageView";\r
- case DebugReportObjectTypeEXT::eShaderModule: return "ShaderModule";\r
- case DebugReportObjectTypeEXT::ePipelineCache: return "PipelineCache";\r
- case DebugReportObjectTypeEXT::ePipelineLayout: return "PipelineLayout";\r
- case DebugReportObjectTypeEXT::eRenderPass: return "RenderPass";\r
- case DebugReportObjectTypeEXT::ePipeline: return "Pipeline";\r
- case DebugReportObjectTypeEXT::eDescriptorSetLayout: return "DescriptorSetLayout";\r
- case DebugReportObjectTypeEXT::eSampler: return "Sampler";\r
- case DebugReportObjectTypeEXT::eDescriptorPool: return "DescriptorPool";\r
- case DebugReportObjectTypeEXT::eDescriptorSet: return "DescriptorSet";\r
- case DebugReportObjectTypeEXT::eFramebuffer: return "Framebuffer";\r
- case DebugReportObjectTypeEXT::eCommandPool: return "CommandPool";\r
- case DebugReportObjectTypeEXT::eSurfaceKhr: return "SurfaceKhr";\r
- case DebugReportObjectTypeEXT::eSwapchainKhr: return "SwapchainKhr";\r
- case DebugReportObjectTypeEXT::eDebugReportCallbackExt: return "DebugReportCallbackExt";\r
- case DebugReportObjectTypeEXT::eDisplayKhr: return "DisplayKhr";\r
- case DebugReportObjectTypeEXT::eDisplayModeKhr: return "DisplayModeKhr";\r
- case DebugReportObjectTypeEXT::eObjectTableNvx: return "ObjectTableNvx";\r
- case DebugReportObjectTypeEXT::eIndirectCommandsLayoutNvx: return "IndirectCommandsLayoutNvx";\r
- case DebugReportObjectTypeEXT::eValidationCacheExt: return "ValidationCacheExt";\r
- case DebugReportObjectTypeEXT::eSamplerYcbcrConversion: return "SamplerYcbcrConversion";\r
- case DebugReportObjectTypeEXT::eDescriptorUpdateTemplate: return "DescriptorUpdateTemplate";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(RasterizationOrderAMD value)\r
- {\r
- switch (value)\r
- {\r
- case RasterizationOrderAMD::eStrict: return "Strict";\r
- case RasterizationOrderAMD::eRelaxed: return "Relaxed";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlagBitsNV value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32: return "OpaqueWin32";\r
- case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";\r
- case ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image: return "D3D11Image";\r
- case ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt: return "D3D11ImageKmt";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlagsNV value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32) result += "OpaqueWin32 | ";\r
- if (value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";\r
- if (value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image) result += "D3D11Image | ";\r
- if (value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt) result += "D3D11ImageKmt | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlagBitsNV value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly: return "DedicatedOnly";\r
- case ExternalMemoryFeatureFlagBitsNV::eExportable: return "Exportable";\r
- case ExternalMemoryFeatureFlagBitsNV::eImportable: return "Importable";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlagsNV value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly) result += "DedicatedOnly | ";\r
- if (value & ExternalMemoryFeatureFlagBitsNV::eExportable) result += "Exportable | ";\r
- if (value & ExternalMemoryFeatureFlagBitsNV::eImportable) result += "Importable | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ValidationCheckEXT value)\r
- {\r
- switch (value)\r
- {\r
- case ValidationCheckEXT::eAll: return "All";\r
- case ValidationCheckEXT::eShaders: return "Shaders";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SubgroupFeatureFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case SubgroupFeatureFlagBits::eBasic: return "Basic";\r
- case SubgroupFeatureFlagBits::eVote: return "Vote";\r
- case SubgroupFeatureFlagBits::eArithmetic: return "Arithmetic";\r
- case SubgroupFeatureFlagBits::eBallot: return "Ballot";\r
- case SubgroupFeatureFlagBits::eShuffle: return "Shuffle";\r
- case SubgroupFeatureFlagBits::eShuffleRelative: return "ShuffleRelative";\r
- case SubgroupFeatureFlagBits::eClustered: return "Clustered";\r
- case SubgroupFeatureFlagBits::eQuad: return "Quad";\r
- case SubgroupFeatureFlagBits::ePartitionedNV: return "PartitionedNV";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SubgroupFeatureFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SubgroupFeatureFlagBits::eBasic) result += "Basic | ";\r
- if (value & SubgroupFeatureFlagBits::eVote) result += "Vote | ";\r
- if (value & SubgroupFeatureFlagBits::eArithmetic) result += "Arithmetic | ";\r
- if (value & SubgroupFeatureFlagBits::eBallot) result += "Ballot | ";\r
- if (value & SubgroupFeatureFlagBits::eShuffle) result += "Shuffle | ";\r
- if (value & SubgroupFeatureFlagBits::eShuffleRelative) result += "ShuffleRelative | ";\r
- if (value & SubgroupFeatureFlagBits::eClustered) result += "Clustered | ";\r
- if (value & SubgroupFeatureFlagBits::eQuad) result += "Quad | ";\r
- if (value & SubgroupFeatureFlagBits::ePartitionedNV) result += "PartitionedNV | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(IndirectCommandsLayoutUsageFlagBitsNVX value)\r
- {\r
- switch (value)\r
- {\r
- case IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences: return "UnorderedSequences";\r
- case IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences: return "SparseSequences";\r
- case IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions: return "EmptyExecutions";\r
- case IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences: return "IndexedSequences";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(IndirectCommandsLayoutUsageFlagsNVX value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences) result += "UnorderedSequences | ";\r
- if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences) result += "SparseSequences | ";\r
- if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions) result += "EmptyExecutions | ";\r
- if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences) result += "IndexedSequences | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ObjectEntryUsageFlagBitsNVX value)\r
- {\r
- switch (value)\r
- {\r
- case ObjectEntryUsageFlagBitsNVX::eGraphics: return "Graphics";\r
- case ObjectEntryUsageFlagBitsNVX::eCompute: return "Compute";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ObjectEntryUsageFlagsNVX value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ObjectEntryUsageFlagBitsNVX::eGraphics) result += "Graphics | ";\r
- if (value & ObjectEntryUsageFlagBitsNVX::eCompute) result += "Compute | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(IndirectCommandsTokenTypeNVX value)\r
- {\r
- switch (value)\r
- {\r
- case IndirectCommandsTokenTypeNVX::ePipeline: return "Pipeline";\r
- case IndirectCommandsTokenTypeNVX::eDescriptorSet: return "DescriptorSet";\r
- case IndirectCommandsTokenTypeNVX::eIndexBuffer: return "IndexBuffer";\r
- case IndirectCommandsTokenTypeNVX::eVertexBuffer: return "VertexBuffer";\r
- case IndirectCommandsTokenTypeNVX::ePushConstant: return "PushConstant";\r
- case IndirectCommandsTokenTypeNVX::eDrawIndexed: return "DrawIndexed";\r
- case IndirectCommandsTokenTypeNVX::eDraw: return "Draw";\r
- case IndirectCommandsTokenTypeNVX::eDispatch: return "Dispatch";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ObjectEntryTypeNVX value)\r
- {\r
- switch (value)\r
- {\r
- case ObjectEntryTypeNVX::eDescriptorSet: return "DescriptorSet";\r
- case ObjectEntryTypeNVX::ePipeline: return "Pipeline";\r
- case ObjectEntryTypeNVX::eIndexBuffer: return "IndexBuffer";\r
- case ObjectEntryTypeNVX::eVertexBuffer: return "VertexBuffer";\r
- case ObjectEntryTypeNVX::ePushConstant: return "PushConstant";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorSetLayoutCreateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR: return "PushDescriptorKHR";\r
- case DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT: return "UpdateAfterBindPoolEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorSetLayoutCreateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR) result += "PushDescriptorKHR | ";\r
- if (value & DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT) result += "UpdateAfterBindPoolEXT | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalMemoryHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd";\r
- case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32";\r
- case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";\r
- case ExternalMemoryHandleTypeFlagBits::eD3D11Texture: return "D3D11Texture";\r
- case ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt: return "D3D11TextureKmt";\r
- case ExternalMemoryHandleTypeFlagBits::eD3D12Heap: return "D3D12Heap";\r
- case ExternalMemoryHandleTypeFlagBits::eD3D12Resource: return "D3D12Resource";\r
- case ExternalMemoryHandleTypeFlagBits::eDmaBufEXT: return "DmaBufEXT";\r
- case ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID: return "AndroidHardwareBufferANDROID";\r
- case ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT: return "HostAllocationEXT";\r
- case ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT: return "HostMappedForeignMemoryEXT";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalMemoryHandleTypeFlagBits::eOpaqueFd) result += "OpaqueFd | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32) result += "OpaqueWin32 | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eD3D11Texture) result += "D3D11Texture | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt) result += "D3D11TextureKmt | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eD3D12Heap) result += "D3D12Heap | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eD3D12Resource) result += "D3D12Resource | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eDmaBufEXT) result += "DmaBufEXT | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID) result += "AndroidHardwareBufferANDROID | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT) result += "HostAllocationEXT | ";\r
- if (value & ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT) result += "HostMappedForeignMemoryEXT | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalMemoryFeatureFlagBits::eDedicatedOnly: return "DedicatedOnly";\r
- case ExternalMemoryFeatureFlagBits::eExportable: return "Exportable";\r
- case ExternalMemoryFeatureFlagBits::eImportable: return "Importable";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalMemoryFeatureFlagBits::eDedicatedOnly) result += "DedicatedOnly | ";\r
- if (value & ExternalMemoryFeatureFlagBits::eExportable) result += "Exportable | ";\r
- if (value & ExternalMemoryFeatureFlagBits::eImportable) result += "Importable | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreHandleTypeFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd";\r
- case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32";\r
- case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";\r
- case ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence: return "D3D12Fence";\r
- case ExternalSemaphoreHandleTypeFlagBits::eSyncFd: return "SyncFd";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreHandleTypeFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) result += "OpaqueFd | ";\r
- if (value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32) result += "OpaqueWin32 | ";\r
- if (value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";\r
- if (value & ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence) result += "D3D12Fence | ";\r
- if (value & ExternalSemaphoreHandleTypeFlagBits::eSyncFd) result += "SyncFd | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreFeatureFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalSemaphoreFeatureFlagBits::eExportable: return "Exportable";\r
- case ExternalSemaphoreFeatureFlagBits::eImportable: return "Importable";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreFeatureFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalSemaphoreFeatureFlagBits::eExportable) result += "Exportable | ";\r
- if (value & ExternalSemaphoreFeatureFlagBits::eImportable) result += "Importable | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SemaphoreImportFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case SemaphoreImportFlagBits::eTemporary: return "Temporary";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SemaphoreImportFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SemaphoreImportFlagBits::eTemporary) result += "Temporary | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalFenceHandleTypeFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalFenceHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd";\r
- case ExternalFenceHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32";\r
- case ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";\r
- case ExternalFenceHandleTypeFlagBits::eSyncFd: return "SyncFd";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalFenceHandleTypeFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalFenceHandleTypeFlagBits::eOpaqueFd) result += "OpaqueFd | ";\r
- if (value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32) result += "OpaqueWin32 | ";\r
- if (value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";\r
- if (value & ExternalFenceHandleTypeFlagBits::eSyncFd) result += "SyncFd | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalFenceFeatureFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case ExternalFenceFeatureFlagBits::eExportable: return "Exportable";\r
- case ExternalFenceFeatureFlagBits::eImportable: return "Importable";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ExternalFenceFeatureFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & ExternalFenceFeatureFlagBits::eExportable) result += "Exportable | ";\r
- if (value & ExternalFenceFeatureFlagBits::eImportable) result += "Importable | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FenceImportFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case FenceImportFlagBits::eTemporary: return "Temporary";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(FenceImportFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & FenceImportFlagBits::eTemporary) result += "Temporary | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SurfaceCounterFlagBitsEXT value)\r
- {\r
- switch (value)\r
- {\r
- case SurfaceCounterFlagBitsEXT::eVblank: return "Vblank";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SurfaceCounterFlagsEXT value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SurfaceCounterFlagBitsEXT::eVblank) result += "Vblank | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplayPowerStateEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DisplayPowerStateEXT::eOff: return "Off";\r
- case DisplayPowerStateEXT::eSuspend: return "Suspend";\r
- case DisplayPowerStateEXT::eOn: return "On";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DeviceEventTypeEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DeviceEventTypeEXT::eDisplayHotplug: return "DisplayHotplug";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DisplayEventTypeEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DisplayEventTypeEXT::eFirstPixelOut: return "FirstPixelOut";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PeerMemoryFeatureFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case PeerMemoryFeatureFlagBits::eCopySrc: return "CopySrc";\r
- case PeerMemoryFeatureFlagBits::eCopyDst: return "CopyDst";\r
- case PeerMemoryFeatureFlagBits::eGenericSrc: return "GenericSrc";\r
- case PeerMemoryFeatureFlagBits::eGenericDst: return "GenericDst";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PeerMemoryFeatureFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & PeerMemoryFeatureFlagBits::eCopySrc) result += "CopySrc | ";\r
- if (value & PeerMemoryFeatureFlagBits::eCopyDst) result += "CopyDst | ";\r
- if (value & PeerMemoryFeatureFlagBits::eGenericSrc) result += "GenericSrc | ";\r
- if (value & PeerMemoryFeatureFlagBits::eGenericDst) result += "GenericDst | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryAllocateFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case MemoryAllocateFlagBits::eDeviceMask: return "DeviceMask";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(MemoryAllocateFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & MemoryAllocateFlagBits::eDeviceMask) result += "DeviceMask | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DeviceGroupPresentModeFlagBitsKHR value)\r
- {\r
- switch (value)\r
- {\r
- case DeviceGroupPresentModeFlagBitsKHR::eLocal: return "Local";\r
- case DeviceGroupPresentModeFlagBitsKHR::eRemote: return "Remote";\r
- case DeviceGroupPresentModeFlagBitsKHR::eSum: return "Sum";\r
- case DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice: return "LocalMultiDevice";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DeviceGroupPresentModeFlagsKHR value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DeviceGroupPresentModeFlagBitsKHR::eLocal) result += "Local | ";\r
- if (value & DeviceGroupPresentModeFlagBitsKHR::eRemote) result += "Remote | ";\r
- if (value & DeviceGroupPresentModeFlagBitsKHR::eSum) result += "Sum | ";\r
- if (value & DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice) result += "LocalMultiDevice | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SwapchainCreateFlagBitsKHR value)\r
- {\r
- switch (value)\r
- {\r
- case SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions: return "SplitInstanceBindRegions";\r
- case SwapchainCreateFlagBitsKHR::eProtected: return "Protected";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SwapchainCreateFlagsKHR value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions) result += "SplitInstanceBindRegions | ";\r
- if (value & SwapchainCreateFlagBitsKHR::eProtected) result += "Protected | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ViewportCoordinateSwizzleNV value)\r
- {\r
- switch (value)\r
- {\r
- case ViewportCoordinateSwizzleNV::ePositiveX: return "PositiveX";\r
- case ViewportCoordinateSwizzleNV::eNegativeX: return "NegativeX";\r
- case ViewportCoordinateSwizzleNV::ePositiveY: return "PositiveY";\r
- case ViewportCoordinateSwizzleNV::eNegativeY: return "NegativeY";\r
- case ViewportCoordinateSwizzleNV::ePositiveZ: return "PositiveZ";\r
- case ViewportCoordinateSwizzleNV::eNegativeZ: return "NegativeZ";\r
- case ViewportCoordinateSwizzleNV::ePositiveW: return "PositiveW";\r
- case ViewportCoordinateSwizzleNV::eNegativeW: return "NegativeW";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DiscardRectangleModeEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DiscardRectangleModeEXT::eInclusive: return "Inclusive";\r
- case DiscardRectangleModeEXT::eExclusive: return "Exclusive";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SubpassDescriptionFlagBits value)\r
- {\r
- switch (value)\r
- {\r
- case SubpassDescriptionFlagBits::ePerViewAttributesNVX: return "PerViewAttributesNVX";\r
- case SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX: return "PerViewPositionXOnlyNVX";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SubpassDescriptionFlags value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & SubpassDescriptionFlagBits::ePerViewAttributesNVX) result += "PerViewAttributesNVX | ";\r
- if (value & SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX) result += "PerViewPositionXOnlyNVX | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(PointClippingBehavior value)\r
- {\r
- switch (value)\r
- {\r
- case PointClippingBehavior::eAllClipPlanes: return "AllClipPlanes";\r
- case PointClippingBehavior::eUserClipPlanesOnly: return "UserClipPlanesOnly";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SamplerReductionModeEXT value)\r
- {\r
- switch (value)\r
- {\r
- case SamplerReductionModeEXT::eWeightedAverage: return "WeightedAverage";\r
- case SamplerReductionModeEXT::eMin: return "Min";\r
- case SamplerReductionModeEXT::eMax: return "Max";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(TessellationDomainOrigin value)\r
- {\r
- switch (value)\r
- {\r
- case TessellationDomainOrigin::eUpperLeft: return "UpperLeft";\r
- case TessellationDomainOrigin::eLowerLeft: return "LowerLeft";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SamplerYcbcrModelConversion value)\r
- {\r
- switch (value)\r
- {\r
- case SamplerYcbcrModelConversion::eRgbIdentity: return "RgbIdentity";\r
- case SamplerYcbcrModelConversion::eYcbcrIdentity: return "YcbcrIdentity";\r
- case SamplerYcbcrModelConversion::eYcbcr709: return "Ycbcr709";\r
- case SamplerYcbcrModelConversion::eYcbcr601: return "Ycbcr601";\r
- case SamplerYcbcrModelConversion::eYcbcr2020: return "Ycbcr2020";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(SamplerYcbcrRange value)\r
- {\r
- switch (value)\r
- {\r
- case SamplerYcbcrRange::eItuFull: return "ItuFull";\r
- case SamplerYcbcrRange::eItuNarrow: return "ItuNarrow";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ChromaLocation value)\r
- {\r
- switch (value)\r
- {\r
- case ChromaLocation::eCositedEven: return "CositedEven";\r
- case ChromaLocation::eMidpoint: return "Midpoint";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(BlendOverlapEXT value)\r
- {\r
- switch (value)\r
- {\r
- case BlendOverlapEXT::eUncorrelated: return "Uncorrelated";\r
- case BlendOverlapEXT::eDisjoint: return "Disjoint";\r
- case BlendOverlapEXT::eConjoint: return "Conjoint";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(CoverageModulationModeNV value)\r
- {\r
- switch (value)\r
- {\r
- case CoverageModulationModeNV::eNone: return "None";\r
- case CoverageModulationModeNV::eRgb: return "Rgb";\r
- case CoverageModulationModeNV::eAlpha: return "Alpha";\r
- case CoverageModulationModeNV::eRgba: return "Rgba";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ValidationCacheHeaderVersionEXT value)\r
- {\r
- switch (value)\r
- {\r
- case ValidationCacheHeaderVersionEXT::eOne: return "One";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ShaderInfoTypeAMD value)\r
- {\r
- switch (value)\r
- {\r
- case ShaderInfoTypeAMD::eStatistics: return "Statistics";\r
- case ShaderInfoTypeAMD::eBinary: return "Binary";\r
- case ShaderInfoTypeAMD::eDisassembly: return "Disassembly";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(QueueGlobalPriorityEXT value)\r
- {\r
- switch (value)\r
- {\r
- case QueueGlobalPriorityEXT::eLow: return "Low";\r
- case QueueGlobalPriorityEXT::eMedium: return "Medium";\r
- case QueueGlobalPriorityEXT::eHigh: return "High";\r
- case QueueGlobalPriorityEXT::eRealtime: return "Realtime";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageSeverityFlagBitsEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DebugUtilsMessageSeverityFlagBitsEXT::eVerbose: return "Verbose";\r
- case DebugUtilsMessageSeverityFlagBitsEXT::eInfo: return "Info";\r
- case DebugUtilsMessageSeverityFlagBitsEXT::eWarning: return "Warning";\r
- case DebugUtilsMessageSeverityFlagBitsEXT::eError: return "Error";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageSeverityFlagsEXT value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DebugUtilsMessageSeverityFlagBitsEXT::eVerbose) result += "Verbose | ";\r
- if (value & DebugUtilsMessageSeverityFlagBitsEXT::eInfo) result += "Info | ";\r
- if (value & DebugUtilsMessageSeverityFlagBitsEXT::eWarning) result += "Warning | ";\r
- if (value & DebugUtilsMessageSeverityFlagBitsEXT::eError) result += "Error | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageTypeFlagBitsEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DebugUtilsMessageTypeFlagBitsEXT::eGeneral: return "General";\r
- case DebugUtilsMessageTypeFlagBitsEXT::eValidation: return "Validation";\r
- case DebugUtilsMessageTypeFlagBitsEXT::ePerformance: return "Performance";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageTypeFlagsEXT value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DebugUtilsMessageTypeFlagBitsEXT::eGeneral) result += "General | ";\r
- if (value & DebugUtilsMessageTypeFlagBitsEXT::eValidation) result += "Validation | ";\r
- if (value & DebugUtilsMessageTypeFlagBitsEXT::ePerformance) result += "Performance | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(ConservativeRasterizationModeEXT value)\r
- {\r
- switch (value)\r
- {\r
- case ConservativeRasterizationModeEXT::eDisabled: return "Disabled";\r
- case ConservativeRasterizationModeEXT::eOverestimate: return "Overestimate";\r
- case ConservativeRasterizationModeEXT::eUnderestimate: return "Underestimate";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorBindingFlagBitsEXT value)\r
- {\r
- switch (value)\r
- {\r
- case DescriptorBindingFlagBitsEXT::eUpdateAfterBind: return "UpdateAfterBind";\r
- case DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending: return "UpdateUnusedWhilePending";\r
- case DescriptorBindingFlagBitsEXT::ePartiallyBound: return "PartiallyBound";\r
- case DescriptorBindingFlagBitsEXT::eVariableDescriptorCount: return "VariableDescriptorCount";\r
- default: return "invalid";\r
- }\r
- }\r
-\r
- VULKAN_HPP_INLINE std::string to_string(DescriptorBindingFlagsEXT value)\r
- {\r
- if (!value) return "{}";\r
- std::string result;\r
- if (value & DescriptorBindingFlagBitsEXT::eUpdateAfterBind) result += "UpdateAfterBind | ";\r
- if (value & DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending) result += "UpdateUnusedWhilePending | ";\r
- if (value & DescriptorBindingFlagBitsEXT::ePartiallyBound) result += "PartiallyBound | ";\r
- if (value & DescriptorBindingFlagBitsEXT::eVariableDescriptorCount) result += "VariableDescriptorCount | ";\r
- return "{" + result.substr(0, result.size() - 3) + "}";\r
- }\r
-\r
- class DispatchLoaderDynamic\r
- {\r
- public:\r
- PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR = 0;\r
- PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR = 0;\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT = 0;\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
- PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers = 0;\r
- PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets = 0;\r
- PFN_vkAllocateMemory vkAllocateMemory = 0;\r
- PFN_vkBeginCommandBuffer vkBeginCommandBuffer = 0;\r
- PFN_vkBindBufferMemory vkBindBufferMemory = 0;\r
- PFN_vkBindBufferMemory2 vkBindBufferMemory2 = 0;\r
- PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR = 0;\r
- PFN_vkBindImageMemory vkBindImageMemory = 0;\r
- PFN_vkBindImageMemory2 vkBindImageMemory2 = 0;\r
- PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR = 0;\r
- PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT = 0;\r
- PFN_vkCmdBeginQuery vkCmdBeginQuery = 0;\r
- PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass = 0;\r
- PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets = 0;\r
- PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer = 0;\r
- PFN_vkCmdBindPipeline vkCmdBindPipeline = 0;\r
- PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers = 0;\r
- PFN_vkCmdBlitImage vkCmdBlitImage = 0;\r
- PFN_vkCmdClearAttachments vkCmdClearAttachments = 0;\r
- PFN_vkCmdClearColorImage vkCmdClearColorImage = 0;\r
- PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage = 0;\r
- PFN_vkCmdCopyBuffer vkCmdCopyBuffer = 0;\r
- PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage = 0;\r
- PFN_vkCmdCopyImage vkCmdCopyImage = 0;\r
- PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer = 0;\r
- PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults = 0;\r
- PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT = 0;\r
- PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT = 0;\r
- PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT = 0;\r
- PFN_vkCmdDispatch vkCmdDispatch = 0;\r
- PFN_vkCmdDispatchBase vkCmdDispatchBase = 0;\r
- PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR = 0;\r
- PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect = 0;\r
- PFN_vkCmdDraw vkCmdDraw = 0;\r
- PFN_vkCmdDrawIndexed vkCmdDrawIndexed = 0;\r
- PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect = 0;\r
- PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD = 0;\r
- PFN_vkCmdDrawIndirect vkCmdDrawIndirect = 0;\r
- PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD = 0;\r
- PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT = 0;\r
- PFN_vkCmdEndQuery vkCmdEndQuery = 0;\r
- PFN_vkCmdEndRenderPass vkCmdEndRenderPass = 0;\r
- PFN_vkCmdExecuteCommands vkCmdExecuteCommands = 0;\r
- PFN_vkCmdFillBuffer vkCmdFillBuffer = 0;\r
- PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT = 0;\r
- PFN_vkCmdNextSubpass vkCmdNextSubpass = 0;\r
- PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier = 0;\r
- PFN_vkCmdProcessCommandsNVX vkCmdProcessCommandsNVX = 0;\r
- PFN_vkCmdPushConstants vkCmdPushConstants = 0;\r
- PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR = 0;\r
- PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR = 0;\r
- PFN_vkCmdReserveSpaceForCommandsNVX vkCmdReserveSpaceForCommandsNVX = 0;\r
- PFN_vkCmdResetEvent vkCmdResetEvent = 0;\r
- PFN_vkCmdResetQueryPool vkCmdResetQueryPool = 0;\r
- PFN_vkCmdResolveImage vkCmdResolveImage = 0;\r
- PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants = 0;\r
- PFN_vkCmdSetDepthBias vkCmdSetDepthBias = 0;\r
- PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds = 0;\r
- PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask = 0;\r
- PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR = 0;\r
- PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT = 0;\r
- PFN_vkCmdSetEvent vkCmdSetEvent = 0;\r
- PFN_vkCmdSetLineWidth vkCmdSetLineWidth = 0;\r
- PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT = 0;\r
- PFN_vkCmdSetScissor vkCmdSetScissor = 0;\r
- PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask = 0;\r
- PFN_vkCmdSetStencilReference vkCmdSetStencilReference = 0;\r
- PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask = 0;\r
- PFN_vkCmdSetViewport vkCmdSetViewport = 0;\r
- PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV = 0;\r
- PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer = 0;\r
- PFN_vkCmdWaitEvents vkCmdWaitEvents = 0;\r
- PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD = 0;\r
- PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp = 0;\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR = 0;\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
- PFN_vkCreateBuffer vkCreateBuffer = 0;\r
- PFN_vkCreateBufferView vkCreateBufferView = 0;\r
- PFN_vkCreateCommandPool vkCreateCommandPool = 0;\r
- PFN_vkCreateComputePipelines vkCreateComputePipelines = 0;\r
- PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT = 0;\r
- PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT = 0;\r
- PFN_vkCreateDescriptorPool vkCreateDescriptorPool = 0;\r
- PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout = 0;\r
- PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate = 0;\r
- PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR = 0;\r
- PFN_vkCreateDevice vkCreateDevice = 0;\r
- PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR = 0;\r
- PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR = 0;\r
- PFN_vkCreateEvent vkCreateEvent = 0;\r
- PFN_vkCreateFence vkCreateFence = 0;\r
- PFN_vkCreateFramebuffer vkCreateFramebuffer = 0;\r
- PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines = 0;\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK = 0;\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
- PFN_vkCreateImage vkCreateImage = 0;\r
- PFN_vkCreateImageView vkCreateImageView = 0;\r
- PFN_vkCreateIndirectCommandsLayoutNVX vkCreateIndirectCommandsLayoutNVX = 0;\r
- PFN_vkCreateInstance vkCreateInstance = 0;\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK = 0;\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- PFN_vkCreateMirSurfaceKHR vkCreateMirSurfaceKHR = 0;\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
- PFN_vkCreateObjectTableNVX vkCreateObjectTableNVX = 0;\r
- PFN_vkCreatePipelineCache vkCreatePipelineCache = 0;\r
- PFN_vkCreatePipelineLayout vkCreatePipelineLayout = 0;\r
- PFN_vkCreateQueryPool vkCreateQueryPool = 0;\r
- PFN_vkCreateRenderPass vkCreateRenderPass = 0;\r
- PFN_vkCreateSampler vkCreateSampler = 0;\r
- PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion = 0;\r
- PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR = 0;\r
- PFN_vkCreateSemaphore vkCreateSemaphore = 0;\r
- PFN_vkCreateShaderModule vkCreateShaderModule = 0;\r
- PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR = 0;\r
- PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR = 0;\r
- PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT = 0;\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN = 0;\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR = 0;\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR = 0;\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
- PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT = 0;\r
- PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT = 0;\r
- PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT = 0;\r
- PFN_vkDestroyBuffer vkDestroyBuffer = 0;\r
- PFN_vkDestroyBufferView vkDestroyBufferView = 0;\r
- PFN_vkDestroyCommandPool vkDestroyCommandPool = 0;\r
- PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT = 0;\r
- PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT = 0;\r
- PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool = 0;\r
- PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout = 0;\r
- PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate = 0;\r
- PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR = 0;\r
- PFN_vkDestroyDevice vkDestroyDevice = 0;\r
- PFN_vkDestroyEvent vkDestroyEvent = 0;\r
- PFN_vkDestroyFence vkDestroyFence = 0;\r
- PFN_vkDestroyFramebuffer vkDestroyFramebuffer = 0;\r
- PFN_vkDestroyImage vkDestroyImage = 0;\r
- PFN_vkDestroyImageView vkDestroyImageView = 0;\r
- PFN_vkDestroyIndirectCommandsLayoutNVX vkDestroyIndirectCommandsLayoutNVX = 0;\r
- PFN_vkDestroyInstance vkDestroyInstance = 0;\r
- PFN_vkDestroyObjectTableNVX vkDestroyObjectTableNVX = 0;\r
- PFN_vkDestroyPipeline vkDestroyPipeline = 0;\r
- PFN_vkDestroyPipelineCache vkDestroyPipelineCache = 0;\r
- PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout = 0;\r
- PFN_vkDestroyQueryPool vkDestroyQueryPool = 0;\r
- PFN_vkDestroyRenderPass vkDestroyRenderPass = 0;\r
- PFN_vkDestroySampler vkDestroySampler = 0;\r
- PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion = 0;\r
- PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR = 0;\r
- PFN_vkDestroySemaphore vkDestroySemaphore = 0;\r
- PFN_vkDestroyShaderModule vkDestroyShaderModule = 0;\r
- PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR = 0;\r
- PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR = 0;\r
- PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT = 0;\r
- PFN_vkDeviceWaitIdle vkDeviceWaitIdle = 0;\r
- PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT = 0;\r
- PFN_vkEndCommandBuffer vkEndCommandBuffer = 0;\r
- PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties = 0;\r
- PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties = 0;\r
- PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties = 0;\r
- PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties = 0;\r
- PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion = 0;\r
- PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups = 0;\r
- PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR = 0;\r
- PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices = 0;\r
- PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges = 0;\r
- PFN_vkFreeCommandBuffers vkFreeCommandBuffers = 0;\r
- PFN_vkFreeDescriptorSets vkFreeDescriptorSets = 0;\r
- PFN_vkFreeMemory vkFreeMemory = 0;\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID = 0;\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements = 0;\r
- PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2 = 0;\r
- PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR = 0;\r
- PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport = 0;\r
- PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR = 0;\r
- PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures = 0;\r
- PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR = 0;\r
- PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR = 0;\r
- PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0;\r
- PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0;\r
- PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;\r
- PFN_vkGetDeviceQueue vkGetDeviceQueue = 0;\r
- PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0;\r
- PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR = 0;\r
- PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR = 0;\r
- PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR = 0;\r
- PFN_vkGetEventStatus vkGetEventStatus = 0;\r
- PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0;\r
- PFN_vkGetFenceStatus vkGetFenceStatus = 0;\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements = 0;\r
- PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2 = 0;\r
- PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR = 0;\r
- PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements = 0;\r
- PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2 = 0;\r
- PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR = 0;\r
- PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout = 0;\r
- PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = 0;\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID = 0;\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR = 0;\r
- PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR = 0;\r
- PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT = 0;\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE = 0;\r
- PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR = 0;\r
- PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR = 0;\r
- PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties = 0;\r
- PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR = 0;\r
- PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties = 0;\r
- PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR = 0;\r
- PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV = 0;\r
- PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties = 0;\r
- PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = 0;\r
- PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures = 0;\r
- PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2 = 0;\r
- PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR = 0;\r
- PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties = 0;\r
- PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2 = 0;\r
- PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR = 0;\r
- PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX = 0;\r
- PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties = 0;\r
- PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2 = 0;\r
- PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR = 0;\r
- PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties = 0;\r
- PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2 = 0;\r
- PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR = 0;\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- PFN_vkGetPhysicalDeviceMirPresentationSupportKHR vkGetPhysicalDeviceMirPresentationSupportKHR = 0;\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
- PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT = 0;\r
- PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR = 0;\r
- PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties = 0;\r
- PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2 = 0;\r
- PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR = 0;\r
- PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties = 0;\r
- PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2 = 0;\r
- PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR = 0;\r
- PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties = 0;\r
- PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2 = 0;\r
- PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR = 0;\r
- PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT = 0;\r
- PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR = 0;\r
- PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR = 0;\r
- PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR = 0;\r
- PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR = 0;\r
- PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR = 0;\r
- PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR = 0;\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR = 0;\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR = 0;\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
- PFN_vkGetPipelineCacheData vkGetPipelineCacheData = 0;\r
- PFN_vkGetQueryPoolResults vkGetQueryPoolResults = 0;\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT = 0;\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
- PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE = 0;\r
- PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity = 0;\r
- PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR = 0;\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0;\r
- PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0;\r
- PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0;\r
- PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0;\r
- PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0;\r
- PFN_vkImportFenceFdKHR vkImportFenceFdKHR = 0;\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR = 0;\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR = 0;\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges = 0;\r
- PFN_vkMapMemory vkMapMemory = 0;\r
- PFN_vkMergePipelineCaches vkMergePipelineCaches = 0;\r
- PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT = 0;\r
- PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT = 0;\r
- PFN_vkQueueBindSparse vkQueueBindSparse = 0;\r
- PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT = 0;\r
- PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT = 0;\r
- PFN_vkQueuePresentKHR vkQueuePresentKHR = 0;\r
- PFN_vkQueueSubmit vkQueueSubmit = 0;\r
- PFN_vkQueueWaitIdle vkQueueWaitIdle = 0;\r
- PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT = 0;\r
- PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT = 0;\r
- PFN_vkRegisterObjectsNVX vkRegisterObjectsNVX = 0;\r
- PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT = 0;\r
- PFN_vkResetCommandBuffer vkResetCommandBuffer = 0;\r
- PFN_vkResetCommandPool vkResetCommandPool = 0;\r
- PFN_vkResetDescriptorPool vkResetDescriptorPool = 0;\r
- PFN_vkResetEvent vkResetEvent = 0;\r
- PFN_vkResetFences vkResetFences = 0;\r
- PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT = 0;\r
- PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT = 0;\r
- PFN_vkSetEvent vkSetEvent = 0;\r
- PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT = 0;\r
- PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT = 0;\r
- PFN_vkTrimCommandPool vkTrimCommandPool = 0;\r
- PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR = 0;\r
- PFN_vkUnmapMemory vkUnmapMemory = 0;\r
- PFN_vkUnregisterObjectsNVX vkUnregisterObjectsNVX = 0;\r
- PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate = 0;\r
- PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR = 0;\r
- PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets = 0;\r
- PFN_vkWaitForFences vkWaitForFences = 0;\r
- public:\r
- DispatchLoaderDynamic(Instance instance = Instance(), Device device = Device())\r
- {\r
- if (instance)\r
- {\r
- init(instance, device);\r
- }\r
- }\r
-\r
- void init(Instance instance, Device device = Device())\r
- {\r
- vkAcquireNextImage2KHR = PFN_vkAcquireNextImage2KHR(device ? device.getProcAddr( "vkAcquireNextImage2KHR") : instance.getProcAddr( "vkAcquireNextImage2KHR"));\r
- vkAcquireNextImageKHR = PFN_vkAcquireNextImageKHR(device ? device.getProcAddr( "vkAcquireNextImageKHR") : instance.getProcAddr( "vkAcquireNextImageKHR"));\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- vkAcquireXlibDisplayEXT = PFN_vkAcquireXlibDisplayEXT(device ? device.getProcAddr( "vkAcquireXlibDisplayEXT") : instance.getProcAddr( "vkAcquireXlibDisplayEXT"));\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
- vkAllocateCommandBuffers = PFN_vkAllocateCommandBuffers(device ? device.getProcAddr( "vkAllocateCommandBuffers") : instance.getProcAddr( "vkAllocateCommandBuffers"));\r
- vkAllocateDescriptorSets = PFN_vkAllocateDescriptorSets(device ? device.getProcAddr( "vkAllocateDescriptorSets") : instance.getProcAddr( "vkAllocateDescriptorSets"));\r
- vkAllocateMemory = PFN_vkAllocateMemory(device ? device.getProcAddr( "vkAllocateMemory") : instance.getProcAddr( "vkAllocateMemory"));\r
- vkBeginCommandBuffer = PFN_vkBeginCommandBuffer(device ? device.getProcAddr( "vkBeginCommandBuffer") : instance.getProcAddr( "vkBeginCommandBuffer"));\r
- vkBindBufferMemory = PFN_vkBindBufferMemory(device ? device.getProcAddr( "vkBindBufferMemory") : instance.getProcAddr( "vkBindBufferMemory"));\r
- vkBindBufferMemory2 = PFN_vkBindBufferMemory2(device ? device.getProcAddr( "vkBindBufferMemory2") : instance.getProcAddr( "vkBindBufferMemory2"));\r
- vkBindBufferMemory2KHR = PFN_vkBindBufferMemory2KHR(device ? device.getProcAddr( "vkBindBufferMemory2KHR") : instance.getProcAddr( "vkBindBufferMemory2KHR"));\r
- vkBindImageMemory = PFN_vkBindImageMemory(device ? device.getProcAddr( "vkBindImageMemory") : instance.getProcAddr( "vkBindImageMemory"));\r
- vkBindImageMemory2 = PFN_vkBindImageMemory2(device ? device.getProcAddr( "vkBindImageMemory2") : instance.getProcAddr( "vkBindImageMemory2"));\r
- vkBindImageMemory2KHR = PFN_vkBindImageMemory2KHR(device ? device.getProcAddr( "vkBindImageMemory2KHR") : instance.getProcAddr( "vkBindImageMemory2KHR"));\r
- vkCmdBeginDebugUtilsLabelEXT = PFN_vkCmdBeginDebugUtilsLabelEXT(device ? device.getProcAddr( "vkCmdBeginDebugUtilsLabelEXT") : instance.getProcAddr( "vkCmdBeginDebugUtilsLabelEXT"));\r
- vkCmdBeginQuery = PFN_vkCmdBeginQuery(device ? device.getProcAddr( "vkCmdBeginQuery") : instance.getProcAddr( "vkCmdBeginQuery"));\r
- vkCmdBeginRenderPass = PFN_vkCmdBeginRenderPass(device ? device.getProcAddr( "vkCmdBeginRenderPass") : instance.getProcAddr( "vkCmdBeginRenderPass"));\r
- vkCmdBindDescriptorSets = PFN_vkCmdBindDescriptorSets(device ? device.getProcAddr( "vkCmdBindDescriptorSets") : instance.getProcAddr( "vkCmdBindDescriptorSets"));\r
- vkCmdBindIndexBuffer = PFN_vkCmdBindIndexBuffer(device ? device.getProcAddr( "vkCmdBindIndexBuffer") : instance.getProcAddr( "vkCmdBindIndexBuffer"));\r
- vkCmdBindPipeline = PFN_vkCmdBindPipeline(device ? device.getProcAddr( "vkCmdBindPipeline") : instance.getProcAddr( "vkCmdBindPipeline"));\r
- vkCmdBindVertexBuffers = PFN_vkCmdBindVertexBuffers(device ? device.getProcAddr( "vkCmdBindVertexBuffers") : instance.getProcAddr( "vkCmdBindVertexBuffers"));\r
- vkCmdBlitImage = PFN_vkCmdBlitImage(device ? device.getProcAddr( "vkCmdBlitImage") : instance.getProcAddr( "vkCmdBlitImage"));\r
- vkCmdClearAttachments = PFN_vkCmdClearAttachments(device ? device.getProcAddr( "vkCmdClearAttachments") : instance.getProcAddr( "vkCmdClearAttachments"));\r
- vkCmdClearColorImage = PFN_vkCmdClearColorImage(device ? device.getProcAddr( "vkCmdClearColorImage") : instance.getProcAddr( "vkCmdClearColorImage"));\r
- vkCmdClearDepthStencilImage = PFN_vkCmdClearDepthStencilImage(device ? device.getProcAddr( "vkCmdClearDepthStencilImage") : instance.getProcAddr( "vkCmdClearDepthStencilImage"));\r
- vkCmdCopyBuffer = PFN_vkCmdCopyBuffer(device ? device.getProcAddr( "vkCmdCopyBuffer") : instance.getProcAddr( "vkCmdCopyBuffer"));\r
- vkCmdCopyBufferToImage = PFN_vkCmdCopyBufferToImage(device ? device.getProcAddr( "vkCmdCopyBufferToImage") : instance.getProcAddr( "vkCmdCopyBufferToImage"));\r
- vkCmdCopyImage = PFN_vkCmdCopyImage(device ? device.getProcAddr( "vkCmdCopyImage") : instance.getProcAddr( "vkCmdCopyImage"));\r
- vkCmdCopyImageToBuffer = PFN_vkCmdCopyImageToBuffer(device ? device.getProcAddr( "vkCmdCopyImageToBuffer") : instance.getProcAddr( "vkCmdCopyImageToBuffer"));\r
- vkCmdCopyQueryPoolResults = PFN_vkCmdCopyQueryPoolResults(device ? device.getProcAddr( "vkCmdCopyQueryPoolResults") : instance.getProcAddr( "vkCmdCopyQueryPoolResults"));\r
- vkCmdDebugMarkerBeginEXT = PFN_vkCmdDebugMarkerBeginEXT(device ? device.getProcAddr( "vkCmdDebugMarkerBeginEXT") : instance.getProcAddr( "vkCmdDebugMarkerBeginEXT"));\r
- vkCmdDebugMarkerEndEXT = PFN_vkCmdDebugMarkerEndEXT(device ? device.getProcAddr( "vkCmdDebugMarkerEndEXT") : instance.getProcAddr( "vkCmdDebugMarkerEndEXT"));\r
- vkCmdDebugMarkerInsertEXT = PFN_vkCmdDebugMarkerInsertEXT(device ? device.getProcAddr( "vkCmdDebugMarkerInsertEXT") : instance.getProcAddr( "vkCmdDebugMarkerInsertEXT"));\r
- vkCmdDispatch = PFN_vkCmdDispatch(device ? device.getProcAddr( "vkCmdDispatch") : instance.getProcAddr( "vkCmdDispatch"));\r
- vkCmdDispatchBase = PFN_vkCmdDispatchBase(device ? device.getProcAddr( "vkCmdDispatchBase") : instance.getProcAddr( "vkCmdDispatchBase"));\r
- vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBaseKHR(device ? device.getProcAddr( "vkCmdDispatchBaseKHR") : instance.getProcAddr( "vkCmdDispatchBaseKHR"));\r
- vkCmdDispatchIndirect = PFN_vkCmdDispatchIndirect(device ? device.getProcAddr( "vkCmdDispatchIndirect") : instance.getProcAddr( "vkCmdDispatchIndirect"));\r
- vkCmdDraw = PFN_vkCmdDraw(device ? device.getProcAddr( "vkCmdDraw") : instance.getProcAddr( "vkCmdDraw"));\r
- vkCmdDrawIndexed = PFN_vkCmdDrawIndexed(device ? device.getProcAddr( "vkCmdDrawIndexed") : instance.getProcAddr( "vkCmdDrawIndexed"));\r
- vkCmdDrawIndexedIndirect = PFN_vkCmdDrawIndexedIndirect(device ? device.getProcAddr( "vkCmdDrawIndexedIndirect") : instance.getProcAddr( "vkCmdDrawIndexedIndirect"));\r
- vkCmdDrawIndexedIndirectCountAMD = PFN_vkCmdDrawIndexedIndirectCountAMD(device ? device.getProcAddr( "vkCmdDrawIndexedIndirectCountAMD") : instance.getProcAddr( "vkCmdDrawIndexedIndirectCountAMD"));\r
- vkCmdDrawIndirect = PFN_vkCmdDrawIndirect(device ? device.getProcAddr( "vkCmdDrawIndirect") : instance.getProcAddr( "vkCmdDrawIndirect"));\r
- vkCmdDrawIndirectCountAMD = PFN_vkCmdDrawIndirectCountAMD(device ? device.getProcAddr( "vkCmdDrawIndirectCountAMD") : instance.getProcAddr( "vkCmdDrawIndirectCountAMD"));\r
- vkCmdEndDebugUtilsLabelEXT = PFN_vkCmdEndDebugUtilsLabelEXT(device ? device.getProcAddr( "vkCmdEndDebugUtilsLabelEXT") : instance.getProcAddr( "vkCmdEndDebugUtilsLabelEXT"));\r
- vkCmdEndQuery = PFN_vkCmdEndQuery(device ? device.getProcAddr( "vkCmdEndQuery") : instance.getProcAddr( "vkCmdEndQuery"));\r
- vkCmdEndRenderPass = PFN_vkCmdEndRenderPass(device ? device.getProcAddr( "vkCmdEndRenderPass") : instance.getProcAddr( "vkCmdEndRenderPass"));\r
- vkCmdExecuteCommands = PFN_vkCmdExecuteCommands(device ? device.getProcAddr( "vkCmdExecuteCommands") : instance.getProcAddr( "vkCmdExecuteCommands"));\r
- vkCmdFillBuffer = PFN_vkCmdFillBuffer(device ? device.getProcAddr( "vkCmdFillBuffer") : instance.getProcAddr( "vkCmdFillBuffer"));\r
- vkCmdInsertDebugUtilsLabelEXT = PFN_vkCmdInsertDebugUtilsLabelEXT(device ? device.getProcAddr( "vkCmdInsertDebugUtilsLabelEXT") : instance.getProcAddr( "vkCmdInsertDebugUtilsLabelEXT"));\r
- vkCmdNextSubpass = PFN_vkCmdNextSubpass(device ? device.getProcAddr( "vkCmdNextSubpass") : instance.getProcAddr( "vkCmdNextSubpass"));\r
- vkCmdPipelineBarrier = PFN_vkCmdPipelineBarrier(device ? device.getProcAddr( "vkCmdPipelineBarrier") : instance.getProcAddr( "vkCmdPipelineBarrier"));\r
- vkCmdProcessCommandsNVX = PFN_vkCmdProcessCommandsNVX(device ? device.getProcAddr( "vkCmdProcessCommandsNVX") : instance.getProcAddr( "vkCmdProcessCommandsNVX"));\r
- vkCmdPushConstants = PFN_vkCmdPushConstants(device ? device.getProcAddr( "vkCmdPushConstants") : instance.getProcAddr( "vkCmdPushConstants"));\r
- vkCmdPushDescriptorSetKHR = PFN_vkCmdPushDescriptorSetKHR(device ? device.getProcAddr( "vkCmdPushDescriptorSetKHR") : instance.getProcAddr( "vkCmdPushDescriptorSetKHR"));\r
- vkCmdPushDescriptorSetWithTemplateKHR = PFN_vkCmdPushDescriptorSetWithTemplateKHR(device ? device.getProcAddr( "vkCmdPushDescriptorSetWithTemplateKHR") : instance.getProcAddr( "vkCmdPushDescriptorSetWithTemplateKHR"));\r
- vkCmdReserveSpaceForCommandsNVX = PFN_vkCmdReserveSpaceForCommandsNVX(device ? device.getProcAddr( "vkCmdReserveSpaceForCommandsNVX") : instance.getProcAddr( "vkCmdReserveSpaceForCommandsNVX"));\r
- vkCmdResetEvent = PFN_vkCmdResetEvent(device ? device.getProcAddr( "vkCmdResetEvent") : instance.getProcAddr( "vkCmdResetEvent"));\r
- vkCmdResetQueryPool = PFN_vkCmdResetQueryPool(device ? device.getProcAddr( "vkCmdResetQueryPool") : instance.getProcAddr( "vkCmdResetQueryPool"));\r
- vkCmdResolveImage = PFN_vkCmdResolveImage(device ? device.getProcAddr( "vkCmdResolveImage") : instance.getProcAddr( "vkCmdResolveImage"));\r
- vkCmdSetBlendConstants = PFN_vkCmdSetBlendConstants(device ? device.getProcAddr( "vkCmdSetBlendConstants") : instance.getProcAddr( "vkCmdSetBlendConstants"));\r
- vkCmdSetDepthBias = PFN_vkCmdSetDepthBias(device ? device.getProcAddr( "vkCmdSetDepthBias") : instance.getProcAddr( "vkCmdSetDepthBias"));\r
- vkCmdSetDepthBounds = PFN_vkCmdSetDepthBounds(device ? device.getProcAddr( "vkCmdSetDepthBounds") : instance.getProcAddr( "vkCmdSetDepthBounds"));\r
- vkCmdSetDeviceMask = PFN_vkCmdSetDeviceMask(device ? device.getProcAddr( "vkCmdSetDeviceMask") : instance.getProcAddr( "vkCmdSetDeviceMask"));\r
- vkCmdSetDeviceMaskKHR = PFN_vkCmdSetDeviceMaskKHR(device ? device.getProcAddr( "vkCmdSetDeviceMaskKHR") : instance.getProcAddr( "vkCmdSetDeviceMaskKHR"));\r
- vkCmdSetDiscardRectangleEXT = PFN_vkCmdSetDiscardRectangleEXT(device ? device.getProcAddr( "vkCmdSetDiscardRectangleEXT") : instance.getProcAddr( "vkCmdSetDiscardRectangleEXT"));\r
- vkCmdSetEvent = PFN_vkCmdSetEvent(device ? device.getProcAddr( "vkCmdSetEvent") : instance.getProcAddr( "vkCmdSetEvent"));\r
- vkCmdSetLineWidth = PFN_vkCmdSetLineWidth(device ? device.getProcAddr( "vkCmdSetLineWidth") : instance.getProcAddr( "vkCmdSetLineWidth"));\r
- vkCmdSetSampleLocationsEXT = PFN_vkCmdSetSampleLocationsEXT(device ? device.getProcAddr( "vkCmdSetSampleLocationsEXT") : instance.getProcAddr( "vkCmdSetSampleLocationsEXT"));\r
- vkCmdSetScissor = PFN_vkCmdSetScissor(device ? device.getProcAddr( "vkCmdSetScissor") : instance.getProcAddr( "vkCmdSetScissor"));\r
- vkCmdSetStencilCompareMask = PFN_vkCmdSetStencilCompareMask(device ? device.getProcAddr( "vkCmdSetStencilCompareMask") : instance.getProcAddr( "vkCmdSetStencilCompareMask"));\r
- vkCmdSetStencilReference = PFN_vkCmdSetStencilReference(device ? device.getProcAddr( "vkCmdSetStencilReference") : instance.getProcAddr( "vkCmdSetStencilReference"));\r
- vkCmdSetStencilWriteMask = PFN_vkCmdSetStencilWriteMask(device ? device.getProcAddr( "vkCmdSetStencilWriteMask") : instance.getProcAddr( "vkCmdSetStencilWriteMask"));\r
- vkCmdSetViewport = PFN_vkCmdSetViewport(device ? device.getProcAddr( "vkCmdSetViewport") : instance.getProcAddr( "vkCmdSetViewport"));\r
- vkCmdSetViewportWScalingNV = PFN_vkCmdSetViewportWScalingNV(device ? device.getProcAddr( "vkCmdSetViewportWScalingNV") : instance.getProcAddr( "vkCmdSetViewportWScalingNV"));\r
- vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer(device ? device.getProcAddr( "vkCmdUpdateBuffer") : instance.getProcAddr( "vkCmdUpdateBuffer"));\r
- vkCmdWaitEvents = PFN_vkCmdWaitEvents(device ? device.getProcAddr( "vkCmdWaitEvents") : instance.getProcAddr( "vkCmdWaitEvents"));\r
- vkCmdWriteBufferMarkerAMD = PFN_vkCmdWriteBufferMarkerAMD(device ? device.getProcAddr( "vkCmdWriteBufferMarkerAMD") : instance.getProcAddr( "vkCmdWriteBufferMarkerAMD"));\r
- vkCmdWriteTimestamp = PFN_vkCmdWriteTimestamp(device ? device.getProcAddr( "vkCmdWriteTimestamp") : instance.getProcAddr( "vkCmdWriteTimestamp"));\r
-#ifdef VK_USE_PLATFORM_ANDROID_KHR\r
- vkCreateAndroidSurfaceKHR = PFN_vkCreateAndroidSurfaceKHR(instance.getProcAddr( "vkCreateAndroidSurfaceKHR"));\r
-#endif /*VK_USE_PLATFORM_ANDROID_KHR*/\r
- vkCreateBuffer = PFN_vkCreateBuffer(device ? device.getProcAddr( "vkCreateBuffer") : instance.getProcAddr( "vkCreateBuffer"));\r
- vkCreateBufferView = PFN_vkCreateBufferView(device ? device.getProcAddr( "vkCreateBufferView") : instance.getProcAddr( "vkCreateBufferView"));\r
- vkCreateCommandPool = PFN_vkCreateCommandPool(device ? device.getProcAddr( "vkCreateCommandPool") : instance.getProcAddr( "vkCreateCommandPool"));\r
- vkCreateComputePipelines = PFN_vkCreateComputePipelines(device ? device.getProcAddr( "vkCreateComputePipelines") : instance.getProcAddr( "vkCreateComputePipelines"));\r
- vkCreateDebugReportCallbackEXT = PFN_vkCreateDebugReportCallbackEXT(instance.getProcAddr( "vkCreateDebugReportCallbackEXT"));\r
- vkCreateDebugUtilsMessengerEXT = PFN_vkCreateDebugUtilsMessengerEXT(instance.getProcAddr( "vkCreateDebugUtilsMessengerEXT"));\r
- vkCreateDescriptorPool = PFN_vkCreateDescriptorPool(device ? device.getProcAddr( "vkCreateDescriptorPool") : instance.getProcAddr( "vkCreateDescriptorPool"));\r
- vkCreateDescriptorSetLayout = PFN_vkCreateDescriptorSetLayout(device ? device.getProcAddr( "vkCreateDescriptorSetLayout") : instance.getProcAddr( "vkCreateDescriptorSetLayout"));\r
- vkCreateDescriptorUpdateTemplate = PFN_vkCreateDescriptorUpdateTemplate(device ? device.getProcAddr( "vkCreateDescriptorUpdateTemplate") : instance.getProcAddr( "vkCreateDescriptorUpdateTemplate"));\r
- vkCreateDescriptorUpdateTemplateKHR = PFN_vkCreateDescriptorUpdateTemplateKHR(device ? device.getProcAddr( "vkCreateDescriptorUpdateTemplateKHR") : instance.getProcAddr( "vkCreateDescriptorUpdateTemplateKHR"));\r
- vkCreateDevice = PFN_vkCreateDevice(device ? device.getProcAddr( "vkCreateDevice") : instance.getProcAddr( "vkCreateDevice"));\r
- vkCreateDisplayModeKHR = PFN_vkCreateDisplayModeKHR(device ? device.getProcAddr( "vkCreateDisplayModeKHR") : instance.getProcAddr( "vkCreateDisplayModeKHR"));\r
- vkCreateDisplayPlaneSurfaceKHR = PFN_vkCreateDisplayPlaneSurfaceKHR(instance.getProcAddr( "vkCreateDisplayPlaneSurfaceKHR"));\r
- vkCreateEvent = PFN_vkCreateEvent(device ? device.getProcAddr( "vkCreateEvent") : instance.getProcAddr( "vkCreateEvent"));\r
- vkCreateFence = PFN_vkCreateFence(device ? device.getProcAddr( "vkCreateFence") : instance.getProcAddr( "vkCreateFence"));\r
- vkCreateFramebuffer = PFN_vkCreateFramebuffer(device ? device.getProcAddr( "vkCreateFramebuffer") : instance.getProcAddr( "vkCreateFramebuffer"));\r
- vkCreateGraphicsPipelines = PFN_vkCreateGraphicsPipelines(device ? device.getProcAddr( "vkCreateGraphicsPipelines") : instance.getProcAddr( "vkCreateGraphicsPipelines"));\r
-#ifdef VK_USE_PLATFORM_IOS_MVK\r
- vkCreateIOSSurfaceMVK = PFN_vkCreateIOSSurfaceMVK(instance.getProcAddr( "vkCreateIOSSurfaceMVK"));\r
-#endif /*VK_USE_PLATFORM_IOS_MVK*/\r
- vkCreateImage = PFN_vkCreateImage(device ? device.getProcAddr( "vkCreateImage") : instance.getProcAddr( "vkCreateImage"));\r
- vkCreateImageView = PFN_vkCreateImageView(device ? device.getProcAddr( "vkCreateImageView") : instance.getProcAddr( "vkCreateImageView"));\r
- vkCreateIndirectCommandsLayoutNVX = PFN_vkCreateIndirectCommandsLayoutNVX(device ? device.getProcAddr( "vkCreateIndirectCommandsLayoutNVX") : instance.getProcAddr( "vkCreateIndirectCommandsLayoutNVX"));\r
- vkCreateInstance = PFN_vkCreateInstance(instance.getProcAddr( "vkCreateInstance"));\r
-#ifdef VK_USE_PLATFORM_MACOS_MVK\r
- vkCreateMacOSSurfaceMVK = PFN_vkCreateMacOSSurfaceMVK(instance.getProcAddr( "vkCreateMacOSSurfaceMVK"));\r
-#endif /*VK_USE_PLATFORM_MACOS_MVK*/\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- vkCreateMirSurfaceKHR = PFN_vkCreateMirSurfaceKHR(instance.getProcAddr( "vkCreateMirSurfaceKHR"));\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
- vkCreateObjectTableNVX = PFN_vkCreateObjectTableNVX(device ? device.getProcAddr( "vkCreateObjectTableNVX") : instance.getProcAddr( "vkCreateObjectTableNVX"));\r
- vkCreatePipelineCache = PFN_vkCreatePipelineCache(device ? device.getProcAddr( "vkCreatePipelineCache") : instance.getProcAddr( "vkCreatePipelineCache"));\r
- vkCreatePipelineLayout = PFN_vkCreatePipelineLayout(device ? device.getProcAddr( "vkCreatePipelineLayout") : instance.getProcAddr( "vkCreatePipelineLayout"));\r
- vkCreateQueryPool = PFN_vkCreateQueryPool(device ? device.getProcAddr( "vkCreateQueryPool") : instance.getProcAddr( "vkCreateQueryPool"));\r
- vkCreateRenderPass = PFN_vkCreateRenderPass(device ? device.getProcAddr( "vkCreateRenderPass") : instance.getProcAddr( "vkCreateRenderPass"));\r
- vkCreateSampler = PFN_vkCreateSampler(device ? device.getProcAddr( "vkCreateSampler") : instance.getProcAddr( "vkCreateSampler"));\r
- vkCreateSamplerYcbcrConversion = PFN_vkCreateSamplerYcbcrConversion(device ? device.getProcAddr( "vkCreateSamplerYcbcrConversion") : instance.getProcAddr( "vkCreateSamplerYcbcrConversion"));\r
- vkCreateSamplerYcbcrConversionKHR = PFN_vkCreateSamplerYcbcrConversionKHR(device ? device.getProcAddr( "vkCreateSamplerYcbcrConversionKHR") : instance.getProcAddr( "vkCreateSamplerYcbcrConversionKHR"));\r
- vkCreateSemaphore = PFN_vkCreateSemaphore(device ? device.getProcAddr( "vkCreateSemaphore") : instance.getProcAddr( "vkCreateSemaphore"));\r
- vkCreateShaderModule = PFN_vkCreateShaderModule(device ? device.getProcAddr( "vkCreateShaderModule") : instance.getProcAddr( "vkCreateShaderModule"));\r
- vkCreateSharedSwapchainsKHR = PFN_vkCreateSharedSwapchainsKHR(device ? device.getProcAddr( "vkCreateSharedSwapchainsKHR") : instance.getProcAddr( "vkCreateSharedSwapchainsKHR"));\r
- vkCreateSwapchainKHR = PFN_vkCreateSwapchainKHR(device ? device.getProcAddr( "vkCreateSwapchainKHR") : instance.getProcAddr( "vkCreateSwapchainKHR"));\r
- vkCreateValidationCacheEXT = PFN_vkCreateValidationCacheEXT(device ? device.getProcAddr( "vkCreateValidationCacheEXT") : instance.getProcAddr( "vkCreateValidationCacheEXT"));\r
-#ifdef VK_USE_PLATFORM_VI_NN\r
- vkCreateViSurfaceNN = PFN_vkCreateViSurfaceNN(instance.getProcAddr( "vkCreateViSurfaceNN"));\r
-#endif /*VK_USE_PLATFORM_VI_NN*/\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- vkCreateWaylandSurfaceKHR = PFN_vkCreateWaylandSurfaceKHR(instance.getProcAddr( "vkCreateWaylandSurfaceKHR"));\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkCreateWin32SurfaceKHR = PFN_vkCreateWin32SurfaceKHR(instance.getProcAddr( "vkCreateWin32SurfaceKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- vkCreateXcbSurfaceKHR = PFN_vkCreateXcbSurfaceKHR(instance.getProcAddr( "vkCreateXcbSurfaceKHR"));\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- vkCreateXlibSurfaceKHR = PFN_vkCreateXlibSurfaceKHR(instance.getProcAddr( "vkCreateXlibSurfaceKHR"));\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
- vkDebugMarkerSetObjectNameEXT = PFN_vkDebugMarkerSetObjectNameEXT(device ? device.getProcAddr( "vkDebugMarkerSetObjectNameEXT") : instance.getProcAddr( "vkDebugMarkerSetObjectNameEXT"));\r
- vkDebugMarkerSetObjectTagEXT = PFN_vkDebugMarkerSetObjectTagEXT(device ? device.getProcAddr( "vkDebugMarkerSetObjectTagEXT") : instance.getProcAddr( "vkDebugMarkerSetObjectTagEXT"));\r
- vkDebugReportMessageEXT = PFN_vkDebugReportMessageEXT(instance.getProcAddr( "vkDebugReportMessageEXT"));\r
- vkDestroyBuffer = PFN_vkDestroyBuffer(device ? device.getProcAddr( "vkDestroyBuffer") : instance.getProcAddr( "vkDestroyBuffer"));\r
- vkDestroyBufferView = PFN_vkDestroyBufferView(device ? device.getProcAddr( "vkDestroyBufferView") : instance.getProcAddr( "vkDestroyBufferView"));\r
- vkDestroyCommandPool = PFN_vkDestroyCommandPool(device ? device.getProcAddr( "vkDestroyCommandPool") : instance.getProcAddr( "vkDestroyCommandPool"));\r
- vkDestroyDebugReportCallbackEXT = PFN_vkDestroyDebugReportCallbackEXT(instance.getProcAddr( "vkDestroyDebugReportCallbackEXT"));\r
- vkDestroyDebugUtilsMessengerEXT = PFN_vkDestroyDebugUtilsMessengerEXT(instance.getProcAddr( "vkDestroyDebugUtilsMessengerEXT"));\r
- vkDestroyDescriptorPool = PFN_vkDestroyDescriptorPool(device ? device.getProcAddr( "vkDestroyDescriptorPool") : instance.getProcAddr( "vkDestroyDescriptorPool"));\r
- vkDestroyDescriptorSetLayout = PFN_vkDestroyDescriptorSetLayout(device ? device.getProcAddr( "vkDestroyDescriptorSetLayout") : instance.getProcAddr( "vkDestroyDescriptorSetLayout"));\r
- vkDestroyDescriptorUpdateTemplate = PFN_vkDestroyDescriptorUpdateTemplate(device ? device.getProcAddr( "vkDestroyDescriptorUpdateTemplate") : instance.getProcAddr( "vkDestroyDescriptorUpdateTemplate"));\r
- vkDestroyDescriptorUpdateTemplateKHR = PFN_vkDestroyDescriptorUpdateTemplateKHR(device ? device.getProcAddr( "vkDestroyDescriptorUpdateTemplateKHR") : instance.getProcAddr( "vkDestroyDescriptorUpdateTemplateKHR"));\r
- vkDestroyDevice = PFN_vkDestroyDevice(device ? device.getProcAddr( "vkDestroyDevice") : instance.getProcAddr( "vkDestroyDevice"));\r
- vkDestroyEvent = PFN_vkDestroyEvent(device ? device.getProcAddr( "vkDestroyEvent") : instance.getProcAddr( "vkDestroyEvent"));\r
- vkDestroyFence = PFN_vkDestroyFence(device ? device.getProcAddr( "vkDestroyFence") : instance.getProcAddr( "vkDestroyFence"));\r
- vkDestroyFramebuffer = PFN_vkDestroyFramebuffer(device ? device.getProcAddr( "vkDestroyFramebuffer") : instance.getProcAddr( "vkDestroyFramebuffer"));\r
- vkDestroyImage = PFN_vkDestroyImage(device ? device.getProcAddr( "vkDestroyImage") : instance.getProcAddr( "vkDestroyImage"));\r
- vkDestroyImageView = PFN_vkDestroyImageView(device ? device.getProcAddr( "vkDestroyImageView") : instance.getProcAddr( "vkDestroyImageView"));\r
- vkDestroyIndirectCommandsLayoutNVX = PFN_vkDestroyIndirectCommandsLayoutNVX(device ? device.getProcAddr( "vkDestroyIndirectCommandsLayoutNVX") : instance.getProcAddr( "vkDestroyIndirectCommandsLayoutNVX"));\r
- vkDestroyInstance = PFN_vkDestroyInstance(instance.getProcAddr( "vkDestroyInstance"));\r
- vkDestroyObjectTableNVX = PFN_vkDestroyObjectTableNVX(device ? device.getProcAddr( "vkDestroyObjectTableNVX") : instance.getProcAddr( "vkDestroyObjectTableNVX"));\r
- vkDestroyPipeline = PFN_vkDestroyPipeline(device ? device.getProcAddr( "vkDestroyPipeline") : instance.getProcAddr( "vkDestroyPipeline"));\r
- vkDestroyPipelineCache = PFN_vkDestroyPipelineCache(device ? device.getProcAddr( "vkDestroyPipelineCache") : instance.getProcAddr( "vkDestroyPipelineCache"));\r
- vkDestroyPipelineLayout = PFN_vkDestroyPipelineLayout(device ? device.getProcAddr( "vkDestroyPipelineLayout") : instance.getProcAddr( "vkDestroyPipelineLayout"));\r
- vkDestroyQueryPool = PFN_vkDestroyQueryPool(device ? device.getProcAddr( "vkDestroyQueryPool") : instance.getProcAddr( "vkDestroyQueryPool"));\r
- vkDestroyRenderPass = PFN_vkDestroyRenderPass(device ? device.getProcAddr( "vkDestroyRenderPass") : instance.getProcAddr( "vkDestroyRenderPass"));\r
- vkDestroySampler = PFN_vkDestroySampler(device ? device.getProcAddr( "vkDestroySampler") : instance.getProcAddr( "vkDestroySampler"));\r
- vkDestroySamplerYcbcrConversion = PFN_vkDestroySamplerYcbcrConversion(device ? device.getProcAddr( "vkDestroySamplerYcbcrConversion") : instance.getProcAddr( "vkDestroySamplerYcbcrConversion"));\r
- vkDestroySamplerYcbcrConversionKHR = PFN_vkDestroySamplerYcbcrConversionKHR(device ? device.getProcAddr( "vkDestroySamplerYcbcrConversionKHR") : instance.getProcAddr( "vkDestroySamplerYcbcrConversionKHR"));\r
- vkDestroySemaphore = PFN_vkDestroySemaphore(device ? device.getProcAddr( "vkDestroySemaphore") : instance.getProcAddr( "vkDestroySemaphore"));\r
- vkDestroyShaderModule = PFN_vkDestroyShaderModule(device ? device.getProcAddr( "vkDestroyShaderModule") : instance.getProcAddr( "vkDestroyShaderModule"));\r
- vkDestroySurfaceKHR = PFN_vkDestroySurfaceKHR(instance.getProcAddr( "vkDestroySurfaceKHR"));\r
- vkDestroySwapchainKHR = PFN_vkDestroySwapchainKHR(device ? device.getProcAddr( "vkDestroySwapchainKHR") : instance.getProcAddr( "vkDestroySwapchainKHR"));\r
- vkDestroyValidationCacheEXT = PFN_vkDestroyValidationCacheEXT(device ? device.getProcAddr( "vkDestroyValidationCacheEXT") : instance.getProcAddr( "vkDestroyValidationCacheEXT"));\r
- vkDeviceWaitIdle = PFN_vkDeviceWaitIdle(device ? device.getProcAddr( "vkDeviceWaitIdle") : instance.getProcAddr( "vkDeviceWaitIdle"));\r
- vkDisplayPowerControlEXT = PFN_vkDisplayPowerControlEXT(device ? device.getProcAddr( "vkDisplayPowerControlEXT") : instance.getProcAddr( "vkDisplayPowerControlEXT"));\r
- vkEndCommandBuffer = PFN_vkEndCommandBuffer(device ? device.getProcAddr( "vkEndCommandBuffer") : instance.getProcAddr( "vkEndCommandBuffer"));\r
- vkEnumerateDeviceExtensionProperties = PFN_vkEnumerateDeviceExtensionProperties(device ? device.getProcAddr( "vkEnumerateDeviceExtensionProperties") : instance.getProcAddr( "vkEnumerateDeviceExtensionProperties"));\r
- vkEnumerateDeviceLayerProperties = PFN_vkEnumerateDeviceLayerProperties(device ? device.getProcAddr( "vkEnumerateDeviceLayerProperties") : instance.getProcAddr( "vkEnumerateDeviceLayerProperties"));\r
- vkEnumerateInstanceExtensionProperties = PFN_vkEnumerateInstanceExtensionProperties(instance.getProcAddr( "vkEnumerateInstanceExtensionProperties"));\r
- vkEnumerateInstanceLayerProperties = PFN_vkEnumerateInstanceLayerProperties(instance.getProcAddr( "vkEnumerateInstanceLayerProperties"));\r
- vkEnumerateInstanceVersion = PFN_vkEnumerateInstanceVersion(instance.getProcAddr( "vkEnumerateInstanceVersion"));\r
- vkEnumeratePhysicalDeviceGroups = PFN_vkEnumeratePhysicalDeviceGroups(instance.getProcAddr( "vkEnumeratePhysicalDeviceGroups"));\r
- vkEnumeratePhysicalDeviceGroupsKHR = PFN_vkEnumeratePhysicalDeviceGroupsKHR(instance.getProcAddr( "vkEnumeratePhysicalDeviceGroupsKHR"));\r
- vkEnumeratePhysicalDevices = PFN_vkEnumeratePhysicalDevices(instance.getProcAddr( "vkEnumeratePhysicalDevices"));\r
- vkFlushMappedMemoryRanges = PFN_vkFlushMappedMemoryRanges(device ? device.getProcAddr( "vkFlushMappedMemoryRanges") : instance.getProcAddr( "vkFlushMappedMemoryRanges"));\r
- vkFreeCommandBuffers = PFN_vkFreeCommandBuffers(device ? device.getProcAddr( "vkFreeCommandBuffers") : instance.getProcAddr( "vkFreeCommandBuffers"));\r
- vkFreeDescriptorSets = PFN_vkFreeDescriptorSets(device ? device.getProcAddr( "vkFreeDescriptorSets") : instance.getProcAddr( "vkFreeDescriptorSets"));\r
- vkFreeMemory = PFN_vkFreeMemory(device ? device.getProcAddr( "vkFreeMemory") : instance.getProcAddr( "vkFreeMemory"));\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- vkGetAndroidHardwareBufferPropertiesANDROID = PFN_vkGetAndroidHardwareBufferPropertiesANDROID(device ? device.getProcAddr( "vkGetAndroidHardwareBufferPropertiesANDROID") : instance.getProcAddr( "vkGetAndroidHardwareBufferPropertiesANDROID"));\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- vkGetBufferMemoryRequirements = PFN_vkGetBufferMemoryRequirements(device ? device.getProcAddr( "vkGetBufferMemoryRequirements") : instance.getProcAddr( "vkGetBufferMemoryRequirements"));\r
- vkGetBufferMemoryRequirements2 = PFN_vkGetBufferMemoryRequirements2(device ? device.getProcAddr( "vkGetBufferMemoryRequirements2") : instance.getProcAddr( "vkGetBufferMemoryRequirements2"));\r
- vkGetBufferMemoryRequirements2KHR = PFN_vkGetBufferMemoryRequirements2KHR(device ? device.getProcAddr( "vkGetBufferMemoryRequirements2KHR") : instance.getProcAddr( "vkGetBufferMemoryRequirements2KHR"));\r
- vkGetDescriptorSetLayoutSupport = PFN_vkGetDescriptorSetLayoutSupport(device ? device.getProcAddr( "vkGetDescriptorSetLayoutSupport") : instance.getProcAddr( "vkGetDescriptorSetLayoutSupport"));\r
- vkGetDescriptorSetLayoutSupportKHR = PFN_vkGetDescriptorSetLayoutSupportKHR(device ? device.getProcAddr( "vkGetDescriptorSetLayoutSupportKHR") : instance.getProcAddr( "vkGetDescriptorSetLayoutSupportKHR"));\r
- vkGetDeviceGroupPeerMemoryFeatures = PFN_vkGetDeviceGroupPeerMemoryFeatures(device ? device.getProcAddr( "vkGetDeviceGroupPeerMemoryFeatures") : instance.getProcAddr( "vkGetDeviceGroupPeerMemoryFeatures"));\r
- vkGetDeviceGroupPeerMemoryFeaturesKHR = PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR(device ? device.getProcAddr( "vkGetDeviceGroupPeerMemoryFeaturesKHR") : instance.getProcAddr( "vkGetDeviceGroupPeerMemoryFeaturesKHR"));\r
- vkGetDeviceGroupPresentCapabilitiesKHR = PFN_vkGetDeviceGroupPresentCapabilitiesKHR(device ? device.getProcAddr( "vkGetDeviceGroupPresentCapabilitiesKHR") : instance.getProcAddr( "vkGetDeviceGroupPresentCapabilitiesKHR"));\r
- vkGetDeviceGroupSurfacePresentModesKHR = PFN_vkGetDeviceGroupSurfacePresentModesKHR(device ? device.getProcAddr( "vkGetDeviceGroupSurfacePresentModesKHR") : instance.getProcAddr( "vkGetDeviceGroupSurfacePresentModesKHR"));\r
- vkGetDeviceMemoryCommitment = PFN_vkGetDeviceMemoryCommitment(device ? device.getProcAddr( "vkGetDeviceMemoryCommitment") : instance.getProcAddr( "vkGetDeviceMemoryCommitment"));\r
- vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr(device ? device.getProcAddr( "vkGetDeviceProcAddr") : instance.getProcAddr( "vkGetDeviceProcAddr"));\r
- vkGetDeviceQueue = PFN_vkGetDeviceQueue(device ? device.getProcAddr( "vkGetDeviceQueue") : instance.getProcAddr( "vkGetDeviceQueue"));\r
- vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2(device ? device.getProcAddr( "vkGetDeviceQueue2") : instance.getProcAddr( "vkGetDeviceQueue2"));\r
- vkGetDisplayModePropertiesKHR = PFN_vkGetDisplayModePropertiesKHR(device ? device.getProcAddr( "vkGetDisplayModePropertiesKHR") : instance.getProcAddr( "vkGetDisplayModePropertiesKHR"));\r
- vkGetDisplayPlaneCapabilitiesKHR = PFN_vkGetDisplayPlaneCapabilitiesKHR(device ? device.getProcAddr( "vkGetDisplayPlaneCapabilitiesKHR") : instance.getProcAddr( "vkGetDisplayPlaneCapabilitiesKHR"));\r
- vkGetDisplayPlaneSupportedDisplaysKHR = PFN_vkGetDisplayPlaneSupportedDisplaysKHR(device ? device.getProcAddr( "vkGetDisplayPlaneSupportedDisplaysKHR") : instance.getProcAddr( "vkGetDisplayPlaneSupportedDisplaysKHR"));\r
- vkGetEventStatus = PFN_vkGetEventStatus(device ? device.getProcAddr( "vkGetEventStatus") : instance.getProcAddr( "vkGetEventStatus"));\r
- vkGetFenceFdKHR = PFN_vkGetFenceFdKHR(device ? device.getProcAddr( "vkGetFenceFdKHR") : instance.getProcAddr( "vkGetFenceFdKHR"));\r
- vkGetFenceStatus = PFN_vkGetFenceStatus(device ? device.getProcAddr( "vkGetFenceStatus") : instance.getProcAddr( "vkGetFenceStatus"));\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkGetFenceWin32HandleKHR = PFN_vkGetFenceWin32HandleKHR(device ? device.getProcAddr( "vkGetFenceWin32HandleKHR") : instance.getProcAddr( "vkGetFenceWin32HandleKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- vkGetImageMemoryRequirements = PFN_vkGetImageMemoryRequirements(device ? device.getProcAddr( "vkGetImageMemoryRequirements") : instance.getProcAddr( "vkGetImageMemoryRequirements"));\r
- vkGetImageMemoryRequirements2 = PFN_vkGetImageMemoryRequirements2(device ? device.getProcAddr( "vkGetImageMemoryRequirements2") : instance.getProcAddr( "vkGetImageMemoryRequirements2"));\r
- vkGetImageMemoryRequirements2KHR = PFN_vkGetImageMemoryRequirements2KHR(device ? device.getProcAddr( "vkGetImageMemoryRequirements2KHR") : instance.getProcAddr( "vkGetImageMemoryRequirements2KHR"));\r
- vkGetImageSparseMemoryRequirements = PFN_vkGetImageSparseMemoryRequirements(device ? device.getProcAddr( "vkGetImageSparseMemoryRequirements") : instance.getProcAddr( "vkGetImageSparseMemoryRequirements"));\r
- vkGetImageSparseMemoryRequirements2 = PFN_vkGetImageSparseMemoryRequirements2(device ? device.getProcAddr( "vkGetImageSparseMemoryRequirements2") : instance.getProcAddr( "vkGetImageSparseMemoryRequirements2"));\r
- vkGetImageSparseMemoryRequirements2KHR = PFN_vkGetImageSparseMemoryRequirements2KHR(device ? device.getProcAddr( "vkGetImageSparseMemoryRequirements2KHR") : instance.getProcAddr( "vkGetImageSparseMemoryRequirements2KHR"));\r
- vkGetImageSubresourceLayout = PFN_vkGetImageSubresourceLayout(device ? device.getProcAddr( "vkGetImageSubresourceLayout") : instance.getProcAddr( "vkGetImageSubresourceLayout"));\r
- vkGetInstanceProcAddr = PFN_vkGetInstanceProcAddr(instance.getProcAddr( "vkGetInstanceProcAddr"));\r
-#ifdef VK_USE_PLATFORM_ANDROID_ANDROID\r
- vkGetMemoryAndroidHardwareBufferANDROID = PFN_vkGetMemoryAndroidHardwareBufferANDROID(device ? device.getProcAddr( "vkGetMemoryAndroidHardwareBufferANDROID") : instance.getProcAddr( "vkGetMemoryAndroidHardwareBufferANDROID"));\r
-#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/\r
- vkGetMemoryFdKHR = PFN_vkGetMemoryFdKHR(device ? device.getProcAddr( "vkGetMemoryFdKHR") : instance.getProcAddr( "vkGetMemoryFdKHR"));\r
- vkGetMemoryFdPropertiesKHR = PFN_vkGetMemoryFdPropertiesKHR(device ? device.getProcAddr( "vkGetMemoryFdPropertiesKHR") : instance.getProcAddr( "vkGetMemoryFdPropertiesKHR"));\r
- vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT(device ? device.getProcAddr( "vkGetMemoryHostPointerPropertiesEXT") : instance.getProcAddr( "vkGetMemoryHostPointerPropertiesEXT"));\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkGetMemoryWin32HandleKHR = PFN_vkGetMemoryWin32HandleKHR(device ? device.getProcAddr( "vkGetMemoryWin32HandleKHR") : instance.getProcAddr( "vkGetMemoryWin32HandleKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_NV\r
- vkGetMemoryWin32HandleNV = PFN_vkGetMemoryWin32HandleNV(device ? device.getProcAddr( "vkGetMemoryWin32HandleNV") : instance.getProcAddr( "vkGetMemoryWin32HandleNV"));\r
-#endif /*VK_USE_PLATFORM_WIN32_NV*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkGetMemoryWin32HandlePropertiesKHR = PFN_vkGetMemoryWin32HandlePropertiesKHR(device ? device.getProcAddr( "vkGetMemoryWin32HandlePropertiesKHR") : instance.getProcAddr( "vkGetMemoryWin32HandlePropertiesKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- vkGetPastPresentationTimingGOOGLE = PFN_vkGetPastPresentationTimingGOOGLE(device ? device.getProcAddr( "vkGetPastPresentationTimingGOOGLE") : instance.getProcAddr( "vkGetPastPresentationTimingGOOGLE"));\r
- vkGetPhysicalDeviceDisplayPlanePropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceDisplayPlanePropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceDisplayPlanePropertiesKHR"));\r
- vkGetPhysicalDeviceDisplayPropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceDisplayPropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceDisplayPropertiesKHR"));\r
- vkGetPhysicalDeviceExternalBufferProperties = PFN_vkGetPhysicalDeviceExternalBufferProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalBufferProperties") : instance.getProcAddr( "vkGetPhysicalDeviceExternalBufferProperties"));\r
- vkGetPhysicalDeviceExternalBufferPropertiesKHR = PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalBufferPropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceExternalBufferPropertiesKHR"));\r
- vkGetPhysicalDeviceExternalFenceProperties = PFN_vkGetPhysicalDeviceExternalFenceProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalFenceProperties") : instance.getProcAddr( "vkGetPhysicalDeviceExternalFenceProperties"));\r
- vkGetPhysicalDeviceExternalFencePropertiesKHR = PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalFencePropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceExternalFencePropertiesKHR"));\r
- vkGetPhysicalDeviceExternalImageFormatPropertiesNV = PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalImageFormatPropertiesNV") : instance.getProcAddr( "vkGetPhysicalDeviceExternalImageFormatPropertiesNV"));\r
- vkGetPhysicalDeviceExternalSemaphoreProperties = PFN_vkGetPhysicalDeviceExternalSemaphoreProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalSemaphoreProperties") : instance.getProcAddr( "vkGetPhysicalDeviceExternalSemaphoreProperties"));\r
- vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR"));\r
- vkGetPhysicalDeviceFeatures = PFN_vkGetPhysicalDeviceFeatures(device ? device.getProcAddr( "vkGetPhysicalDeviceFeatures") : instance.getProcAddr( "vkGetPhysicalDeviceFeatures"));\r
- vkGetPhysicalDeviceFeatures2 = PFN_vkGetPhysicalDeviceFeatures2(device ? device.getProcAddr( "vkGetPhysicalDeviceFeatures2") : instance.getProcAddr( "vkGetPhysicalDeviceFeatures2"));\r
- vkGetPhysicalDeviceFeatures2KHR = PFN_vkGetPhysicalDeviceFeatures2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceFeatures2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceFeatures2KHR"));\r
- vkGetPhysicalDeviceFormatProperties = PFN_vkGetPhysicalDeviceFormatProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceFormatProperties") : instance.getProcAddr( "vkGetPhysicalDeviceFormatProperties"));\r
- vkGetPhysicalDeviceFormatProperties2 = PFN_vkGetPhysicalDeviceFormatProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceFormatProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceFormatProperties2"));\r
- vkGetPhysicalDeviceFormatProperties2KHR = PFN_vkGetPhysicalDeviceFormatProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceFormatProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceFormatProperties2KHR"));\r
- vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX = PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(device ? device.getProcAddr( "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX") : instance.getProcAddr( "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX"));\r
- vkGetPhysicalDeviceImageFormatProperties = PFN_vkGetPhysicalDeviceImageFormatProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties") : instance.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties"));\r
- vkGetPhysicalDeviceImageFormatProperties2 = PFN_vkGetPhysicalDeviceImageFormatProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2"));\r
- vkGetPhysicalDeviceImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceImageFormatProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2KHR"));\r
- vkGetPhysicalDeviceMemoryProperties = PFN_vkGetPhysicalDeviceMemoryProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceMemoryProperties") : instance.getProcAddr( "vkGetPhysicalDeviceMemoryProperties"));\r
- vkGetPhysicalDeviceMemoryProperties2 = PFN_vkGetPhysicalDeviceMemoryProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2"));\r
- vkGetPhysicalDeviceMemoryProperties2KHR = PFN_vkGetPhysicalDeviceMemoryProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2KHR"));\r
-#ifdef VK_USE_PLATFORM_MIR_KHR\r
- vkGetPhysicalDeviceMirPresentationSupportKHR = PFN_vkGetPhysicalDeviceMirPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceMirPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceMirPresentationSupportKHR"));\r
-#endif /*VK_USE_PLATFORM_MIR_KHR*/\r
- vkGetPhysicalDeviceMultisamplePropertiesEXT = PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT(device ? device.getProcAddr( "vkGetPhysicalDeviceMultisamplePropertiesEXT") : instance.getProcAddr( "vkGetPhysicalDeviceMultisamplePropertiesEXT"));\r
- vkGetPhysicalDevicePresentRectanglesKHR = PFN_vkGetPhysicalDevicePresentRectanglesKHR(device ? device.getProcAddr( "vkGetPhysicalDevicePresentRectanglesKHR") : instance.getProcAddr( "vkGetPhysicalDevicePresentRectanglesKHR"));\r
- vkGetPhysicalDeviceProperties = PFN_vkGetPhysicalDeviceProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceProperties") : instance.getProcAddr( "vkGetPhysicalDeviceProperties"));\r
- vkGetPhysicalDeviceProperties2 = PFN_vkGetPhysicalDeviceProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceProperties2"));\r
- vkGetPhysicalDeviceProperties2KHR = PFN_vkGetPhysicalDeviceProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceProperties2KHR"));\r
- vkGetPhysicalDeviceQueueFamilyProperties = PFN_vkGetPhysicalDeviceQueueFamilyProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties") : instance.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties"));\r
- vkGetPhysicalDeviceQueueFamilyProperties2 = PFN_vkGetPhysicalDeviceQueueFamilyProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2"));\r
- vkGetPhysicalDeviceQueueFamilyProperties2KHR = PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2KHR"));\r
- vkGetPhysicalDeviceSparseImageFormatProperties = PFN_vkGetPhysicalDeviceSparseImageFormatProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties") : instance.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties"));\r
- vkGetPhysicalDeviceSparseImageFormatProperties2 = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2"));\r
- vkGetPhysicalDeviceSparseImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2KHR"));\r
- vkGetPhysicalDeviceSurfaceCapabilities2EXT = PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2EXT") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2EXT"));\r
- vkGetPhysicalDeviceSurfaceCapabilities2KHR = PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2KHR"));\r
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR = PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilitiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilitiesKHR"));\r
- vkGetPhysicalDeviceSurfaceFormats2KHR = PFN_vkGetPhysicalDeviceSurfaceFormats2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceFormats2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceFormats2KHR"));\r
- vkGetPhysicalDeviceSurfaceFormatsKHR = PFN_vkGetPhysicalDeviceSurfaceFormatsKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceFormatsKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceFormatsKHR"));\r
- vkGetPhysicalDeviceSurfacePresentModesKHR = PFN_vkGetPhysicalDeviceSurfacePresentModesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfacePresentModesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfacePresentModesKHR"));\r
- vkGetPhysicalDeviceSurfaceSupportKHR = PFN_vkGetPhysicalDeviceSurfaceSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceSupportKHR"));\r
-#ifdef VK_USE_PLATFORM_WAYLAND_KHR\r
- vkGetPhysicalDeviceWaylandPresentationSupportKHR = PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceWaylandPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceWaylandPresentationSupportKHR"));\r
-#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkGetPhysicalDeviceWin32PresentationSupportKHR = PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceWin32PresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceWin32PresentationSupportKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
-#ifdef VK_USE_PLATFORM_XCB_KHR\r
- vkGetPhysicalDeviceXcbPresentationSupportKHR = PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceXcbPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceXcbPresentationSupportKHR"));\r
-#endif /*VK_USE_PLATFORM_XCB_KHR*/\r
-#ifdef VK_USE_PLATFORM_XLIB_KHR\r
- vkGetPhysicalDeviceXlibPresentationSupportKHR = PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceXlibPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceXlibPresentationSupportKHR"));\r
-#endif /*VK_USE_PLATFORM_XLIB_KHR*/\r
- vkGetPipelineCacheData = PFN_vkGetPipelineCacheData(device ? device.getProcAddr( "vkGetPipelineCacheData") : instance.getProcAddr( "vkGetPipelineCacheData"));\r
- vkGetQueryPoolResults = PFN_vkGetQueryPoolResults(device ? device.getProcAddr( "vkGetQueryPoolResults") : instance.getProcAddr( "vkGetQueryPoolResults"));\r
-#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV\r
- vkGetRandROutputDisplayEXT = PFN_vkGetRandROutputDisplayEXT(device ? device.getProcAddr( "vkGetRandROutputDisplayEXT") : instance.getProcAddr( "vkGetRandROutputDisplayEXT"));\r
-#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/\r
- vkGetRefreshCycleDurationGOOGLE = PFN_vkGetRefreshCycleDurationGOOGLE(device ? device.getProcAddr( "vkGetRefreshCycleDurationGOOGLE") : instance.getProcAddr( "vkGetRefreshCycleDurationGOOGLE"));\r
- vkGetRenderAreaGranularity = PFN_vkGetRenderAreaGranularity(device ? device.getProcAddr( "vkGetRenderAreaGranularity") : instance.getProcAddr( "vkGetRenderAreaGranularity"));\r
- vkGetSemaphoreFdKHR = PFN_vkGetSemaphoreFdKHR(device ? device.getProcAddr( "vkGetSemaphoreFdKHR") : instance.getProcAddr( "vkGetSemaphoreFdKHR"));\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkGetSemaphoreWin32HandleKHR = PFN_vkGetSemaphoreWin32HandleKHR(device ? device.getProcAddr( "vkGetSemaphoreWin32HandleKHR") : instance.getProcAddr( "vkGetSemaphoreWin32HandleKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD(device ? device.getProcAddr( "vkGetShaderInfoAMD") : instance.getProcAddr( "vkGetShaderInfoAMD"));\r
- vkGetSwapchainCounterEXT = PFN_vkGetSwapchainCounterEXT(device ? device.getProcAddr( "vkGetSwapchainCounterEXT") : instance.getProcAddr( "vkGetSwapchainCounterEXT"));\r
- vkGetSwapchainImagesKHR = PFN_vkGetSwapchainImagesKHR(device ? device.getProcAddr( "vkGetSwapchainImagesKHR") : instance.getProcAddr( "vkGetSwapchainImagesKHR"));\r
- vkGetSwapchainStatusKHR = PFN_vkGetSwapchainStatusKHR(device ? device.getProcAddr( "vkGetSwapchainStatusKHR") : instance.getProcAddr( "vkGetSwapchainStatusKHR"));\r
- vkGetValidationCacheDataEXT = PFN_vkGetValidationCacheDataEXT(device ? device.getProcAddr( "vkGetValidationCacheDataEXT") : instance.getProcAddr( "vkGetValidationCacheDataEXT"));\r
- vkImportFenceFdKHR = PFN_vkImportFenceFdKHR(device ? device.getProcAddr( "vkImportFenceFdKHR") : instance.getProcAddr( "vkImportFenceFdKHR"));\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkImportFenceWin32HandleKHR = PFN_vkImportFenceWin32HandleKHR(device ? device.getProcAddr( "vkImportFenceWin32HandleKHR") : instance.getProcAddr( "vkImportFenceWin32HandleKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- vkImportSemaphoreFdKHR = PFN_vkImportSemaphoreFdKHR(device ? device.getProcAddr( "vkImportSemaphoreFdKHR") : instance.getProcAddr( "vkImportSemaphoreFdKHR"));\r
-#ifdef VK_USE_PLATFORM_WIN32_KHR\r
- vkImportSemaphoreWin32HandleKHR = PFN_vkImportSemaphoreWin32HandleKHR(device ? device.getProcAddr( "vkImportSemaphoreWin32HandleKHR") : instance.getProcAddr( "vkImportSemaphoreWin32HandleKHR"));\r
-#endif /*VK_USE_PLATFORM_WIN32_KHR*/\r
- vkInvalidateMappedMemoryRanges = PFN_vkInvalidateMappedMemoryRanges(device ? device.getProcAddr( "vkInvalidateMappedMemoryRanges") : instance.getProcAddr( "vkInvalidateMappedMemoryRanges"));\r
- vkMapMemory = PFN_vkMapMemory(device ? device.getProcAddr( "vkMapMemory") : instance.getProcAddr( "vkMapMemory"));\r
- vkMergePipelineCaches = PFN_vkMergePipelineCaches(device ? device.getProcAddr( "vkMergePipelineCaches") : instance.getProcAddr( "vkMergePipelineCaches"));\r
- vkMergeValidationCachesEXT = PFN_vkMergeValidationCachesEXT(device ? device.getProcAddr( "vkMergeValidationCachesEXT") : instance.getProcAddr( "vkMergeValidationCachesEXT"));\r
- vkQueueBeginDebugUtilsLabelEXT = PFN_vkQueueBeginDebugUtilsLabelEXT(device ? device.getProcAddr( "vkQueueBeginDebugUtilsLabelEXT") : instance.getProcAddr( "vkQueueBeginDebugUtilsLabelEXT"));\r
- vkQueueBindSparse = PFN_vkQueueBindSparse(device ? device.getProcAddr( "vkQueueBindSparse") : instance.getProcAddr( "vkQueueBindSparse"));\r
- vkQueueEndDebugUtilsLabelEXT = PFN_vkQueueEndDebugUtilsLabelEXT(device ? device.getProcAddr( "vkQueueEndDebugUtilsLabelEXT") : instance.getProcAddr( "vkQueueEndDebugUtilsLabelEXT"));\r
- vkQueueInsertDebugUtilsLabelEXT = PFN_vkQueueInsertDebugUtilsLabelEXT(device ? device.getProcAddr( "vkQueueInsertDebugUtilsLabelEXT") : instance.getProcAddr( "vkQueueInsertDebugUtilsLabelEXT"));\r
- vkQueuePresentKHR = PFN_vkQueuePresentKHR(device ? device.getProcAddr( "vkQueuePresentKHR") : instance.getProcAddr( "vkQueuePresentKHR"));\r
- vkQueueSubmit = PFN_vkQueueSubmit(device ? device.getProcAddr( "vkQueueSubmit") : instance.getProcAddr( "vkQueueSubmit"));\r
- vkQueueWaitIdle = PFN_vkQueueWaitIdle(device ? device.getProcAddr( "vkQueueWaitIdle") : instance.getProcAddr( "vkQueueWaitIdle"));\r
- vkRegisterDeviceEventEXT = PFN_vkRegisterDeviceEventEXT(device ? device.getProcAddr( "vkRegisterDeviceEventEXT") : instance.getProcAddr( "vkRegisterDeviceEventEXT"));\r
- vkRegisterDisplayEventEXT = PFN_vkRegisterDisplayEventEXT(device ? device.getProcAddr( "vkRegisterDisplayEventEXT") : instance.getProcAddr( "vkRegisterDisplayEventEXT"));\r
- vkRegisterObjectsNVX = PFN_vkRegisterObjectsNVX(device ? device.getProcAddr( "vkRegisterObjectsNVX") : instance.getProcAddr( "vkRegisterObjectsNVX"));\r
- vkReleaseDisplayEXT = PFN_vkReleaseDisplayEXT(device ? device.getProcAddr( "vkReleaseDisplayEXT") : instance.getProcAddr( "vkReleaseDisplayEXT"));\r
- vkResetCommandBuffer = PFN_vkResetCommandBuffer(device ? device.getProcAddr( "vkResetCommandBuffer") : instance.getProcAddr( "vkResetCommandBuffer"));\r
- vkResetCommandPool = PFN_vkResetCommandPool(device ? device.getProcAddr( "vkResetCommandPool") : instance.getProcAddr( "vkResetCommandPool"));\r
- vkResetDescriptorPool = PFN_vkResetDescriptorPool(device ? device.getProcAddr( "vkResetDescriptorPool") : instance.getProcAddr( "vkResetDescriptorPool"));\r
- vkResetEvent = PFN_vkResetEvent(device ? device.getProcAddr( "vkResetEvent") : instance.getProcAddr( "vkResetEvent"));\r
- vkResetFences = PFN_vkResetFences(device ? device.getProcAddr( "vkResetFences") : instance.getProcAddr( "vkResetFences"));\r
- vkSetDebugUtilsObjectNameEXT = PFN_vkSetDebugUtilsObjectNameEXT(device ? device.getProcAddr( "vkSetDebugUtilsObjectNameEXT") : instance.getProcAddr( "vkSetDebugUtilsObjectNameEXT"));\r
- vkSetDebugUtilsObjectTagEXT = PFN_vkSetDebugUtilsObjectTagEXT(device ? device.getProcAddr( "vkSetDebugUtilsObjectTagEXT") : instance.getProcAddr( "vkSetDebugUtilsObjectTagEXT"));\r
- vkSetEvent = PFN_vkSetEvent(device ? device.getProcAddr( "vkSetEvent") : instance.getProcAddr( "vkSetEvent"));\r
- vkSetHdrMetadataEXT = PFN_vkSetHdrMetadataEXT(device ? device.getProcAddr( "vkSetHdrMetadataEXT") : instance.getProcAddr( "vkSetHdrMetadataEXT"));\r
- vkSubmitDebugUtilsMessageEXT = PFN_vkSubmitDebugUtilsMessageEXT(instance.getProcAddr( "vkSubmitDebugUtilsMessageEXT"));\r
- vkTrimCommandPool = PFN_vkTrimCommandPool(device ? device.getProcAddr( "vkTrimCommandPool") : instance.getProcAddr( "vkTrimCommandPool"));\r
- vkTrimCommandPoolKHR = PFN_vkTrimCommandPoolKHR(device ? device.getProcAddr( "vkTrimCommandPoolKHR") : instance.getProcAddr( "vkTrimCommandPoolKHR"));\r
- vkUnmapMemory = PFN_vkUnmapMemory(device ? device.getProcAddr( "vkUnmapMemory") : instance.getProcAddr( "vkUnmapMemory"));\r
- vkUnregisterObjectsNVX = PFN_vkUnregisterObjectsNVX(device ? device.getProcAddr( "vkUnregisterObjectsNVX") : instance.getProcAddr( "vkUnregisterObjectsNVX"));\r
- vkUpdateDescriptorSetWithTemplate = PFN_vkUpdateDescriptorSetWithTemplate(device ? device.getProcAddr( "vkUpdateDescriptorSetWithTemplate") : instance.getProcAddr( "vkUpdateDescriptorSetWithTemplate"));\r
- vkUpdateDescriptorSetWithTemplateKHR = PFN_vkUpdateDescriptorSetWithTemplateKHR(device ? device.getProcAddr( "vkUpdateDescriptorSetWithTemplateKHR") : instance.getProcAddr( "vkUpdateDescriptorSetWithTemplateKHR"));\r
- vkUpdateDescriptorSets = PFN_vkUpdateDescriptorSets(device ? device.getProcAddr( "vkUpdateDescriptorSets") : instance.getProcAddr( "vkUpdateDescriptorSets"));\r
- vkWaitForFences = PFN_vkWaitForFences(device ? device.getProcAddr( "vkWaitForFences") : instance.getProcAddr( "vkWaitForFences"));\r
- }\r
- };\r
-} // namespace VULKAN_HPP_NAMESPACE\r
-\r
-#endif\r
+// Copyright (c) 2015-2018 The Khronos Group Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// This header is generated from the Khronos Vulkan XML API Registry.
+
+#ifndef VULKAN_HPP
+#define VULKAN_HPP
+
+#include <algorithm>
+#include <array>
+#include <cstddef>
+#include <cstdint>
+#include <cstring>
+#include <initializer_list>
+#include <string>
+#include <system_error>
+#include <tuple>
+#include <type_traits>
+#include <vulkan/vulkan.h>
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+# include <memory>
+# include <vector>
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#if !defined(VULKAN_HPP_ASSERT)
+# include <cassert>
+# define VULKAN_HPP_ASSERT assert
+#endif
+static_assert( VK_HEADER_VERSION == 75 , "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
+#if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
+# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION )
+# define VULKAN_HPP_TYPESAFE_CONVERSION
+# endif
+#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__)
+# define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
+# 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 __forceinline
+# 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(_MSC_VER) && (_MSC_VER <= 1800)
+# define VULKAN_HPP_CONSTEXPR
+#else
+# define VULKAN_HPP_CONSTEXPR constexpr
+#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)
+
+namespace VULKAN_HPP_NAMESPACE
+{
+
+ template <typename FlagBitsType> struct FlagTraits
+ {
+ enum { allFlags = 0 };
+ };
+
+ template <typename BitType, typename MaskType = VkFlags>
+ class Flags
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Flags()
+ : m_mask(0)
+ {
+ }
+
+ Flags(BitType bit)
+ : m_mask(static_cast<MaskType>(bit))
+ {
+ }
+
+ Flags(Flags<BitType> const& rhs)
+ : m_mask(rhs.m_mask)
+ {
+ }
+
+ explicit Flags(MaskType flags)
+ : m_mask(flags)
+ {
+ }
+
+ Flags<BitType> & operator=(Flags<BitType> const& rhs)
+ {
+ m_mask = rhs.m_mask;
+ return *this;
+ }
+
+ Flags<BitType> & operator|=(Flags<BitType> const& rhs)
+ {
+ m_mask |= rhs.m_mask;
+ return *this;
+ }
+
+ Flags<BitType> & operator&=(Flags<BitType> const& rhs)
+ {
+ m_mask &= rhs.m_mask;
+ return *this;
+ }
+
+ Flags<BitType> & operator^=(Flags<BitType> const& rhs)
+ {
+ m_mask ^= rhs.m_mask;
+ return *this;
+ }
+
+ Flags<BitType> operator|(Flags<BitType> const& rhs) const
+ {
+ Flags<BitType> result(*this);
+ result |= rhs;
+ return result;
+ }
+
+ Flags<BitType> operator&(Flags<BitType> const& rhs) const
+ {
+ Flags<BitType> result(*this);
+ result &= rhs;
+ return result;
+ }
+
+ Flags<BitType> operator^(Flags<BitType> const& rhs) const
+ {
+ Flags<BitType> result(*this);
+ result ^= rhs;
+ return result;
+ }
+
+ bool operator!() const
+ {
+ return !m_mask;
+ }
+
+ Flags<BitType> operator~() const
+ {
+ Flags<BitType> result(*this);
+ result.m_mask ^= FlagTraits<BitType>::allFlags;
+ return result;
+ }
+
+ bool operator==(Flags<BitType> const& rhs) const
+ {
+ return m_mask == rhs.m_mask;
+ }
+
+ bool operator!=(Flags<BitType> const& rhs) const
+ {
+ return m_mask != rhs.m_mask;
+ }
+
+ explicit operator bool() const
+ {
+ return !!m_mask;
+ }
+
+ explicit operator MaskType() const
+ {
+ return m_mask;
+ }
+
+ private:
+ MaskType m_mask;
+ };
+
+ template <typename BitType>
+ Flags<BitType> operator|(BitType bit, Flags<BitType> const& flags)
+ {
+ return flags | bit;
+ }
+
+ template <typename BitType>
+ Flags<BitType> operator&(BitType bit, Flags<BitType> const& flags)
+ {
+ return flags & bit;
+ }
+
+ template <typename BitType>
+ Flags<BitType> operator^(BitType bit, Flags<BitType> const& flags)
+ {
+ return flags ^ bit;
+ }
+
+
+ template <typename RefType>
+ class Optional
+ {
+ public:
+ Optional(RefType & reference) { m_ptr = &reference; }
+ Optional(RefType * ptr) { m_ptr = ptr; }
+ Optional(std::nullptr_t) { m_ptr = nullptr; }
+
+ operator RefType*() const { return m_ptr; }
+ RefType const* operator->() const { return m_ptr; }
+ explicit operator bool() const { return !!m_ptr; }
+
+ private:
+ RefType *m_ptr;
+ };
+
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename T>
+ class ArrayProxy
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR ArrayProxy(std::nullptr_t)
+ : m_count(0)
+ , m_ptr(nullptr)
+ {}
+
+ ArrayProxy(T & ptr)
+ : m_count(1)
+ , m_ptr(&ptr)
+ {}
+
+ ArrayProxy(uint32_t count, T * ptr)
+ : m_count(count)
+ , m_ptr(ptr)
+ {}
+
+ template <size_t N>
+ ArrayProxy(std::array<typename std::remove_const<T>::type, N> & data)
+ : m_count(N)
+ , m_ptr(data.data())
+ {}
+
+ template <size_t N>
+ ArrayProxy(std::array<typename std::remove_const<T>::type, N> const& data)
+ : m_count(N)
+ , m_ptr(data.data())
+ {}
+
+ template <class Allocator = std::allocator<typename std::remove_const<T>::type>>
+ ArrayProxy(std::vector<typename std::remove_const<T>::type, Allocator> & data)
+ : m_count(static_cast<uint32_t>(data.size()))
+ , m_ptr(data.data())
+ {}
+
+ template <class Allocator = std::allocator<typename std::remove_const<T>::type>>
+ ArrayProxy(std::vector<typename std::remove_const<T>::type, Allocator> const& data)
+ : m_count(static_cast<uint32_t>(data.size()))
+ , m_ptr(data.data())
+ {}
+
+ ArrayProxy(std::initializer_list<T> const& data)
+ : m_count(static_cast<uint32_t>(data.end() - data.begin()))
+ , m_ptr(data.begin())
+ {}
+
+ const T * begin() const
+ {
+ return m_ptr;
+ }
+
+ const T * end() const
+ {
+ return m_ptr + m_count;
+ }
+
+ const T & front() const
+ {
+ VULKAN_HPP_ASSERT(m_count && m_ptr);
+ return *m_ptr;
+ }
+
+ const T & back() const
+ {
+ VULKAN_HPP_ASSERT(m_count && m_ptr);
+ return *(m_ptr + m_count - 1);
+ }
+
+ bool empty() const
+ {
+ return (m_count == 0);
+ }
+
+ uint32_t size() const
+ {
+ return m_count;
+ }
+
+ T * data() const
+ {
+ return m_ptr;
+ }
+
+ private:
+ uint32_t m_count;
+ T * m_ptr;
+ };
+#endif
+
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+
+ template <typename Type> class UniqueHandleTraits;
+
+ template <typename Type>
+ class UniqueHandle : public UniqueHandleTraits<Type>::deleter
+ {
+ private:
+ using Deleter = typename UniqueHandleTraits<Type>::deleter;
+ public:
+ explicit UniqueHandle( Type const& value = Type(), Deleter const& deleter = Deleter() )
+ : Deleter( deleter)
+ , m_value( value )
+ {}
+
+ UniqueHandle( UniqueHandle const& ) = delete;
+
+ UniqueHandle( UniqueHandle && other )
+ : Deleter( std::move( static_cast<Deleter&>( other ) ) )
+ , m_value( other.release() )
+ {}
+
+ ~UniqueHandle()
+ {
+ if ( m_value ) this->destroy( m_value );
+ }
+
+ UniqueHandle & operator=( UniqueHandle const& ) = delete;
+
+ UniqueHandle & operator=( UniqueHandle && other )
+ {
+ reset( other.release() );
+ *static_cast<Deleter*>(this) = std::move( static_cast<Deleter&>(other) );
+ return *this;
+ }
+
+ explicit operator bool() const
+ {
+ return m_value.operator bool();
+ }
+
+ Type const* operator->() const
+ {
+ return &m_value;
+ }
+
+ Type * operator->()
+ {
+ return &m_value;
+ }
+
+ Type const& operator*() const
+ {
+ return m_value;
+ }
+
+ Type & operator*()
+ {
+ return m_value;
+ }
+
+ const Type & get() const
+ {
+ return m_value;
+ }
+
+ Type & get()
+ {
+ return m_value;
+ }
+
+ void reset( Type const& value = Type() )
+ {
+ if ( m_value != value )
+ {
+ if ( m_value ) this->destroy( m_value );
+ m_value = value;
+ }
+ }
+
+ Type release()
+ {
+ Type value = m_value;
+ m_value = nullptr;
+ return value;
+ }
+
+ void swap( UniqueHandle<Type> & rhs )
+ {
+ std::swap(m_value, rhs.m_value);
+ std::swap(static_cast<Deleter&>(*this), static_cast<Deleter&>(rhs));
+ }
+
+ private:
+ Type m_value;
+ };
+
+ template <typename Type>
+ VULKAN_HPP_INLINE void swap( UniqueHandle<Type> & lhs, UniqueHandle<Type> & rhs )
+ {
+ lhs.swap( rhs );
+ }
+#endif
+
+
+ template <typename X, typename Y> struct isStructureChainValid { enum { value = false }; };
+
+ template <class Element>
+ class StructureChainElement
+ {
+ public:
+ explicit operator Element&() { return value; }
+ explicit operator const Element&() const { return value; }
+ private:
+ Element value;
+ };
+
+ template<typename ...StructureElements>
+ class StructureChain : private StructureChainElement<StructureElements>...
+ {
+ public:
+ StructureChain()
+ {
+ link<StructureElements...>();
+ }
+
+ StructureChain(StructureChain const &rhs)
+ {
+ linkAndCopy<StructureElements...>(rhs);
+ }
+
+ StructureChain(StructureElements const &... elems)
+ {
+ linkAndCopyElements<StructureElements...>(elems...);
+ }
+
+ StructureChain& operator=(StructureChain const &rhs)
+ {
+ linkAndCopy<StructureElements...>(rhs);
+ return *this;
+ }
+
+ template<typename ClassType> ClassType& get() { return static_cast<ClassType&>(*this);}
+
+ private:
+ template<typename X>
+ void link()
+ {
+ }
+
+ template<typename X, typename Y, typename ...Z>
+ void link()
+ {
+ static_assert(isStructureChainValid<X,Y>::value, "The structure chain is not valid!");
+ X& x = static_cast<X&>(*this);
+ Y& y = static_cast<Y&>(*this);
+ x.pNext = &y;
+ link<Y, Z...>();
+ }
+
+ template<typename X>
+ void linkAndCopy(StructureChain const &rhs)
+ {
+ static_cast<X&>(*this) = static_cast<X const &>(rhs);
+ }
+
+ template<typename X, typename Y, typename ...Z>
+ void linkAndCopy(StructureChain const &rhs)
+ {
+ static_assert(isStructureChainValid<X,Y>::value, "The structure chain is not valid!");
+ X& x = static_cast<X&>(*this);
+ Y& y = static_cast<Y&>(*this);
+ x = static_cast<X const &>(rhs);
+ x.pNext = &y;
+ linkAndCopy<Y, Z...>(rhs);
+ }
+
+ template<typename X>
+ void linkAndCopyElements(X const &xelem)
+ {
+ static_cast<X&>(*this) = xelem;
+ }
+
+ template<typename X, typename Y, typename ...Z>
+ void linkAndCopyElements(X const &xelem, Y const &yelem, Z const &... zelem)
+ {
+ static_assert(isStructureChainValid<X,Y>::value, "The structure chain is not valid!");
+ X& x = static_cast<X&>(*this);
+ Y& y = static_cast<Y&>(*this);
+ x = xelem;
+ x.pNext = &y;
+ linkAndCopyElements<Y, Z...>(yelem, zelem...);
+ }
+ };
+
+ enum class Result
+ {
+ eSuccess = VK_SUCCESS,
+ eNotReady = VK_NOT_READY,
+ eTimeout = VK_TIMEOUT,
+ eEventSet = VK_EVENT_SET,
+ eEventReset = VK_EVENT_RESET,
+ eIncomplete = VK_INCOMPLETE,
+ eErrorOutOfHostMemory = VK_ERROR_OUT_OF_HOST_MEMORY,
+ eErrorOutOfDeviceMemory = VK_ERROR_OUT_OF_DEVICE_MEMORY,
+ eErrorInitializationFailed = VK_ERROR_INITIALIZATION_FAILED,
+ eErrorDeviceLost = VK_ERROR_DEVICE_LOST,
+ eErrorMemoryMapFailed = VK_ERROR_MEMORY_MAP_FAILED,
+ eErrorLayerNotPresent = VK_ERROR_LAYER_NOT_PRESENT,
+ eErrorExtensionNotPresent = VK_ERROR_EXTENSION_NOT_PRESENT,
+ eErrorFeatureNotPresent = VK_ERROR_FEATURE_NOT_PRESENT,
+ eErrorIncompatibleDriver = VK_ERROR_INCOMPATIBLE_DRIVER,
+ eErrorTooManyObjects = VK_ERROR_TOO_MANY_OBJECTS,
+ eErrorFormatNotSupported = VK_ERROR_FORMAT_NOT_SUPPORTED,
+ eErrorFragmentedPool = VK_ERROR_FRAGMENTED_POOL,
+ eErrorOutOfPoolMemory = VK_ERROR_OUT_OF_POOL_MEMORY,
+ eErrorOutOfPoolMemoryKHR = VK_ERROR_OUT_OF_POOL_MEMORY,
+ eErrorInvalidExternalHandle = VK_ERROR_INVALID_EXTERNAL_HANDLE,
+ eErrorInvalidExternalHandleKHR = VK_ERROR_INVALID_EXTERNAL_HANDLE,
+ eErrorSurfaceLostKHR = VK_ERROR_SURFACE_LOST_KHR,
+ eErrorNativeWindowInUseKHR = VK_ERROR_NATIVE_WINDOW_IN_USE_KHR,
+ eSuboptimalKHR = VK_SUBOPTIMAL_KHR,
+ eErrorOutOfDateKHR = VK_ERROR_OUT_OF_DATE_KHR,
+ eErrorIncompatibleDisplayKHR = VK_ERROR_INCOMPATIBLE_DISPLAY_KHR,
+ eErrorValidationFailedEXT = VK_ERROR_VALIDATION_FAILED_EXT,
+ eErrorInvalidShaderNV = VK_ERROR_INVALID_SHADER_NV,
+ eErrorFragmentationEXT = VK_ERROR_FRAGMENTATION_EXT,
+ eErrorNotPermittedEXT = VK_ERROR_NOT_PERMITTED_EXT
+ };
+
+ VULKAN_HPP_INLINE std::string to_string(Result value)
+ {
+ switch (value)
+ {
+ case Result::eSuccess: return "Success";
+ case Result::eNotReady: return "NotReady";
+ case Result::eTimeout: return "Timeout";
+ case Result::eEventSet: return "EventSet";
+ case Result::eEventReset: return "EventReset";
+ case Result::eIncomplete: return "Incomplete";
+ case Result::eErrorOutOfHostMemory: return "ErrorOutOfHostMemory";
+ case Result::eErrorOutOfDeviceMemory: return "ErrorOutOfDeviceMemory";
+ case Result::eErrorInitializationFailed: return "ErrorInitializationFailed";
+ case Result::eErrorDeviceLost: return "ErrorDeviceLost";
+ case Result::eErrorMemoryMapFailed: return "ErrorMemoryMapFailed";
+ case Result::eErrorLayerNotPresent: return "ErrorLayerNotPresent";
+ case Result::eErrorExtensionNotPresent: return "ErrorExtensionNotPresent";
+ case Result::eErrorFeatureNotPresent: return "ErrorFeatureNotPresent";
+ case Result::eErrorIncompatibleDriver: return "ErrorIncompatibleDriver";
+ case Result::eErrorTooManyObjects: return "ErrorTooManyObjects";
+ case Result::eErrorFormatNotSupported: return "ErrorFormatNotSupported";
+ case Result::eErrorFragmentedPool: return "ErrorFragmentedPool";
+ case Result::eErrorOutOfPoolMemory: return "ErrorOutOfPoolMemory";
+ case Result::eErrorInvalidExternalHandle: return "ErrorInvalidExternalHandle";
+ case Result::eErrorSurfaceLostKHR: return "ErrorSurfaceLostKHR";
+ case Result::eErrorNativeWindowInUseKHR: return "ErrorNativeWindowInUseKHR";
+ case Result::eSuboptimalKHR: return "SuboptimalKHR";
+ case Result::eErrorOutOfDateKHR: return "ErrorOutOfDateKHR";
+ case Result::eErrorIncompatibleDisplayKHR: return "ErrorIncompatibleDisplayKHR";
+ case Result::eErrorValidationFailedEXT: return "ErrorValidationFailedEXT";
+ case Result::eErrorInvalidShaderNV: return "ErrorInvalidShaderNV";
+ case Result::eErrorFragmentationEXT: return "ErrorFragmentationEXT";
+ case Result::eErrorNotPermittedEXT: return "ErrorNotPermittedEXT";
+ default: return "invalid";
+ }
+ }
+
+#ifndef VULKAN_HPP_NO_EXCEPTIONS
+#if defined(_MSC_VER) && (_MSC_VER == 1800)
+# define noexcept _NOEXCEPT
+#endif
+
+ class ErrorCategoryImpl : public std::error_category
+ {
+ public:
+ virtual const char* name() const noexcept override { return VULKAN_HPP_NAMESPACE_STRING"::Result"; }
+ virtual std::string message(int ev) const override { return to_string(static_cast<Result>(ev)); }
+ };
+
+#if defined(_MSC_VER) && (_MSC_VER == 1800)
+# undef noexcept
+#endif
+
+ VULKAN_HPP_INLINE const std::error_category& errorCategory()
+ {
+ static ErrorCategoryImpl instance;
+ return instance;
+ }
+
+ VULKAN_HPP_INLINE std::error_code make_error_code(Result e)
+ {
+ return std::error_code(static_cast<int>(e), errorCategory());
+ }
+
+ VULKAN_HPP_INLINE std::error_condition make_error_condition(Result e)
+ {
+ return std::error_condition(static_cast<int>(e), errorCategory());
+ }
+
+#if defined(_MSC_VER) && (_MSC_VER == 1800)
+# define noexcept _NOEXCEPT
+#endif
+
+ class Error
+ {
+ public:
+ virtual ~Error() = default;
+
+ virtual const char* what() const noexcept = 0;
+ };
+
+ class LogicError : public Error, public std::logic_error
+ {
+ public:
+ explicit LogicError( const std::string& what )
+ : Error(), std::logic_error(what) {}
+ explicit LogicError( char const * what )
+ : Error(), std::logic_error(what) {}
+ virtual ~LogicError() = default;
+
+ virtual const char* what() const noexcept { return std::logic_error::what(); }
+ };
+
+ class SystemError : public Error, public std::system_error
+ {
+ public:
+ SystemError( std::error_code ec )
+ : Error(), std::system_error(ec) {}
+ SystemError( std::error_code ec, std::string const& what )
+ : Error(), std::system_error(ec, what) {}
+ SystemError( std::error_code ec, char const * what )
+ : Error(), std::system_error(ec, what) {}
+ SystemError( int ev, std::error_category const& ecat )
+ : Error(), std::system_error(ev, ecat) {}
+ SystemError( int ev, std::error_category const& ecat, std::string const& what)
+ : Error(), std::system_error(ev, ecat, what) {}
+ SystemError( int ev, std::error_category const& ecat, char const * what)
+ : Error(), std::system_error(ev, ecat, what) {}
+ virtual ~SystemError() = default;
+
+ virtual const char* what() const noexcept { return std::system_error::what(); }
+ };
+
+#if defined(_MSC_VER) && (_MSC_VER == 1800)
+# undef noexcept
+#endif
+
+ class OutOfHostMemoryError : public SystemError
+ {
+ public:
+ OutOfHostMemoryError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) {}
+ OutOfHostMemoryError( char const * message )
+ : SystemError( make_error_code( Result::eErrorOutOfHostMemory ), message ) {}
+ };
+ class OutOfDeviceMemoryError : public SystemError
+ {
+ public:
+ OutOfDeviceMemoryError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) {}
+ OutOfDeviceMemoryError( char const * message )
+ : SystemError( make_error_code( Result::eErrorOutOfDeviceMemory ), message ) {}
+ };
+ class InitializationFailedError : public SystemError
+ {
+ public:
+ InitializationFailedError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) {}
+ InitializationFailedError( char const * message )
+ : SystemError( make_error_code( Result::eErrorInitializationFailed ), message ) {}
+ };
+ class DeviceLostError : public SystemError
+ {
+ public:
+ DeviceLostError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) {}
+ DeviceLostError( char const * message )
+ : SystemError( make_error_code( Result::eErrorDeviceLost ), message ) {}
+ };
+ class MemoryMapFailedError : public SystemError
+ {
+ public:
+ MemoryMapFailedError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) {}
+ MemoryMapFailedError( char const * message )
+ : SystemError( make_error_code( Result::eErrorMemoryMapFailed ), message ) {}
+ };
+ class LayerNotPresentError : public SystemError
+ {
+ public:
+ LayerNotPresentError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) {}
+ LayerNotPresentError( char const * message )
+ : SystemError( make_error_code( Result::eErrorLayerNotPresent ), message ) {}
+ };
+ class ExtensionNotPresentError : public SystemError
+ {
+ public:
+ ExtensionNotPresentError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) {}
+ ExtensionNotPresentError( char const * message )
+ : SystemError( make_error_code( Result::eErrorExtensionNotPresent ), message ) {}
+ };
+ class FeatureNotPresentError : public SystemError
+ {
+ public:
+ FeatureNotPresentError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) {}
+ FeatureNotPresentError( char const * message )
+ : SystemError( make_error_code( Result::eErrorFeatureNotPresent ), message ) {}
+ };
+ class IncompatibleDriverError : public SystemError
+ {
+ public:
+ IncompatibleDriverError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) {}
+ IncompatibleDriverError( char const * message )
+ : SystemError( make_error_code( Result::eErrorIncompatibleDriver ), message ) {}
+ };
+ class TooManyObjectsError : public SystemError
+ {
+ public:
+ TooManyObjectsError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) {}
+ TooManyObjectsError( char const * message )
+ : SystemError( make_error_code( Result::eErrorTooManyObjects ), message ) {}
+ };
+ class FormatNotSupportedError : public SystemError
+ {
+ public:
+ FormatNotSupportedError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) {}
+ FormatNotSupportedError( char const * message )
+ : SystemError( make_error_code( Result::eErrorFormatNotSupported ), message ) {}
+ };
+ class FragmentedPoolError : public SystemError
+ {
+ public:
+ FragmentedPoolError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) {}
+ FragmentedPoolError( char const * message )
+ : SystemError( make_error_code( Result::eErrorFragmentedPool ), message ) {}
+ };
+ class OutOfPoolMemoryError : public SystemError
+ {
+ public:
+ OutOfPoolMemoryError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) {}
+ OutOfPoolMemoryError( char const * message )
+ : SystemError( make_error_code( Result::eErrorOutOfPoolMemory ), message ) {}
+ };
+ class InvalidExternalHandleError : public SystemError
+ {
+ public:
+ InvalidExternalHandleError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) {}
+ InvalidExternalHandleError( char const * message )
+ : SystemError( make_error_code( Result::eErrorInvalidExternalHandle ), message ) {}
+ };
+ class SurfaceLostKHRError : public SystemError
+ {
+ public:
+ SurfaceLostKHRError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) {}
+ SurfaceLostKHRError( char const * message )
+ : SystemError( make_error_code( Result::eErrorSurfaceLostKHR ), message ) {}
+ };
+ class NativeWindowInUseKHRError : public SystemError
+ {
+ public:
+ NativeWindowInUseKHRError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) {}
+ NativeWindowInUseKHRError( char const * message )
+ : SystemError( make_error_code( Result::eErrorNativeWindowInUseKHR ), message ) {}
+ };
+ class OutOfDateKHRError : public SystemError
+ {
+ public:
+ OutOfDateKHRError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) {}
+ OutOfDateKHRError( char const * message )
+ : SystemError( make_error_code( Result::eErrorOutOfDateKHR ), message ) {}
+ };
+ class IncompatibleDisplayKHRError : public SystemError
+ {
+ public:
+ IncompatibleDisplayKHRError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) {}
+ IncompatibleDisplayKHRError( char const * message )
+ : SystemError( make_error_code( Result::eErrorIncompatibleDisplayKHR ), message ) {}
+ };
+ class ValidationFailedEXTError : public SystemError
+ {
+ public:
+ ValidationFailedEXTError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) {}
+ ValidationFailedEXTError( char const * message )
+ : SystemError( make_error_code( Result::eErrorValidationFailedEXT ), message ) {}
+ };
+ class InvalidShaderNVError : public SystemError
+ {
+ public:
+ InvalidShaderNVError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) {}
+ InvalidShaderNVError( char const * message )
+ : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) {}
+ };
+ class FragmentationEXTError : public SystemError
+ {
+ public:
+ FragmentationEXTError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorFragmentationEXT ), message ) {}
+ FragmentationEXTError( char const * message )
+ : SystemError( make_error_code( Result::eErrorFragmentationEXT ), message ) {}
+ };
+ class NotPermittedEXTError : public SystemError
+ {
+ public:
+ NotPermittedEXTError( std::string const& message )
+ : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) {}
+ NotPermittedEXTError( char const * message )
+ : SystemError( make_error_code( Result::eErrorNotPermittedEXT ), message ) {}
+ };
+
+ VULKAN_HPP_INLINE void throwResultException( Result result, char const * message )
+ {
+ switch ( result )
+ {
+ case Result::eErrorOutOfHostMemory: throw OutOfHostMemoryError ( message );
+ case Result::eErrorOutOfDeviceMemory: throw OutOfDeviceMemoryError ( message );
+ case Result::eErrorInitializationFailed: throw InitializationFailedError ( message );
+ case Result::eErrorDeviceLost: throw DeviceLostError ( message );
+ case Result::eErrorMemoryMapFailed: throw MemoryMapFailedError ( message );
+ case Result::eErrorLayerNotPresent: throw LayerNotPresentError ( message );
+ case Result::eErrorExtensionNotPresent: throw ExtensionNotPresentError ( message );
+ case Result::eErrorFeatureNotPresent: throw FeatureNotPresentError ( message );
+ case Result::eErrorIncompatibleDriver: throw IncompatibleDriverError ( message );
+ case Result::eErrorTooManyObjects: throw TooManyObjectsError ( message );
+ case Result::eErrorFormatNotSupported: throw FormatNotSupportedError ( message );
+ case Result::eErrorFragmentedPool: throw FragmentedPoolError ( message );
+ case Result::eErrorOutOfPoolMemory: throw OutOfPoolMemoryError ( message );
+ case Result::eErrorInvalidExternalHandle: throw InvalidExternalHandleError ( message );
+ case Result::eErrorSurfaceLostKHR: throw SurfaceLostKHRError ( message );
+ case Result::eErrorNativeWindowInUseKHR: throw NativeWindowInUseKHRError ( message );
+ case Result::eErrorOutOfDateKHR: throw OutOfDateKHRError ( message );
+ case Result::eErrorIncompatibleDisplayKHR: throw IncompatibleDisplayKHRError ( message );
+ case Result::eErrorValidationFailedEXT: throw ValidationFailedEXTError ( message );
+ case Result::eErrorInvalidShaderNV: throw InvalidShaderNVError ( message );
+ case Result::eErrorFragmentationEXT: throw FragmentationEXTError ( message );
+ case Result::eErrorNotPermittedEXT: throw NotPermittedEXTError ( message );
+ default: throw SystemError( make_error_code( result ) );
+ }
+ }
+#endif
+} // namespace VULKAN_HPP_NAMESPACE
+
+namespace std
+{
+ template <>
+ struct is_error_code_enum<VULKAN_HPP_NAMESPACE::Result> : public true_type
+ {};
+}
+
+namespace VULKAN_HPP_NAMESPACE
+{
+
+ template <typename T>
+ struct ResultValue
+ {
+ ResultValue( Result r, T & v )
+ : result( r )
+ , value( v )
+ {}
+
+ ResultValue( Result r, T && v )
+ : result( r )
+ , value( std::move( v ) )
+ {}
+
+ Result result;
+ T value;
+
+ operator std::tuple<Result&, T&>() { return std::tuple<Result&, T&>(result, value); }
+ };
+
+ template <typename T>
+ struct ResultValueType
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ typedef ResultValue<T> type;
+#else
+ typedef T type;
+#endif
+ };
+
+ template <>
+ struct ResultValueType<void>
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ typedef Result type;
+#else
+ typedef void type;
+#endif
+ };
+
+ VULKAN_HPP_INLINE ResultValueType<void>::type createResultValue( Result result, char const * message )
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( result == Result::eSuccess );
+ return result;
+#else
+ if ( result != Result::eSuccess )
+ {
+ throwResultException( result, message );
+ }
+#endif
+ }
+
+ template <typename T>
+ VULKAN_HPP_INLINE typename ResultValueType<T>::type createResultValue( Result result, T & data, char const * message )
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( result == Result::eSuccess );
+ return ResultValue<T>( result, data );
+#else
+ if ( result != Result::eSuccess )
+ {
+ throwResultException( result, message );
+ }
+ return std::move( data );
+#endif
+ }
+
+ VULKAN_HPP_INLINE Result createResultValue( Result result, char const * message, std::initializer_list<Result> successCodes )
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() );
+#else
+ if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() )
+ {
+ throwResultException( result, message );
+ }
+#endif
+ return result;
+ }
+
+ template <typename T>
+ VULKAN_HPP_INLINE ResultValue<T> createResultValue( Result result, T & data, char const * message, std::initializer_list<Result> successCodes )
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( std::find( successCodes.begin(), successCodes.end(), result ) != successCodes.end() );
+#else
+ if ( std::find( successCodes.begin(), successCodes.end(), result ) == successCodes.end() )
+ {
+ throwResultException( result, message );
+ }
+#endif
+ return ResultValue<T>( result, data );
+ }
+
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename T>
+ VULKAN_HPP_INLINE typename ResultValueType<UniqueHandle<T>>::type createResultValue( Result result, T & data, char const * message, typename UniqueHandleTraits<T>::deleter const& deleter )
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( result == Result::eSuccess );
+ return ResultValue<UniqueHandle<T>>( result, UniqueHandle<T>(data, deleter) );
+#else
+ if ( result != Result::eSuccess )
+ {
+ throwResultException( result, message );
+ }
+ return UniqueHandle<T>(data, deleter);
+#endif
+ }
+#endif
+
+
+ struct AllocationCallbacks;
+
+ template <typename OwnerType>
+ class ObjectDestroy
+ {
+ public:
+ ObjectDestroy(OwnerType owner = OwnerType(), Optional<const AllocationCallbacks> allocator = nullptr)
+ : m_owner(owner)
+ , m_allocator(allocator)
+ {}
+
+ OwnerType getOwner() const { return m_owner; }
+ Optional<const AllocationCallbacks> getAllocator() const { return m_allocator; }
+
+ protected:
+ template <typename T>
+ void destroy(T t)
+ {
+ m_owner.destroy(t, m_allocator);
+ }
+
+ private:
+ OwnerType m_owner;
+ Optional<const AllocationCallbacks> m_allocator;
+ };
+
+ class NoParent;
+
+ template <>
+ class ObjectDestroy<NoParent>
+ {
+ public:
+ ObjectDestroy( Optional<const AllocationCallbacks> allocator = nullptr )
+ : m_allocator( allocator )
+ {}
+
+ Optional<const AllocationCallbacks> getAllocator() const { return m_allocator; }
+
+ protected:
+ template <typename T>
+ void destroy(T t)
+ {
+ t.destroy( m_allocator );
+ }
+
+ private:
+ Optional<const AllocationCallbacks> m_allocator;
+ };
+
+ template <typename OwnerType>
+ class ObjectFree
+ {
+ public:
+ ObjectFree(OwnerType owner = OwnerType(), Optional<const AllocationCallbacks> allocator = nullptr)
+ : m_owner(owner)
+ , m_allocator(allocator)
+ {}
+
+ OwnerType getOwner() const { return m_owner; }
+ Optional<const AllocationCallbacks> getAllocator() const { return m_allocator; }
+
+ protected:
+ template <typename T>
+ void destroy(T t)
+ {
+ m_owner.free(t, m_allocator);
+ }
+
+ private:
+ OwnerType m_owner;
+ Optional<const AllocationCallbacks> m_allocator;
+ };
+
+ template <typename OwnerType, typename PoolType>
+ class PoolFree
+ {
+ public:
+ PoolFree(OwnerType owner = OwnerType(), PoolType pool = PoolType())
+ : m_owner(owner)
+ , m_pool(pool)
+ {}
+
+ OwnerType getOwner() const { return m_owner; }
+ PoolType getPool() const { return m_pool; }
+
+ protected:
+ template <typename T>
+ void destroy(T t)
+ {
+ m_owner.free(m_pool, t);
+ }
+
+ private:
+ OwnerType m_owner;
+ PoolType m_pool;
+ };
+
+class DispatchLoaderStatic
+{
+public:
+ VkResult vkAcquireNextImage2KHR( VkDevice device, const VkAcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex ) const
+ {
+ return ::vkAcquireNextImage2KHR( device, pAcquireInfo, pImageIndex);
+ }
+ VkResult vkAcquireNextImageKHR( VkDevice device, VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex ) const
+ {
+ return ::vkAcquireNextImageKHR( device, swapchain, timeout, semaphore, fence, pImageIndex);
+ }
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ VkResult vkAcquireXlibDisplayEXT( VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display ) const
+ {
+ return ::vkAcquireXlibDisplayEXT( physicalDevice, dpy, display);
+ }
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+ VkResult vkAllocateCommandBuffers( VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers ) const
+ {
+ return ::vkAllocateCommandBuffers( device, pAllocateInfo, pCommandBuffers);
+ }
+ VkResult vkAllocateDescriptorSets( VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets ) const
+ {
+ return ::vkAllocateDescriptorSets( device, pAllocateInfo, pDescriptorSets);
+ }
+ VkResult vkAllocateMemory( VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory ) const
+ {
+ return ::vkAllocateMemory( device, pAllocateInfo, pAllocator, pMemory);
+ }
+ VkResult vkBeginCommandBuffer( VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo ) const
+ {
+ return ::vkBeginCommandBuffer( commandBuffer, pBeginInfo);
+ }
+ VkResult vkBindBufferMemory( VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset ) const
+ {
+ return ::vkBindBufferMemory( device, buffer, memory, memoryOffset);
+ }
+ VkResult vkBindBufferMemory2( VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos ) const
+ {
+ return ::vkBindBufferMemory2( device, bindInfoCount, pBindInfos);
+ }
+ VkResult vkBindBufferMemory2KHR( VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos ) const
+ {
+ return ::vkBindBufferMemory2KHR( device, bindInfoCount, pBindInfos);
+ }
+ VkResult vkBindImageMemory( VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset ) const
+ {
+ return ::vkBindImageMemory( device, image, memory, memoryOffset);
+ }
+ VkResult vkBindImageMemory2( VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos ) const
+ {
+ return ::vkBindImageMemory2( device, bindInfoCount, pBindInfos);
+ }
+ VkResult vkBindImageMemory2KHR( VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo* pBindInfos ) const
+ {
+ return ::vkBindImageMemory2KHR( device, bindInfoCount, pBindInfos);
+ }
+ void vkCmdBeginDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo ) const
+ {
+ return ::vkCmdBeginDebugUtilsLabelEXT( commandBuffer, pLabelInfo);
+ }
+ void vkCmdBeginQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags ) const
+ {
+ return ::vkCmdBeginQuery( commandBuffer, queryPool, query, flags);
+ }
+ void vkCmdBeginRenderPass( VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents ) const
+ {
+ return ::vkCmdBeginRenderPass( commandBuffer, pRenderPassBegin, contents);
+ }
+ void vkCmdBindDescriptorSets( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets ) const
+ {
+ return ::vkCmdBindDescriptorSets( commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets);
+ }
+ void vkCmdBindIndexBuffer( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType ) const
+ {
+ return ::vkCmdBindIndexBuffer( commandBuffer, buffer, offset, indexType);
+ }
+ void vkCmdBindPipeline( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline ) const
+ {
+ return ::vkCmdBindPipeline( commandBuffer, pipelineBindPoint, pipeline);
+ }
+ void vkCmdBindVertexBuffers( VkCommandBuffer commandBuffer, uint32_t firstBinding, uint32_t bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets ) const
+ {
+ return ::vkCmdBindVertexBuffers( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets);
+ }
+ void vkCmdBlitImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageBlit* pRegions, VkFilter filter ) const
+ {
+ return ::vkCmdBlitImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter);
+ }
+ void vkCmdClearAttachments( VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkClearAttachment* pAttachments, uint32_t rectCount, const VkClearRect* pRects ) const
+ {
+ return ::vkCmdClearAttachments( commandBuffer, attachmentCount, pAttachments, rectCount, pRects);
+ }
+ void vkCmdClearColorImage( VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges ) const
+ {
+ return ::vkCmdClearColorImage( commandBuffer, image, imageLayout, pColor, rangeCount, pRanges);
+ }
+ void vkCmdClearDepthStencilImage( VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const VkImageSubresourceRange* pRanges ) const
+ {
+ return ::vkCmdClearDepthStencilImage( commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges);
+ }
+ void vkCmdCopyBuffer( VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferCopy* pRegions ) const
+ {
+ return ::vkCmdCopyBuffer( commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions);
+ }
+ void vkCmdCopyBufferToImage( VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkBufferImageCopy* pRegions ) const
+ {
+ return ::vkCmdCopyBufferToImage( commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions);
+ }
+ void vkCmdCopyImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageCopy* pRegions ) const
+ {
+ return ::vkCmdCopyImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
+ }
+ void vkCmdCopyImageToBuffer( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const VkBufferImageCopy* pRegions ) const
+ {
+ return ::vkCmdCopyImageToBuffer( commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions);
+ }
+ void vkCmdCopyQueryPoolResults( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags ) const
+ {
+ return ::vkCmdCopyQueryPoolResults( commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags);
+ }
+ void vkCmdDebugMarkerBeginEXT( VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo ) const
+ {
+ return ::vkCmdDebugMarkerBeginEXT( commandBuffer, pMarkerInfo);
+ }
+ void vkCmdDebugMarkerEndEXT( VkCommandBuffer commandBuffer ) const
+ {
+ return ::vkCmdDebugMarkerEndEXT( commandBuffer);
+ }
+ void vkCmdDebugMarkerInsertEXT( VkCommandBuffer commandBuffer, const VkDebugMarkerMarkerInfoEXT* pMarkerInfo ) const
+ {
+ return ::vkCmdDebugMarkerInsertEXT( commandBuffer, pMarkerInfo);
+ }
+ void vkCmdDispatch( VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const
+ {
+ return ::vkCmdDispatch( commandBuffer, groupCountX, groupCountY, groupCountZ);
+ }
+ void vkCmdDispatchBase( VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const
+ {
+ return ::vkCmdDispatchBase( commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);
+ }
+ void vkCmdDispatchBaseKHR( VkCommandBuffer commandBuffer, uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const
+ {
+ return ::vkCmdDispatchBaseKHR( commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ);
+ }
+ void vkCmdDispatchIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset ) const
+ {
+ return ::vkCmdDispatchIndirect( commandBuffer, buffer, offset);
+ }
+ void vkCmdDraw( VkCommandBuffer commandBuffer, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance ) const
+ {
+ return ::vkCmdDraw( commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance);
+ }
+ void vkCmdDrawIndexed( VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance ) const
+ {
+ return ::vkCmdDrawIndexed( commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
+ }
+ void vkCmdDrawIndexedIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) const
+ {
+ return ::vkCmdDrawIndexedIndirect( commandBuffer, buffer, offset, drawCount, stride);
+ }
+ void vkCmdDrawIndexedIndirectCountAMD( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const
+ {
+ return ::vkCmdDrawIndexedIndirectCountAMD( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
+ }
+ void vkCmdDrawIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) const
+ {
+ return ::vkCmdDrawIndirect( commandBuffer, buffer, offset, drawCount, stride);
+ }
+ void vkCmdDrawIndirectCountAMD( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) const
+ {
+ return ::vkCmdDrawIndirectCountAMD( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride);
+ }
+ void vkCmdEndDebugUtilsLabelEXT( VkCommandBuffer commandBuffer ) const
+ {
+ return ::vkCmdEndDebugUtilsLabelEXT( commandBuffer);
+ }
+ void vkCmdEndQuery( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query ) const
+ {
+ return ::vkCmdEndQuery( commandBuffer, queryPool, query);
+ }
+ void vkCmdEndRenderPass( VkCommandBuffer commandBuffer ) const
+ {
+ return ::vkCmdEndRenderPass( commandBuffer);
+ }
+ void vkCmdExecuteCommands( VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers ) const
+ {
+ return ::vkCmdExecuteCommands( commandBuffer, commandBufferCount, pCommandBuffers);
+ }
+ void vkCmdFillBuffer( VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data ) const
+ {
+ return ::vkCmdFillBuffer( commandBuffer, dstBuffer, dstOffset, size, data);
+ }
+ void vkCmdInsertDebugUtilsLabelEXT( VkCommandBuffer commandBuffer, const VkDebugUtilsLabelEXT* pLabelInfo ) const
+ {
+ return ::vkCmdInsertDebugUtilsLabelEXT( commandBuffer, pLabelInfo);
+ }
+ void vkCmdNextSubpass( VkCommandBuffer commandBuffer, VkSubpassContents contents ) const
+ {
+ return ::vkCmdNextSubpass( commandBuffer, contents);
+ }
+ void vkCmdPipelineBarrier( VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers ) const
+ {
+ return ::vkCmdPipelineBarrier( commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
+ }
+ void vkCmdProcessCommandsNVX( VkCommandBuffer commandBuffer, const VkCmdProcessCommandsInfoNVX* pProcessCommandsInfo ) const
+ {
+ return ::vkCmdProcessCommandsNVX( commandBuffer, pProcessCommandsInfo);
+ }
+ void vkCmdPushConstants( VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues ) const
+ {
+ return ::vkCmdPushConstants( commandBuffer, layout, stageFlags, offset, size, pValues);
+ }
+ void vkCmdPushDescriptorSetKHR( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites ) const
+ {
+ return ::vkCmdPushDescriptorSetKHR( commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites);
+ }
+ void vkCmdPushDescriptorSetWithTemplateKHR( VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const void* pData ) const
+ {
+ return ::vkCmdPushDescriptorSetWithTemplateKHR( commandBuffer, descriptorUpdateTemplate, layout, set, pData);
+ }
+ void vkCmdReserveSpaceForCommandsNVX( VkCommandBuffer commandBuffer, const VkCmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo ) const
+ {
+ return ::vkCmdReserveSpaceForCommandsNVX( commandBuffer, pReserveSpaceInfo);
+ }
+ void vkCmdResetEvent( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask ) const
+ {
+ return ::vkCmdResetEvent( commandBuffer, event, stageMask);
+ }
+ void vkCmdResetQueryPool( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) const
+ {
+ return ::vkCmdResetQueryPool( commandBuffer, queryPool, firstQuery, queryCount);
+ }
+ void vkCmdResolveImage( VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const VkImageResolve* pRegions ) const
+ {
+ return ::vkCmdResolveImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions);
+ }
+ void vkCmdSetBlendConstants( VkCommandBuffer commandBuffer, const float blendConstants[4] ) const
+ {
+ return ::vkCmdSetBlendConstants( commandBuffer, blendConstants);
+ }
+ void vkCmdSetDepthBias( VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor ) const
+ {
+ return ::vkCmdSetDepthBias( commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor);
+ }
+ void vkCmdSetDepthBounds( VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds ) const
+ {
+ return ::vkCmdSetDepthBounds( commandBuffer, minDepthBounds, maxDepthBounds);
+ }
+ void vkCmdSetDeviceMask( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const
+ {
+ return ::vkCmdSetDeviceMask( commandBuffer, deviceMask);
+ }
+ void vkCmdSetDeviceMaskKHR( VkCommandBuffer commandBuffer, uint32_t deviceMask ) const
+ {
+ return ::vkCmdSetDeviceMaskKHR( commandBuffer, deviceMask);
+ }
+ void vkCmdSetDiscardRectangleEXT( VkCommandBuffer commandBuffer, uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const VkRect2D* pDiscardRectangles ) const
+ {
+ return ::vkCmdSetDiscardRectangleEXT( commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles);
+ }
+ void vkCmdSetEvent( VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask ) const
+ {
+ return ::vkCmdSetEvent( commandBuffer, event, stageMask);
+ }
+ void vkCmdSetLineWidth( VkCommandBuffer commandBuffer, float lineWidth ) const
+ {
+ return ::vkCmdSetLineWidth( commandBuffer, lineWidth);
+ }
+ void vkCmdSetSampleLocationsEXT( VkCommandBuffer commandBuffer, const VkSampleLocationsInfoEXT* pSampleLocationsInfo ) const
+ {
+ return ::vkCmdSetSampleLocationsEXT( commandBuffer, pSampleLocationsInfo);
+ }
+ void vkCmdSetScissor( VkCommandBuffer commandBuffer, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D* pScissors ) const
+ {
+ return ::vkCmdSetScissor( commandBuffer, firstScissor, scissorCount, pScissors);
+ }
+ void vkCmdSetStencilCompareMask( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t compareMask ) const
+ {
+ return ::vkCmdSetStencilCompareMask( commandBuffer, faceMask, compareMask);
+ }
+ void vkCmdSetStencilReference( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t reference ) const
+ {
+ return ::vkCmdSetStencilReference( commandBuffer, faceMask, reference);
+ }
+ void vkCmdSetStencilWriteMask( VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint32_t writeMask ) const
+ {
+ return ::vkCmdSetStencilWriteMask( commandBuffer, faceMask, writeMask);
+ }
+ void vkCmdSetViewport( VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewport* pViewports ) const
+ {
+ return ::vkCmdSetViewport( commandBuffer, firstViewport, viewportCount, pViewports);
+ }
+ void vkCmdSetViewportWScalingNV( VkCommandBuffer commandBuffer, uint32_t firstViewport, uint32_t viewportCount, const VkViewportWScalingNV* pViewportWScalings ) const
+ {
+ return ::vkCmdSetViewportWScalingNV( commandBuffer, firstViewport, viewportCount, pViewportWScalings);
+ }
+ void vkCmdUpdateBuffer( VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData ) const
+ {
+ return ::vkCmdUpdateBuffer( commandBuffer, dstBuffer, dstOffset, dataSize, pData);
+ }
+ void vkCmdWaitEvents( VkCommandBuffer commandBuffer, uint32_t eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers ) const
+ {
+ return ::vkCmdWaitEvents( commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers);
+ }
+ void vkCmdWriteBufferMarkerAMD( VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker ) const
+ {
+ return ::vkCmdWriteBufferMarkerAMD( commandBuffer, pipelineStage, dstBuffer, dstOffset, marker);
+ }
+ void vkCmdWriteTimestamp( VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query ) const
+ {
+ return ::vkCmdWriteTimestamp( commandBuffer, pipelineStage, queryPool, query);
+ }
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ VkResult vkCreateAndroidSurfaceKHR( VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateAndroidSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+ VkResult vkCreateBuffer( VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer ) const
+ {
+ return ::vkCreateBuffer( device, pCreateInfo, pAllocator, pBuffer);
+ }
+ VkResult vkCreateBufferView( VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView ) const
+ {
+ return ::vkCreateBufferView( device, pCreateInfo, pAllocator, pView);
+ }
+ VkResult vkCreateCommandPool( VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool ) const
+ {
+ return ::vkCreateCommandPool( device, pCreateInfo, pAllocator, pCommandPool);
+ }
+ VkResult vkCreateComputePipelines( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const
+ {
+ return ::vkCreateComputePipelines( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
+ }
+ VkResult vkCreateDebugReportCallbackEXT( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback ) const
+ {
+ return ::vkCreateDebugReportCallbackEXT( instance, pCreateInfo, pAllocator, pCallback);
+ }
+ VkResult vkCreateDebugUtilsMessengerEXT( VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugUtilsMessengerEXT* pMessenger ) const
+ {
+ return ::vkCreateDebugUtilsMessengerEXT( instance, pCreateInfo, pAllocator, pMessenger);
+ }
+ VkResult vkCreateDescriptorPool( VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool ) const
+ {
+ return ::vkCreateDescriptorPool( device, pCreateInfo, pAllocator, pDescriptorPool);
+ }
+ VkResult vkCreateDescriptorSetLayout( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout ) const
+ {
+ return ::vkCreateDescriptorSetLayout( device, pCreateInfo, pAllocator, pSetLayout);
+ }
+ VkResult vkCreateDescriptorUpdateTemplate( VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) const
+ {
+ return ::vkCreateDescriptorUpdateTemplate( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
+ }
+ VkResult vkCreateDescriptorUpdateTemplateKHR( VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) const
+ {
+ return ::vkCreateDescriptorUpdateTemplateKHR( device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate);
+ }
+ VkResult vkCreateDevice( VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDevice* pDevice ) const
+ {
+ return ::vkCreateDevice( physicalDevice, pCreateInfo, pAllocator, pDevice);
+ }
+ VkResult vkCreateDisplayModeKHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, const VkDisplayModeCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode ) const
+ {
+ return ::vkCreateDisplayModeKHR( physicalDevice, display, pCreateInfo, pAllocator, pMode);
+ }
+ VkResult vkCreateDisplayPlaneSurfaceKHR( VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateDisplayPlaneSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);
+ }
+ VkResult vkCreateEvent( VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkEvent* pEvent ) const
+ {
+ return ::vkCreateEvent( device, pCreateInfo, pAllocator, pEvent);
+ }
+ VkResult vkCreateFence( VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const
+ {
+ return ::vkCreateFence( device, pCreateInfo, pAllocator, pFence);
+ }
+ VkResult vkCreateFramebuffer( VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer ) const
+ {
+ return ::vkCreateFramebuffer( device, pCreateInfo, pAllocator, pFramebuffer);
+ }
+ VkResult vkCreateGraphicsPipelines( VkDevice device, VkPipelineCache pipelineCache, uint32_t createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines ) const
+ {
+ return ::vkCreateGraphicsPipelines( device, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines);
+ }
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ VkResult vkCreateIOSSurfaceMVK( VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateIOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+ VkResult vkCreateImage( VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage ) const
+ {
+ return ::vkCreateImage( device, pCreateInfo, pAllocator, pImage);
+ }
+ VkResult vkCreateImageView( VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView ) const
+ {
+ return ::vkCreateImageView( device, pCreateInfo, pAllocator, pView);
+ }
+ VkResult vkCreateIndirectCommandsLayoutNVX( VkDevice device, const VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout ) const
+ {
+ return ::vkCreateIndirectCommandsLayoutNVX( device, pCreateInfo, pAllocator, pIndirectCommandsLayout);
+ }
+ VkResult vkCreateInstance( const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance ) const
+ {
+ return ::vkCreateInstance( pCreateInfo, pAllocator, pInstance);
+ }
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ VkResult vkCreateMacOSSurfaceMVK( VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateMacOSSurfaceMVK( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ VkResult vkCreateMirSurfaceKHR( VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateMirSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+ VkResult vkCreateObjectTableNVX( VkDevice device, const VkObjectTableCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkObjectTableNVX* pObjectTable ) const
+ {
+ return ::vkCreateObjectTableNVX( device, pCreateInfo, pAllocator, pObjectTable);
+ }
+ VkResult vkCreatePipelineCache( VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache ) const
+ {
+ return ::vkCreatePipelineCache( device, pCreateInfo, pAllocator, pPipelineCache);
+ }
+ VkResult vkCreatePipelineLayout( VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout ) const
+ {
+ return ::vkCreatePipelineLayout( device, pCreateInfo, pAllocator, pPipelineLayout);
+ }
+ VkResult vkCreateQueryPool( VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool ) const
+ {
+ return ::vkCreateQueryPool( device, pCreateInfo, pAllocator, pQueryPool);
+ }
+ VkResult vkCreateRenderPass( VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass ) const
+ {
+ return ::vkCreateRenderPass( device, pCreateInfo, pAllocator, pRenderPass);
+ }
+ VkResult vkCreateSampler( VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler ) const
+ {
+ return ::vkCreateSampler( device, pCreateInfo, pAllocator, pSampler);
+ }
+ VkResult vkCreateSamplerYcbcrConversion( VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion ) const
+ {
+ return ::vkCreateSamplerYcbcrConversion( device, pCreateInfo, pAllocator, pYcbcrConversion);
+ }
+ VkResult vkCreateSamplerYcbcrConversionKHR( VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion ) const
+ {
+ return ::vkCreateSamplerYcbcrConversionKHR( device, pCreateInfo, pAllocator, pYcbcrConversion);
+ }
+ VkResult vkCreateSemaphore( VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore ) const
+ {
+ return ::vkCreateSemaphore( device, pCreateInfo, pAllocator, pSemaphore);
+ }
+ VkResult vkCreateShaderModule( VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule ) const
+ {
+ return ::vkCreateShaderModule( device, pCreateInfo, pAllocator, pShaderModule);
+ }
+ VkResult vkCreateSharedSwapchainsKHR( VkDevice device, uint32_t swapchainCount, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains ) const
+ {
+ return ::vkCreateSharedSwapchainsKHR( device, swapchainCount, pCreateInfos, pAllocator, pSwapchains);
+ }
+ VkResult vkCreateSwapchainKHR( VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain ) const
+ {
+ return ::vkCreateSwapchainKHR( device, pCreateInfo, pAllocator, pSwapchain);
+ }
+ VkResult vkCreateValidationCacheEXT( VkDevice device, const VkValidationCacheCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkValidationCacheEXT* pValidationCache ) const
+ {
+ return ::vkCreateValidationCacheEXT( device, pCreateInfo, pAllocator, pValidationCache);
+ }
+#ifdef VK_USE_PLATFORM_VI_NN
+ VkResult vkCreateViSurfaceNN( VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateViSurfaceNN( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_VI_NN*/
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ VkResult vkCreateWaylandSurfaceKHR( VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateWaylandSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkResult vkCreateWin32SurfaceKHR( VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateWin32SurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ VkResult vkCreateXcbSurfaceKHR( VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateXcbSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ VkResult vkCreateXlibSurfaceKHR( VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface ) const
+ {
+ return ::vkCreateXlibSurfaceKHR( instance, pCreateInfo, pAllocator, pSurface);
+ }
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+ VkResult vkDebugMarkerSetObjectNameEXT( VkDevice device, const VkDebugMarkerObjectNameInfoEXT* pNameInfo ) const
+ {
+ return ::vkDebugMarkerSetObjectNameEXT( device, pNameInfo);
+ }
+ VkResult vkDebugMarkerSetObjectTagEXT( VkDevice device, const VkDebugMarkerObjectTagInfoEXT* pTagInfo ) const
+ {
+ return ::vkDebugMarkerSetObjectTagEXT( device, pTagInfo);
+ }
+ void vkDebugReportMessageEXT( VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage ) const
+ {
+ return ::vkDebugReportMessageEXT( instance, flags, objectType, object, location, messageCode, pLayerPrefix, pMessage);
+ }
+ void vkDestroyBuffer( VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyBuffer( device, buffer, pAllocator);
+ }
+ void vkDestroyBufferView( VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyBufferView( device, bufferView, pAllocator);
+ }
+ void vkDestroyCommandPool( VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyCommandPool( device, commandPool, pAllocator);
+ }
+ void vkDestroyDebugReportCallbackEXT( VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyDebugReportCallbackEXT( instance, callback, pAllocator);
+ }
+ void vkDestroyDebugUtilsMessengerEXT( VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyDebugUtilsMessengerEXT( instance, messenger, pAllocator);
+ }
+ void vkDestroyDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyDescriptorPool( device, descriptorPool, pAllocator);
+ }
+ void vkDestroyDescriptorSetLayout( VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyDescriptorSetLayout( device, descriptorSetLayout, pAllocator);
+ }
+ void vkDestroyDescriptorUpdateTemplate( VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyDescriptorUpdateTemplate( device, descriptorUpdateTemplate, pAllocator);
+ }
+ void vkDestroyDescriptorUpdateTemplateKHR( VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyDescriptorUpdateTemplateKHR( device, descriptorUpdateTemplate, pAllocator);
+ }
+ void vkDestroyDevice( VkDevice device, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyDevice( device, pAllocator);
+ }
+ void vkDestroyEvent( VkDevice device, VkEvent event, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyEvent( device, event, pAllocator);
+ }
+ void vkDestroyFence( VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyFence( device, fence, pAllocator);
+ }
+ void vkDestroyFramebuffer( VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyFramebuffer( device, framebuffer, pAllocator);
+ }
+ void vkDestroyImage( VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyImage( device, image, pAllocator);
+ }
+ void vkDestroyImageView( VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyImageView( device, imageView, pAllocator);
+ }
+ void vkDestroyIndirectCommandsLayoutNVX( VkDevice device, VkIndirectCommandsLayoutNVX indirectCommandsLayout, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyIndirectCommandsLayoutNVX( device, indirectCommandsLayout, pAllocator);
+ }
+ void vkDestroyInstance( VkInstance instance, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyInstance( instance, pAllocator);
+ }
+ void vkDestroyObjectTableNVX( VkDevice device, VkObjectTableNVX objectTable, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyObjectTableNVX( device, objectTable, pAllocator);
+ }
+ void vkDestroyPipeline( VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyPipeline( device, pipeline, pAllocator);
+ }
+ void vkDestroyPipelineCache( VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyPipelineCache( device, pipelineCache, pAllocator);
+ }
+ void vkDestroyPipelineLayout( VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyPipelineLayout( device, pipelineLayout, pAllocator);
+ }
+ void vkDestroyQueryPool( VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyQueryPool( device, queryPool, pAllocator);
+ }
+ void vkDestroyRenderPass( VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyRenderPass( device, renderPass, pAllocator);
+ }
+ void vkDestroySampler( VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroySampler( device, sampler, pAllocator);
+ }
+ void vkDestroySamplerYcbcrConversion( VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroySamplerYcbcrConversion( device, ycbcrConversion, pAllocator);
+ }
+ void vkDestroySamplerYcbcrConversionKHR( VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroySamplerYcbcrConversionKHR( device, ycbcrConversion, pAllocator);
+ }
+ void vkDestroySemaphore( VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroySemaphore( device, semaphore, pAllocator);
+ }
+ void vkDestroyShaderModule( VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyShaderModule( device, shaderModule, pAllocator);
+ }
+ void vkDestroySurfaceKHR( VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroySurfaceKHR( instance, surface, pAllocator);
+ }
+ void vkDestroySwapchainKHR( VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroySwapchainKHR( device, swapchain, pAllocator);
+ }
+ void vkDestroyValidationCacheEXT( VkDevice device, VkValidationCacheEXT validationCache, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkDestroyValidationCacheEXT( device, validationCache, pAllocator);
+ }
+ VkResult vkDeviceWaitIdle( VkDevice device ) const
+ {
+ return ::vkDeviceWaitIdle( device);
+ }
+ VkResult vkDisplayPowerControlEXT( VkDevice device, VkDisplayKHR display, const VkDisplayPowerInfoEXT* pDisplayPowerInfo ) const
+ {
+ return ::vkDisplayPowerControlEXT( device, display, pDisplayPowerInfo);
+ }
+ VkResult vkEndCommandBuffer( VkCommandBuffer commandBuffer ) const
+ {
+ return ::vkEndCommandBuffer( commandBuffer);
+ }
+ VkResult vkEnumerateDeviceExtensionProperties( VkPhysicalDevice physicalDevice, const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties ) const
+ {
+ return ::vkEnumerateDeviceExtensionProperties( physicalDevice, pLayerName, pPropertyCount, pProperties);
+ }
+ VkResult vkEnumerateDeviceLayerProperties( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkLayerProperties* pProperties ) const
+ {
+ return ::vkEnumerateDeviceLayerProperties( physicalDevice, pPropertyCount, pProperties);
+ }
+ VkResult vkEnumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, VkExtensionProperties* pProperties ) const
+ {
+ return ::vkEnumerateInstanceExtensionProperties( pLayerName, pPropertyCount, pProperties);
+ }
+ VkResult vkEnumerateInstanceLayerProperties( uint32_t* pPropertyCount, VkLayerProperties* pProperties ) const
+ {
+ return ::vkEnumerateInstanceLayerProperties( pPropertyCount, pProperties);
+ }
+ VkResult vkEnumerateInstanceVersion( uint32_t* pApiVersion ) const
+ {
+ return ::vkEnumerateInstanceVersion( pApiVersion);
+ }
+ VkResult vkEnumeratePhysicalDeviceGroups( VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties ) const
+ {
+ return ::vkEnumeratePhysicalDeviceGroups( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);
+ }
+ VkResult vkEnumeratePhysicalDeviceGroupsKHR( VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties ) const
+ {
+ return ::vkEnumeratePhysicalDeviceGroupsKHR( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties);
+ }
+ VkResult vkEnumeratePhysicalDevices( VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices ) const
+ {
+ return ::vkEnumeratePhysicalDevices( instance, pPhysicalDeviceCount, pPhysicalDevices);
+ }
+ VkResult vkFlushMappedMemoryRanges( VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges ) const
+ {
+ return ::vkFlushMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges);
+ }
+ void vkFreeCommandBuffers( VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer* pCommandBuffers ) const
+ {
+ return ::vkFreeCommandBuffers( device, commandPool, commandBufferCount, pCommandBuffers);
+ }
+ VkResult vkFreeDescriptorSets( VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets ) const
+ {
+ return ::vkFreeDescriptorSets( device, descriptorPool, descriptorSetCount, pDescriptorSets);
+ }
+ void vkFreeMemory( VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator ) const
+ {
+ return ::vkFreeMemory( device, memory, pAllocator);
+ }
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ VkResult vkGetAndroidHardwareBufferPropertiesANDROID( VkDevice device, const struct AHardwareBuffer* buffer, VkAndroidHardwareBufferPropertiesANDROID* pProperties ) const
+ {
+ return ::vkGetAndroidHardwareBufferPropertiesANDROID( device, buffer, pProperties);
+ }
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ void vkGetBufferMemoryRequirements( VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements ) const
+ {
+ return ::vkGetBufferMemoryRequirements( device, buffer, pMemoryRequirements);
+ }
+ void vkGetBufferMemoryRequirements2( VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const
+ {
+ return ::vkGetBufferMemoryRequirements2( device, pInfo, pMemoryRequirements);
+ }
+ void vkGetBufferMemoryRequirements2KHR( VkDevice device, const VkBufferMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const
+ {
+ return ::vkGetBufferMemoryRequirements2KHR( device, pInfo, pMemoryRequirements);
+ }
+ void vkGetDescriptorSetLayoutSupport( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) const
+ {
+ return ::vkGetDescriptorSetLayoutSupport( device, pCreateInfo, pSupport);
+ }
+ void vkGetDescriptorSetLayoutSupportKHR( VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) const
+ {
+ return ::vkGetDescriptorSetLayoutSupportKHR( device, pCreateInfo, pSupport);
+ }
+ void vkGetDeviceGroupPeerMemoryFeatures( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) const
+ {
+ return ::vkGetDeviceGroupPeerMemoryFeatures( device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);
+ }
+ void vkGetDeviceGroupPeerMemoryFeaturesKHR( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) const
+ {
+ return ::vkGetDeviceGroupPeerMemoryFeaturesKHR( device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures);
+ }
+ VkResult vkGetDeviceGroupPresentCapabilitiesKHR( VkDevice device, VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities ) const
+ {
+ return ::vkGetDeviceGroupPresentCapabilitiesKHR( device, pDeviceGroupPresentCapabilities);
+ }
+ VkResult vkGetDeviceGroupSurfacePresentModesKHR( VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR* pModes ) const
+ {
+ return ::vkGetDeviceGroupSurfacePresentModesKHR( device, surface, pModes);
+ }
+ void vkGetDeviceMemoryCommitment( VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes ) const
+ {
+ return ::vkGetDeviceMemoryCommitment( device, memory, pCommittedMemoryInBytes);
+ }
+ PFN_vkVoidFunction vkGetDeviceProcAddr( VkDevice device, const char* pName ) const
+ {
+ return ::vkGetDeviceProcAddr( device, pName);
+ }
+ void vkGetDeviceQueue( VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue ) const
+ {
+ return ::vkGetDeviceQueue( device, queueFamilyIndex, queueIndex, pQueue);
+ }
+ void vkGetDeviceQueue2( VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue ) const
+ {
+ return ::vkGetDeviceQueue2( device, pQueueInfo, pQueue);
+ }
+ VkResult vkGetDisplayModePropertiesKHR( VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint32_t* pPropertyCount, VkDisplayModePropertiesKHR* pProperties ) const
+ {
+ return ::vkGetDisplayModePropertiesKHR( physicalDevice, display, pPropertyCount, pProperties);
+ }
+ VkResult vkGetDisplayPlaneCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, uint32_t planeIndex, VkDisplayPlaneCapabilitiesKHR* pCapabilities ) const
+ {
+ return ::vkGetDisplayPlaneCapabilitiesKHR( physicalDevice, mode, planeIndex, pCapabilities);
+ }
+ VkResult vkGetDisplayPlaneSupportedDisplaysKHR( VkPhysicalDevice physicalDevice, uint32_t planeIndex, uint32_t* pDisplayCount, VkDisplayKHR* pDisplays ) const
+ {
+ return ::vkGetDisplayPlaneSupportedDisplaysKHR( physicalDevice, planeIndex, pDisplayCount, pDisplays);
+ }
+ VkResult vkGetEventStatus( VkDevice device, VkEvent event ) const
+ {
+ return ::vkGetEventStatus( device, event);
+ }
+ VkResult vkGetFenceFdKHR( VkDevice device, const VkFenceGetFdInfoKHR* pGetFdInfo, int* pFd ) const
+ {
+ return ::vkGetFenceFdKHR( device, pGetFdInfo, pFd);
+ }
+ VkResult vkGetFenceStatus( VkDevice device, VkFence fence ) const
+ {
+ return ::vkGetFenceStatus( device, fence);
+ }
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkResult vkGetFenceWin32HandleKHR( VkDevice device, const VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const
+ {
+ return ::vkGetFenceWin32HandleKHR( device, pGetWin32HandleInfo, pHandle);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ void vkGetImageMemoryRequirements( VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements ) const
+ {
+ return ::vkGetImageMemoryRequirements( device, image, pMemoryRequirements);
+ }
+ void vkGetImageMemoryRequirements2( VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const
+ {
+ return ::vkGetImageMemoryRequirements2( device, pInfo, pMemoryRequirements);
+ }
+ void vkGetImageMemoryRequirements2KHR( VkDevice device, const VkImageMemoryRequirementsInfo2* pInfo, VkMemoryRequirements2* pMemoryRequirements ) const
+ {
+ return ::vkGetImageMemoryRequirements2KHR( device, pInfo, pMemoryRequirements);
+ }
+ void vkGetImageSparseMemoryRequirements( VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements ) const
+ {
+ return ::vkGetImageSparseMemoryRequirements( device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
+ }
+ void vkGetImageSparseMemoryRequirements2( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) const
+ {
+ return ::vkGetImageSparseMemoryRequirements2( device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
+ }
+ void vkGetImageSparseMemoryRequirements2KHR( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) const
+ {
+ return ::vkGetImageSparseMemoryRequirements2KHR( device, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements);
+ }
+ void vkGetImageSubresourceLayout( VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout ) const
+ {
+ return ::vkGetImageSubresourceLayout( device, image, pSubresource, pLayout);
+ }
+ PFN_vkVoidFunction vkGetInstanceProcAddr( VkInstance instance, const char* pName ) const
+ {
+ return ::vkGetInstanceProcAddr( instance, pName);
+ }
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ VkResult vkGetMemoryAndroidHardwareBufferANDROID( VkDevice device, const VkMemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer ) const
+ {
+ return ::vkGetMemoryAndroidHardwareBufferANDROID( device, pInfo, pBuffer);
+ }
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ VkResult vkGetMemoryFdKHR( VkDevice device, const VkMemoryGetFdInfoKHR* pGetFdInfo, int* pFd ) const
+ {
+ return ::vkGetMemoryFdKHR( device, pGetFdInfo, pFd);
+ }
+ VkResult vkGetMemoryFdPropertiesKHR( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, int fd, VkMemoryFdPropertiesKHR* pMemoryFdProperties ) const
+ {
+ return ::vkGetMemoryFdPropertiesKHR( device, handleType, fd, pMemoryFdProperties);
+ }
+ VkResult vkGetMemoryHostPointerPropertiesEXT( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties ) const
+ {
+ return ::vkGetMemoryHostPointerPropertiesEXT( device, handleType, pHostPointer, pMemoryHostPointerProperties);
+ }
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkResult vkGetMemoryWin32HandleKHR( VkDevice device, const VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const
+ {
+ return ::vkGetMemoryWin32HandleKHR( device, pGetWin32HandleInfo, pHandle);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ VkResult vkGetMemoryWin32HandleNV( VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle ) const
+ {
+ return ::vkGetMemoryWin32HandleNV( device, memory, handleType, pHandle);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkResult vkGetMemoryWin32HandlePropertiesKHR( VkDevice device, VkExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties ) const
+ {
+ return ::vkGetMemoryWin32HandlePropertiesKHR( device, handleType, handle, pMemoryWin32HandleProperties);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ VkResult vkGetPastPresentationTimingGOOGLE( VkDevice device, VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings ) const
+ {
+ return ::vkGetPastPresentationTimingGOOGLE( device, swapchain, pPresentationTimingCount, pPresentationTimings);
+ }
+ VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceDisplayPlanePropertiesKHR( physicalDevice, pPropertyCount, pProperties);
+ }
+ VkResult vkGetPhysicalDeviceDisplayPropertiesKHR( VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkDisplayPropertiesKHR* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceDisplayPropertiesKHR( physicalDevice, pPropertyCount, pProperties);
+ }
+ void vkGetPhysicalDeviceExternalBufferProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties ) const
+ {
+ return ::vkGetPhysicalDeviceExternalBufferProperties( physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
+ }
+ void vkGetPhysicalDeviceExternalBufferPropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo* pExternalBufferInfo, VkExternalBufferProperties* pExternalBufferProperties ) const
+ {
+ return ::vkGetPhysicalDeviceExternalBufferPropertiesKHR( physicalDevice, pExternalBufferInfo, pExternalBufferProperties);
+ }
+ void vkGetPhysicalDeviceExternalFenceProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties ) const
+ {
+ return ::vkGetPhysicalDeviceExternalFenceProperties( physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
+ }
+ void vkGetPhysicalDeviceExternalFencePropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo* pExternalFenceInfo, VkExternalFenceProperties* pExternalFenceProperties ) const
+ {
+ return ::vkGetPhysicalDeviceExternalFencePropertiesKHR( physicalDevice, pExternalFenceInfo, pExternalFenceProperties);
+ }
+ VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties ) const
+ {
+ return ::vkGetPhysicalDeviceExternalImageFormatPropertiesNV( physicalDevice, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties);
+ }
+ void vkGetPhysicalDeviceExternalSemaphoreProperties( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties ) const
+ {
+ return ::vkGetPhysicalDeviceExternalSemaphoreProperties( physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
+ }
+ void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, VkExternalSemaphoreProperties* pExternalSemaphoreProperties ) const
+ {
+ return ::vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( physicalDevice, pExternalSemaphoreInfo, pExternalSemaphoreProperties);
+ }
+ void vkGetPhysicalDeviceFeatures( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures ) const
+ {
+ return ::vkGetPhysicalDeviceFeatures( physicalDevice, pFeatures);
+ }
+ void vkGetPhysicalDeviceFeatures2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures ) const
+ {
+ return ::vkGetPhysicalDeviceFeatures2( physicalDevice, pFeatures);
+ }
+ void vkGetPhysicalDeviceFeatures2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2* pFeatures ) const
+ {
+ return ::vkGetPhysicalDeviceFeatures2KHR( physicalDevice, pFeatures);
+ }
+ void vkGetPhysicalDeviceFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties ) const
+ {
+ return ::vkGetPhysicalDeviceFormatProperties( physicalDevice, format, pFormatProperties);
+ }
+ void vkGetPhysicalDeviceFormatProperties2( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties ) const
+ {
+ return ::vkGetPhysicalDeviceFormatProperties2( physicalDevice, format, pFormatProperties);
+ }
+ void vkGetPhysicalDeviceFormatProperties2KHR( VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2* pFormatProperties ) const
+ {
+ return ::vkGetPhysicalDeviceFormatProperties2KHR( physicalDevice, format, pFormatProperties);
+ }
+ void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( VkPhysicalDevice physicalDevice, VkDeviceGeneratedCommandsFeaturesNVX* pFeatures, VkDeviceGeneratedCommandsLimitsNVX* pLimits ) const
+ {
+ return ::vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( physicalDevice, pFeatures, pLimits);
+ }
+ VkResult vkGetPhysicalDeviceImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties ) const
+ {
+ return ::vkGetPhysicalDeviceImageFormatProperties( physicalDevice, format, type, tiling, usage, flags, pImageFormatProperties);
+ }
+ VkResult vkGetPhysicalDeviceImageFormatProperties2( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties ) const
+ {
+ return ::vkGetPhysicalDeviceImageFormatProperties2( physicalDevice, pImageFormatInfo, pImageFormatProperties);
+ }
+ VkResult vkGetPhysicalDeviceImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2* pImageFormatInfo, VkImageFormatProperties2* pImageFormatProperties ) const
+ {
+ return ::vkGetPhysicalDeviceImageFormatProperties2KHR( physicalDevice, pImageFormatInfo, pImageFormatProperties);
+ }
+ void vkGetPhysicalDeviceMemoryProperties( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties ) const
+ {
+ return ::vkGetPhysicalDeviceMemoryProperties( physicalDevice, pMemoryProperties);
+ }
+ void vkGetPhysicalDeviceMemoryProperties2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties ) const
+ {
+ return ::vkGetPhysicalDeviceMemoryProperties2( physicalDevice, pMemoryProperties);
+ }
+ void vkGetPhysicalDeviceMemoryProperties2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2* pMemoryProperties ) const
+ {
+ return ::vkGetPhysicalDeviceMemoryProperties2KHR( physicalDevice, pMemoryProperties);
+ }
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ VkBool32 vkGetPhysicalDeviceMirPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, MirConnection* connection ) const
+ {
+ return ::vkGetPhysicalDeviceMirPresentationSupportKHR( physicalDevice, queueFamilyIndex, connection);
+ }
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+ void vkGetPhysicalDeviceMultisamplePropertiesEXT( VkPhysicalDevice physicalDevice, VkSampleCountFlagBits samples, VkMultisamplePropertiesEXT* pMultisampleProperties ) const
+ {
+ return ::vkGetPhysicalDeviceMultisamplePropertiesEXT( physicalDevice, samples, pMultisampleProperties);
+ }
+ VkResult vkGetPhysicalDevicePresentRectanglesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pRectCount, VkRect2D* pRects ) const
+ {
+ return ::vkGetPhysicalDevicePresentRectanglesKHR( physicalDevice, surface, pRectCount, pRects);
+ }
+ void vkGetPhysicalDeviceProperties( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceProperties( physicalDevice, pProperties);
+ }
+ void vkGetPhysicalDeviceProperties2( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceProperties2( physicalDevice, pProperties);
+ }
+ void vkGetPhysicalDeviceProperties2KHR( VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceProperties2KHR( physicalDevice, pProperties);
+ }
+ void vkGetPhysicalDeviceQueueFamilyProperties( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties ) const
+ {
+ return ::vkGetPhysicalDeviceQueueFamilyProperties( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
+ }
+ void vkGetPhysicalDeviceQueueFamilyProperties2( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties ) const
+ {
+ return ::vkGetPhysicalDeviceQueueFamilyProperties2( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
+ }
+ void vkGetPhysicalDeviceQueueFamilyProperties2KHR( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount, VkQueueFamilyProperties2* pQueueFamilyProperties ) const
+ {
+ return ::vkGetPhysicalDeviceQueueFamilyProperties2KHR( physicalDevice, pQueueFamilyPropertyCount, pQueueFamilyProperties);
+ }
+ void vkGetPhysicalDeviceSparseImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceSparseImageFormatProperties( physicalDevice, format, type, samples, usage, tiling, pPropertyCount, pProperties);
+ }
+ void vkGetPhysicalDeviceSparseImageFormatProperties2( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceSparseImageFormatProperties2( physicalDevice, pFormatInfo, pPropertyCount, pProperties);
+ }
+ void vkGetPhysicalDeviceSparseImageFormatProperties2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, VkSparseImageFormatProperties2* pProperties ) const
+ {
+ return ::vkGetPhysicalDeviceSparseImageFormatProperties2KHR( physicalDevice, pFormatInfo, pPropertyCount, pProperties);
+ }
+ VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilities2EXT* pSurfaceCapabilities ) const
+ {
+ return ::vkGetPhysicalDeviceSurfaceCapabilities2EXT( physicalDevice, surface, pSurfaceCapabilities);
+ }
+ VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities ) const
+ {
+ return ::vkGetPhysicalDeviceSurfaceCapabilities2KHR( physicalDevice, pSurfaceInfo, pSurfaceCapabilities);
+ }
+ VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities ) const
+ {
+ return ::vkGetPhysicalDeviceSurfaceCapabilitiesKHR( physicalDevice, surface, pSurfaceCapabilities);
+ }
+ VkResult vkGetPhysicalDeviceSurfaceFormats2KHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats ) const
+ {
+ return ::vkGetPhysicalDeviceSurfaceFormats2KHR( physicalDevice, pSurfaceInfo, pSurfaceFormatCount, pSurfaceFormats);
+ }
+ VkResult vkGetPhysicalDeviceSurfaceFormatsKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats ) const
+ {
+ return ::vkGetPhysicalDeviceSurfaceFormatsKHR( physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats);
+ }
+ VkResult vkGetPhysicalDeviceSurfacePresentModesKHR( VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes ) const
+ {
+ return ::vkGetPhysicalDeviceSurfacePresentModesKHR( physicalDevice, surface, pPresentModeCount, pPresentModes);
+ }
+ VkResult vkGetPhysicalDeviceSurfaceSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported ) const
+ {
+ return ::vkGetPhysicalDeviceSurfaceSupportKHR( physicalDevice, queueFamilyIndex, surface, pSupported);
+ }
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, struct wl_display* display ) const
+ {
+ return ::vkGetPhysicalDeviceWaylandPresentationSupportKHR( physicalDevice, queueFamilyIndex, display);
+ }
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex ) const
+ {
+ return ::vkGetPhysicalDeviceWin32PresentationSupportKHR( physicalDevice, queueFamilyIndex);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id ) const
+ {
+ return ::vkGetPhysicalDeviceXcbPresentationSupportKHR( physicalDevice, queueFamilyIndex, connection, visual_id);
+ }
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR( VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, Display* dpy, VisualID visualID ) const
+ {
+ return ::vkGetPhysicalDeviceXlibPresentationSupportKHR( physicalDevice, queueFamilyIndex, dpy, visualID);
+ }
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+ VkResult vkGetPipelineCacheData( VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData ) const
+ {
+ return ::vkGetPipelineCacheData( device, pipelineCache, pDataSize, pData);
+ }
+ VkResult vkGetQueryPoolResults( VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags ) const
+ {
+ return ::vkGetQueryPoolResults( device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags);
+ }
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ VkResult vkGetRandROutputDisplayEXT( VkPhysicalDevice physicalDevice, Display* dpy, RROutput rrOutput, VkDisplayKHR* pDisplay ) const
+ {
+ return ::vkGetRandROutputDisplayEXT( physicalDevice, dpy, rrOutput, pDisplay);
+ }
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+ VkResult vkGetRefreshCycleDurationGOOGLE( VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties ) const
+ {
+ return ::vkGetRefreshCycleDurationGOOGLE( device, swapchain, pDisplayTimingProperties);
+ }
+ void vkGetRenderAreaGranularity( VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity ) const
+ {
+ return ::vkGetRenderAreaGranularity( device, renderPass, pGranularity);
+ }
+ VkResult vkGetSemaphoreFdKHR( VkDevice device, const VkSemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd ) const
+ {
+ return ::vkGetSemaphoreFdKHR( device, pGetFdInfo, pFd);
+ }
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkResult vkGetSemaphoreWin32HandleKHR( VkDevice device, const VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle ) const
+ {
+ return ::vkGetSemaphoreWin32HandleKHR( device, pGetWin32HandleInfo, pHandle);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ VkResult vkGetShaderInfoAMD( VkDevice device, VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo ) const
+ {
+ return ::vkGetShaderInfoAMD( device, pipeline, shaderStage, infoType, pInfoSize, pInfo);
+ }
+ VkResult vkGetSwapchainCounterEXT( VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue ) const
+ {
+ return ::vkGetSwapchainCounterEXT( device, swapchain, counter, pCounterValue);
+ }
+ VkResult vkGetSwapchainImagesKHR( VkDevice device, VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages ) const
+ {
+ return ::vkGetSwapchainImagesKHR( device, swapchain, pSwapchainImageCount, pSwapchainImages);
+ }
+ VkResult vkGetSwapchainStatusKHR( VkDevice device, VkSwapchainKHR swapchain ) const
+ {
+ return ::vkGetSwapchainStatusKHR( device, swapchain);
+ }
+ VkResult vkGetValidationCacheDataEXT( VkDevice device, VkValidationCacheEXT validationCache, size_t* pDataSize, void* pData ) const
+ {
+ return ::vkGetValidationCacheDataEXT( device, validationCache, pDataSize, pData);
+ }
+ VkResult vkImportFenceFdKHR( VkDevice device, const VkImportFenceFdInfoKHR* pImportFenceFdInfo ) const
+ {
+ return ::vkImportFenceFdKHR( device, pImportFenceFdInfo);
+ }
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkResult vkImportFenceWin32HandleKHR( VkDevice device, const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo ) const
+ {
+ return ::vkImportFenceWin32HandleKHR( device, pImportFenceWin32HandleInfo);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ VkResult vkImportSemaphoreFdKHR( VkDevice device, const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo ) const
+ {
+ return ::vkImportSemaphoreFdKHR( device, pImportSemaphoreFdInfo);
+ }
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkResult vkImportSemaphoreWin32HandleKHR( VkDevice device, const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo ) const
+ {
+ return ::vkImportSemaphoreWin32HandleKHR( device, pImportSemaphoreWin32HandleInfo);
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ VkResult vkInvalidateMappedMemoryRanges( VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges ) const
+ {
+ return ::vkInvalidateMappedMemoryRanges( device, memoryRangeCount, pMemoryRanges);
+ }
+ VkResult vkMapMemory( VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData ) const
+ {
+ return ::vkMapMemory( device, memory, offset, size, flags, ppData);
+ }
+ VkResult vkMergePipelineCaches( VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches ) const
+ {
+ return ::vkMergePipelineCaches( device, dstCache, srcCacheCount, pSrcCaches);
+ }
+ VkResult vkMergeValidationCachesEXT( VkDevice device, VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const VkValidationCacheEXT* pSrcCaches ) const
+ {
+ return ::vkMergeValidationCachesEXT( device, dstCache, srcCacheCount, pSrcCaches);
+ }
+ void vkQueueBeginDebugUtilsLabelEXT( VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo ) const
+ {
+ return ::vkQueueBeginDebugUtilsLabelEXT( queue, pLabelInfo);
+ }
+ VkResult vkQueueBindSparse( VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence ) const
+ {
+ return ::vkQueueBindSparse( queue, bindInfoCount, pBindInfo, fence);
+ }
+ void vkQueueEndDebugUtilsLabelEXT( VkQueue queue ) const
+ {
+ return ::vkQueueEndDebugUtilsLabelEXT( queue);
+ }
+ void vkQueueInsertDebugUtilsLabelEXT( VkQueue queue, const VkDebugUtilsLabelEXT* pLabelInfo ) const
+ {
+ return ::vkQueueInsertDebugUtilsLabelEXT( queue, pLabelInfo);
+ }
+ VkResult vkQueuePresentKHR( VkQueue queue, const VkPresentInfoKHR* pPresentInfo ) const
+ {
+ return ::vkQueuePresentKHR( queue, pPresentInfo);
+ }
+ VkResult vkQueueSubmit( VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence ) const
+ {
+ return ::vkQueueSubmit( queue, submitCount, pSubmits, fence);
+ }
+ VkResult vkQueueWaitIdle( VkQueue queue ) const
+ {
+ return ::vkQueueWaitIdle( queue);
+ }
+ VkResult vkRegisterDeviceEventEXT( VkDevice device, const VkDeviceEventInfoEXT* pDeviceEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const
+ {
+ return ::vkRegisterDeviceEventEXT( device, pDeviceEventInfo, pAllocator, pFence);
+ }
+ VkResult vkRegisterDisplayEventEXT( VkDevice device, VkDisplayKHR display, const VkDisplayEventInfoEXT* pDisplayEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence ) const
+ {
+ return ::vkRegisterDisplayEventEXT( device, display, pDisplayEventInfo, pAllocator, pFence);
+ }
+ VkResult vkRegisterObjectsNVX( VkDevice device, VkObjectTableNVX objectTable, uint32_t objectCount, const VkObjectTableEntryNVX* const* ppObjectTableEntries, const uint32_t* pObjectIndices ) const
+ {
+ return ::vkRegisterObjectsNVX( device, objectTable, objectCount, ppObjectTableEntries, pObjectIndices);
+ }
+ VkResult vkReleaseDisplayEXT( VkPhysicalDevice physicalDevice, VkDisplayKHR display ) const
+ {
+ return ::vkReleaseDisplayEXT( physicalDevice, display);
+ }
+ VkResult vkResetCommandBuffer( VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags ) const
+ {
+ return ::vkResetCommandBuffer( commandBuffer, flags);
+ }
+ VkResult vkResetCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags ) const
+ {
+ return ::vkResetCommandPool( device, commandPool, flags);
+ }
+ VkResult vkResetDescriptorPool( VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags ) const
+ {
+ return ::vkResetDescriptorPool( device, descriptorPool, flags);
+ }
+ VkResult vkResetEvent( VkDevice device, VkEvent event ) const
+ {
+ return ::vkResetEvent( device, event);
+ }
+ VkResult vkResetFences( VkDevice device, uint32_t fenceCount, const VkFence* pFences ) const
+ {
+ return ::vkResetFences( device, fenceCount, pFences);
+ }
+ VkResult vkSetDebugUtilsObjectNameEXT( VkDevice device, const VkDebugUtilsObjectNameInfoEXT* pNameInfo ) const
+ {
+ return ::vkSetDebugUtilsObjectNameEXT( device, pNameInfo);
+ }
+ VkResult vkSetDebugUtilsObjectTagEXT( VkDevice device, const VkDebugUtilsObjectTagInfoEXT* pTagInfo ) const
+ {
+ return ::vkSetDebugUtilsObjectTagEXT( device, pTagInfo);
+ }
+ VkResult vkSetEvent( VkDevice device, VkEvent event ) const
+ {
+ return ::vkSetEvent( device, event);
+ }
+ void vkSetHdrMetadataEXT( VkDevice device, uint32_t swapchainCount, const VkSwapchainKHR* pSwapchains, const VkHdrMetadataEXT* pMetadata ) const
+ {
+ return ::vkSetHdrMetadataEXT( device, swapchainCount, pSwapchains, pMetadata);
+ }
+ void vkSubmitDebugUtilsMessageEXT( VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData ) const
+ {
+ return ::vkSubmitDebugUtilsMessageEXT( instance, messageSeverity, messageTypes, pCallbackData);
+ }
+ void vkTrimCommandPool( VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) const
+ {
+ return ::vkTrimCommandPool( device, commandPool, flags);
+ }
+ void vkTrimCommandPoolKHR( VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) const
+ {
+ return ::vkTrimCommandPoolKHR( device, commandPool, flags);
+ }
+ void vkUnmapMemory( VkDevice device, VkDeviceMemory memory ) const
+ {
+ return ::vkUnmapMemory( device, memory);
+ }
+ VkResult vkUnregisterObjectsNVX( VkDevice device, VkObjectTableNVX objectTable, uint32_t objectCount, const VkObjectEntryTypeNVX* pObjectEntryTypes, const uint32_t* pObjectIndices ) const
+ {
+ return ::vkUnregisterObjectsNVX( device, objectTable, objectCount, pObjectEntryTypes, pObjectIndices);
+ }
+ void vkUpdateDescriptorSetWithTemplate( VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData ) const
+ {
+ return ::vkUpdateDescriptorSetWithTemplate( device, descriptorSet, descriptorUpdateTemplate, pData);
+ }
+ void vkUpdateDescriptorSetWithTemplateKHR( VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData ) const
+ {
+ return ::vkUpdateDescriptorSetWithTemplateKHR( device, descriptorSet, descriptorUpdateTemplate, pData);
+ }
+ void vkUpdateDescriptorSets( VkDevice device, uint32_t descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies ) const
+ {
+ return ::vkUpdateDescriptorSets( device, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies);
+ }
+ VkResult vkWaitForFences( VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout ) const
+ {
+ return ::vkWaitForFences( device, fenceCount, pFences, waitAll, timeout);
+ }
+};
+ using SampleMask = uint32_t;
+
+ using Bool32 = uint32_t;
+
+ using DeviceSize = uint64_t;
+
+ enum class FramebufferCreateFlagBits
+ {
+ };
+
+ using FramebufferCreateFlags = Flags<FramebufferCreateFlagBits, VkFramebufferCreateFlags>;
+
+ enum class QueryPoolCreateFlagBits
+ {
+ };
+
+ using QueryPoolCreateFlags = Flags<QueryPoolCreateFlagBits, VkQueryPoolCreateFlags>;
+
+ enum class RenderPassCreateFlagBits
+ {
+ };
+
+ using RenderPassCreateFlags = Flags<RenderPassCreateFlagBits, VkRenderPassCreateFlags>;
+
+ enum class SamplerCreateFlagBits
+ {
+ };
+
+ using SamplerCreateFlags = Flags<SamplerCreateFlagBits, VkSamplerCreateFlags>;
+
+ enum class PipelineLayoutCreateFlagBits
+ {
+ };
+
+ using PipelineLayoutCreateFlags = Flags<PipelineLayoutCreateFlagBits, VkPipelineLayoutCreateFlags>;
+
+ enum class PipelineCacheCreateFlagBits
+ {
+ };
+
+ using PipelineCacheCreateFlags = Flags<PipelineCacheCreateFlagBits, VkPipelineCacheCreateFlags>;
+
+ enum class PipelineDepthStencilStateCreateFlagBits
+ {
+ };
+
+ using PipelineDepthStencilStateCreateFlags = Flags<PipelineDepthStencilStateCreateFlagBits, VkPipelineDepthStencilStateCreateFlags>;
+
+ enum class PipelineDynamicStateCreateFlagBits
+ {
+ };
+
+ using PipelineDynamicStateCreateFlags = Flags<PipelineDynamicStateCreateFlagBits, VkPipelineDynamicStateCreateFlags>;
+
+ enum class PipelineColorBlendStateCreateFlagBits
+ {
+ };
+
+ using PipelineColorBlendStateCreateFlags = Flags<PipelineColorBlendStateCreateFlagBits, VkPipelineColorBlendStateCreateFlags>;
+
+ enum class PipelineMultisampleStateCreateFlagBits
+ {
+ };
+
+ using PipelineMultisampleStateCreateFlags = Flags<PipelineMultisampleStateCreateFlagBits, VkPipelineMultisampleStateCreateFlags>;
+
+ enum class PipelineRasterizationStateCreateFlagBits
+ {
+ };
+
+ using PipelineRasterizationStateCreateFlags = Flags<PipelineRasterizationStateCreateFlagBits, VkPipelineRasterizationStateCreateFlags>;
+
+ enum class PipelineViewportStateCreateFlagBits
+ {
+ };
+
+ using PipelineViewportStateCreateFlags = Flags<PipelineViewportStateCreateFlagBits, VkPipelineViewportStateCreateFlags>;
+
+ enum class PipelineTessellationStateCreateFlagBits
+ {
+ };
+
+ using PipelineTessellationStateCreateFlags = Flags<PipelineTessellationStateCreateFlagBits, VkPipelineTessellationStateCreateFlags>;
+
+ enum class PipelineInputAssemblyStateCreateFlagBits
+ {
+ };
+
+ using PipelineInputAssemblyStateCreateFlags = Flags<PipelineInputAssemblyStateCreateFlagBits, VkPipelineInputAssemblyStateCreateFlags>;
+
+ enum class PipelineVertexInputStateCreateFlagBits
+ {
+ };
+
+ using PipelineVertexInputStateCreateFlags = Flags<PipelineVertexInputStateCreateFlagBits, VkPipelineVertexInputStateCreateFlags>;
+
+ enum class PipelineShaderStageCreateFlagBits
+ {
+ };
+
+ using PipelineShaderStageCreateFlags = Flags<PipelineShaderStageCreateFlagBits, VkPipelineShaderStageCreateFlags>;
+
+ enum class BufferViewCreateFlagBits
+ {
+ };
+
+ using BufferViewCreateFlags = Flags<BufferViewCreateFlagBits, VkBufferViewCreateFlags>;
+
+ enum class InstanceCreateFlagBits
+ {
+ };
+
+ using InstanceCreateFlags = Flags<InstanceCreateFlagBits, VkInstanceCreateFlags>;
+
+ enum class DeviceCreateFlagBits
+ {
+ };
+
+ using DeviceCreateFlags = Flags<DeviceCreateFlagBits, VkDeviceCreateFlags>;
+
+ enum class ImageViewCreateFlagBits
+ {
+ };
+
+ using ImageViewCreateFlags = Flags<ImageViewCreateFlagBits, VkImageViewCreateFlags>;
+
+ enum class SemaphoreCreateFlagBits
+ {
+ };
+
+ using SemaphoreCreateFlags = Flags<SemaphoreCreateFlagBits, VkSemaphoreCreateFlags>;
+
+ enum class ShaderModuleCreateFlagBits
+ {
+ };
+
+ using ShaderModuleCreateFlags = Flags<ShaderModuleCreateFlagBits, VkShaderModuleCreateFlags>;
+
+ enum class EventCreateFlagBits
+ {
+ };
+
+ using EventCreateFlags = Flags<EventCreateFlagBits, VkEventCreateFlags>;
+
+ enum class MemoryMapFlagBits
+ {
+ };
+
+ using MemoryMapFlags = Flags<MemoryMapFlagBits, VkMemoryMapFlags>;
+
+ enum class DescriptorPoolResetFlagBits
+ {
+ };
+
+ using DescriptorPoolResetFlags = Flags<DescriptorPoolResetFlagBits, VkDescriptorPoolResetFlags>;
+
+ enum class DescriptorUpdateTemplateCreateFlagBits
+ {
+ };
+
+ using DescriptorUpdateTemplateCreateFlags = Flags<DescriptorUpdateTemplateCreateFlagBits, VkDescriptorUpdateTemplateCreateFlags>;
+
+ using DescriptorUpdateTemplateCreateFlagsKHR = DescriptorUpdateTemplateCreateFlags;
+
+ enum class DisplayModeCreateFlagBitsKHR
+ {
+ };
+
+ using DisplayModeCreateFlagsKHR = Flags<DisplayModeCreateFlagBitsKHR, VkDisplayModeCreateFlagsKHR>;
+
+ enum class DisplaySurfaceCreateFlagBitsKHR
+ {
+ };
+
+ using DisplaySurfaceCreateFlagsKHR = Flags<DisplaySurfaceCreateFlagBitsKHR, VkDisplaySurfaceCreateFlagsKHR>;
+
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ enum class AndroidSurfaceCreateFlagBitsKHR
+ {
+ };
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ using AndroidSurfaceCreateFlagsKHR = Flags<AndroidSurfaceCreateFlagBitsKHR, VkAndroidSurfaceCreateFlagsKHR>;
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ enum class MirSurfaceCreateFlagBitsKHR
+ {
+ };
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ using MirSurfaceCreateFlagsKHR = Flags<MirSurfaceCreateFlagBitsKHR, VkMirSurfaceCreateFlagsKHR>;
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+#ifdef VK_USE_PLATFORM_VI_NN
+ enum class ViSurfaceCreateFlagBitsNN
+ {
+ };
+#endif /*VK_USE_PLATFORM_VI_NN*/
+
+#ifdef VK_USE_PLATFORM_VI_NN
+ using ViSurfaceCreateFlagsNN = Flags<ViSurfaceCreateFlagBitsNN, VkViSurfaceCreateFlagsNN>;
+#endif /*VK_USE_PLATFORM_VI_NN*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ enum class WaylandSurfaceCreateFlagBitsKHR
+ {
+ };
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ using WaylandSurfaceCreateFlagsKHR = Flags<WaylandSurfaceCreateFlagBitsKHR, VkWaylandSurfaceCreateFlagsKHR>;
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ enum class Win32SurfaceCreateFlagBitsKHR
+ {
+ };
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ using Win32SurfaceCreateFlagsKHR = Flags<Win32SurfaceCreateFlagBitsKHR, VkWin32SurfaceCreateFlagsKHR>;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ enum class XlibSurfaceCreateFlagBitsKHR
+ {
+ };
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ using XlibSurfaceCreateFlagsKHR = Flags<XlibSurfaceCreateFlagBitsKHR, VkXlibSurfaceCreateFlagsKHR>;
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ enum class XcbSurfaceCreateFlagBitsKHR
+ {
+ };
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ using XcbSurfaceCreateFlagsKHR = Flags<XcbSurfaceCreateFlagBitsKHR, VkXcbSurfaceCreateFlagsKHR>;
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ enum class IOSSurfaceCreateFlagBitsMVK
+ {
+ };
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ using IOSSurfaceCreateFlagsMVK = Flags<IOSSurfaceCreateFlagBitsMVK, VkIOSSurfaceCreateFlagsMVK>;
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ enum class MacOSSurfaceCreateFlagBitsMVK
+ {
+ };
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ using MacOSSurfaceCreateFlagsMVK = Flags<MacOSSurfaceCreateFlagBitsMVK, VkMacOSSurfaceCreateFlagsMVK>;
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+
+ enum class CommandPoolTrimFlagBits
+ {
+ };
+
+ using CommandPoolTrimFlags = Flags<CommandPoolTrimFlagBits, VkCommandPoolTrimFlags>;
+
+ using CommandPoolTrimFlagsKHR = CommandPoolTrimFlags;
+
+ enum class PipelineViewportSwizzleStateCreateFlagBitsNV
+ {
+ };
+
+ using PipelineViewportSwizzleStateCreateFlagsNV = Flags<PipelineViewportSwizzleStateCreateFlagBitsNV, VkPipelineViewportSwizzleStateCreateFlagsNV>;
+
+ enum class PipelineDiscardRectangleStateCreateFlagBitsEXT
+ {
+ };
+
+ using PipelineDiscardRectangleStateCreateFlagsEXT = Flags<PipelineDiscardRectangleStateCreateFlagBitsEXT, VkPipelineDiscardRectangleStateCreateFlagsEXT>;
+
+ enum class PipelineCoverageToColorStateCreateFlagBitsNV
+ {
+ };
+
+ using PipelineCoverageToColorStateCreateFlagsNV = Flags<PipelineCoverageToColorStateCreateFlagBitsNV, VkPipelineCoverageToColorStateCreateFlagsNV>;
+
+ enum class PipelineCoverageModulationStateCreateFlagBitsNV
+ {
+ };
+
+ using PipelineCoverageModulationStateCreateFlagsNV = Flags<PipelineCoverageModulationStateCreateFlagBitsNV, VkPipelineCoverageModulationStateCreateFlagsNV>;
+
+ enum class ValidationCacheCreateFlagBitsEXT
+ {
+ };
+
+ using ValidationCacheCreateFlagsEXT = Flags<ValidationCacheCreateFlagBitsEXT, VkValidationCacheCreateFlagsEXT>;
+
+ enum class DebugUtilsMessengerCreateFlagBitsEXT
+ {
+ };
+
+ using DebugUtilsMessengerCreateFlagsEXT = Flags<DebugUtilsMessengerCreateFlagBitsEXT, VkDebugUtilsMessengerCreateFlagsEXT>;
+
+ enum class DebugUtilsMessengerCallbackDataFlagBitsEXT
+ {
+ };
+
+ using DebugUtilsMessengerCallbackDataFlagsEXT = Flags<DebugUtilsMessengerCallbackDataFlagBitsEXT, VkDebugUtilsMessengerCallbackDataFlagsEXT>;
+
+ enum class PipelineRasterizationConservativeStateCreateFlagBitsEXT
+ {
+ };
+
+ using PipelineRasterizationConservativeStateCreateFlagsEXT = Flags<PipelineRasterizationConservativeStateCreateFlagBitsEXT, VkPipelineRasterizationConservativeStateCreateFlagsEXT>;
+
+ class DeviceMemory
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DeviceMemory()
+ : m_deviceMemory(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DeviceMemory( std::nullptr_t )
+ : m_deviceMemory(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DeviceMemory( VkDeviceMemory deviceMemory )
+ : m_deviceMemory( deviceMemory )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DeviceMemory & operator=(VkDeviceMemory deviceMemory)
+ {
+ m_deviceMemory = deviceMemory;
+ return *this;
+ }
+#endif
+
+ DeviceMemory & operator=( std::nullptr_t )
+ {
+ m_deviceMemory = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DeviceMemory const & rhs ) const
+ {
+ return m_deviceMemory == rhs.m_deviceMemory;
+ }
+
+ bool operator!=(DeviceMemory const & rhs ) const
+ {
+ return m_deviceMemory != rhs.m_deviceMemory;
+ }
+
+ bool operator<(DeviceMemory const & rhs ) const
+ {
+ return m_deviceMemory < rhs.m_deviceMemory;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDeviceMemory() const
+ {
+ return m_deviceMemory;
+ }
+
+ explicit operator bool() const
+ {
+ return m_deviceMemory != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_deviceMemory == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDeviceMemory m_deviceMemory;
+ };
+
+ static_assert( sizeof( DeviceMemory ) == sizeof( VkDeviceMemory ), "handle and wrapper have different size!" );
+
+ class CommandPool
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR CommandPool()
+ : m_commandPool(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR CommandPool( std::nullptr_t )
+ : m_commandPool(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT CommandPool( VkCommandPool commandPool )
+ : m_commandPool( commandPool )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ CommandPool & operator=(VkCommandPool commandPool)
+ {
+ m_commandPool = commandPool;
+ return *this;
+ }
+#endif
+
+ CommandPool & operator=( std::nullptr_t )
+ {
+ m_commandPool = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( CommandPool const & rhs ) const
+ {
+ return m_commandPool == rhs.m_commandPool;
+ }
+
+ bool operator!=(CommandPool const & rhs ) const
+ {
+ return m_commandPool != rhs.m_commandPool;
+ }
+
+ bool operator<(CommandPool const & rhs ) const
+ {
+ return m_commandPool < rhs.m_commandPool;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandPool() const
+ {
+ return m_commandPool;
+ }
+
+ explicit operator bool() const
+ {
+ return m_commandPool != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_commandPool == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkCommandPool m_commandPool;
+ };
+
+ static_assert( sizeof( CommandPool ) == sizeof( VkCommandPool ), "handle and wrapper have different size!" );
+
+ class Buffer
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Buffer()
+ : m_buffer(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Buffer( std::nullptr_t )
+ : m_buffer(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Buffer( VkBuffer buffer )
+ : m_buffer( buffer )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Buffer & operator=(VkBuffer buffer)
+ {
+ m_buffer = buffer;
+ return *this;
+ }
+#endif
+
+ Buffer & operator=( std::nullptr_t )
+ {
+ m_buffer = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Buffer const & rhs ) const
+ {
+ return m_buffer == rhs.m_buffer;
+ }
+
+ bool operator!=(Buffer const & rhs ) const
+ {
+ return m_buffer != rhs.m_buffer;
+ }
+
+ bool operator<(Buffer const & rhs ) const
+ {
+ return m_buffer < rhs.m_buffer;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBuffer() const
+ {
+ return m_buffer;
+ }
+
+ explicit operator bool() const
+ {
+ return m_buffer != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_buffer == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkBuffer m_buffer;
+ };
+
+ static_assert( sizeof( Buffer ) == sizeof( VkBuffer ), "handle and wrapper have different size!" );
+
+ class BufferView
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR BufferView()
+ : m_bufferView(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR BufferView( std::nullptr_t )
+ : m_bufferView(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT BufferView( VkBufferView bufferView )
+ : m_bufferView( bufferView )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ BufferView & operator=(VkBufferView bufferView)
+ {
+ m_bufferView = bufferView;
+ return *this;
+ }
+#endif
+
+ BufferView & operator=( std::nullptr_t )
+ {
+ m_bufferView = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( BufferView const & rhs ) const
+ {
+ return m_bufferView == rhs.m_bufferView;
+ }
+
+ bool operator!=(BufferView const & rhs ) const
+ {
+ return m_bufferView != rhs.m_bufferView;
+ }
+
+ bool operator<(BufferView const & rhs ) const
+ {
+ return m_bufferView < rhs.m_bufferView;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkBufferView() const
+ {
+ return m_bufferView;
+ }
+
+ explicit operator bool() const
+ {
+ return m_bufferView != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_bufferView == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkBufferView m_bufferView;
+ };
+
+ static_assert( sizeof( BufferView ) == sizeof( VkBufferView ), "handle and wrapper have different size!" );
+
+ class Image
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Image()
+ : m_image(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Image( std::nullptr_t )
+ : m_image(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Image( VkImage image )
+ : m_image( image )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Image & operator=(VkImage image)
+ {
+ m_image = image;
+ return *this;
+ }
+#endif
+
+ Image & operator=( std::nullptr_t )
+ {
+ m_image = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Image const & rhs ) const
+ {
+ return m_image == rhs.m_image;
+ }
+
+ bool operator!=(Image const & rhs ) const
+ {
+ return m_image != rhs.m_image;
+ }
+
+ bool operator<(Image const & rhs ) const
+ {
+ return m_image < rhs.m_image;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImage() const
+ {
+ return m_image;
+ }
+
+ explicit operator bool() const
+ {
+ return m_image != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_image == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkImage m_image;
+ };
+
+ static_assert( sizeof( Image ) == sizeof( VkImage ), "handle and wrapper have different size!" );
+
+ class ImageView
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR ImageView()
+ : m_imageView(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR ImageView( std::nullptr_t )
+ : m_imageView(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT ImageView( VkImageView imageView )
+ : m_imageView( imageView )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ ImageView & operator=(VkImageView imageView)
+ {
+ m_imageView = imageView;
+ return *this;
+ }
+#endif
+
+ ImageView & operator=( std::nullptr_t )
+ {
+ m_imageView = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( ImageView const & rhs ) const
+ {
+ return m_imageView == rhs.m_imageView;
+ }
+
+ bool operator!=(ImageView const & rhs ) const
+ {
+ return m_imageView != rhs.m_imageView;
+ }
+
+ bool operator<(ImageView const & rhs ) const
+ {
+ return m_imageView < rhs.m_imageView;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImageView() const
+ {
+ return m_imageView;
+ }
+
+ explicit operator bool() const
+ {
+ return m_imageView != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_imageView == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkImageView m_imageView;
+ };
+
+ static_assert( sizeof( ImageView ) == sizeof( VkImageView ), "handle and wrapper have different size!" );
+
+ class ShaderModule
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR ShaderModule()
+ : m_shaderModule(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR ShaderModule( std::nullptr_t )
+ : m_shaderModule(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT ShaderModule( VkShaderModule shaderModule )
+ : m_shaderModule( shaderModule )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ ShaderModule & operator=(VkShaderModule shaderModule)
+ {
+ m_shaderModule = shaderModule;
+ return *this;
+ }
+#endif
+
+ ShaderModule & operator=( std::nullptr_t )
+ {
+ m_shaderModule = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( ShaderModule const & rhs ) const
+ {
+ return m_shaderModule == rhs.m_shaderModule;
+ }
+
+ bool operator!=(ShaderModule const & rhs ) const
+ {
+ return m_shaderModule != rhs.m_shaderModule;
+ }
+
+ bool operator<(ShaderModule const & rhs ) const
+ {
+ return m_shaderModule < rhs.m_shaderModule;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkShaderModule() const
+ {
+ return m_shaderModule;
+ }
+
+ explicit operator bool() const
+ {
+ return m_shaderModule != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_shaderModule == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkShaderModule m_shaderModule;
+ };
+
+ static_assert( sizeof( ShaderModule ) == sizeof( VkShaderModule ), "handle and wrapper have different size!" );
+
+ class Pipeline
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Pipeline()
+ : m_pipeline(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Pipeline( std::nullptr_t )
+ : m_pipeline(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Pipeline( VkPipeline pipeline )
+ : m_pipeline( pipeline )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Pipeline & operator=(VkPipeline pipeline)
+ {
+ m_pipeline = pipeline;
+ return *this;
+ }
+#endif
+
+ Pipeline & operator=( std::nullptr_t )
+ {
+ m_pipeline = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Pipeline const & rhs ) const
+ {
+ return m_pipeline == rhs.m_pipeline;
+ }
+
+ bool operator!=(Pipeline const & rhs ) const
+ {
+ return m_pipeline != rhs.m_pipeline;
+ }
+
+ bool operator<(Pipeline const & rhs ) const
+ {
+ return m_pipeline < rhs.m_pipeline;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipeline() const
+ {
+ return m_pipeline;
+ }
+
+ explicit operator bool() const
+ {
+ return m_pipeline != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_pipeline == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkPipeline m_pipeline;
+ };
+
+ static_assert( sizeof( Pipeline ) == sizeof( VkPipeline ), "handle and wrapper have different size!" );
+
+ class PipelineLayout
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR PipelineLayout()
+ : m_pipelineLayout(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR PipelineLayout( std::nullptr_t )
+ : m_pipelineLayout(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT PipelineLayout( VkPipelineLayout pipelineLayout )
+ : m_pipelineLayout( pipelineLayout )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ PipelineLayout & operator=(VkPipelineLayout pipelineLayout)
+ {
+ m_pipelineLayout = pipelineLayout;
+ return *this;
+ }
+#endif
+
+ PipelineLayout & operator=( std::nullptr_t )
+ {
+ m_pipelineLayout = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( PipelineLayout const & rhs ) const
+ {
+ return m_pipelineLayout == rhs.m_pipelineLayout;
+ }
+
+ bool operator!=(PipelineLayout const & rhs ) const
+ {
+ return m_pipelineLayout != rhs.m_pipelineLayout;
+ }
+
+ bool operator<(PipelineLayout const & rhs ) const
+ {
+ return m_pipelineLayout < rhs.m_pipelineLayout;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineLayout() const
+ {
+ return m_pipelineLayout;
+ }
+
+ explicit operator bool() const
+ {
+ return m_pipelineLayout != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_pipelineLayout == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkPipelineLayout m_pipelineLayout;
+ };
+
+ static_assert( sizeof( PipelineLayout ) == sizeof( VkPipelineLayout ), "handle and wrapper have different size!" );
+
+ class Sampler
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Sampler()
+ : m_sampler(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Sampler( std::nullptr_t )
+ : m_sampler(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Sampler( VkSampler sampler )
+ : m_sampler( sampler )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Sampler & operator=(VkSampler sampler)
+ {
+ m_sampler = sampler;
+ return *this;
+ }
+#endif
+
+ Sampler & operator=( std::nullptr_t )
+ {
+ m_sampler = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Sampler const & rhs ) const
+ {
+ return m_sampler == rhs.m_sampler;
+ }
+
+ bool operator!=(Sampler const & rhs ) const
+ {
+ return m_sampler != rhs.m_sampler;
+ }
+
+ bool operator<(Sampler const & rhs ) const
+ {
+ return m_sampler < rhs.m_sampler;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSampler() const
+ {
+ return m_sampler;
+ }
+
+ explicit operator bool() const
+ {
+ return m_sampler != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_sampler == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkSampler m_sampler;
+ };
+
+ static_assert( sizeof( Sampler ) == sizeof( VkSampler ), "handle and wrapper have different size!" );
+
+ class DescriptorSet
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DescriptorSet()
+ : m_descriptorSet(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DescriptorSet( std::nullptr_t )
+ : m_descriptorSet(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSet( VkDescriptorSet descriptorSet )
+ : m_descriptorSet( descriptorSet )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DescriptorSet & operator=(VkDescriptorSet descriptorSet)
+ {
+ m_descriptorSet = descriptorSet;
+ return *this;
+ }
+#endif
+
+ DescriptorSet & operator=( std::nullptr_t )
+ {
+ m_descriptorSet = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DescriptorSet const & rhs ) const
+ {
+ return m_descriptorSet == rhs.m_descriptorSet;
+ }
+
+ bool operator!=(DescriptorSet const & rhs ) const
+ {
+ return m_descriptorSet != rhs.m_descriptorSet;
+ }
+
+ bool operator<(DescriptorSet const & rhs ) const
+ {
+ return m_descriptorSet < rhs.m_descriptorSet;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSet() const
+ {
+ return m_descriptorSet;
+ }
+
+ explicit operator bool() const
+ {
+ return m_descriptorSet != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_descriptorSet == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDescriptorSet m_descriptorSet;
+ };
+
+ static_assert( sizeof( DescriptorSet ) == sizeof( VkDescriptorSet ), "handle and wrapper have different size!" );
+
+ class DescriptorSetLayout
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DescriptorSetLayout()
+ : m_descriptorSetLayout(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DescriptorSetLayout( std::nullptr_t )
+ : m_descriptorSetLayout(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorSetLayout( VkDescriptorSetLayout descriptorSetLayout )
+ : m_descriptorSetLayout( descriptorSetLayout )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DescriptorSetLayout & operator=(VkDescriptorSetLayout descriptorSetLayout)
+ {
+ m_descriptorSetLayout = descriptorSetLayout;
+ return *this;
+ }
+#endif
+
+ DescriptorSetLayout & operator=( std::nullptr_t )
+ {
+ m_descriptorSetLayout = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DescriptorSetLayout const & rhs ) const
+ {
+ return m_descriptorSetLayout == rhs.m_descriptorSetLayout;
+ }
+
+ bool operator!=(DescriptorSetLayout const & rhs ) const
+ {
+ return m_descriptorSetLayout != rhs.m_descriptorSetLayout;
+ }
+
+ bool operator<(DescriptorSetLayout const & rhs ) const
+ {
+ return m_descriptorSetLayout < rhs.m_descriptorSetLayout;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorSetLayout() const
+ {
+ return m_descriptorSetLayout;
+ }
+
+ explicit operator bool() const
+ {
+ return m_descriptorSetLayout != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_descriptorSetLayout == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDescriptorSetLayout m_descriptorSetLayout;
+ };
+
+ static_assert( sizeof( DescriptorSetLayout ) == sizeof( VkDescriptorSetLayout ), "handle and wrapper have different size!" );
+
+ class DescriptorPool
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DescriptorPool()
+ : m_descriptorPool(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DescriptorPool( std::nullptr_t )
+ : m_descriptorPool(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorPool( VkDescriptorPool descriptorPool )
+ : m_descriptorPool( descriptorPool )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DescriptorPool & operator=(VkDescriptorPool descriptorPool)
+ {
+ m_descriptorPool = descriptorPool;
+ return *this;
+ }
+#endif
+
+ DescriptorPool & operator=( std::nullptr_t )
+ {
+ m_descriptorPool = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DescriptorPool const & rhs ) const
+ {
+ return m_descriptorPool == rhs.m_descriptorPool;
+ }
+
+ bool operator!=(DescriptorPool const & rhs ) const
+ {
+ return m_descriptorPool != rhs.m_descriptorPool;
+ }
+
+ bool operator<(DescriptorPool const & rhs ) const
+ {
+ return m_descriptorPool < rhs.m_descriptorPool;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorPool() const
+ {
+ return m_descriptorPool;
+ }
+
+ explicit operator bool() const
+ {
+ return m_descriptorPool != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_descriptorPool == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDescriptorPool m_descriptorPool;
+ };
+
+ static_assert( sizeof( DescriptorPool ) == sizeof( VkDescriptorPool ), "handle and wrapper have different size!" );
+
+ class Fence
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Fence()
+ : m_fence(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Fence( std::nullptr_t )
+ : m_fence(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Fence( VkFence fence )
+ : m_fence( fence )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Fence & operator=(VkFence fence)
+ {
+ m_fence = fence;
+ return *this;
+ }
+#endif
+
+ Fence & operator=( std::nullptr_t )
+ {
+ m_fence = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Fence const & rhs ) const
+ {
+ return m_fence == rhs.m_fence;
+ }
+
+ bool operator!=(Fence const & rhs ) const
+ {
+ return m_fence != rhs.m_fence;
+ }
+
+ bool operator<(Fence const & rhs ) const
+ {
+ return m_fence < rhs.m_fence;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFence() const
+ {
+ return m_fence;
+ }
+
+ explicit operator bool() const
+ {
+ return m_fence != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_fence == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkFence m_fence;
+ };
+
+ static_assert( sizeof( Fence ) == sizeof( VkFence ), "handle and wrapper have different size!" );
+
+ class Semaphore
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Semaphore()
+ : m_semaphore(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Semaphore( std::nullptr_t )
+ : m_semaphore(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Semaphore( VkSemaphore semaphore )
+ : m_semaphore( semaphore )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Semaphore & operator=(VkSemaphore semaphore)
+ {
+ m_semaphore = semaphore;
+ return *this;
+ }
+#endif
+
+ Semaphore & operator=( std::nullptr_t )
+ {
+ m_semaphore = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Semaphore const & rhs ) const
+ {
+ return m_semaphore == rhs.m_semaphore;
+ }
+
+ bool operator!=(Semaphore const & rhs ) const
+ {
+ return m_semaphore != rhs.m_semaphore;
+ }
+
+ bool operator<(Semaphore const & rhs ) const
+ {
+ return m_semaphore < rhs.m_semaphore;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSemaphore() const
+ {
+ return m_semaphore;
+ }
+
+ explicit operator bool() const
+ {
+ return m_semaphore != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_semaphore == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkSemaphore m_semaphore;
+ };
+
+ static_assert( sizeof( Semaphore ) == sizeof( VkSemaphore ), "handle and wrapper have different size!" );
+
+ class Event
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Event()
+ : m_event(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Event( std::nullptr_t )
+ : m_event(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Event( VkEvent event )
+ : m_event( event )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Event & operator=(VkEvent event)
+ {
+ m_event = event;
+ return *this;
+ }
+#endif
+
+ Event & operator=( std::nullptr_t )
+ {
+ m_event = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Event const & rhs ) const
+ {
+ return m_event == rhs.m_event;
+ }
+
+ bool operator!=(Event const & rhs ) const
+ {
+ return m_event != rhs.m_event;
+ }
+
+ bool operator<(Event const & rhs ) const
+ {
+ return m_event < rhs.m_event;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkEvent() const
+ {
+ return m_event;
+ }
+
+ explicit operator bool() const
+ {
+ return m_event != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_event == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkEvent m_event;
+ };
+
+ static_assert( sizeof( Event ) == sizeof( VkEvent ), "handle and wrapper have different size!" );
+
+ class QueryPool
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR QueryPool()
+ : m_queryPool(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR QueryPool( std::nullptr_t )
+ : m_queryPool(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT QueryPool( VkQueryPool queryPool )
+ : m_queryPool( queryPool )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ QueryPool & operator=(VkQueryPool queryPool)
+ {
+ m_queryPool = queryPool;
+ return *this;
+ }
+#endif
+
+ QueryPool & operator=( std::nullptr_t )
+ {
+ m_queryPool = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( QueryPool const & rhs ) const
+ {
+ return m_queryPool == rhs.m_queryPool;
+ }
+
+ bool operator!=(QueryPool const & rhs ) const
+ {
+ return m_queryPool != rhs.m_queryPool;
+ }
+
+ bool operator<(QueryPool const & rhs ) const
+ {
+ return m_queryPool < rhs.m_queryPool;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueryPool() const
+ {
+ return m_queryPool;
+ }
+
+ explicit operator bool() const
+ {
+ return m_queryPool != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_queryPool == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkQueryPool m_queryPool;
+ };
+
+ static_assert( sizeof( QueryPool ) == sizeof( VkQueryPool ), "handle and wrapper have different size!" );
+
+ class Framebuffer
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Framebuffer()
+ : m_framebuffer(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Framebuffer( std::nullptr_t )
+ : m_framebuffer(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Framebuffer( VkFramebuffer framebuffer )
+ : m_framebuffer( framebuffer )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Framebuffer & operator=(VkFramebuffer framebuffer)
+ {
+ m_framebuffer = framebuffer;
+ return *this;
+ }
+#endif
+
+ Framebuffer & operator=( std::nullptr_t )
+ {
+ m_framebuffer = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Framebuffer const & rhs ) const
+ {
+ return m_framebuffer == rhs.m_framebuffer;
+ }
+
+ bool operator!=(Framebuffer const & rhs ) const
+ {
+ return m_framebuffer != rhs.m_framebuffer;
+ }
+
+ bool operator<(Framebuffer const & rhs ) const
+ {
+ return m_framebuffer < rhs.m_framebuffer;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkFramebuffer() const
+ {
+ return m_framebuffer;
+ }
+
+ explicit operator bool() const
+ {
+ return m_framebuffer != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_framebuffer == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkFramebuffer m_framebuffer;
+ };
+
+ static_assert( sizeof( Framebuffer ) == sizeof( VkFramebuffer ), "handle and wrapper have different size!" );
+
+ class RenderPass
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR RenderPass()
+ : m_renderPass(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR RenderPass( std::nullptr_t )
+ : m_renderPass(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT RenderPass( VkRenderPass renderPass )
+ : m_renderPass( renderPass )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ RenderPass & operator=(VkRenderPass renderPass)
+ {
+ m_renderPass = renderPass;
+ return *this;
+ }
+#endif
+
+ RenderPass & operator=( std::nullptr_t )
+ {
+ m_renderPass = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( RenderPass const & rhs ) const
+ {
+ return m_renderPass == rhs.m_renderPass;
+ }
+
+ bool operator!=(RenderPass const & rhs ) const
+ {
+ return m_renderPass != rhs.m_renderPass;
+ }
+
+ bool operator<(RenderPass const & rhs ) const
+ {
+ return m_renderPass < rhs.m_renderPass;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkRenderPass() const
+ {
+ return m_renderPass;
+ }
+
+ explicit operator bool() const
+ {
+ return m_renderPass != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_renderPass == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkRenderPass m_renderPass;
+ };
+
+ static_assert( sizeof( RenderPass ) == sizeof( VkRenderPass ), "handle and wrapper have different size!" );
+
+ class PipelineCache
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR PipelineCache()
+ : m_pipelineCache(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR PipelineCache( std::nullptr_t )
+ : m_pipelineCache(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT PipelineCache( VkPipelineCache pipelineCache )
+ : m_pipelineCache( pipelineCache )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ PipelineCache & operator=(VkPipelineCache pipelineCache)
+ {
+ m_pipelineCache = pipelineCache;
+ return *this;
+ }
+#endif
+
+ PipelineCache & operator=( std::nullptr_t )
+ {
+ m_pipelineCache = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( PipelineCache const & rhs ) const
+ {
+ return m_pipelineCache == rhs.m_pipelineCache;
+ }
+
+ bool operator!=(PipelineCache const & rhs ) const
+ {
+ return m_pipelineCache != rhs.m_pipelineCache;
+ }
+
+ bool operator<(PipelineCache const & rhs ) const
+ {
+ return m_pipelineCache < rhs.m_pipelineCache;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPipelineCache() const
+ {
+ return m_pipelineCache;
+ }
+
+ explicit operator bool() const
+ {
+ return m_pipelineCache != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_pipelineCache == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkPipelineCache m_pipelineCache;
+ };
+
+ static_assert( sizeof( PipelineCache ) == sizeof( VkPipelineCache ), "handle and wrapper have different size!" );
+
+ class ObjectTableNVX
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR ObjectTableNVX()
+ : m_objectTableNVX(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR ObjectTableNVX( std::nullptr_t )
+ : m_objectTableNVX(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT ObjectTableNVX( VkObjectTableNVX objectTableNVX )
+ : m_objectTableNVX( objectTableNVX )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ ObjectTableNVX & operator=(VkObjectTableNVX objectTableNVX)
+ {
+ m_objectTableNVX = objectTableNVX;
+ return *this;
+ }
+#endif
+
+ ObjectTableNVX & operator=( std::nullptr_t )
+ {
+ m_objectTableNVX = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( ObjectTableNVX const & rhs ) const
+ {
+ return m_objectTableNVX == rhs.m_objectTableNVX;
+ }
+
+ bool operator!=(ObjectTableNVX const & rhs ) const
+ {
+ return m_objectTableNVX != rhs.m_objectTableNVX;
+ }
+
+ bool operator<(ObjectTableNVX const & rhs ) const
+ {
+ return m_objectTableNVX < rhs.m_objectTableNVX;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkObjectTableNVX() const
+ {
+ return m_objectTableNVX;
+ }
+
+ explicit operator bool() const
+ {
+ return m_objectTableNVX != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_objectTableNVX == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkObjectTableNVX m_objectTableNVX;
+ };
+
+ static_assert( sizeof( ObjectTableNVX ) == sizeof( VkObjectTableNVX ), "handle and wrapper have different size!" );
+
+ class IndirectCommandsLayoutNVX
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNVX()
+ : m_indirectCommandsLayoutNVX(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR IndirectCommandsLayoutNVX( std::nullptr_t )
+ : m_indirectCommandsLayoutNVX(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT IndirectCommandsLayoutNVX( VkIndirectCommandsLayoutNVX indirectCommandsLayoutNVX )
+ : m_indirectCommandsLayoutNVX( indirectCommandsLayoutNVX )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ IndirectCommandsLayoutNVX & operator=(VkIndirectCommandsLayoutNVX indirectCommandsLayoutNVX)
+ {
+ m_indirectCommandsLayoutNVX = indirectCommandsLayoutNVX;
+ return *this;
+ }
+#endif
+
+ IndirectCommandsLayoutNVX & operator=( std::nullptr_t )
+ {
+ m_indirectCommandsLayoutNVX = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( IndirectCommandsLayoutNVX const & rhs ) const
+ {
+ return m_indirectCommandsLayoutNVX == rhs.m_indirectCommandsLayoutNVX;
+ }
+
+ bool operator!=(IndirectCommandsLayoutNVX const & rhs ) const
+ {
+ return m_indirectCommandsLayoutNVX != rhs.m_indirectCommandsLayoutNVX;
+ }
+
+ bool operator<(IndirectCommandsLayoutNVX const & rhs ) const
+ {
+ return m_indirectCommandsLayoutNVX < rhs.m_indirectCommandsLayoutNVX;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkIndirectCommandsLayoutNVX() const
+ {
+ return m_indirectCommandsLayoutNVX;
+ }
+
+ explicit operator bool() const
+ {
+ return m_indirectCommandsLayoutNVX != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_indirectCommandsLayoutNVX == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkIndirectCommandsLayoutNVX m_indirectCommandsLayoutNVX;
+ };
+
+ static_assert( sizeof( IndirectCommandsLayoutNVX ) == sizeof( VkIndirectCommandsLayoutNVX ), "handle and wrapper have different size!" );
+
+ class DescriptorUpdateTemplate
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate()
+ : m_descriptorUpdateTemplate(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DescriptorUpdateTemplate( std::nullptr_t )
+ : m_descriptorUpdateTemplate(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DescriptorUpdateTemplate( VkDescriptorUpdateTemplate descriptorUpdateTemplate )
+ : m_descriptorUpdateTemplate( descriptorUpdateTemplate )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DescriptorUpdateTemplate & operator=(VkDescriptorUpdateTemplate descriptorUpdateTemplate)
+ {
+ m_descriptorUpdateTemplate = descriptorUpdateTemplate;
+ return *this;
+ }
+#endif
+
+ DescriptorUpdateTemplate & operator=( std::nullptr_t )
+ {
+ m_descriptorUpdateTemplate = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DescriptorUpdateTemplate const & rhs ) const
+ {
+ return m_descriptorUpdateTemplate == rhs.m_descriptorUpdateTemplate;
+ }
+
+ bool operator!=(DescriptorUpdateTemplate const & rhs ) const
+ {
+ return m_descriptorUpdateTemplate != rhs.m_descriptorUpdateTemplate;
+ }
+
+ bool operator<(DescriptorUpdateTemplate const & rhs ) const
+ {
+ return m_descriptorUpdateTemplate < rhs.m_descriptorUpdateTemplate;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDescriptorUpdateTemplate() const
+ {
+ return m_descriptorUpdateTemplate;
+ }
+
+ explicit operator bool() const
+ {
+ return m_descriptorUpdateTemplate != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_descriptorUpdateTemplate == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDescriptorUpdateTemplate m_descriptorUpdateTemplate;
+ };
+
+ static_assert( sizeof( DescriptorUpdateTemplate ) == sizeof( VkDescriptorUpdateTemplate ), "handle and wrapper have different size!" );
+
+ using DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate;
+
+ class SamplerYcbcrConversion
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion()
+ : m_samplerYcbcrConversion(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR SamplerYcbcrConversion( std::nullptr_t )
+ : m_samplerYcbcrConversion(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT SamplerYcbcrConversion( VkSamplerYcbcrConversion samplerYcbcrConversion )
+ : m_samplerYcbcrConversion( samplerYcbcrConversion )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ SamplerYcbcrConversion & operator=(VkSamplerYcbcrConversion samplerYcbcrConversion)
+ {
+ m_samplerYcbcrConversion = samplerYcbcrConversion;
+ return *this;
+ }
+#endif
+
+ SamplerYcbcrConversion & operator=( std::nullptr_t )
+ {
+ m_samplerYcbcrConversion = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( SamplerYcbcrConversion const & rhs ) const
+ {
+ return m_samplerYcbcrConversion == rhs.m_samplerYcbcrConversion;
+ }
+
+ bool operator!=(SamplerYcbcrConversion const & rhs ) const
+ {
+ return m_samplerYcbcrConversion != rhs.m_samplerYcbcrConversion;
+ }
+
+ bool operator<(SamplerYcbcrConversion const & rhs ) const
+ {
+ return m_samplerYcbcrConversion < rhs.m_samplerYcbcrConversion;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSamplerYcbcrConversion() const
+ {
+ return m_samplerYcbcrConversion;
+ }
+
+ explicit operator bool() const
+ {
+ return m_samplerYcbcrConversion != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_samplerYcbcrConversion == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkSamplerYcbcrConversion m_samplerYcbcrConversion;
+ };
+
+ static_assert( sizeof( SamplerYcbcrConversion ) == sizeof( VkSamplerYcbcrConversion ), "handle and wrapper have different size!" );
+
+ using SamplerYcbcrConversionKHR = SamplerYcbcrConversion;
+
+ class ValidationCacheEXT
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR ValidationCacheEXT()
+ : m_validationCacheEXT(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR ValidationCacheEXT( std::nullptr_t )
+ : m_validationCacheEXT(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT ValidationCacheEXT( VkValidationCacheEXT validationCacheEXT )
+ : m_validationCacheEXT( validationCacheEXT )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ ValidationCacheEXT & operator=(VkValidationCacheEXT validationCacheEXT)
+ {
+ m_validationCacheEXT = validationCacheEXT;
+ return *this;
+ }
+#endif
+
+ ValidationCacheEXT & operator=( std::nullptr_t )
+ {
+ m_validationCacheEXT = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( ValidationCacheEXT const & rhs ) const
+ {
+ return m_validationCacheEXT == rhs.m_validationCacheEXT;
+ }
+
+ bool operator!=(ValidationCacheEXT const & rhs ) const
+ {
+ return m_validationCacheEXT != rhs.m_validationCacheEXT;
+ }
+
+ bool operator<(ValidationCacheEXT const & rhs ) const
+ {
+ return m_validationCacheEXT < rhs.m_validationCacheEXT;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkValidationCacheEXT() const
+ {
+ return m_validationCacheEXT;
+ }
+
+ explicit operator bool() const
+ {
+ return m_validationCacheEXT != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_validationCacheEXT == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkValidationCacheEXT m_validationCacheEXT;
+ };
+
+ static_assert( sizeof( ValidationCacheEXT ) == sizeof( VkValidationCacheEXT ), "handle and wrapper have different size!" );
+
+ class DisplayKHR
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DisplayKHR()
+ : m_displayKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DisplayKHR( std::nullptr_t )
+ : m_displayKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DisplayKHR( VkDisplayKHR displayKHR )
+ : m_displayKHR( displayKHR )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DisplayKHR & operator=(VkDisplayKHR displayKHR)
+ {
+ m_displayKHR = displayKHR;
+ return *this;
+ }
+#endif
+
+ DisplayKHR & operator=( std::nullptr_t )
+ {
+ m_displayKHR = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DisplayKHR const & rhs ) const
+ {
+ return m_displayKHR == rhs.m_displayKHR;
+ }
+
+ bool operator!=(DisplayKHR const & rhs ) const
+ {
+ return m_displayKHR != rhs.m_displayKHR;
+ }
+
+ bool operator<(DisplayKHR const & rhs ) const
+ {
+ return m_displayKHR < rhs.m_displayKHR;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayKHR() const
+ {
+ return m_displayKHR;
+ }
+
+ explicit operator bool() const
+ {
+ return m_displayKHR != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_displayKHR == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDisplayKHR m_displayKHR;
+ };
+
+ static_assert( sizeof( DisplayKHR ) == sizeof( VkDisplayKHR ), "handle and wrapper have different size!" );
+
+ class DisplayModeKHR
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DisplayModeKHR()
+ : m_displayModeKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DisplayModeKHR( std::nullptr_t )
+ : m_displayModeKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DisplayModeKHR( VkDisplayModeKHR displayModeKHR )
+ : m_displayModeKHR( displayModeKHR )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DisplayModeKHR & operator=(VkDisplayModeKHR displayModeKHR)
+ {
+ m_displayModeKHR = displayModeKHR;
+ return *this;
+ }
+#endif
+
+ DisplayModeKHR & operator=( std::nullptr_t )
+ {
+ m_displayModeKHR = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DisplayModeKHR const & rhs ) const
+ {
+ return m_displayModeKHR == rhs.m_displayModeKHR;
+ }
+
+ bool operator!=(DisplayModeKHR const & rhs ) const
+ {
+ return m_displayModeKHR != rhs.m_displayModeKHR;
+ }
+
+ bool operator<(DisplayModeKHR const & rhs ) const
+ {
+ return m_displayModeKHR < rhs.m_displayModeKHR;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDisplayModeKHR() const
+ {
+ return m_displayModeKHR;
+ }
+
+ explicit operator bool() const
+ {
+ return m_displayModeKHR != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_displayModeKHR == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDisplayModeKHR m_displayModeKHR;
+ };
+
+ static_assert( sizeof( DisplayModeKHR ) == sizeof( VkDisplayModeKHR ), "handle and wrapper have different size!" );
+
+ class SurfaceKHR
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR SurfaceKHR()
+ : m_surfaceKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR SurfaceKHR( std::nullptr_t )
+ : m_surfaceKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT SurfaceKHR( VkSurfaceKHR surfaceKHR )
+ : m_surfaceKHR( surfaceKHR )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ SurfaceKHR & operator=(VkSurfaceKHR surfaceKHR)
+ {
+ m_surfaceKHR = surfaceKHR;
+ return *this;
+ }
+#endif
+
+ SurfaceKHR & operator=( std::nullptr_t )
+ {
+ m_surfaceKHR = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( SurfaceKHR const & rhs ) const
+ {
+ return m_surfaceKHR == rhs.m_surfaceKHR;
+ }
+
+ bool operator!=(SurfaceKHR const & rhs ) const
+ {
+ return m_surfaceKHR != rhs.m_surfaceKHR;
+ }
+
+ bool operator<(SurfaceKHR const & rhs ) const
+ {
+ return m_surfaceKHR < rhs.m_surfaceKHR;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSurfaceKHR() const
+ {
+ return m_surfaceKHR;
+ }
+
+ explicit operator bool() const
+ {
+ return m_surfaceKHR != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_surfaceKHR == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkSurfaceKHR m_surfaceKHR;
+ };
+
+ static_assert( sizeof( SurfaceKHR ) == sizeof( VkSurfaceKHR ), "handle and wrapper have different size!" );
+
+ class SwapchainKHR
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR SwapchainKHR()
+ : m_swapchainKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR SwapchainKHR( std::nullptr_t )
+ : m_swapchainKHR(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT SwapchainKHR( VkSwapchainKHR swapchainKHR )
+ : m_swapchainKHR( swapchainKHR )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ SwapchainKHR & operator=(VkSwapchainKHR swapchainKHR)
+ {
+ m_swapchainKHR = swapchainKHR;
+ return *this;
+ }
+#endif
+
+ SwapchainKHR & operator=( std::nullptr_t )
+ {
+ m_swapchainKHR = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( SwapchainKHR const & rhs ) const
+ {
+ return m_swapchainKHR == rhs.m_swapchainKHR;
+ }
+
+ bool operator!=(SwapchainKHR const & rhs ) const
+ {
+ return m_swapchainKHR != rhs.m_swapchainKHR;
+ }
+
+ bool operator<(SwapchainKHR const & rhs ) const
+ {
+ return m_swapchainKHR < rhs.m_swapchainKHR;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSwapchainKHR() const
+ {
+ return m_swapchainKHR;
+ }
+
+ explicit operator bool() const
+ {
+ return m_swapchainKHR != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_swapchainKHR == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkSwapchainKHR m_swapchainKHR;
+ };
+
+ static_assert( sizeof( SwapchainKHR ) == sizeof( VkSwapchainKHR ), "handle and wrapper have different size!" );
+
+ class DebugReportCallbackEXT
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT()
+ : m_debugReportCallbackEXT(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DebugReportCallbackEXT( std::nullptr_t )
+ : m_debugReportCallbackEXT(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DebugReportCallbackEXT( VkDebugReportCallbackEXT debugReportCallbackEXT )
+ : m_debugReportCallbackEXT( debugReportCallbackEXT )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DebugReportCallbackEXT & operator=(VkDebugReportCallbackEXT debugReportCallbackEXT)
+ {
+ m_debugReportCallbackEXT = debugReportCallbackEXT;
+ return *this;
+ }
+#endif
+
+ DebugReportCallbackEXT & operator=( std::nullptr_t )
+ {
+ m_debugReportCallbackEXT = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DebugReportCallbackEXT const & rhs ) const
+ {
+ return m_debugReportCallbackEXT == rhs.m_debugReportCallbackEXT;
+ }
+
+ bool operator!=(DebugReportCallbackEXT const & rhs ) const
+ {
+ return m_debugReportCallbackEXT != rhs.m_debugReportCallbackEXT;
+ }
+
+ bool operator<(DebugReportCallbackEXT const & rhs ) const
+ {
+ return m_debugReportCallbackEXT < rhs.m_debugReportCallbackEXT;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugReportCallbackEXT() const
+ {
+ return m_debugReportCallbackEXT;
+ }
+
+ explicit operator bool() const
+ {
+ return m_debugReportCallbackEXT != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_debugReportCallbackEXT == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDebugReportCallbackEXT m_debugReportCallbackEXT;
+ };
+
+ static_assert( sizeof( DebugReportCallbackEXT ) == sizeof( VkDebugReportCallbackEXT ), "handle and wrapper have different size!" );
+
+ class DebugUtilsMessengerEXT
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT()
+ : m_debugUtilsMessengerEXT(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR DebugUtilsMessengerEXT( std::nullptr_t )
+ : m_debugUtilsMessengerEXT(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT DebugUtilsMessengerEXT( VkDebugUtilsMessengerEXT debugUtilsMessengerEXT )
+ : m_debugUtilsMessengerEXT( debugUtilsMessengerEXT )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ DebugUtilsMessengerEXT & operator=(VkDebugUtilsMessengerEXT debugUtilsMessengerEXT)
+ {
+ m_debugUtilsMessengerEXT = debugUtilsMessengerEXT;
+ return *this;
+ }
+#endif
+
+ DebugUtilsMessengerEXT & operator=( std::nullptr_t )
+ {
+ m_debugUtilsMessengerEXT = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( DebugUtilsMessengerEXT const & rhs ) const
+ {
+ return m_debugUtilsMessengerEXT == rhs.m_debugUtilsMessengerEXT;
+ }
+
+ bool operator!=(DebugUtilsMessengerEXT const & rhs ) const
+ {
+ return m_debugUtilsMessengerEXT != rhs.m_debugUtilsMessengerEXT;
+ }
+
+ bool operator<(DebugUtilsMessengerEXT const & rhs ) const
+ {
+ return m_debugUtilsMessengerEXT < rhs.m_debugUtilsMessengerEXT;
+ }
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDebugUtilsMessengerEXT() const
+ {
+ return m_debugUtilsMessengerEXT;
+ }
+
+ explicit operator bool() const
+ {
+ return m_debugUtilsMessengerEXT != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_debugUtilsMessengerEXT == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDebugUtilsMessengerEXT m_debugUtilsMessengerEXT;
+ };
+
+ static_assert( sizeof( DebugUtilsMessengerEXT ) == sizeof( VkDebugUtilsMessengerEXT ), "handle and wrapper have different size!" );
+
+ struct Offset2D
+ {
+ Offset2D( int32_t x_ = 0, int32_t y_ = 0 )
+ : x( x_ )
+ , y( y_ )
+ {
+ }
+
+ Offset2D( VkOffset2D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Offset2D ) );
+ }
+
+ Offset2D& operator=( VkOffset2D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Offset2D ) );
+ return *this;
+ }
+ Offset2D& setX( int32_t x_ )
+ {
+ x = x_;
+ return *this;
+ }
+
+ Offset2D& setY( int32_t y_ )
+ {
+ y = y_;
+ return *this;
+ }
+
+ operator const VkOffset2D&() const
+ {
+ return *reinterpret_cast<const VkOffset2D*>(this);
+ }
+
+ bool operator==( Offset2D const& rhs ) const
+ {
+ return ( x == rhs.x )
+ && ( y == rhs.y );
+ }
+
+ bool operator!=( Offset2D const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ int32_t x;
+ int32_t y;
+ };
+ static_assert( sizeof( Offset2D ) == sizeof( VkOffset2D ), "struct and wrapper have different size!" );
+
+ struct Offset3D
+ {
+ Offset3D( int32_t x_ = 0, int32_t y_ = 0, int32_t z_ = 0 )
+ : x( x_ )
+ , y( y_ )
+ , z( z_ )
+ {
+ }
+
+ explicit Offset3D( Offset2D const& offset2D, int32_t z_ = 0 )
+ : x( offset2D.x )
+ , y( offset2D.y )
+ , z( z_ )
+ {}
+
+ Offset3D( VkOffset3D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Offset3D ) );
+ }
+
+ Offset3D& operator=( VkOffset3D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Offset3D ) );
+ return *this;
+ }
+ Offset3D& setX( int32_t x_ )
+ {
+ x = x_;
+ return *this;
+ }
+
+ Offset3D& setY( int32_t y_ )
+ {
+ y = y_;
+ return *this;
+ }
+
+ Offset3D& setZ( int32_t z_ )
+ {
+ z = z_;
+ return *this;
+ }
+
+ operator const VkOffset3D&() const
+ {
+ return *reinterpret_cast<const VkOffset3D*>(this);
+ }
+
+ bool operator==( Offset3D const& rhs ) const
+ {
+ return ( x == rhs.x )
+ && ( y == rhs.y )
+ && ( z == rhs.z );
+ }
+
+ bool operator!=( Offset3D const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ int32_t x;
+ int32_t y;
+ int32_t z;
+ };
+ static_assert( sizeof( Offset3D ) == sizeof( VkOffset3D ), "struct and wrapper have different size!" );
+
+ struct Extent2D
+ {
+ Extent2D( uint32_t width_ = 0, uint32_t height_ = 0 )
+ : width( width_ )
+ , height( height_ )
+ {
+ }
+
+ Extent2D( VkExtent2D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Extent2D ) );
+ }
+
+ Extent2D& operator=( VkExtent2D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Extent2D ) );
+ return *this;
+ }
+ Extent2D& setWidth( uint32_t width_ )
+ {
+ width = width_;
+ return *this;
+ }
+
+ Extent2D& setHeight( uint32_t height_ )
+ {
+ height = height_;
+ return *this;
+ }
+
+ operator const VkExtent2D&() const
+ {
+ return *reinterpret_cast<const VkExtent2D*>(this);
+ }
+
+ bool operator==( Extent2D const& rhs ) const
+ {
+ return ( width == rhs.width )
+ && ( height == rhs.height );
+ }
+
+ bool operator!=( Extent2D const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t width;
+ uint32_t height;
+ };
+ static_assert( sizeof( Extent2D ) == sizeof( VkExtent2D ), "struct and wrapper have different size!" );
+
+ struct Extent3D
+ {
+ Extent3D( uint32_t width_ = 0, uint32_t height_ = 0, uint32_t depth_ = 0 )
+ : width( width_ )
+ , height( height_ )
+ , depth( depth_ )
+ {
+ }
+
+ explicit Extent3D( Extent2D const& extent2D, uint32_t depth_ = 0 )
+ : width( extent2D.width )
+ , height( extent2D.height )
+ , depth( depth_ )
+ {}
+
+ Extent3D( VkExtent3D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Extent3D ) );
+ }
+
+ Extent3D& operator=( VkExtent3D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Extent3D ) );
+ return *this;
+ }
+ Extent3D& setWidth( uint32_t width_ )
+ {
+ width = width_;
+ return *this;
+ }
+
+ Extent3D& setHeight( uint32_t height_ )
+ {
+ height = height_;
+ return *this;
+ }
+
+ Extent3D& setDepth( uint32_t depth_ )
+ {
+ depth = depth_;
+ return *this;
+ }
+
+ operator const VkExtent3D&() const
+ {
+ return *reinterpret_cast<const VkExtent3D*>(this);
+ }
+
+ bool operator==( Extent3D const& rhs ) const
+ {
+ return ( width == rhs.width )
+ && ( height == rhs.height )
+ && ( depth == rhs.depth );
+ }
+
+ bool operator!=( Extent3D const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t width;
+ uint32_t height;
+ uint32_t depth;
+ };
+ static_assert( sizeof( Extent3D ) == sizeof( VkExtent3D ), "struct and wrapper have different size!" );
+
+ struct Viewport
+ {
+ Viewport( float x_ = 0, float y_ = 0, float width_ = 0, float height_ = 0, float minDepth_ = 0, float maxDepth_ = 0 )
+ : x( x_ )
+ , y( y_ )
+ , width( width_ )
+ , height( height_ )
+ , minDepth( minDepth_ )
+ , maxDepth( maxDepth_ )
+ {
+ }
+
+ Viewport( VkViewport const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Viewport ) );
+ }
+
+ Viewport& operator=( VkViewport const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Viewport ) );
+ return *this;
+ }
+ Viewport& setX( float x_ )
+ {
+ x = x_;
+ return *this;
+ }
+
+ Viewport& setY( float y_ )
+ {
+ y = y_;
+ return *this;
+ }
+
+ Viewport& setWidth( float width_ )
+ {
+ width = width_;
+ return *this;
+ }
+
+ Viewport& setHeight( float height_ )
+ {
+ height = height_;
+ return *this;
+ }
+
+ Viewport& setMinDepth( float minDepth_ )
+ {
+ minDepth = minDepth_;
+ return *this;
+ }
+
+ Viewport& setMaxDepth( float maxDepth_ )
+ {
+ maxDepth = maxDepth_;
+ return *this;
+ }
+
+ operator const VkViewport&() const
+ {
+ return *reinterpret_cast<const VkViewport*>(this);
+ }
+
+ bool operator==( Viewport const& rhs ) const
+ {
+ return ( x == rhs.x )
+ && ( y == rhs.y )
+ && ( width == rhs.width )
+ && ( height == rhs.height )
+ && ( minDepth == rhs.minDepth )
+ && ( maxDepth == rhs.maxDepth );
+ }
+
+ bool operator!=( Viewport const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ float x;
+ float y;
+ float width;
+ float height;
+ float minDepth;
+ float maxDepth;
+ };
+ static_assert( sizeof( Viewport ) == sizeof( VkViewport ), "struct and wrapper have different size!" );
+
+ struct Rect2D
+ {
+ Rect2D( Offset2D offset_ = Offset2D(), Extent2D extent_ = Extent2D() )
+ : offset( offset_ )
+ , extent( extent_ )
+ {
+ }
+
+ Rect2D( VkRect2D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Rect2D ) );
+ }
+
+ Rect2D& operator=( VkRect2D const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Rect2D ) );
+ return *this;
+ }
+ Rect2D& setOffset( Offset2D offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ Rect2D& setExtent( Extent2D extent_ )
+ {
+ extent = extent_;
+ return *this;
+ }
+
+ operator const VkRect2D&() const
+ {
+ return *reinterpret_cast<const VkRect2D*>(this);
+ }
+
+ bool operator==( Rect2D const& rhs ) const
+ {
+ return ( offset == rhs.offset )
+ && ( extent == rhs.extent );
+ }
+
+ bool operator!=( Rect2D const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Offset2D offset;
+ Extent2D extent;
+ };
+ static_assert( sizeof( Rect2D ) == sizeof( VkRect2D ), "struct and wrapper have different size!" );
+
+ struct ClearRect
+ {
+ ClearRect( Rect2D rect_ = Rect2D(), uint32_t baseArrayLayer_ = 0, uint32_t layerCount_ = 0 )
+ : rect( rect_ )
+ , baseArrayLayer( baseArrayLayer_ )
+ , layerCount( layerCount_ )
+ {
+ }
+
+ ClearRect( VkClearRect const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ClearRect ) );
+ }
+
+ ClearRect& operator=( VkClearRect const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ClearRect ) );
+ return *this;
+ }
+ ClearRect& setRect( Rect2D rect_ )
+ {
+ rect = rect_;
+ return *this;
+ }
+
+ ClearRect& setBaseArrayLayer( uint32_t baseArrayLayer_ )
+ {
+ baseArrayLayer = baseArrayLayer_;
+ return *this;
+ }
+
+ ClearRect& setLayerCount( uint32_t layerCount_ )
+ {
+ layerCount = layerCount_;
+ return *this;
+ }
+
+ operator const VkClearRect&() const
+ {
+ return *reinterpret_cast<const VkClearRect*>(this);
+ }
+
+ bool operator==( ClearRect const& rhs ) const
+ {
+ return ( rect == rhs.rect )
+ && ( baseArrayLayer == rhs.baseArrayLayer )
+ && ( layerCount == rhs.layerCount );
+ }
+
+ bool operator!=( ClearRect const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Rect2D rect;
+ uint32_t baseArrayLayer;
+ uint32_t layerCount;
+ };
+ static_assert( sizeof( ClearRect ) == sizeof( VkClearRect ), "struct and wrapper have different size!" );
+
+ struct ExtensionProperties
+ {
+ operator const VkExtensionProperties&() const
+ {
+ return *reinterpret_cast<const VkExtensionProperties*>(this);
+ }
+
+ bool operator==( ExtensionProperties const& rhs ) const
+ {
+ return ( memcmp( extensionName, rhs.extensionName, VK_MAX_EXTENSION_NAME_SIZE * sizeof( char ) ) == 0 )
+ && ( specVersion == rhs.specVersion );
+ }
+
+ bool operator!=( ExtensionProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ char extensionName[VK_MAX_EXTENSION_NAME_SIZE];
+ uint32_t specVersion;
+ };
+ static_assert( sizeof( ExtensionProperties ) == sizeof( VkExtensionProperties ), "struct and wrapper have different size!" );
+
+ struct LayerProperties
+ {
+ operator const VkLayerProperties&() const
+ {
+ return *reinterpret_cast<const VkLayerProperties*>(this);
+ }
+
+ bool operator==( LayerProperties const& rhs ) const
+ {
+ return ( memcmp( layerName, rhs.layerName, VK_MAX_EXTENSION_NAME_SIZE * sizeof( char ) ) == 0 )
+ && ( specVersion == rhs.specVersion )
+ && ( implementationVersion == rhs.implementationVersion )
+ && ( memcmp( description, rhs.description, VK_MAX_DESCRIPTION_SIZE * sizeof( char ) ) == 0 );
+ }
+
+ bool operator!=( LayerProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ char layerName[VK_MAX_EXTENSION_NAME_SIZE];
+ uint32_t specVersion;
+ uint32_t implementationVersion;
+ char description[VK_MAX_DESCRIPTION_SIZE];
+ };
+ static_assert( sizeof( LayerProperties ) == sizeof( VkLayerProperties ), "struct and wrapper have different size!" );
+
+ struct AllocationCallbacks
+ {
+ AllocationCallbacks( void* pUserData_ = nullptr, PFN_vkAllocationFunction pfnAllocation_ = nullptr, PFN_vkReallocationFunction pfnReallocation_ = nullptr, PFN_vkFreeFunction pfnFree_ = nullptr, PFN_vkInternalAllocationNotification pfnInternalAllocation_ = nullptr, PFN_vkInternalFreeNotification pfnInternalFree_ = nullptr )
+ : pUserData( pUserData_ )
+ , pfnAllocation( pfnAllocation_ )
+ , pfnReallocation( pfnReallocation_ )
+ , pfnFree( pfnFree_ )
+ , pfnInternalAllocation( pfnInternalAllocation_ )
+ , pfnInternalFree( pfnInternalFree_ )
+ {
+ }
+
+ AllocationCallbacks( VkAllocationCallbacks const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AllocationCallbacks ) );
+ }
+
+ AllocationCallbacks& operator=( VkAllocationCallbacks const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AllocationCallbacks ) );
+ return *this;
+ }
+ AllocationCallbacks& setPUserData( void* pUserData_ )
+ {
+ pUserData = pUserData_;
+ return *this;
+ }
+
+ AllocationCallbacks& setPfnAllocation( PFN_vkAllocationFunction pfnAllocation_ )
+ {
+ pfnAllocation = pfnAllocation_;
+ return *this;
+ }
+
+ AllocationCallbacks& setPfnReallocation( PFN_vkReallocationFunction pfnReallocation_ )
+ {
+ pfnReallocation = pfnReallocation_;
+ return *this;
+ }
+
+ AllocationCallbacks& setPfnFree( PFN_vkFreeFunction pfnFree_ )
+ {
+ pfnFree = pfnFree_;
+ return *this;
+ }
+
+ AllocationCallbacks& setPfnInternalAllocation( PFN_vkInternalAllocationNotification pfnInternalAllocation_ )
+ {
+ pfnInternalAllocation = pfnInternalAllocation_;
+ return *this;
+ }
+
+ AllocationCallbacks& setPfnInternalFree( PFN_vkInternalFreeNotification pfnInternalFree_ )
+ {
+ pfnInternalFree = pfnInternalFree_;
+ return *this;
+ }
+
+ operator const VkAllocationCallbacks&() const
+ {
+ return *reinterpret_cast<const VkAllocationCallbacks*>(this);
+ }
+
+ bool operator==( AllocationCallbacks const& rhs ) const
+ {
+ return ( pUserData == rhs.pUserData )
+ && ( pfnAllocation == rhs.pfnAllocation )
+ && ( pfnReallocation == rhs.pfnReallocation )
+ && ( pfnFree == rhs.pfnFree )
+ && ( pfnInternalAllocation == rhs.pfnInternalAllocation )
+ && ( pfnInternalFree == rhs.pfnInternalFree );
+ }
+
+ bool operator!=( AllocationCallbacks const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ void* pUserData;
+ PFN_vkAllocationFunction pfnAllocation;
+ PFN_vkReallocationFunction pfnReallocation;
+ PFN_vkFreeFunction pfnFree;
+ PFN_vkInternalAllocationNotification pfnInternalAllocation;
+ PFN_vkInternalFreeNotification pfnInternalFree;
+ };
+ static_assert( sizeof( AllocationCallbacks ) == sizeof( VkAllocationCallbacks ), "struct and wrapper have different size!" );
+
+ struct MemoryRequirements
+ {
+ operator const VkMemoryRequirements&() const
+ {
+ return *reinterpret_cast<const VkMemoryRequirements*>(this);
+ }
+
+ bool operator==( MemoryRequirements const& rhs ) const
+ {
+ return ( size == rhs.size )
+ && ( alignment == rhs.alignment )
+ && ( memoryTypeBits == rhs.memoryTypeBits );
+ }
+
+ bool operator!=( MemoryRequirements const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DeviceSize size;
+ DeviceSize alignment;
+ uint32_t memoryTypeBits;
+ };
+ static_assert( sizeof( MemoryRequirements ) == sizeof( VkMemoryRequirements ), "struct and wrapper have different size!" );
+
+ struct DescriptorBufferInfo
+ {
+ DescriptorBufferInfo( Buffer buffer_ = Buffer(), DeviceSize offset_ = 0, DeviceSize range_ = 0 )
+ : buffer( buffer_ )
+ , offset( offset_ )
+ , range( range_ )
+ {
+ }
+
+ DescriptorBufferInfo( VkDescriptorBufferInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorBufferInfo ) );
+ }
+
+ DescriptorBufferInfo& operator=( VkDescriptorBufferInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorBufferInfo ) );
+ return *this;
+ }
+ DescriptorBufferInfo& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ DescriptorBufferInfo& setOffset( DeviceSize offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ DescriptorBufferInfo& setRange( DeviceSize range_ )
+ {
+ range = range_;
+ return *this;
+ }
+
+ operator const VkDescriptorBufferInfo&() const
+ {
+ return *reinterpret_cast<const VkDescriptorBufferInfo*>(this);
+ }
+
+ bool operator==( DescriptorBufferInfo const& rhs ) const
+ {
+ return ( buffer == rhs.buffer )
+ && ( offset == rhs.offset )
+ && ( range == rhs.range );
+ }
+
+ bool operator!=( DescriptorBufferInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Buffer buffer;
+ DeviceSize offset;
+ DeviceSize range;
+ };
+ static_assert( sizeof( DescriptorBufferInfo ) == sizeof( VkDescriptorBufferInfo ), "struct and wrapper have different size!" );
+
+ struct SubresourceLayout
+ {
+ operator const VkSubresourceLayout&() const
+ {
+ return *reinterpret_cast<const VkSubresourceLayout*>(this);
+ }
+
+ bool operator==( SubresourceLayout const& rhs ) const
+ {
+ return ( offset == rhs.offset )
+ && ( size == rhs.size )
+ && ( rowPitch == rhs.rowPitch )
+ && ( arrayPitch == rhs.arrayPitch )
+ && ( depthPitch == rhs.depthPitch );
+ }
+
+ bool operator!=( SubresourceLayout const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DeviceSize offset;
+ DeviceSize size;
+ DeviceSize rowPitch;
+ DeviceSize arrayPitch;
+ DeviceSize depthPitch;
+ };
+ static_assert( sizeof( SubresourceLayout ) == sizeof( VkSubresourceLayout ), "struct and wrapper have different size!" );
+
+ struct BufferCopy
+ {
+ BufferCopy( DeviceSize srcOffset_ = 0, DeviceSize dstOffset_ = 0, DeviceSize size_ = 0 )
+ : srcOffset( srcOffset_ )
+ , dstOffset( dstOffset_ )
+ , size( size_ )
+ {
+ }
+
+ BufferCopy( VkBufferCopy const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferCopy ) );
+ }
+
+ BufferCopy& operator=( VkBufferCopy const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferCopy ) );
+ return *this;
+ }
+ BufferCopy& setSrcOffset( DeviceSize srcOffset_ )
+ {
+ srcOffset = srcOffset_;
+ return *this;
+ }
+
+ BufferCopy& setDstOffset( DeviceSize dstOffset_ )
+ {
+ dstOffset = dstOffset_;
+ return *this;
+ }
+
+ BufferCopy& setSize( DeviceSize size_ )
+ {
+ size = size_;
+ return *this;
+ }
+
+ operator const VkBufferCopy&() const
+ {
+ return *reinterpret_cast<const VkBufferCopy*>(this);
+ }
+
+ bool operator==( BufferCopy const& rhs ) const
+ {
+ return ( srcOffset == rhs.srcOffset )
+ && ( dstOffset == rhs.dstOffset )
+ && ( size == rhs.size );
+ }
+
+ bool operator!=( BufferCopy const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DeviceSize srcOffset;
+ DeviceSize dstOffset;
+ DeviceSize size;
+ };
+ static_assert( sizeof( BufferCopy ) == sizeof( VkBufferCopy ), "struct and wrapper have different size!" );
+
+ struct SpecializationMapEntry
+ {
+ SpecializationMapEntry( uint32_t constantID_ = 0, uint32_t offset_ = 0, size_t size_ = 0 )
+ : constantID( constantID_ )
+ , offset( offset_ )
+ , size( size_ )
+ {
+ }
+
+ SpecializationMapEntry( VkSpecializationMapEntry const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SpecializationMapEntry ) );
+ }
+
+ SpecializationMapEntry& operator=( VkSpecializationMapEntry const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SpecializationMapEntry ) );
+ return *this;
+ }
+ SpecializationMapEntry& setConstantID( uint32_t constantID_ )
+ {
+ constantID = constantID_;
+ return *this;
+ }
+
+ SpecializationMapEntry& setOffset( uint32_t offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ SpecializationMapEntry& setSize( size_t size_ )
+ {
+ size = size_;
+ return *this;
+ }
+
+ operator const VkSpecializationMapEntry&() const
+ {
+ return *reinterpret_cast<const VkSpecializationMapEntry*>(this);
+ }
+
+ bool operator==( SpecializationMapEntry const& rhs ) const
+ {
+ return ( constantID == rhs.constantID )
+ && ( offset == rhs.offset )
+ && ( size == rhs.size );
+ }
+
+ bool operator!=( SpecializationMapEntry const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t constantID;
+ uint32_t offset;
+ size_t size;
+ };
+ static_assert( sizeof( SpecializationMapEntry ) == sizeof( VkSpecializationMapEntry ), "struct and wrapper have different size!" );
+
+ struct SpecializationInfo
+ {
+ SpecializationInfo( uint32_t mapEntryCount_ = 0, const SpecializationMapEntry* pMapEntries_ = nullptr, size_t dataSize_ = 0, const void* pData_ = nullptr )
+ : mapEntryCount( mapEntryCount_ )
+ , pMapEntries( pMapEntries_ )
+ , dataSize( dataSize_ )
+ , pData( pData_ )
+ {
+ }
+
+ SpecializationInfo( VkSpecializationInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SpecializationInfo ) );
+ }
+
+ SpecializationInfo& operator=( VkSpecializationInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SpecializationInfo ) );
+ return *this;
+ }
+ SpecializationInfo& setMapEntryCount( uint32_t mapEntryCount_ )
+ {
+ mapEntryCount = mapEntryCount_;
+ return *this;
+ }
+
+ SpecializationInfo& setPMapEntries( const SpecializationMapEntry* pMapEntries_ )
+ {
+ pMapEntries = pMapEntries_;
+ return *this;
+ }
+
+ SpecializationInfo& setDataSize( size_t dataSize_ )
+ {
+ dataSize = dataSize_;
+ return *this;
+ }
+
+ SpecializationInfo& setPData( const void* pData_ )
+ {
+ pData = pData_;
+ return *this;
+ }
+
+ operator const VkSpecializationInfo&() const
+ {
+ return *reinterpret_cast<const VkSpecializationInfo*>(this);
+ }
+
+ bool operator==( SpecializationInfo const& rhs ) const
+ {
+ return ( mapEntryCount == rhs.mapEntryCount )
+ && ( pMapEntries == rhs.pMapEntries )
+ && ( dataSize == rhs.dataSize )
+ && ( pData == rhs.pData );
+ }
+
+ bool operator!=( SpecializationInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t mapEntryCount;
+ const SpecializationMapEntry* pMapEntries;
+ size_t dataSize;
+ const void* pData;
+ };
+ static_assert( sizeof( SpecializationInfo ) == sizeof( VkSpecializationInfo ), "struct and wrapper have different size!" );
+
+ union ClearColorValue
+ {
+ ClearColorValue( const std::array<float,4>& float32_ = { {0} } )
+ {
+ memcpy( &float32, float32_.data(), 4 * sizeof( float ) );
+ }
+
+ ClearColorValue( const std::array<int32_t,4>& int32_ )
+ {
+ memcpy( &int32, int32_.data(), 4 * sizeof( int32_t ) );
+ }
+
+ ClearColorValue( const std::array<uint32_t,4>& uint32_ )
+ {
+ memcpy( &uint32, uint32_.data(), 4 * sizeof( uint32_t ) );
+ }
+
+ ClearColorValue& setFloat32( std::array<float,4> float32_ )
+ {
+ memcpy( &float32, float32_.data(), 4 * sizeof( float ) );
+ return *this;
+ }
+
+ ClearColorValue& setInt32( std::array<int32_t,4> int32_ )
+ {
+ memcpy( &int32, int32_.data(), 4 * sizeof( int32_t ) );
+ return *this;
+ }
+
+ ClearColorValue& setUint32( std::array<uint32_t,4> uint32_ )
+ {
+ memcpy( &uint32, uint32_.data(), 4 * sizeof( uint32_t ) );
+ return *this;
+ }
+
+ operator VkClearColorValue const& () const
+ {
+ return *reinterpret_cast<const VkClearColorValue*>(this);
+ }
+
+ float float32[4];
+ int32_t int32[4];
+ uint32_t uint32[4];
+ };
+
+ struct ClearDepthStencilValue
+ {
+ ClearDepthStencilValue( float depth_ = 0, uint32_t stencil_ = 0 )
+ : depth( depth_ )
+ , stencil( stencil_ )
+ {
+ }
+
+ ClearDepthStencilValue( VkClearDepthStencilValue const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ClearDepthStencilValue ) );
+ }
+
+ ClearDepthStencilValue& operator=( VkClearDepthStencilValue const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ClearDepthStencilValue ) );
+ return *this;
+ }
+ ClearDepthStencilValue& setDepth( float depth_ )
+ {
+ depth = depth_;
+ return *this;
+ }
+
+ ClearDepthStencilValue& setStencil( uint32_t stencil_ )
+ {
+ stencil = stencil_;
+ return *this;
+ }
+
+ operator const VkClearDepthStencilValue&() const
+ {
+ return *reinterpret_cast<const VkClearDepthStencilValue*>(this);
+ }
+
+ bool operator==( ClearDepthStencilValue const& rhs ) const
+ {
+ return ( depth == rhs.depth )
+ && ( stencil == rhs.stencil );
+ }
+
+ bool operator!=( ClearDepthStencilValue const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ float depth;
+ uint32_t stencil;
+ };
+ static_assert( sizeof( ClearDepthStencilValue ) == sizeof( VkClearDepthStencilValue ), "struct and wrapper have different size!" );
+
+ union ClearValue
+ {
+ ClearValue( ClearColorValue color_ = ClearColorValue() )
+ {
+ color = color_;
+ }
+
+ ClearValue( ClearDepthStencilValue depthStencil_ )
+ {
+ depthStencil = depthStencil_;
+ }
+
+ ClearValue& setColor( ClearColorValue color_ )
+ {
+ color = color_;
+ return *this;
+ }
+
+ ClearValue& setDepthStencil( ClearDepthStencilValue depthStencil_ )
+ {
+ depthStencil = depthStencil_;
+ return *this;
+ }
+
+ operator VkClearValue const& () const
+ {
+ return *reinterpret_cast<const VkClearValue*>(this);
+ }
+
+#ifdef VULKAN_HPP_HAS_UNRESTRICTED_UNIONS
+ ClearColorValue color;
+ ClearDepthStencilValue depthStencil;
+#else
+ VkClearColorValue color;
+ VkClearDepthStencilValue depthStencil;
+#endif // VULKAN_HPP_HAS_UNRESTRICTED_UNIONS
+ };
+
+ struct PhysicalDeviceFeatures
+ {
+ PhysicalDeviceFeatures( Bool32 robustBufferAccess_ = 0, Bool32 fullDrawIndexUint32_ = 0, Bool32 imageCubeArray_ = 0, Bool32 independentBlend_ = 0, Bool32 geometryShader_ = 0, Bool32 tessellationShader_ = 0, Bool32 sampleRateShading_ = 0, Bool32 dualSrcBlend_ = 0, Bool32 logicOp_ = 0, Bool32 multiDrawIndirect_ = 0, Bool32 drawIndirectFirstInstance_ = 0, Bool32 depthClamp_ = 0, Bool32 depthBiasClamp_ = 0, Bool32 fillModeNonSolid_ = 0, Bool32 depthBounds_ = 0, Bool32 wideLines_ = 0, Bool32 largePoints_ = 0, Bool32 alphaToOne_ = 0, Bool32 multiViewport_ = 0, Bool32 samplerAnisotropy_ = 0, Bool32 textureCompressionETC2_ = 0, Bool32 textureCompressionASTC_LDR_ = 0, Bool32 textureCompressionBC_ = 0, Bool32 occlusionQueryPrecise_ = 0, Bool32 pipelineStatisticsQuery_ = 0, Bool32 vertexPipelineStoresAndAtomics_ = 0, Bool32 fragmentStoresAndAtomics_ = 0, Bool32 shaderTessellationAndGeometryPointSize_ = 0, Bool32 shaderImageGatherExtended_ = 0, Bool32 shaderStorageImageExtendedFormats_ = 0, Bool32 shaderStorageImageMultisample_ = 0, Bool32 shaderStorageImageReadWithoutFormat_ = 0, Bool32 shaderStorageImageWriteWithoutFormat_ = 0, Bool32 shaderUniformBufferArrayDynamicIndexing_ = 0, Bool32 shaderSampledImageArrayDynamicIndexing_ = 0, Bool32 shaderStorageBufferArrayDynamicIndexing_ = 0, Bool32 shaderStorageImageArrayDynamicIndexing_ = 0, Bool32 shaderClipDistance_ = 0, Bool32 shaderCullDistance_ = 0, Bool32 shaderFloat64_ = 0, Bool32 shaderInt64_ = 0, Bool32 shaderInt16_ = 0, Bool32 shaderResourceResidency_ = 0, Bool32 shaderResourceMinLod_ = 0, Bool32 sparseBinding_ = 0, Bool32 sparseResidencyBuffer_ = 0, Bool32 sparseResidencyImage2D_ = 0, Bool32 sparseResidencyImage3D_ = 0, Bool32 sparseResidency2Samples_ = 0, Bool32 sparseResidency4Samples_ = 0, Bool32 sparseResidency8Samples_ = 0, Bool32 sparseResidency16Samples_ = 0, Bool32 sparseResidencyAliased_ = 0, Bool32 variableMultisampleRate_ = 0, Bool32 inheritedQueries_ = 0 )
+ : robustBufferAccess( robustBufferAccess_ )
+ , fullDrawIndexUint32( fullDrawIndexUint32_ )
+ , imageCubeArray( imageCubeArray_ )
+ , independentBlend( independentBlend_ )
+ , geometryShader( geometryShader_ )
+ , tessellationShader( tessellationShader_ )
+ , sampleRateShading( sampleRateShading_ )
+ , dualSrcBlend( dualSrcBlend_ )
+ , logicOp( logicOp_ )
+ , multiDrawIndirect( multiDrawIndirect_ )
+ , drawIndirectFirstInstance( drawIndirectFirstInstance_ )
+ , depthClamp( depthClamp_ )
+ , depthBiasClamp( depthBiasClamp_ )
+ , fillModeNonSolid( fillModeNonSolid_ )
+ , depthBounds( depthBounds_ )
+ , wideLines( wideLines_ )
+ , largePoints( largePoints_ )
+ , alphaToOne( alphaToOne_ )
+ , multiViewport( multiViewport_ )
+ , samplerAnisotropy( samplerAnisotropy_ )
+ , textureCompressionETC2( textureCompressionETC2_ )
+ , textureCompressionASTC_LDR( textureCompressionASTC_LDR_ )
+ , textureCompressionBC( textureCompressionBC_ )
+ , occlusionQueryPrecise( occlusionQueryPrecise_ )
+ , pipelineStatisticsQuery( pipelineStatisticsQuery_ )
+ , vertexPipelineStoresAndAtomics( vertexPipelineStoresAndAtomics_ )
+ , fragmentStoresAndAtomics( fragmentStoresAndAtomics_ )
+ , shaderTessellationAndGeometryPointSize( shaderTessellationAndGeometryPointSize_ )
+ , shaderImageGatherExtended( shaderImageGatherExtended_ )
+ , shaderStorageImageExtendedFormats( shaderStorageImageExtendedFormats_ )
+ , shaderStorageImageMultisample( shaderStorageImageMultisample_ )
+ , shaderStorageImageReadWithoutFormat( shaderStorageImageReadWithoutFormat_ )
+ , shaderStorageImageWriteWithoutFormat( shaderStorageImageWriteWithoutFormat_ )
+ , shaderUniformBufferArrayDynamicIndexing( shaderUniformBufferArrayDynamicIndexing_ )
+ , shaderSampledImageArrayDynamicIndexing( shaderSampledImageArrayDynamicIndexing_ )
+ , shaderStorageBufferArrayDynamicIndexing( shaderStorageBufferArrayDynamicIndexing_ )
+ , shaderStorageImageArrayDynamicIndexing( shaderStorageImageArrayDynamicIndexing_ )
+ , shaderClipDistance( shaderClipDistance_ )
+ , shaderCullDistance( shaderCullDistance_ )
+ , shaderFloat64( shaderFloat64_ )
+ , shaderInt64( shaderInt64_ )
+ , shaderInt16( shaderInt16_ )
+ , shaderResourceResidency( shaderResourceResidency_ )
+ , shaderResourceMinLod( shaderResourceMinLod_ )
+ , sparseBinding( sparseBinding_ )
+ , sparseResidencyBuffer( sparseResidencyBuffer_ )
+ , sparseResidencyImage2D( sparseResidencyImage2D_ )
+ , sparseResidencyImage3D( sparseResidencyImage3D_ )
+ , sparseResidency2Samples( sparseResidency2Samples_ )
+ , sparseResidency4Samples( sparseResidency4Samples_ )
+ , sparseResidency8Samples( sparseResidency8Samples_ )
+ , sparseResidency16Samples( sparseResidency16Samples_ )
+ , sparseResidencyAliased( sparseResidencyAliased_ )
+ , variableMultisampleRate( variableMultisampleRate_ )
+ , inheritedQueries( inheritedQueries_ )
+ {
+ }
+
+ PhysicalDeviceFeatures( VkPhysicalDeviceFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures ) );
+ }
+
+ PhysicalDeviceFeatures& operator=( VkPhysicalDeviceFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures ) );
+ return *this;
+ }
+ PhysicalDeviceFeatures& setRobustBufferAccess( Bool32 robustBufferAccess_ )
+ {
+ robustBufferAccess = robustBufferAccess_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setFullDrawIndexUint32( Bool32 fullDrawIndexUint32_ )
+ {
+ fullDrawIndexUint32 = fullDrawIndexUint32_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setImageCubeArray( Bool32 imageCubeArray_ )
+ {
+ imageCubeArray = imageCubeArray_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setIndependentBlend( Bool32 independentBlend_ )
+ {
+ independentBlend = independentBlend_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setGeometryShader( Bool32 geometryShader_ )
+ {
+ geometryShader = geometryShader_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setTessellationShader( Bool32 tessellationShader_ )
+ {
+ tessellationShader = tessellationShader_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSampleRateShading( Bool32 sampleRateShading_ )
+ {
+ sampleRateShading = sampleRateShading_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setDualSrcBlend( Bool32 dualSrcBlend_ )
+ {
+ dualSrcBlend = dualSrcBlend_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setLogicOp( Bool32 logicOp_ )
+ {
+ logicOp = logicOp_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setMultiDrawIndirect( Bool32 multiDrawIndirect_ )
+ {
+ multiDrawIndirect = multiDrawIndirect_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setDrawIndirectFirstInstance( Bool32 drawIndirectFirstInstance_ )
+ {
+ drawIndirectFirstInstance = drawIndirectFirstInstance_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setDepthClamp( Bool32 depthClamp_ )
+ {
+ depthClamp = depthClamp_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setDepthBiasClamp( Bool32 depthBiasClamp_ )
+ {
+ depthBiasClamp = depthBiasClamp_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setFillModeNonSolid( Bool32 fillModeNonSolid_ )
+ {
+ fillModeNonSolid = fillModeNonSolid_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setDepthBounds( Bool32 depthBounds_ )
+ {
+ depthBounds = depthBounds_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setWideLines( Bool32 wideLines_ )
+ {
+ wideLines = wideLines_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setLargePoints( Bool32 largePoints_ )
+ {
+ largePoints = largePoints_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setAlphaToOne( Bool32 alphaToOne_ )
+ {
+ alphaToOne = alphaToOne_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setMultiViewport( Bool32 multiViewport_ )
+ {
+ multiViewport = multiViewport_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSamplerAnisotropy( Bool32 samplerAnisotropy_ )
+ {
+ samplerAnisotropy = samplerAnisotropy_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setTextureCompressionETC2( Bool32 textureCompressionETC2_ )
+ {
+ textureCompressionETC2 = textureCompressionETC2_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setTextureCompressionASTC_LDR( Bool32 textureCompressionASTC_LDR_ )
+ {
+ textureCompressionASTC_LDR = textureCompressionASTC_LDR_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setTextureCompressionBC( Bool32 textureCompressionBC_ )
+ {
+ textureCompressionBC = textureCompressionBC_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setOcclusionQueryPrecise( Bool32 occlusionQueryPrecise_ )
+ {
+ occlusionQueryPrecise = occlusionQueryPrecise_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setPipelineStatisticsQuery( Bool32 pipelineStatisticsQuery_ )
+ {
+ pipelineStatisticsQuery = pipelineStatisticsQuery_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setVertexPipelineStoresAndAtomics( Bool32 vertexPipelineStoresAndAtomics_ )
+ {
+ vertexPipelineStoresAndAtomics = vertexPipelineStoresAndAtomics_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setFragmentStoresAndAtomics( Bool32 fragmentStoresAndAtomics_ )
+ {
+ fragmentStoresAndAtomics = fragmentStoresAndAtomics_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderTessellationAndGeometryPointSize( Bool32 shaderTessellationAndGeometryPointSize_ )
+ {
+ shaderTessellationAndGeometryPointSize = shaderTessellationAndGeometryPointSize_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderImageGatherExtended( Bool32 shaderImageGatherExtended_ )
+ {
+ shaderImageGatherExtended = shaderImageGatherExtended_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderStorageImageExtendedFormats( Bool32 shaderStorageImageExtendedFormats_ )
+ {
+ shaderStorageImageExtendedFormats = shaderStorageImageExtendedFormats_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderStorageImageMultisample( Bool32 shaderStorageImageMultisample_ )
+ {
+ shaderStorageImageMultisample = shaderStorageImageMultisample_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderStorageImageReadWithoutFormat( Bool32 shaderStorageImageReadWithoutFormat_ )
+ {
+ shaderStorageImageReadWithoutFormat = shaderStorageImageReadWithoutFormat_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderStorageImageWriteWithoutFormat( Bool32 shaderStorageImageWriteWithoutFormat_ )
+ {
+ shaderStorageImageWriteWithoutFormat = shaderStorageImageWriteWithoutFormat_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderUniformBufferArrayDynamicIndexing( Bool32 shaderUniformBufferArrayDynamicIndexing_ )
+ {
+ shaderUniformBufferArrayDynamicIndexing = shaderUniformBufferArrayDynamicIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderSampledImageArrayDynamicIndexing( Bool32 shaderSampledImageArrayDynamicIndexing_ )
+ {
+ shaderSampledImageArrayDynamicIndexing = shaderSampledImageArrayDynamicIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderStorageBufferArrayDynamicIndexing( Bool32 shaderStorageBufferArrayDynamicIndexing_ )
+ {
+ shaderStorageBufferArrayDynamicIndexing = shaderStorageBufferArrayDynamicIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderStorageImageArrayDynamicIndexing( Bool32 shaderStorageImageArrayDynamicIndexing_ )
+ {
+ shaderStorageImageArrayDynamicIndexing = shaderStorageImageArrayDynamicIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderClipDistance( Bool32 shaderClipDistance_ )
+ {
+ shaderClipDistance = shaderClipDistance_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderCullDistance( Bool32 shaderCullDistance_ )
+ {
+ shaderCullDistance = shaderCullDistance_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderFloat64( Bool32 shaderFloat64_ )
+ {
+ shaderFloat64 = shaderFloat64_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderInt64( Bool32 shaderInt64_ )
+ {
+ shaderInt64 = shaderInt64_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderInt16( Bool32 shaderInt16_ )
+ {
+ shaderInt16 = shaderInt16_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderResourceResidency( Bool32 shaderResourceResidency_ )
+ {
+ shaderResourceResidency = shaderResourceResidency_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setShaderResourceMinLod( Bool32 shaderResourceMinLod_ )
+ {
+ shaderResourceMinLod = shaderResourceMinLod_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseBinding( Bool32 sparseBinding_ )
+ {
+ sparseBinding = sparseBinding_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidencyBuffer( Bool32 sparseResidencyBuffer_ )
+ {
+ sparseResidencyBuffer = sparseResidencyBuffer_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidencyImage2D( Bool32 sparseResidencyImage2D_ )
+ {
+ sparseResidencyImage2D = sparseResidencyImage2D_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidencyImage3D( Bool32 sparseResidencyImage3D_ )
+ {
+ sparseResidencyImage3D = sparseResidencyImage3D_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidency2Samples( Bool32 sparseResidency2Samples_ )
+ {
+ sparseResidency2Samples = sparseResidency2Samples_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidency4Samples( Bool32 sparseResidency4Samples_ )
+ {
+ sparseResidency4Samples = sparseResidency4Samples_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidency8Samples( Bool32 sparseResidency8Samples_ )
+ {
+ sparseResidency8Samples = sparseResidency8Samples_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidency16Samples( Bool32 sparseResidency16Samples_ )
+ {
+ sparseResidency16Samples = sparseResidency16Samples_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setSparseResidencyAliased( Bool32 sparseResidencyAliased_ )
+ {
+ sparseResidencyAliased = sparseResidencyAliased_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setVariableMultisampleRate( Bool32 variableMultisampleRate_ )
+ {
+ variableMultisampleRate = variableMultisampleRate_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures& setInheritedQueries( Bool32 inheritedQueries_ )
+ {
+ inheritedQueries = inheritedQueries_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceFeatures&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceFeatures*>(this);
+ }
+
+ bool operator==( PhysicalDeviceFeatures const& rhs ) const
+ {
+ return ( robustBufferAccess == rhs.robustBufferAccess )
+ && ( fullDrawIndexUint32 == rhs.fullDrawIndexUint32 )
+ && ( imageCubeArray == rhs.imageCubeArray )
+ && ( independentBlend == rhs.independentBlend )
+ && ( geometryShader == rhs.geometryShader )
+ && ( tessellationShader == rhs.tessellationShader )
+ && ( sampleRateShading == rhs.sampleRateShading )
+ && ( dualSrcBlend == rhs.dualSrcBlend )
+ && ( logicOp == rhs.logicOp )
+ && ( multiDrawIndirect == rhs.multiDrawIndirect )
+ && ( drawIndirectFirstInstance == rhs.drawIndirectFirstInstance )
+ && ( depthClamp == rhs.depthClamp )
+ && ( depthBiasClamp == rhs.depthBiasClamp )
+ && ( fillModeNonSolid == rhs.fillModeNonSolid )
+ && ( depthBounds == rhs.depthBounds )
+ && ( wideLines == rhs.wideLines )
+ && ( largePoints == rhs.largePoints )
+ && ( alphaToOne == rhs.alphaToOne )
+ && ( multiViewport == rhs.multiViewport )
+ && ( samplerAnisotropy == rhs.samplerAnisotropy )
+ && ( textureCompressionETC2 == rhs.textureCompressionETC2 )
+ && ( textureCompressionASTC_LDR == rhs.textureCompressionASTC_LDR )
+ && ( textureCompressionBC == rhs.textureCompressionBC )
+ && ( occlusionQueryPrecise == rhs.occlusionQueryPrecise )
+ && ( pipelineStatisticsQuery == rhs.pipelineStatisticsQuery )
+ && ( vertexPipelineStoresAndAtomics == rhs.vertexPipelineStoresAndAtomics )
+ && ( fragmentStoresAndAtomics == rhs.fragmentStoresAndAtomics )
+ && ( shaderTessellationAndGeometryPointSize == rhs.shaderTessellationAndGeometryPointSize )
+ && ( shaderImageGatherExtended == rhs.shaderImageGatherExtended )
+ && ( shaderStorageImageExtendedFormats == rhs.shaderStorageImageExtendedFormats )
+ && ( shaderStorageImageMultisample == rhs.shaderStorageImageMultisample )
+ && ( shaderStorageImageReadWithoutFormat == rhs.shaderStorageImageReadWithoutFormat )
+ && ( shaderStorageImageWriteWithoutFormat == rhs.shaderStorageImageWriteWithoutFormat )
+ && ( shaderUniformBufferArrayDynamicIndexing == rhs.shaderUniformBufferArrayDynamicIndexing )
+ && ( shaderSampledImageArrayDynamicIndexing == rhs.shaderSampledImageArrayDynamicIndexing )
+ && ( shaderStorageBufferArrayDynamicIndexing == rhs.shaderStorageBufferArrayDynamicIndexing )
+ && ( shaderStorageImageArrayDynamicIndexing == rhs.shaderStorageImageArrayDynamicIndexing )
+ && ( shaderClipDistance == rhs.shaderClipDistance )
+ && ( shaderCullDistance == rhs.shaderCullDistance )
+ && ( shaderFloat64 == rhs.shaderFloat64 )
+ && ( shaderInt64 == rhs.shaderInt64 )
+ && ( shaderInt16 == rhs.shaderInt16 )
+ && ( shaderResourceResidency == rhs.shaderResourceResidency )
+ && ( shaderResourceMinLod == rhs.shaderResourceMinLod )
+ && ( sparseBinding == rhs.sparseBinding )
+ && ( sparseResidencyBuffer == rhs.sparseResidencyBuffer )
+ && ( sparseResidencyImage2D == rhs.sparseResidencyImage2D )
+ && ( sparseResidencyImage3D == rhs.sparseResidencyImage3D )
+ && ( sparseResidency2Samples == rhs.sparseResidency2Samples )
+ && ( sparseResidency4Samples == rhs.sparseResidency4Samples )
+ && ( sparseResidency8Samples == rhs.sparseResidency8Samples )
+ && ( sparseResidency16Samples == rhs.sparseResidency16Samples )
+ && ( sparseResidencyAliased == rhs.sparseResidencyAliased )
+ && ( variableMultisampleRate == rhs.variableMultisampleRate )
+ && ( inheritedQueries == rhs.inheritedQueries );
+ }
+
+ bool operator!=( PhysicalDeviceFeatures const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Bool32 robustBufferAccess;
+ Bool32 fullDrawIndexUint32;
+ Bool32 imageCubeArray;
+ Bool32 independentBlend;
+ Bool32 geometryShader;
+ Bool32 tessellationShader;
+ Bool32 sampleRateShading;
+ Bool32 dualSrcBlend;
+ Bool32 logicOp;
+ Bool32 multiDrawIndirect;
+ Bool32 drawIndirectFirstInstance;
+ Bool32 depthClamp;
+ Bool32 depthBiasClamp;
+ Bool32 fillModeNonSolid;
+ Bool32 depthBounds;
+ Bool32 wideLines;
+ Bool32 largePoints;
+ Bool32 alphaToOne;
+ Bool32 multiViewport;
+ Bool32 samplerAnisotropy;
+ Bool32 textureCompressionETC2;
+ Bool32 textureCompressionASTC_LDR;
+ Bool32 textureCompressionBC;
+ Bool32 occlusionQueryPrecise;
+ Bool32 pipelineStatisticsQuery;
+ Bool32 vertexPipelineStoresAndAtomics;
+ Bool32 fragmentStoresAndAtomics;
+ Bool32 shaderTessellationAndGeometryPointSize;
+ Bool32 shaderImageGatherExtended;
+ Bool32 shaderStorageImageExtendedFormats;
+ Bool32 shaderStorageImageMultisample;
+ Bool32 shaderStorageImageReadWithoutFormat;
+ Bool32 shaderStorageImageWriteWithoutFormat;
+ Bool32 shaderUniformBufferArrayDynamicIndexing;
+ Bool32 shaderSampledImageArrayDynamicIndexing;
+ Bool32 shaderStorageBufferArrayDynamicIndexing;
+ Bool32 shaderStorageImageArrayDynamicIndexing;
+ Bool32 shaderClipDistance;
+ Bool32 shaderCullDistance;
+ Bool32 shaderFloat64;
+ Bool32 shaderInt64;
+ Bool32 shaderInt16;
+ Bool32 shaderResourceResidency;
+ Bool32 shaderResourceMinLod;
+ Bool32 sparseBinding;
+ Bool32 sparseResidencyBuffer;
+ Bool32 sparseResidencyImage2D;
+ Bool32 sparseResidencyImage3D;
+ Bool32 sparseResidency2Samples;
+ Bool32 sparseResidency4Samples;
+ Bool32 sparseResidency8Samples;
+ Bool32 sparseResidency16Samples;
+ Bool32 sparseResidencyAliased;
+ Bool32 variableMultisampleRate;
+ Bool32 inheritedQueries;
+ };
+ static_assert( sizeof( PhysicalDeviceFeatures ) == sizeof( VkPhysicalDeviceFeatures ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceSparseProperties
+ {
+ operator const VkPhysicalDeviceSparseProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceSparseProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceSparseProperties const& rhs ) const
+ {
+ return ( residencyStandard2DBlockShape == rhs.residencyStandard2DBlockShape )
+ && ( residencyStandard2DMultisampleBlockShape == rhs.residencyStandard2DMultisampleBlockShape )
+ && ( residencyStandard3DBlockShape == rhs.residencyStandard3DBlockShape )
+ && ( residencyAlignedMipSize == rhs.residencyAlignedMipSize )
+ && ( residencyNonResidentStrict == rhs.residencyNonResidentStrict );
+ }
+
+ bool operator!=( PhysicalDeviceSparseProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Bool32 residencyStandard2DBlockShape;
+ Bool32 residencyStandard2DMultisampleBlockShape;
+ Bool32 residencyStandard3DBlockShape;
+ Bool32 residencyAlignedMipSize;
+ Bool32 residencyNonResidentStrict;
+ };
+ static_assert( sizeof( PhysicalDeviceSparseProperties ) == sizeof( VkPhysicalDeviceSparseProperties ), "struct and wrapper have different size!" );
+
+ struct DrawIndirectCommand
+ {
+ DrawIndirectCommand( uint32_t vertexCount_ = 0, uint32_t instanceCount_ = 0, uint32_t firstVertex_ = 0, uint32_t firstInstance_ = 0 )
+ : vertexCount( vertexCount_ )
+ , instanceCount( instanceCount_ )
+ , firstVertex( firstVertex_ )
+ , firstInstance( firstInstance_ )
+ {
+ }
+
+ DrawIndirectCommand( VkDrawIndirectCommand const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DrawIndirectCommand ) );
+ }
+
+ DrawIndirectCommand& operator=( VkDrawIndirectCommand const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DrawIndirectCommand ) );
+ return *this;
+ }
+ DrawIndirectCommand& setVertexCount( uint32_t vertexCount_ )
+ {
+ vertexCount = vertexCount_;
+ return *this;
+ }
+
+ DrawIndirectCommand& setInstanceCount( uint32_t instanceCount_ )
+ {
+ instanceCount = instanceCount_;
+ return *this;
+ }
+
+ DrawIndirectCommand& setFirstVertex( uint32_t firstVertex_ )
+ {
+ firstVertex = firstVertex_;
+ return *this;
+ }
+
+ DrawIndirectCommand& setFirstInstance( uint32_t firstInstance_ )
+ {
+ firstInstance = firstInstance_;
+ return *this;
+ }
+
+ operator const VkDrawIndirectCommand&() const
+ {
+ return *reinterpret_cast<const VkDrawIndirectCommand*>(this);
+ }
+
+ bool operator==( DrawIndirectCommand const& rhs ) const
+ {
+ return ( vertexCount == rhs.vertexCount )
+ && ( instanceCount == rhs.instanceCount )
+ && ( firstVertex == rhs.firstVertex )
+ && ( firstInstance == rhs.firstInstance );
+ }
+
+ bool operator!=( DrawIndirectCommand const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t vertexCount;
+ uint32_t instanceCount;
+ uint32_t firstVertex;
+ uint32_t firstInstance;
+ };
+ static_assert( sizeof( DrawIndirectCommand ) == sizeof( VkDrawIndirectCommand ), "struct and wrapper have different size!" );
+
+ struct DrawIndexedIndirectCommand
+ {
+ DrawIndexedIndirectCommand( uint32_t indexCount_ = 0, uint32_t instanceCount_ = 0, uint32_t firstIndex_ = 0, int32_t vertexOffset_ = 0, uint32_t firstInstance_ = 0 )
+ : indexCount( indexCount_ )
+ , instanceCount( instanceCount_ )
+ , firstIndex( firstIndex_ )
+ , vertexOffset( vertexOffset_ )
+ , firstInstance( firstInstance_ )
+ {
+ }
+
+ DrawIndexedIndirectCommand( VkDrawIndexedIndirectCommand const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DrawIndexedIndirectCommand ) );
+ }
+
+ DrawIndexedIndirectCommand& operator=( VkDrawIndexedIndirectCommand const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DrawIndexedIndirectCommand ) );
+ return *this;
+ }
+ DrawIndexedIndirectCommand& setIndexCount( uint32_t indexCount_ )
+ {
+ indexCount = indexCount_;
+ return *this;
+ }
+
+ DrawIndexedIndirectCommand& setInstanceCount( uint32_t instanceCount_ )
+ {
+ instanceCount = instanceCount_;
+ return *this;
+ }
+
+ DrawIndexedIndirectCommand& setFirstIndex( uint32_t firstIndex_ )
+ {
+ firstIndex = firstIndex_;
+ return *this;
+ }
+
+ DrawIndexedIndirectCommand& setVertexOffset( int32_t vertexOffset_ )
+ {
+ vertexOffset = vertexOffset_;
+ return *this;
+ }
+
+ DrawIndexedIndirectCommand& setFirstInstance( uint32_t firstInstance_ )
+ {
+ firstInstance = firstInstance_;
+ return *this;
+ }
+
+ operator const VkDrawIndexedIndirectCommand&() const
+ {
+ return *reinterpret_cast<const VkDrawIndexedIndirectCommand*>(this);
+ }
+
+ bool operator==( DrawIndexedIndirectCommand const& rhs ) const
+ {
+ return ( indexCount == rhs.indexCount )
+ && ( instanceCount == rhs.instanceCount )
+ && ( firstIndex == rhs.firstIndex )
+ && ( vertexOffset == rhs.vertexOffset )
+ && ( firstInstance == rhs.firstInstance );
+ }
+
+ bool operator!=( DrawIndexedIndirectCommand const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t indexCount;
+ uint32_t instanceCount;
+ uint32_t firstIndex;
+ int32_t vertexOffset;
+ uint32_t firstInstance;
+ };
+ static_assert( sizeof( DrawIndexedIndirectCommand ) == sizeof( VkDrawIndexedIndirectCommand ), "struct and wrapper have different size!" );
+
+ struct DispatchIndirectCommand
+ {
+ DispatchIndirectCommand( uint32_t x_ = 0, uint32_t y_ = 0, uint32_t z_ = 0 )
+ : x( x_ )
+ , y( y_ )
+ , z( z_ )
+ {
+ }
+
+ DispatchIndirectCommand( VkDispatchIndirectCommand const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DispatchIndirectCommand ) );
+ }
+
+ DispatchIndirectCommand& operator=( VkDispatchIndirectCommand const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DispatchIndirectCommand ) );
+ return *this;
+ }
+ DispatchIndirectCommand& setX( uint32_t x_ )
+ {
+ x = x_;
+ return *this;
+ }
+
+ DispatchIndirectCommand& setY( uint32_t y_ )
+ {
+ y = y_;
+ return *this;
+ }
+
+ DispatchIndirectCommand& setZ( uint32_t z_ )
+ {
+ z = z_;
+ return *this;
+ }
+
+ operator const VkDispatchIndirectCommand&() const
+ {
+ return *reinterpret_cast<const VkDispatchIndirectCommand*>(this);
+ }
+
+ bool operator==( DispatchIndirectCommand const& rhs ) const
+ {
+ return ( x == rhs.x )
+ && ( y == rhs.y )
+ && ( z == rhs.z );
+ }
+
+ bool operator!=( DispatchIndirectCommand const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t x;
+ uint32_t y;
+ uint32_t z;
+ };
+ static_assert( sizeof( DispatchIndirectCommand ) == sizeof( VkDispatchIndirectCommand ), "struct and wrapper have different size!" );
+
+ struct DisplayPlanePropertiesKHR
+ {
+ operator const VkDisplayPlanePropertiesKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplayPlanePropertiesKHR*>(this);
+ }
+
+ bool operator==( DisplayPlanePropertiesKHR const& rhs ) const
+ {
+ return ( currentDisplay == rhs.currentDisplay )
+ && ( currentStackIndex == rhs.currentStackIndex );
+ }
+
+ bool operator!=( DisplayPlanePropertiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DisplayKHR currentDisplay;
+ uint32_t currentStackIndex;
+ };
+ static_assert( sizeof( DisplayPlanePropertiesKHR ) == sizeof( VkDisplayPlanePropertiesKHR ), "struct and wrapper have different size!" );
+
+ struct DisplayModeParametersKHR
+ {
+ DisplayModeParametersKHR( Extent2D visibleRegion_ = Extent2D(), uint32_t refreshRate_ = 0 )
+ : visibleRegion( visibleRegion_ )
+ , refreshRate( refreshRate_ )
+ {
+ }
+
+ DisplayModeParametersKHR( VkDisplayModeParametersKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayModeParametersKHR ) );
+ }
+
+ DisplayModeParametersKHR& operator=( VkDisplayModeParametersKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayModeParametersKHR ) );
+ return *this;
+ }
+ DisplayModeParametersKHR& setVisibleRegion( Extent2D visibleRegion_ )
+ {
+ visibleRegion = visibleRegion_;
+ return *this;
+ }
+
+ DisplayModeParametersKHR& setRefreshRate( uint32_t refreshRate_ )
+ {
+ refreshRate = refreshRate_;
+ return *this;
+ }
+
+ operator const VkDisplayModeParametersKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplayModeParametersKHR*>(this);
+ }
+
+ bool operator==( DisplayModeParametersKHR const& rhs ) const
+ {
+ return ( visibleRegion == rhs.visibleRegion )
+ && ( refreshRate == rhs.refreshRate );
+ }
+
+ bool operator!=( DisplayModeParametersKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Extent2D visibleRegion;
+ uint32_t refreshRate;
+ };
+ static_assert( sizeof( DisplayModeParametersKHR ) == sizeof( VkDisplayModeParametersKHR ), "struct and wrapper have different size!" );
+
+ struct DisplayModePropertiesKHR
+ {
+ operator const VkDisplayModePropertiesKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplayModePropertiesKHR*>(this);
+ }
+
+ bool operator==( DisplayModePropertiesKHR const& rhs ) const
+ {
+ return ( displayMode == rhs.displayMode )
+ && ( parameters == rhs.parameters );
+ }
+
+ bool operator!=( DisplayModePropertiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DisplayModeKHR displayMode;
+ DisplayModeParametersKHR parameters;
+ };
+ static_assert( sizeof( DisplayModePropertiesKHR ) == sizeof( VkDisplayModePropertiesKHR ), "struct and wrapper have different size!" );
+
+ struct RectLayerKHR
+ {
+ RectLayerKHR( Offset2D offset_ = Offset2D(), Extent2D extent_ = Extent2D(), uint32_t layer_ = 0 )
+ : offset( offset_ )
+ , extent( extent_ )
+ , layer( layer_ )
+ {
+ }
+
+ explicit RectLayerKHR( Rect2D const& rect2D, uint32_t layer_ = 0 )
+ : offset( rect2D.offset )
+ , extent( rect2D.extent )
+ , layer( layer_ )
+ {}
+
+ RectLayerKHR( VkRectLayerKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RectLayerKHR ) );
+ }
+
+ RectLayerKHR& operator=( VkRectLayerKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RectLayerKHR ) );
+ return *this;
+ }
+ RectLayerKHR& setOffset( Offset2D offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ RectLayerKHR& setExtent( Extent2D extent_ )
+ {
+ extent = extent_;
+ return *this;
+ }
+
+ RectLayerKHR& setLayer( uint32_t layer_ )
+ {
+ layer = layer_;
+ return *this;
+ }
+
+ operator const VkRectLayerKHR&() const
+ {
+ return *reinterpret_cast<const VkRectLayerKHR*>(this);
+ }
+
+ bool operator==( RectLayerKHR const& rhs ) const
+ {
+ return ( offset == rhs.offset )
+ && ( extent == rhs.extent )
+ && ( layer == rhs.layer );
+ }
+
+ bool operator!=( RectLayerKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Offset2D offset;
+ Extent2D extent;
+ uint32_t layer;
+ };
+ static_assert( sizeof( RectLayerKHR ) == sizeof( VkRectLayerKHR ), "struct and wrapper have different size!" );
+
+ struct PresentRegionKHR
+ {
+ PresentRegionKHR( uint32_t rectangleCount_ = 0, const RectLayerKHR* pRectangles_ = nullptr )
+ : rectangleCount( rectangleCount_ )
+ , pRectangles( pRectangles_ )
+ {
+ }
+
+ PresentRegionKHR( VkPresentRegionKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentRegionKHR ) );
+ }
+
+ PresentRegionKHR& operator=( VkPresentRegionKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentRegionKHR ) );
+ return *this;
+ }
+ PresentRegionKHR& setRectangleCount( uint32_t rectangleCount_ )
+ {
+ rectangleCount = rectangleCount_;
+ return *this;
+ }
+
+ PresentRegionKHR& setPRectangles( const RectLayerKHR* pRectangles_ )
+ {
+ pRectangles = pRectangles_;
+ return *this;
+ }
+
+ operator const VkPresentRegionKHR&() const
+ {
+ return *reinterpret_cast<const VkPresentRegionKHR*>(this);
+ }
+
+ bool operator==( PresentRegionKHR const& rhs ) const
+ {
+ return ( rectangleCount == rhs.rectangleCount )
+ && ( pRectangles == rhs.pRectangles );
+ }
+
+ bool operator!=( PresentRegionKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t rectangleCount;
+ const RectLayerKHR* pRectangles;
+ };
+ static_assert( sizeof( PresentRegionKHR ) == sizeof( VkPresentRegionKHR ), "struct and wrapper have different size!" );
+
+ struct XYColorEXT
+ {
+ XYColorEXT( float x_ = 0, float y_ = 0 )
+ : x( x_ )
+ , y( y_ )
+ {
+ }
+
+ XYColorEXT( VkXYColorEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( XYColorEXT ) );
+ }
+
+ XYColorEXT& operator=( VkXYColorEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( XYColorEXT ) );
+ return *this;
+ }
+ XYColorEXT& setX( float x_ )
+ {
+ x = x_;
+ return *this;
+ }
+
+ XYColorEXT& setY( float y_ )
+ {
+ y = y_;
+ return *this;
+ }
+
+ operator const VkXYColorEXT&() const
+ {
+ return *reinterpret_cast<const VkXYColorEXT*>(this);
+ }
+
+ bool operator==( XYColorEXT const& rhs ) const
+ {
+ return ( x == rhs.x )
+ && ( y == rhs.y );
+ }
+
+ bool operator!=( XYColorEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ float x;
+ float y;
+ };
+ static_assert( sizeof( XYColorEXT ) == sizeof( VkXYColorEXT ), "struct and wrapper have different size!" );
+
+ struct RefreshCycleDurationGOOGLE
+ {
+ RefreshCycleDurationGOOGLE( uint64_t refreshDuration_ = 0 )
+ : refreshDuration( refreshDuration_ )
+ {
+ }
+
+ RefreshCycleDurationGOOGLE( VkRefreshCycleDurationGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RefreshCycleDurationGOOGLE ) );
+ }
+
+ RefreshCycleDurationGOOGLE& operator=( VkRefreshCycleDurationGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RefreshCycleDurationGOOGLE ) );
+ return *this;
+ }
+ RefreshCycleDurationGOOGLE& setRefreshDuration( uint64_t refreshDuration_ )
+ {
+ refreshDuration = refreshDuration_;
+ return *this;
+ }
+
+ operator const VkRefreshCycleDurationGOOGLE&() const
+ {
+ return *reinterpret_cast<const VkRefreshCycleDurationGOOGLE*>(this);
+ }
+
+ bool operator==( RefreshCycleDurationGOOGLE const& rhs ) const
+ {
+ return ( refreshDuration == rhs.refreshDuration );
+ }
+
+ bool operator!=( RefreshCycleDurationGOOGLE const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint64_t refreshDuration;
+ };
+ static_assert( sizeof( RefreshCycleDurationGOOGLE ) == sizeof( VkRefreshCycleDurationGOOGLE ), "struct and wrapper have different size!" );
+
+ struct PastPresentationTimingGOOGLE
+ {
+ PastPresentationTimingGOOGLE( uint32_t presentID_ = 0, uint64_t desiredPresentTime_ = 0, uint64_t actualPresentTime_ = 0, uint64_t earliestPresentTime_ = 0, uint64_t presentMargin_ = 0 )
+ : presentID( presentID_ )
+ , desiredPresentTime( desiredPresentTime_ )
+ , actualPresentTime( actualPresentTime_ )
+ , earliestPresentTime( earliestPresentTime_ )
+ , presentMargin( presentMargin_ )
+ {
+ }
+
+ PastPresentationTimingGOOGLE( VkPastPresentationTimingGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PastPresentationTimingGOOGLE ) );
+ }
+
+ PastPresentationTimingGOOGLE& operator=( VkPastPresentationTimingGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PastPresentationTimingGOOGLE ) );
+ return *this;
+ }
+ PastPresentationTimingGOOGLE& setPresentID( uint32_t presentID_ )
+ {
+ presentID = presentID_;
+ return *this;
+ }
+
+ PastPresentationTimingGOOGLE& setDesiredPresentTime( uint64_t desiredPresentTime_ )
+ {
+ desiredPresentTime = desiredPresentTime_;
+ return *this;
+ }
+
+ PastPresentationTimingGOOGLE& setActualPresentTime( uint64_t actualPresentTime_ )
+ {
+ actualPresentTime = actualPresentTime_;
+ return *this;
+ }
+
+ PastPresentationTimingGOOGLE& setEarliestPresentTime( uint64_t earliestPresentTime_ )
+ {
+ earliestPresentTime = earliestPresentTime_;
+ return *this;
+ }
+
+ PastPresentationTimingGOOGLE& setPresentMargin( uint64_t presentMargin_ )
+ {
+ presentMargin = presentMargin_;
+ return *this;
+ }
+
+ operator const VkPastPresentationTimingGOOGLE&() const
+ {
+ return *reinterpret_cast<const VkPastPresentationTimingGOOGLE*>(this);
+ }
+
+ bool operator==( PastPresentationTimingGOOGLE const& rhs ) const
+ {
+ return ( presentID == rhs.presentID )
+ && ( desiredPresentTime == rhs.desiredPresentTime )
+ && ( actualPresentTime == rhs.actualPresentTime )
+ && ( earliestPresentTime == rhs.earliestPresentTime )
+ && ( presentMargin == rhs.presentMargin );
+ }
+
+ bool operator!=( PastPresentationTimingGOOGLE const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t presentID;
+ uint64_t desiredPresentTime;
+ uint64_t actualPresentTime;
+ uint64_t earliestPresentTime;
+ uint64_t presentMargin;
+ };
+ static_assert( sizeof( PastPresentationTimingGOOGLE ) == sizeof( VkPastPresentationTimingGOOGLE ), "struct and wrapper have different size!" );
+
+ struct PresentTimeGOOGLE
+ {
+ PresentTimeGOOGLE( uint32_t presentID_ = 0, uint64_t desiredPresentTime_ = 0 )
+ : presentID( presentID_ )
+ , desiredPresentTime( desiredPresentTime_ )
+ {
+ }
+
+ PresentTimeGOOGLE( VkPresentTimeGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentTimeGOOGLE ) );
+ }
+
+ PresentTimeGOOGLE& operator=( VkPresentTimeGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentTimeGOOGLE ) );
+ return *this;
+ }
+ PresentTimeGOOGLE& setPresentID( uint32_t presentID_ )
+ {
+ presentID = presentID_;
+ return *this;
+ }
+
+ PresentTimeGOOGLE& setDesiredPresentTime( uint64_t desiredPresentTime_ )
+ {
+ desiredPresentTime = desiredPresentTime_;
+ return *this;
+ }
+
+ operator const VkPresentTimeGOOGLE&() const
+ {
+ return *reinterpret_cast<const VkPresentTimeGOOGLE*>(this);
+ }
+
+ bool operator==( PresentTimeGOOGLE const& rhs ) const
+ {
+ return ( presentID == rhs.presentID )
+ && ( desiredPresentTime == rhs.desiredPresentTime );
+ }
+
+ bool operator!=( PresentTimeGOOGLE const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t presentID;
+ uint64_t desiredPresentTime;
+ };
+ static_assert( sizeof( PresentTimeGOOGLE ) == sizeof( VkPresentTimeGOOGLE ), "struct and wrapper have different size!" );
+
+ struct ViewportWScalingNV
+ {
+ ViewportWScalingNV( float xcoeff_ = 0, float ycoeff_ = 0 )
+ : xcoeff( xcoeff_ )
+ , ycoeff( ycoeff_ )
+ {
+ }
+
+ ViewportWScalingNV( VkViewportWScalingNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ViewportWScalingNV ) );
+ }
+
+ ViewportWScalingNV& operator=( VkViewportWScalingNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ViewportWScalingNV ) );
+ return *this;
+ }
+ ViewportWScalingNV& setXcoeff( float xcoeff_ )
+ {
+ xcoeff = xcoeff_;
+ return *this;
+ }
+
+ ViewportWScalingNV& setYcoeff( float ycoeff_ )
+ {
+ ycoeff = ycoeff_;
+ return *this;
+ }
+
+ operator const VkViewportWScalingNV&() const
+ {
+ return *reinterpret_cast<const VkViewportWScalingNV*>(this);
+ }
+
+ bool operator==( ViewportWScalingNV const& rhs ) const
+ {
+ return ( xcoeff == rhs.xcoeff )
+ && ( ycoeff == rhs.ycoeff );
+ }
+
+ bool operator!=( ViewportWScalingNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ float xcoeff;
+ float ycoeff;
+ };
+ static_assert( sizeof( ViewportWScalingNV ) == sizeof( VkViewportWScalingNV ), "struct and wrapper have different size!" );
+
+ struct SampleLocationEXT
+ {
+ SampleLocationEXT( float x_ = 0, float y_ = 0 )
+ : x( x_ )
+ , y( y_ )
+ {
+ }
+
+ SampleLocationEXT( VkSampleLocationEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SampleLocationEXT ) );
+ }
+
+ SampleLocationEXT& operator=( VkSampleLocationEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SampleLocationEXT ) );
+ return *this;
+ }
+ SampleLocationEXT& setX( float x_ )
+ {
+ x = x_;
+ return *this;
+ }
+
+ SampleLocationEXT& setY( float y_ )
+ {
+ y = y_;
+ return *this;
+ }
+
+ operator const VkSampleLocationEXT&() const
+ {
+ return *reinterpret_cast<const VkSampleLocationEXT*>(this);
+ }
+
+ bool operator==( SampleLocationEXT const& rhs ) const
+ {
+ return ( x == rhs.x )
+ && ( y == rhs.y );
+ }
+
+ bool operator!=( SampleLocationEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ float x;
+ float y;
+ };
+ static_assert( sizeof( SampleLocationEXT ) == sizeof( VkSampleLocationEXT ), "struct and wrapper have different size!" );
+
+ struct ShaderResourceUsageAMD
+ {
+ operator const VkShaderResourceUsageAMD&() const
+ {
+ return *reinterpret_cast<const VkShaderResourceUsageAMD*>(this);
+ }
+
+ bool operator==( ShaderResourceUsageAMD const& rhs ) const
+ {
+ return ( numUsedVgprs == rhs.numUsedVgprs )
+ && ( numUsedSgprs == rhs.numUsedSgprs )
+ && ( ldsSizePerLocalWorkGroup == rhs.ldsSizePerLocalWorkGroup )
+ && ( ldsUsageSizeInBytes == rhs.ldsUsageSizeInBytes )
+ && ( scratchMemUsageInBytes == rhs.scratchMemUsageInBytes );
+ }
+
+ bool operator!=( ShaderResourceUsageAMD const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t numUsedVgprs;
+ uint32_t numUsedSgprs;
+ uint32_t ldsSizePerLocalWorkGroup;
+ size_t ldsUsageSizeInBytes;
+ size_t scratchMemUsageInBytes;
+ };
+ static_assert( sizeof( ShaderResourceUsageAMD ) == sizeof( VkShaderResourceUsageAMD ), "struct and wrapper have different size!" );
+
+ struct VertexInputBindingDivisorDescriptionEXT
+ {
+ VertexInputBindingDivisorDescriptionEXT( uint32_t binding_ = 0, uint32_t divisor_ = 0 )
+ : binding( binding_ )
+ , divisor( divisor_ )
+ {
+ }
+
+ VertexInputBindingDivisorDescriptionEXT( VkVertexInputBindingDivisorDescriptionEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( VertexInputBindingDivisorDescriptionEXT ) );
+ }
+
+ VertexInputBindingDivisorDescriptionEXT& operator=( VkVertexInputBindingDivisorDescriptionEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( VertexInputBindingDivisorDescriptionEXT ) );
+ return *this;
+ }
+ VertexInputBindingDivisorDescriptionEXT& setBinding( uint32_t binding_ )
+ {
+ binding = binding_;
+ return *this;
+ }
+
+ VertexInputBindingDivisorDescriptionEXT& setDivisor( uint32_t divisor_ )
+ {
+ divisor = divisor_;
+ return *this;
+ }
+
+ operator const VkVertexInputBindingDivisorDescriptionEXT&() const
+ {
+ return *reinterpret_cast<const VkVertexInputBindingDivisorDescriptionEXT*>(this);
+ }
+
+ bool operator==( VertexInputBindingDivisorDescriptionEXT const& rhs ) const
+ {
+ return ( binding == rhs.binding )
+ && ( divisor == rhs.divisor );
+ }
+
+ bool operator!=( VertexInputBindingDivisorDescriptionEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t binding;
+ uint32_t divisor;
+ };
+ static_assert( sizeof( VertexInputBindingDivisorDescriptionEXT ) == sizeof( VkVertexInputBindingDivisorDescriptionEXT ), "struct and wrapper have different size!" );
+
+ enum class ImageLayout
+ {
+ eUndefined = VK_IMAGE_LAYOUT_UNDEFINED,
+ eGeneral = VK_IMAGE_LAYOUT_GENERAL,
+ eColorAttachmentOptimal = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL,
+ eDepthStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL,
+ eDepthStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL,
+ eShaderReadOnlyOptimal = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL,
+ eTransferSrcOptimal = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL,
+ eTransferDstOptimal = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
+ ePreinitialized = VK_IMAGE_LAYOUT_PREINITIALIZED,
+ eDepthReadOnlyStencilAttachmentOptimal = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL,
+ eDepthReadOnlyStencilAttachmentOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL,
+ eDepthAttachmentStencilReadOnlyOptimal = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL,
+ eDepthAttachmentStencilReadOnlyOptimalKHR = VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL,
+ ePresentSrcKHR = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR,
+ eSharedPresentKHR = VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR
+ };
+
+ struct DescriptorImageInfo
+ {
+ DescriptorImageInfo( Sampler sampler_ = Sampler(), ImageView imageView_ = ImageView(), ImageLayout imageLayout_ = ImageLayout::eUndefined )
+ : sampler( sampler_ )
+ , imageView( imageView_ )
+ , imageLayout( imageLayout_ )
+ {
+ }
+
+ DescriptorImageInfo( VkDescriptorImageInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorImageInfo ) );
+ }
+
+ DescriptorImageInfo& operator=( VkDescriptorImageInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorImageInfo ) );
+ return *this;
+ }
+ DescriptorImageInfo& setSampler( Sampler sampler_ )
+ {
+ sampler = sampler_;
+ return *this;
+ }
+
+ DescriptorImageInfo& setImageView( ImageView imageView_ )
+ {
+ imageView = imageView_;
+ return *this;
+ }
+
+ DescriptorImageInfo& setImageLayout( ImageLayout imageLayout_ )
+ {
+ imageLayout = imageLayout_;
+ return *this;
+ }
+
+ operator const VkDescriptorImageInfo&() const
+ {
+ return *reinterpret_cast<const VkDescriptorImageInfo*>(this);
+ }
+
+ bool operator==( DescriptorImageInfo const& rhs ) const
+ {
+ return ( sampler == rhs.sampler )
+ && ( imageView == rhs.imageView )
+ && ( imageLayout == rhs.imageLayout );
+ }
+
+ bool operator!=( DescriptorImageInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Sampler sampler;
+ ImageView imageView;
+ ImageLayout imageLayout;
+ };
+ static_assert( sizeof( DescriptorImageInfo ) == sizeof( VkDescriptorImageInfo ), "struct and wrapper have different size!" );
+
+ struct AttachmentReference
+ {
+ AttachmentReference( uint32_t attachment_ = 0, ImageLayout layout_ = ImageLayout::eUndefined )
+ : attachment( attachment_ )
+ , layout( layout_ )
+ {
+ }
+
+ AttachmentReference( VkAttachmentReference const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AttachmentReference ) );
+ }
+
+ AttachmentReference& operator=( VkAttachmentReference const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AttachmentReference ) );
+ return *this;
+ }
+ AttachmentReference& setAttachment( uint32_t attachment_ )
+ {
+ attachment = attachment_;
+ return *this;
+ }
+
+ AttachmentReference& setLayout( ImageLayout layout_ )
+ {
+ layout = layout_;
+ return *this;
+ }
+
+ operator const VkAttachmentReference&() const
+ {
+ return *reinterpret_cast<const VkAttachmentReference*>(this);
+ }
+
+ bool operator==( AttachmentReference const& rhs ) const
+ {
+ return ( attachment == rhs.attachment )
+ && ( layout == rhs.layout );
+ }
+
+ bool operator!=( AttachmentReference const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t attachment;
+ ImageLayout layout;
+ };
+ static_assert( sizeof( AttachmentReference ) == sizeof( VkAttachmentReference ), "struct and wrapper have different size!" );
+
+ enum class AttachmentLoadOp
+ {
+ eLoad = VK_ATTACHMENT_LOAD_OP_LOAD,
+ eClear = VK_ATTACHMENT_LOAD_OP_CLEAR,
+ eDontCare = VK_ATTACHMENT_LOAD_OP_DONT_CARE
+ };
+
+ enum class AttachmentStoreOp
+ {
+ eStore = VK_ATTACHMENT_STORE_OP_STORE,
+ eDontCare = VK_ATTACHMENT_STORE_OP_DONT_CARE
+ };
+
+ enum class ImageType
+ {
+ e1D = VK_IMAGE_TYPE_1D,
+ e2D = VK_IMAGE_TYPE_2D,
+ e3D = VK_IMAGE_TYPE_3D
+ };
+
+ enum class ImageTiling
+ {
+ eOptimal = VK_IMAGE_TILING_OPTIMAL,
+ eLinear = VK_IMAGE_TILING_LINEAR
+ };
+
+ enum class ImageViewType
+ {
+ e1D = VK_IMAGE_VIEW_TYPE_1D,
+ e2D = VK_IMAGE_VIEW_TYPE_2D,
+ e3D = VK_IMAGE_VIEW_TYPE_3D,
+ eCube = VK_IMAGE_VIEW_TYPE_CUBE,
+ e1DArray = VK_IMAGE_VIEW_TYPE_1D_ARRAY,
+ e2DArray = VK_IMAGE_VIEW_TYPE_2D_ARRAY,
+ eCubeArray = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY
+ };
+
+ enum class CommandBufferLevel
+ {
+ ePrimary = VK_COMMAND_BUFFER_LEVEL_PRIMARY,
+ eSecondary = VK_COMMAND_BUFFER_LEVEL_SECONDARY
+ };
+
+ enum class ComponentSwizzle
+ {
+ eIdentity = VK_COMPONENT_SWIZZLE_IDENTITY,
+ eZero = VK_COMPONENT_SWIZZLE_ZERO,
+ eOne = VK_COMPONENT_SWIZZLE_ONE,
+ eR = VK_COMPONENT_SWIZZLE_R,
+ eG = VK_COMPONENT_SWIZZLE_G,
+ eB = VK_COMPONENT_SWIZZLE_B,
+ eA = VK_COMPONENT_SWIZZLE_A
+ };
+
+ struct ComponentMapping
+ {
+ ComponentMapping( ComponentSwizzle r_ = ComponentSwizzle::eIdentity, ComponentSwizzle g_ = ComponentSwizzle::eIdentity, ComponentSwizzle b_ = ComponentSwizzle::eIdentity, ComponentSwizzle a_ = ComponentSwizzle::eIdentity )
+ : r( r_ )
+ , g( g_ )
+ , b( b_ )
+ , a( a_ )
+ {
+ }
+
+ ComponentMapping( VkComponentMapping const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ComponentMapping ) );
+ }
+
+ ComponentMapping& operator=( VkComponentMapping const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ComponentMapping ) );
+ return *this;
+ }
+ ComponentMapping& setR( ComponentSwizzle r_ )
+ {
+ r = r_;
+ return *this;
+ }
+
+ ComponentMapping& setG( ComponentSwizzle g_ )
+ {
+ g = g_;
+ return *this;
+ }
+
+ ComponentMapping& setB( ComponentSwizzle b_ )
+ {
+ b = b_;
+ return *this;
+ }
+
+ ComponentMapping& setA( ComponentSwizzle a_ )
+ {
+ a = a_;
+ return *this;
+ }
+
+ operator const VkComponentMapping&() const
+ {
+ return *reinterpret_cast<const VkComponentMapping*>(this);
+ }
+
+ bool operator==( ComponentMapping const& rhs ) const
+ {
+ return ( r == rhs.r )
+ && ( g == rhs.g )
+ && ( b == rhs.b )
+ && ( a == rhs.a );
+ }
+
+ bool operator!=( ComponentMapping const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ComponentSwizzle r;
+ ComponentSwizzle g;
+ ComponentSwizzle b;
+ ComponentSwizzle a;
+ };
+ static_assert( sizeof( ComponentMapping ) == sizeof( VkComponentMapping ), "struct and wrapper have different size!" );
+
+ enum class DescriptorType
+ {
+ eSampler = VK_DESCRIPTOR_TYPE_SAMPLER,
+ eCombinedImageSampler = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
+ eSampledImage = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE,
+ eStorageImage = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
+ eUniformTexelBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER,
+ eStorageTexelBuffer = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER,
+ eUniformBuffer = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,
+ eStorageBuffer = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
+ eUniformBufferDynamic = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC,
+ eStorageBufferDynamic = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC,
+ eInputAttachment = VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT
+ };
+
+ struct DescriptorPoolSize
+ {
+ DescriptorPoolSize( DescriptorType type_ = DescriptorType::eSampler, uint32_t descriptorCount_ = 0 )
+ : type( type_ )
+ , descriptorCount( descriptorCount_ )
+ {
+ }
+
+ DescriptorPoolSize( VkDescriptorPoolSize const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorPoolSize ) );
+ }
+
+ DescriptorPoolSize& operator=( VkDescriptorPoolSize const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorPoolSize ) );
+ return *this;
+ }
+ DescriptorPoolSize& setType( DescriptorType type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ DescriptorPoolSize& setDescriptorCount( uint32_t descriptorCount_ )
+ {
+ descriptorCount = descriptorCount_;
+ return *this;
+ }
+
+ operator const VkDescriptorPoolSize&() const
+ {
+ return *reinterpret_cast<const VkDescriptorPoolSize*>(this);
+ }
+
+ bool operator==( DescriptorPoolSize const& rhs ) const
+ {
+ return ( type == rhs.type )
+ && ( descriptorCount == rhs.descriptorCount );
+ }
+
+ bool operator!=( DescriptorPoolSize const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DescriptorType type;
+ uint32_t descriptorCount;
+ };
+ static_assert( sizeof( DescriptorPoolSize ) == sizeof( VkDescriptorPoolSize ), "struct and wrapper have different size!" );
+
+ struct DescriptorUpdateTemplateEntry
+ {
+ DescriptorUpdateTemplateEntry( uint32_t dstBinding_ = 0, uint32_t dstArrayElement_ = 0, uint32_t descriptorCount_ = 0, DescriptorType descriptorType_ = DescriptorType::eSampler, size_t offset_ = 0, size_t stride_ = 0 )
+ : dstBinding( dstBinding_ )
+ , dstArrayElement( dstArrayElement_ )
+ , descriptorCount( descriptorCount_ )
+ , descriptorType( descriptorType_ )
+ , offset( offset_ )
+ , stride( stride_ )
+ {
+ }
+
+ DescriptorUpdateTemplateEntry( VkDescriptorUpdateTemplateEntry const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateEntry ) );
+ }
+
+ DescriptorUpdateTemplateEntry& operator=( VkDescriptorUpdateTemplateEntry const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateEntry ) );
+ return *this;
+ }
+ DescriptorUpdateTemplateEntry& setDstBinding( uint32_t dstBinding_ )
+ {
+ dstBinding = dstBinding_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateEntry& setDstArrayElement( uint32_t dstArrayElement_ )
+ {
+ dstArrayElement = dstArrayElement_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateEntry& setDescriptorCount( uint32_t descriptorCount_ )
+ {
+ descriptorCount = descriptorCount_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateEntry& setDescriptorType( DescriptorType descriptorType_ )
+ {
+ descriptorType = descriptorType_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateEntry& setOffset( size_t offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateEntry& setStride( size_t stride_ )
+ {
+ stride = stride_;
+ return *this;
+ }
+
+ operator const VkDescriptorUpdateTemplateEntry&() const
+ {
+ return *reinterpret_cast<const VkDescriptorUpdateTemplateEntry*>(this);
+ }
+
+ bool operator==( DescriptorUpdateTemplateEntry const& rhs ) const
+ {
+ return ( dstBinding == rhs.dstBinding )
+ && ( dstArrayElement == rhs.dstArrayElement )
+ && ( descriptorCount == rhs.descriptorCount )
+ && ( descriptorType == rhs.descriptorType )
+ && ( offset == rhs.offset )
+ && ( stride == rhs.stride );
+ }
+
+ bool operator!=( DescriptorUpdateTemplateEntry const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t dstBinding;
+ uint32_t dstArrayElement;
+ uint32_t descriptorCount;
+ DescriptorType descriptorType;
+ size_t offset;
+ size_t stride;
+ };
+ static_assert( sizeof( DescriptorUpdateTemplateEntry ) == sizeof( VkDescriptorUpdateTemplateEntry ), "struct and wrapper have different size!" );
+
+ using DescriptorUpdateTemplateEntryKHR = DescriptorUpdateTemplateEntry;
+
+ enum class QueryType
+ {
+ eOcclusion = VK_QUERY_TYPE_OCCLUSION,
+ ePipelineStatistics = VK_QUERY_TYPE_PIPELINE_STATISTICS,
+ eTimestamp = VK_QUERY_TYPE_TIMESTAMP
+ };
+
+ enum class BorderColor
+ {
+ eFloatTransparentBlack = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK,
+ eIntTransparentBlack = VK_BORDER_COLOR_INT_TRANSPARENT_BLACK,
+ eFloatOpaqueBlack = VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK,
+ eIntOpaqueBlack = VK_BORDER_COLOR_INT_OPAQUE_BLACK,
+ eFloatOpaqueWhite = VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE,
+ eIntOpaqueWhite = VK_BORDER_COLOR_INT_OPAQUE_WHITE
+ };
+
+ enum class PipelineBindPoint
+ {
+ eGraphics = VK_PIPELINE_BIND_POINT_GRAPHICS,
+ eCompute = VK_PIPELINE_BIND_POINT_COMPUTE
+ };
+
+ enum class PipelineCacheHeaderVersion
+ {
+ eOne = VK_PIPELINE_CACHE_HEADER_VERSION_ONE
+ };
+
+ enum class PrimitiveTopology
+ {
+ ePointList = VK_PRIMITIVE_TOPOLOGY_POINT_LIST,
+ eLineList = VK_PRIMITIVE_TOPOLOGY_LINE_LIST,
+ eLineStrip = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP,
+ eTriangleList = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST,
+ eTriangleStrip = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,
+ eTriangleFan = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN,
+ eLineListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY,
+ eLineStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY,
+ eTriangleListWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY,
+ eTriangleStripWithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY,
+ ePatchList = VK_PRIMITIVE_TOPOLOGY_PATCH_LIST
+ };
+
+ enum class SharingMode
+ {
+ eExclusive = VK_SHARING_MODE_EXCLUSIVE,
+ eConcurrent = VK_SHARING_MODE_CONCURRENT
+ };
+
+ enum class IndexType
+ {
+ eUint16 = VK_INDEX_TYPE_UINT16,
+ eUint32 = VK_INDEX_TYPE_UINT32
+ };
+
+ enum class Filter
+ {
+ eNearest = VK_FILTER_NEAREST,
+ eLinear = VK_FILTER_LINEAR,
+ eCubicIMG = VK_FILTER_CUBIC_IMG
+ };
+
+ enum class SamplerMipmapMode
+ {
+ eNearest = VK_SAMPLER_MIPMAP_MODE_NEAREST,
+ eLinear = VK_SAMPLER_MIPMAP_MODE_LINEAR
+ };
+
+ enum class SamplerAddressMode
+ {
+ eRepeat = VK_SAMPLER_ADDRESS_MODE_REPEAT,
+ eMirroredRepeat = VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT,
+ eClampToEdge = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
+ eClampToBorder = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER,
+ eMirrorClampToEdge = VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE
+ };
+
+ enum class CompareOp
+ {
+ eNever = VK_COMPARE_OP_NEVER,
+ eLess = VK_COMPARE_OP_LESS,
+ eEqual = VK_COMPARE_OP_EQUAL,
+ eLessOrEqual = VK_COMPARE_OP_LESS_OR_EQUAL,
+ eGreater = VK_COMPARE_OP_GREATER,
+ eNotEqual = VK_COMPARE_OP_NOT_EQUAL,
+ eGreaterOrEqual = VK_COMPARE_OP_GREATER_OR_EQUAL,
+ eAlways = VK_COMPARE_OP_ALWAYS
+ };
+
+ enum class PolygonMode
+ {
+ eFill = VK_POLYGON_MODE_FILL,
+ eLine = VK_POLYGON_MODE_LINE,
+ ePoint = VK_POLYGON_MODE_POINT,
+ eFillRectangleNV = VK_POLYGON_MODE_FILL_RECTANGLE_NV
+ };
+
+ enum class CullModeFlagBits
+ {
+ eNone = VK_CULL_MODE_NONE,
+ eFront = VK_CULL_MODE_FRONT_BIT,
+ eBack = VK_CULL_MODE_BACK_BIT,
+ eFrontAndBack = VK_CULL_MODE_FRONT_AND_BACK
+ };
+
+ using CullModeFlags = Flags<CullModeFlagBits, VkCullModeFlags>;
+
+ VULKAN_HPP_INLINE CullModeFlags operator|( CullModeFlagBits bit0, CullModeFlagBits bit1 )
+ {
+ return CullModeFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE CullModeFlags operator~( CullModeFlagBits bits )
+ {
+ return ~( CullModeFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<CullModeFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(CullModeFlagBits::eNone) | VkFlags(CullModeFlagBits::eFront) | VkFlags(CullModeFlagBits::eBack) | VkFlags(CullModeFlagBits::eFrontAndBack)
+ };
+ };
+
+ enum class FrontFace
+ {
+ eCounterClockwise = VK_FRONT_FACE_COUNTER_CLOCKWISE,
+ eClockwise = VK_FRONT_FACE_CLOCKWISE
+ };
+
+ enum class BlendFactor
+ {
+ eZero = VK_BLEND_FACTOR_ZERO,
+ eOne = VK_BLEND_FACTOR_ONE,
+ eSrcColor = VK_BLEND_FACTOR_SRC_COLOR,
+ eOneMinusSrcColor = VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR,
+ eDstColor = VK_BLEND_FACTOR_DST_COLOR,
+ eOneMinusDstColor = VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR,
+ eSrcAlpha = VK_BLEND_FACTOR_SRC_ALPHA,
+ eOneMinusSrcAlpha = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA,
+ eDstAlpha = VK_BLEND_FACTOR_DST_ALPHA,
+ eOneMinusDstAlpha = VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA,
+ eConstantColor = VK_BLEND_FACTOR_CONSTANT_COLOR,
+ eOneMinusConstantColor = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR,
+ eConstantAlpha = VK_BLEND_FACTOR_CONSTANT_ALPHA,
+ eOneMinusConstantAlpha = VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA,
+ eSrcAlphaSaturate = VK_BLEND_FACTOR_SRC_ALPHA_SATURATE,
+ eSrc1Color = VK_BLEND_FACTOR_SRC1_COLOR,
+ eOneMinusSrc1Color = VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR,
+ eSrc1Alpha = VK_BLEND_FACTOR_SRC1_ALPHA,
+ eOneMinusSrc1Alpha = VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA
+ };
+
+ enum class BlendOp
+ {
+ eAdd = VK_BLEND_OP_ADD,
+ eSubtract = VK_BLEND_OP_SUBTRACT,
+ eReverseSubtract = VK_BLEND_OP_REVERSE_SUBTRACT,
+ eMin = VK_BLEND_OP_MIN,
+ eMax = VK_BLEND_OP_MAX,
+ eZeroEXT = VK_BLEND_OP_ZERO_EXT,
+ eSrcEXT = VK_BLEND_OP_SRC_EXT,
+ eDstEXT = VK_BLEND_OP_DST_EXT,
+ eSrcOverEXT = VK_BLEND_OP_SRC_OVER_EXT,
+ eDstOverEXT = VK_BLEND_OP_DST_OVER_EXT,
+ eSrcInEXT = VK_BLEND_OP_SRC_IN_EXT,
+ eDstInEXT = VK_BLEND_OP_DST_IN_EXT,
+ eSrcOutEXT = VK_BLEND_OP_SRC_OUT_EXT,
+ eDstOutEXT = VK_BLEND_OP_DST_OUT_EXT,
+ eSrcAtopEXT = VK_BLEND_OP_SRC_ATOP_EXT,
+ eDstAtopEXT = VK_BLEND_OP_DST_ATOP_EXT,
+ eXorEXT = VK_BLEND_OP_XOR_EXT,
+ eMultiplyEXT = VK_BLEND_OP_MULTIPLY_EXT,
+ eScreenEXT = VK_BLEND_OP_SCREEN_EXT,
+ eOverlayEXT = VK_BLEND_OP_OVERLAY_EXT,
+ eDarkenEXT = VK_BLEND_OP_DARKEN_EXT,
+ eLightenEXT = VK_BLEND_OP_LIGHTEN_EXT,
+ eColordodgeEXT = VK_BLEND_OP_COLORDODGE_EXT,
+ eColorburnEXT = VK_BLEND_OP_COLORBURN_EXT,
+ eHardlightEXT = VK_BLEND_OP_HARDLIGHT_EXT,
+ eSoftlightEXT = VK_BLEND_OP_SOFTLIGHT_EXT,
+ eDifferenceEXT = VK_BLEND_OP_DIFFERENCE_EXT,
+ eExclusionEXT = VK_BLEND_OP_EXCLUSION_EXT,
+ eInvertEXT = VK_BLEND_OP_INVERT_EXT,
+ eInvertRgbEXT = VK_BLEND_OP_INVERT_RGB_EXT,
+ eLineardodgeEXT = VK_BLEND_OP_LINEARDODGE_EXT,
+ eLinearburnEXT = VK_BLEND_OP_LINEARBURN_EXT,
+ eVividlightEXT = VK_BLEND_OP_VIVIDLIGHT_EXT,
+ eLinearlightEXT = VK_BLEND_OP_LINEARLIGHT_EXT,
+ ePinlightEXT = VK_BLEND_OP_PINLIGHT_EXT,
+ eHardmixEXT = VK_BLEND_OP_HARDMIX_EXT,
+ eHslHueEXT = VK_BLEND_OP_HSL_HUE_EXT,
+ eHslSaturationEXT = VK_BLEND_OP_HSL_SATURATION_EXT,
+ eHslColorEXT = VK_BLEND_OP_HSL_COLOR_EXT,
+ eHslLuminosityEXT = VK_BLEND_OP_HSL_LUMINOSITY_EXT,
+ ePlusEXT = VK_BLEND_OP_PLUS_EXT,
+ ePlusClampedEXT = VK_BLEND_OP_PLUS_CLAMPED_EXT,
+ ePlusClampedAlphaEXT = VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT,
+ ePlusDarkerEXT = VK_BLEND_OP_PLUS_DARKER_EXT,
+ eMinusEXT = VK_BLEND_OP_MINUS_EXT,
+ eMinusClampedEXT = VK_BLEND_OP_MINUS_CLAMPED_EXT,
+ eContrastEXT = VK_BLEND_OP_CONTRAST_EXT,
+ eInvertOvgEXT = VK_BLEND_OP_INVERT_OVG_EXT,
+ eRedEXT = VK_BLEND_OP_RED_EXT,
+ eGreenEXT = VK_BLEND_OP_GREEN_EXT,
+ eBlueEXT = VK_BLEND_OP_BLUE_EXT
+ };
+
+ enum class StencilOp
+ {
+ eKeep = VK_STENCIL_OP_KEEP,
+ eZero = VK_STENCIL_OP_ZERO,
+ eReplace = VK_STENCIL_OP_REPLACE,
+ eIncrementAndClamp = VK_STENCIL_OP_INCREMENT_AND_CLAMP,
+ eDecrementAndClamp = VK_STENCIL_OP_DECREMENT_AND_CLAMP,
+ eInvert = VK_STENCIL_OP_INVERT,
+ eIncrementAndWrap = VK_STENCIL_OP_INCREMENT_AND_WRAP,
+ eDecrementAndWrap = VK_STENCIL_OP_DECREMENT_AND_WRAP
+ };
+
+ struct StencilOpState
+ {
+ StencilOpState( StencilOp failOp_ = StencilOp::eKeep, StencilOp passOp_ = StencilOp::eKeep, StencilOp depthFailOp_ = StencilOp::eKeep, CompareOp compareOp_ = CompareOp::eNever, uint32_t compareMask_ = 0, uint32_t writeMask_ = 0, uint32_t reference_ = 0 )
+ : failOp( failOp_ )
+ , passOp( passOp_ )
+ , depthFailOp( depthFailOp_ )
+ , compareOp( compareOp_ )
+ , compareMask( compareMask_ )
+ , writeMask( writeMask_ )
+ , reference( reference_ )
+ {
+ }
+
+ StencilOpState( VkStencilOpState const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( StencilOpState ) );
+ }
+
+ StencilOpState& operator=( VkStencilOpState const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( StencilOpState ) );
+ return *this;
+ }
+ StencilOpState& setFailOp( StencilOp failOp_ )
+ {
+ failOp = failOp_;
+ return *this;
+ }
+
+ StencilOpState& setPassOp( StencilOp passOp_ )
+ {
+ passOp = passOp_;
+ return *this;
+ }
+
+ StencilOpState& setDepthFailOp( StencilOp depthFailOp_ )
+ {
+ depthFailOp = depthFailOp_;
+ return *this;
+ }
+
+ StencilOpState& setCompareOp( CompareOp compareOp_ )
+ {
+ compareOp = compareOp_;
+ return *this;
+ }
+
+ StencilOpState& setCompareMask( uint32_t compareMask_ )
+ {
+ compareMask = compareMask_;
+ return *this;
+ }
+
+ StencilOpState& setWriteMask( uint32_t writeMask_ )
+ {
+ writeMask = writeMask_;
+ return *this;
+ }
+
+ StencilOpState& setReference( uint32_t reference_ )
+ {
+ reference = reference_;
+ return *this;
+ }
+
+ operator const VkStencilOpState&() const
+ {
+ return *reinterpret_cast<const VkStencilOpState*>(this);
+ }
+
+ bool operator==( StencilOpState const& rhs ) const
+ {
+ return ( failOp == rhs.failOp )
+ && ( passOp == rhs.passOp )
+ && ( depthFailOp == rhs.depthFailOp )
+ && ( compareOp == rhs.compareOp )
+ && ( compareMask == rhs.compareMask )
+ && ( writeMask == rhs.writeMask )
+ && ( reference == rhs.reference );
+ }
+
+ bool operator!=( StencilOpState const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ StencilOp failOp;
+ StencilOp passOp;
+ StencilOp depthFailOp;
+ CompareOp compareOp;
+ uint32_t compareMask;
+ uint32_t writeMask;
+ uint32_t reference;
+ };
+ static_assert( sizeof( StencilOpState ) == sizeof( VkStencilOpState ), "struct and wrapper have different size!" );
+
+ enum class LogicOp
+ {
+ eClear = VK_LOGIC_OP_CLEAR,
+ eAnd = VK_LOGIC_OP_AND,
+ eAndReverse = VK_LOGIC_OP_AND_REVERSE,
+ eCopy = VK_LOGIC_OP_COPY,
+ eAndInverted = VK_LOGIC_OP_AND_INVERTED,
+ eNoOp = VK_LOGIC_OP_NO_OP,
+ eXor = VK_LOGIC_OP_XOR,
+ eOr = VK_LOGIC_OP_OR,
+ eNor = VK_LOGIC_OP_NOR,
+ eEquivalent = VK_LOGIC_OP_EQUIVALENT,
+ eInvert = VK_LOGIC_OP_INVERT,
+ eOrReverse = VK_LOGIC_OP_OR_REVERSE,
+ eCopyInverted = VK_LOGIC_OP_COPY_INVERTED,
+ eOrInverted = VK_LOGIC_OP_OR_INVERTED,
+ eNand = VK_LOGIC_OP_NAND,
+ eSet = VK_LOGIC_OP_SET
+ };
+
+ enum class InternalAllocationType
+ {
+ eExecutable = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE
+ };
+
+ enum class SystemAllocationScope
+ {
+ eCommand = VK_SYSTEM_ALLOCATION_SCOPE_COMMAND,
+ eObject = VK_SYSTEM_ALLOCATION_SCOPE_OBJECT,
+ eCache = VK_SYSTEM_ALLOCATION_SCOPE_CACHE,
+ eDevice = VK_SYSTEM_ALLOCATION_SCOPE_DEVICE,
+ eInstance = VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE
+ };
+
+ enum class PhysicalDeviceType
+ {
+ eOther = VK_PHYSICAL_DEVICE_TYPE_OTHER,
+ eIntegratedGpu = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU,
+ eDiscreteGpu = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU,
+ eVirtualGpu = VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU,
+ eCpu = VK_PHYSICAL_DEVICE_TYPE_CPU
+ };
+
+ enum class VertexInputRate
+ {
+ eVertex = VK_VERTEX_INPUT_RATE_VERTEX,
+ eInstance = VK_VERTEX_INPUT_RATE_INSTANCE
+ };
+
+ struct VertexInputBindingDescription
+ {
+ VertexInputBindingDescription( uint32_t binding_ = 0, uint32_t stride_ = 0, VertexInputRate inputRate_ = VertexInputRate::eVertex )
+ : binding( binding_ )
+ , stride( stride_ )
+ , inputRate( inputRate_ )
+ {
+ }
+
+ VertexInputBindingDescription( VkVertexInputBindingDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( VertexInputBindingDescription ) );
+ }
+
+ VertexInputBindingDescription& operator=( VkVertexInputBindingDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( VertexInputBindingDescription ) );
+ return *this;
+ }
+ VertexInputBindingDescription& setBinding( uint32_t binding_ )
+ {
+ binding = binding_;
+ return *this;
+ }
+
+ VertexInputBindingDescription& setStride( uint32_t stride_ )
+ {
+ stride = stride_;
+ return *this;
+ }
+
+ VertexInputBindingDescription& setInputRate( VertexInputRate inputRate_ )
+ {
+ inputRate = inputRate_;
+ return *this;
+ }
+
+ operator const VkVertexInputBindingDescription&() const
+ {
+ return *reinterpret_cast<const VkVertexInputBindingDescription*>(this);
+ }
+
+ bool operator==( VertexInputBindingDescription const& rhs ) const
+ {
+ return ( binding == rhs.binding )
+ && ( stride == rhs.stride )
+ && ( inputRate == rhs.inputRate );
+ }
+
+ bool operator!=( VertexInputBindingDescription const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t binding;
+ uint32_t stride;
+ VertexInputRate inputRate;
+ };
+ static_assert( sizeof( VertexInputBindingDescription ) == sizeof( VkVertexInputBindingDescription ), "struct and wrapper have different size!" );
+
+ enum class Format
+ {
+ eUndefined = VK_FORMAT_UNDEFINED,
+ eR4G4UnormPack8 = VK_FORMAT_R4G4_UNORM_PACK8,
+ eR4G4B4A4UnormPack16 = VK_FORMAT_R4G4B4A4_UNORM_PACK16,
+ eB4G4R4A4UnormPack16 = VK_FORMAT_B4G4R4A4_UNORM_PACK16,
+ eR5G6B5UnormPack16 = VK_FORMAT_R5G6B5_UNORM_PACK16,
+ eB5G6R5UnormPack16 = VK_FORMAT_B5G6R5_UNORM_PACK16,
+ eR5G5B5A1UnormPack16 = VK_FORMAT_R5G5B5A1_UNORM_PACK16,
+ eB5G5R5A1UnormPack16 = VK_FORMAT_B5G5R5A1_UNORM_PACK16,
+ eA1R5G5B5UnormPack16 = VK_FORMAT_A1R5G5B5_UNORM_PACK16,
+ eR8Unorm = VK_FORMAT_R8_UNORM,
+ eR8Snorm = VK_FORMAT_R8_SNORM,
+ eR8Uscaled = VK_FORMAT_R8_USCALED,
+ eR8Sscaled = VK_FORMAT_R8_SSCALED,
+ eR8Uint = VK_FORMAT_R8_UINT,
+ eR8Sint = VK_FORMAT_R8_SINT,
+ eR8Srgb = VK_FORMAT_R8_SRGB,
+ eR8G8Unorm = VK_FORMAT_R8G8_UNORM,
+ eR8G8Snorm = VK_FORMAT_R8G8_SNORM,
+ eR8G8Uscaled = VK_FORMAT_R8G8_USCALED,
+ eR8G8Sscaled = VK_FORMAT_R8G8_SSCALED,
+ eR8G8Uint = VK_FORMAT_R8G8_UINT,
+ eR8G8Sint = VK_FORMAT_R8G8_SINT,
+ eR8G8Srgb = VK_FORMAT_R8G8_SRGB,
+ eR8G8B8Unorm = VK_FORMAT_R8G8B8_UNORM,
+ eR8G8B8Snorm = VK_FORMAT_R8G8B8_SNORM,
+ eR8G8B8Uscaled = VK_FORMAT_R8G8B8_USCALED,
+ eR8G8B8Sscaled = VK_FORMAT_R8G8B8_SSCALED,
+ eR8G8B8Uint = VK_FORMAT_R8G8B8_UINT,
+ eR8G8B8Sint = VK_FORMAT_R8G8B8_SINT,
+ eR8G8B8Srgb = VK_FORMAT_R8G8B8_SRGB,
+ eB8G8R8Unorm = VK_FORMAT_B8G8R8_UNORM,
+ eB8G8R8Snorm = VK_FORMAT_B8G8R8_SNORM,
+ eB8G8R8Uscaled = VK_FORMAT_B8G8R8_USCALED,
+ eB8G8R8Sscaled = VK_FORMAT_B8G8R8_SSCALED,
+ eB8G8R8Uint = VK_FORMAT_B8G8R8_UINT,
+ eB8G8R8Sint = VK_FORMAT_B8G8R8_SINT,
+ eB8G8R8Srgb = VK_FORMAT_B8G8R8_SRGB,
+ eR8G8B8A8Unorm = VK_FORMAT_R8G8B8A8_UNORM,
+ eR8G8B8A8Snorm = VK_FORMAT_R8G8B8A8_SNORM,
+ eR8G8B8A8Uscaled = VK_FORMAT_R8G8B8A8_USCALED,
+ eR8G8B8A8Sscaled = VK_FORMAT_R8G8B8A8_SSCALED,
+ eR8G8B8A8Uint = VK_FORMAT_R8G8B8A8_UINT,
+ eR8G8B8A8Sint = VK_FORMAT_R8G8B8A8_SINT,
+ eR8G8B8A8Srgb = VK_FORMAT_R8G8B8A8_SRGB,
+ eB8G8R8A8Unorm = VK_FORMAT_B8G8R8A8_UNORM,
+ eB8G8R8A8Snorm = VK_FORMAT_B8G8R8A8_SNORM,
+ eB8G8R8A8Uscaled = VK_FORMAT_B8G8R8A8_USCALED,
+ eB8G8R8A8Sscaled = VK_FORMAT_B8G8R8A8_SSCALED,
+ eB8G8R8A8Uint = VK_FORMAT_B8G8R8A8_UINT,
+ eB8G8R8A8Sint = VK_FORMAT_B8G8R8A8_SINT,
+ eB8G8R8A8Srgb = VK_FORMAT_B8G8R8A8_SRGB,
+ eA8B8G8R8UnormPack32 = VK_FORMAT_A8B8G8R8_UNORM_PACK32,
+ eA8B8G8R8SnormPack32 = VK_FORMAT_A8B8G8R8_SNORM_PACK32,
+ eA8B8G8R8UscaledPack32 = VK_FORMAT_A8B8G8R8_USCALED_PACK32,
+ eA8B8G8R8SscaledPack32 = VK_FORMAT_A8B8G8R8_SSCALED_PACK32,
+ eA8B8G8R8UintPack32 = VK_FORMAT_A8B8G8R8_UINT_PACK32,
+ eA8B8G8R8SintPack32 = VK_FORMAT_A8B8G8R8_SINT_PACK32,
+ eA8B8G8R8SrgbPack32 = VK_FORMAT_A8B8G8R8_SRGB_PACK32,
+ eA2R10G10B10UnormPack32 = VK_FORMAT_A2R10G10B10_UNORM_PACK32,
+ eA2R10G10B10SnormPack32 = VK_FORMAT_A2R10G10B10_SNORM_PACK32,
+ eA2R10G10B10UscaledPack32 = VK_FORMAT_A2R10G10B10_USCALED_PACK32,
+ eA2R10G10B10SscaledPack32 = VK_FORMAT_A2R10G10B10_SSCALED_PACK32,
+ eA2R10G10B10UintPack32 = VK_FORMAT_A2R10G10B10_UINT_PACK32,
+ eA2R10G10B10SintPack32 = VK_FORMAT_A2R10G10B10_SINT_PACK32,
+ eA2B10G10R10UnormPack32 = VK_FORMAT_A2B10G10R10_UNORM_PACK32,
+ eA2B10G10R10SnormPack32 = VK_FORMAT_A2B10G10R10_SNORM_PACK32,
+ eA2B10G10R10UscaledPack32 = VK_FORMAT_A2B10G10R10_USCALED_PACK32,
+ eA2B10G10R10SscaledPack32 = VK_FORMAT_A2B10G10R10_SSCALED_PACK32,
+ eA2B10G10R10UintPack32 = VK_FORMAT_A2B10G10R10_UINT_PACK32,
+ eA2B10G10R10SintPack32 = VK_FORMAT_A2B10G10R10_SINT_PACK32,
+ eR16Unorm = VK_FORMAT_R16_UNORM,
+ eR16Snorm = VK_FORMAT_R16_SNORM,
+ eR16Uscaled = VK_FORMAT_R16_USCALED,
+ eR16Sscaled = VK_FORMAT_R16_SSCALED,
+ eR16Uint = VK_FORMAT_R16_UINT,
+ eR16Sint = VK_FORMAT_R16_SINT,
+ eR16Sfloat = VK_FORMAT_R16_SFLOAT,
+ eR16G16Unorm = VK_FORMAT_R16G16_UNORM,
+ eR16G16Snorm = VK_FORMAT_R16G16_SNORM,
+ eR16G16Uscaled = VK_FORMAT_R16G16_USCALED,
+ eR16G16Sscaled = VK_FORMAT_R16G16_SSCALED,
+ eR16G16Uint = VK_FORMAT_R16G16_UINT,
+ eR16G16Sint = VK_FORMAT_R16G16_SINT,
+ eR16G16Sfloat = VK_FORMAT_R16G16_SFLOAT,
+ eR16G16B16Unorm = VK_FORMAT_R16G16B16_UNORM,
+ eR16G16B16Snorm = VK_FORMAT_R16G16B16_SNORM,
+ eR16G16B16Uscaled = VK_FORMAT_R16G16B16_USCALED,
+ eR16G16B16Sscaled = VK_FORMAT_R16G16B16_SSCALED,
+ eR16G16B16Uint = VK_FORMAT_R16G16B16_UINT,
+ eR16G16B16Sint = VK_FORMAT_R16G16B16_SINT,
+ eR16G16B16Sfloat = VK_FORMAT_R16G16B16_SFLOAT,
+ eR16G16B16A16Unorm = VK_FORMAT_R16G16B16A16_UNORM,
+ eR16G16B16A16Snorm = VK_FORMAT_R16G16B16A16_SNORM,
+ eR16G16B16A16Uscaled = VK_FORMAT_R16G16B16A16_USCALED,
+ eR16G16B16A16Sscaled = VK_FORMAT_R16G16B16A16_SSCALED,
+ eR16G16B16A16Uint = VK_FORMAT_R16G16B16A16_UINT,
+ eR16G16B16A16Sint = VK_FORMAT_R16G16B16A16_SINT,
+ eR16G16B16A16Sfloat = VK_FORMAT_R16G16B16A16_SFLOAT,
+ eR32Uint = VK_FORMAT_R32_UINT,
+ eR32Sint = VK_FORMAT_R32_SINT,
+ eR32Sfloat = VK_FORMAT_R32_SFLOAT,
+ eR32G32Uint = VK_FORMAT_R32G32_UINT,
+ eR32G32Sint = VK_FORMAT_R32G32_SINT,
+ eR32G32Sfloat = VK_FORMAT_R32G32_SFLOAT,
+ eR32G32B32Uint = VK_FORMAT_R32G32B32_UINT,
+ eR32G32B32Sint = VK_FORMAT_R32G32B32_SINT,
+ eR32G32B32Sfloat = VK_FORMAT_R32G32B32_SFLOAT,
+ eR32G32B32A32Uint = VK_FORMAT_R32G32B32A32_UINT,
+ eR32G32B32A32Sint = VK_FORMAT_R32G32B32A32_SINT,
+ eR32G32B32A32Sfloat = VK_FORMAT_R32G32B32A32_SFLOAT,
+ eR64Uint = VK_FORMAT_R64_UINT,
+ eR64Sint = VK_FORMAT_R64_SINT,
+ eR64Sfloat = VK_FORMAT_R64_SFLOAT,
+ eR64G64Uint = VK_FORMAT_R64G64_UINT,
+ eR64G64Sint = VK_FORMAT_R64G64_SINT,
+ eR64G64Sfloat = VK_FORMAT_R64G64_SFLOAT,
+ eR64G64B64Uint = VK_FORMAT_R64G64B64_UINT,
+ eR64G64B64Sint = VK_FORMAT_R64G64B64_SINT,
+ eR64G64B64Sfloat = VK_FORMAT_R64G64B64_SFLOAT,
+ eR64G64B64A64Uint = VK_FORMAT_R64G64B64A64_UINT,
+ eR64G64B64A64Sint = VK_FORMAT_R64G64B64A64_SINT,
+ eR64G64B64A64Sfloat = VK_FORMAT_R64G64B64A64_SFLOAT,
+ eB10G11R11UfloatPack32 = VK_FORMAT_B10G11R11_UFLOAT_PACK32,
+ eE5B9G9R9UfloatPack32 = VK_FORMAT_E5B9G9R9_UFLOAT_PACK32,
+ eD16Unorm = VK_FORMAT_D16_UNORM,
+ eX8D24UnormPack32 = VK_FORMAT_X8_D24_UNORM_PACK32,
+ eD32Sfloat = VK_FORMAT_D32_SFLOAT,
+ eS8Uint = VK_FORMAT_S8_UINT,
+ eD16UnormS8Uint = VK_FORMAT_D16_UNORM_S8_UINT,
+ eD24UnormS8Uint = VK_FORMAT_D24_UNORM_S8_UINT,
+ eD32SfloatS8Uint = VK_FORMAT_D32_SFLOAT_S8_UINT,
+ eBc1RgbUnormBlock = VK_FORMAT_BC1_RGB_UNORM_BLOCK,
+ eBc1RgbSrgbBlock = VK_FORMAT_BC1_RGB_SRGB_BLOCK,
+ eBc1RgbaUnormBlock = VK_FORMAT_BC1_RGBA_UNORM_BLOCK,
+ eBc1RgbaSrgbBlock = VK_FORMAT_BC1_RGBA_SRGB_BLOCK,
+ eBc2UnormBlock = VK_FORMAT_BC2_UNORM_BLOCK,
+ eBc2SrgbBlock = VK_FORMAT_BC2_SRGB_BLOCK,
+ eBc3UnormBlock = VK_FORMAT_BC3_UNORM_BLOCK,
+ eBc3SrgbBlock = VK_FORMAT_BC3_SRGB_BLOCK,
+ eBc4UnormBlock = VK_FORMAT_BC4_UNORM_BLOCK,
+ eBc4SnormBlock = VK_FORMAT_BC4_SNORM_BLOCK,
+ eBc5UnormBlock = VK_FORMAT_BC5_UNORM_BLOCK,
+ eBc5SnormBlock = VK_FORMAT_BC5_SNORM_BLOCK,
+ eBc6HUfloatBlock = VK_FORMAT_BC6H_UFLOAT_BLOCK,
+ eBc6HSfloatBlock = VK_FORMAT_BC6H_SFLOAT_BLOCK,
+ eBc7UnormBlock = VK_FORMAT_BC7_UNORM_BLOCK,
+ eBc7SrgbBlock = VK_FORMAT_BC7_SRGB_BLOCK,
+ eEtc2R8G8B8UnormBlock = VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK,
+ eEtc2R8G8B8SrgbBlock = VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK,
+ eEtc2R8G8B8A1UnormBlock = VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK,
+ eEtc2R8G8B8A1SrgbBlock = VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK,
+ eEtc2R8G8B8A8UnormBlock = VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK,
+ eEtc2R8G8B8A8SrgbBlock = VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK,
+ eEacR11UnormBlock = VK_FORMAT_EAC_R11_UNORM_BLOCK,
+ eEacR11SnormBlock = VK_FORMAT_EAC_R11_SNORM_BLOCK,
+ eEacR11G11UnormBlock = VK_FORMAT_EAC_R11G11_UNORM_BLOCK,
+ eEacR11G11SnormBlock = VK_FORMAT_EAC_R11G11_SNORM_BLOCK,
+ eAstc4x4UnormBlock = VK_FORMAT_ASTC_4x4_UNORM_BLOCK,
+ eAstc4x4SrgbBlock = VK_FORMAT_ASTC_4x4_SRGB_BLOCK,
+ eAstc5x4UnormBlock = VK_FORMAT_ASTC_5x4_UNORM_BLOCK,
+ eAstc5x4SrgbBlock = VK_FORMAT_ASTC_5x4_SRGB_BLOCK,
+ eAstc5x5UnormBlock = VK_FORMAT_ASTC_5x5_UNORM_BLOCK,
+ eAstc5x5SrgbBlock = VK_FORMAT_ASTC_5x5_SRGB_BLOCK,
+ eAstc6x5UnormBlock = VK_FORMAT_ASTC_6x5_UNORM_BLOCK,
+ eAstc6x5SrgbBlock = VK_FORMAT_ASTC_6x5_SRGB_BLOCK,
+ eAstc6x6UnormBlock = VK_FORMAT_ASTC_6x6_UNORM_BLOCK,
+ eAstc6x6SrgbBlock = VK_FORMAT_ASTC_6x6_SRGB_BLOCK,
+ eAstc8x5UnormBlock = VK_FORMAT_ASTC_8x5_UNORM_BLOCK,
+ eAstc8x5SrgbBlock = VK_FORMAT_ASTC_8x5_SRGB_BLOCK,
+ eAstc8x6UnormBlock = VK_FORMAT_ASTC_8x6_UNORM_BLOCK,
+ eAstc8x6SrgbBlock = VK_FORMAT_ASTC_8x6_SRGB_BLOCK,
+ eAstc8x8UnormBlock = VK_FORMAT_ASTC_8x8_UNORM_BLOCK,
+ eAstc8x8SrgbBlock = VK_FORMAT_ASTC_8x8_SRGB_BLOCK,
+ eAstc10x5UnormBlock = VK_FORMAT_ASTC_10x5_UNORM_BLOCK,
+ eAstc10x5SrgbBlock = VK_FORMAT_ASTC_10x5_SRGB_BLOCK,
+ eAstc10x6UnormBlock = VK_FORMAT_ASTC_10x6_UNORM_BLOCK,
+ eAstc10x6SrgbBlock = VK_FORMAT_ASTC_10x6_SRGB_BLOCK,
+ eAstc10x8UnormBlock = VK_FORMAT_ASTC_10x8_UNORM_BLOCK,
+ eAstc10x8SrgbBlock = VK_FORMAT_ASTC_10x8_SRGB_BLOCK,
+ eAstc10x10UnormBlock = VK_FORMAT_ASTC_10x10_UNORM_BLOCK,
+ eAstc10x10SrgbBlock = VK_FORMAT_ASTC_10x10_SRGB_BLOCK,
+ eAstc12x10UnormBlock = VK_FORMAT_ASTC_12x10_UNORM_BLOCK,
+ eAstc12x10SrgbBlock = VK_FORMAT_ASTC_12x10_SRGB_BLOCK,
+ eAstc12x12UnormBlock = VK_FORMAT_ASTC_12x12_UNORM_BLOCK,
+ eAstc12x12SrgbBlock = VK_FORMAT_ASTC_12x12_SRGB_BLOCK,
+ eG8B8G8R8422Unorm = VK_FORMAT_G8B8G8R8_422_UNORM,
+ eG8B8G8R8422UnormKHR = VK_FORMAT_G8B8G8R8_422_UNORM,
+ eB8G8R8G8422Unorm = VK_FORMAT_B8G8R8G8_422_UNORM,
+ eB8G8R8G8422UnormKHR = VK_FORMAT_B8G8R8G8_422_UNORM,
+ eG8B8R83Plane420Unorm = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM,
+ eG8B8R83Plane420UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM,
+ eG8B8R82Plane420Unorm = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM,
+ eG8B8R82Plane420UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_420_UNORM,
+ eG8B8R83Plane422Unorm = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM,
+ eG8B8R83Plane422UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM,
+ eG8B8R82Plane422Unorm = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM,
+ eG8B8R82Plane422UnormKHR = VK_FORMAT_G8_B8R8_2PLANE_422_UNORM,
+ eG8B8R83Plane444Unorm = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM,
+ eG8B8R83Plane444UnormKHR = VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM,
+ eR10X6UnormPack16 = VK_FORMAT_R10X6_UNORM_PACK16,
+ eR10X6UnormPack16KHR = VK_FORMAT_R10X6_UNORM_PACK16,
+ eR10X6G10X6Unorm2Pack16 = VK_FORMAT_R10X6G10X6_UNORM_2PACK16,
+ eR10X6G10X6Unorm2Pack16KHR = VK_FORMAT_R10X6G10X6_UNORM_2PACK16,
+ eR10X6G10X6B10X6A10X6Unorm4Pack16 = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16,
+ eR10X6G10X6B10X6A10X6Unorm4Pack16KHR = VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16,
+ eG10X6B10X6G10X6R10X6422Unorm4Pack16 = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16,
+ eG10X6B10X6G10X6R10X6422Unorm4Pack16KHR = VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16,
+ eB10X6G10X6R10X6G10X6422Unorm4Pack16 = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16,
+ eB10X6G10X6R10X6G10X6422Unorm4Pack16KHR = VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16,
+ eG10X6B10X6R10X63Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16,
+ eG10X6B10X6R10X63Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16,
+ eG10X6B10X6R10X62Plane420Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16,
+ eG10X6B10X6R10X62Plane420Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16,
+ eG10X6B10X6R10X63Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16,
+ eG10X6B10X6R10X63Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16,
+ eG10X6B10X6R10X62Plane422Unorm3Pack16 = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16,
+ eG10X6B10X6R10X62Plane422Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16,
+ eG10X6B10X6R10X63Plane444Unorm3Pack16 = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16,
+ eG10X6B10X6R10X63Plane444Unorm3Pack16KHR = VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16,
+ eR12X4UnormPack16 = VK_FORMAT_R12X4_UNORM_PACK16,
+ eR12X4UnormPack16KHR = VK_FORMAT_R12X4_UNORM_PACK16,
+ eR12X4G12X4Unorm2Pack16 = VK_FORMAT_R12X4G12X4_UNORM_2PACK16,
+ eR12X4G12X4Unorm2Pack16KHR = VK_FORMAT_R12X4G12X4_UNORM_2PACK16,
+ eR12X4G12X4B12X4A12X4Unorm4Pack16 = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16,
+ eR12X4G12X4B12X4A12X4Unorm4Pack16KHR = VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16,
+ eG12X4B12X4G12X4R12X4422Unorm4Pack16 = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16,
+ eG12X4B12X4G12X4R12X4422Unorm4Pack16KHR = VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16,
+ eB12X4G12X4R12X4G12X4422Unorm4Pack16 = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16,
+ eB12X4G12X4R12X4G12X4422Unorm4Pack16KHR = VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16,
+ eG12X4B12X4R12X43Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16,
+ eG12X4B12X4R12X43Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16,
+ eG12X4B12X4R12X42Plane420Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16,
+ eG12X4B12X4R12X42Plane420Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16,
+ eG12X4B12X4R12X43Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16,
+ eG12X4B12X4R12X43Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16,
+ eG12X4B12X4R12X42Plane422Unorm3Pack16 = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16,
+ eG12X4B12X4R12X42Plane422Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16,
+ eG12X4B12X4R12X43Plane444Unorm3Pack16 = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16,
+ eG12X4B12X4R12X43Plane444Unorm3Pack16KHR = VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16,
+ eG16B16G16R16422Unorm = VK_FORMAT_G16B16G16R16_422_UNORM,
+ eG16B16G16R16422UnormKHR = VK_FORMAT_G16B16G16R16_422_UNORM,
+ eB16G16R16G16422Unorm = VK_FORMAT_B16G16R16G16_422_UNORM,
+ eB16G16R16G16422UnormKHR = VK_FORMAT_B16G16R16G16_422_UNORM,
+ eG16B16R163Plane420Unorm = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM,
+ eG16B16R163Plane420UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM,
+ eG16B16R162Plane420Unorm = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM,
+ eG16B16R162Plane420UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_420_UNORM,
+ eG16B16R163Plane422Unorm = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM,
+ eG16B16R163Plane422UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM,
+ eG16B16R162Plane422Unorm = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM,
+ eG16B16R162Plane422UnormKHR = VK_FORMAT_G16_B16R16_2PLANE_422_UNORM,
+ eG16B16R163Plane444Unorm = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM,
+ eG16B16R163Plane444UnormKHR = VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM,
+ ePvrtc12BppUnormBlockIMG = VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG,
+ ePvrtc14BppUnormBlockIMG = VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG,
+ ePvrtc22BppUnormBlockIMG = VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG,
+ ePvrtc24BppUnormBlockIMG = VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG,
+ ePvrtc12BppSrgbBlockIMG = VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG,
+ ePvrtc14BppSrgbBlockIMG = VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG,
+ ePvrtc22BppSrgbBlockIMG = VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG,
+ ePvrtc24BppSrgbBlockIMG = VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG
+ };
+
+ struct VertexInputAttributeDescription
+ {
+ VertexInputAttributeDescription( uint32_t location_ = 0, uint32_t binding_ = 0, Format format_ = Format::eUndefined, uint32_t offset_ = 0 )
+ : location( location_ )
+ , binding( binding_ )
+ , format( format_ )
+ , offset( offset_ )
+ {
+ }
+
+ VertexInputAttributeDescription( VkVertexInputAttributeDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( VertexInputAttributeDescription ) );
+ }
+
+ VertexInputAttributeDescription& operator=( VkVertexInputAttributeDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( VertexInputAttributeDescription ) );
+ return *this;
+ }
+ VertexInputAttributeDescription& setLocation( uint32_t location_ )
+ {
+ location = location_;
+ return *this;
+ }
+
+ VertexInputAttributeDescription& setBinding( uint32_t binding_ )
+ {
+ binding = binding_;
+ return *this;
+ }
+
+ VertexInputAttributeDescription& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ VertexInputAttributeDescription& setOffset( uint32_t offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ operator const VkVertexInputAttributeDescription&() const
+ {
+ return *reinterpret_cast<const VkVertexInputAttributeDescription*>(this);
+ }
+
+ bool operator==( VertexInputAttributeDescription const& rhs ) const
+ {
+ return ( location == rhs.location )
+ && ( binding == rhs.binding )
+ && ( format == rhs.format )
+ && ( offset == rhs.offset );
+ }
+
+ bool operator!=( VertexInputAttributeDescription const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t location;
+ uint32_t binding;
+ Format format;
+ uint32_t offset;
+ };
+ static_assert( sizeof( VertexInputAttributeDescription ) == sizeof( VkVertexInputAttributeDescription ), "struct and wrapper have different size!" );
+
+ enum class StructureType
+ {
+ eApplicationInfo = VK_STRUCTURE_TYPE_APPLICATION_INFO,
+ eInstanceCreateInfo = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,
+ eDeviceQueueCreateInfo = VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO,
+ eDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO,
+ eSubmitInfo = VK_STRUCTURE_TYPE_SUBMIT_INFO,
+ eMemoryAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO,
+ eMappedMemoryRange = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE,
+ eBindSparseInfo = VK_STRUCTURE_TYPE_BIND_SPARSE_INFO,
+ eFenceCreateInfo = VK_STRUCTURE_TYPE_FENCE_CREATE_INFO,
+ eSemaphoreCreateInfo = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO,
+ eEventCreateInfo = VK_STRUCTURE_TYPE_EVENT_CREATE_INFO,
+ eQueryPoolCreateInfo = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO,
+ eBufferCreateInfo = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
+ eBufferViewCreateInfo = VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO,
+ eImageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO,
+ eImageViewCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
+ eShaderModuleCreateInfo = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO,
+ ePipelineCacheCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO,
+ ePipelineShaderStageCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
+ ePipelineVertexInputStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO,
+ ePipelineInputAssemblyStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO,
+ ePipelineTessellationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO,
+ ePipelineViewportStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO,
+ ePipelineRasterizationStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO,
+ ePipelineMultisampleStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO,
+ ePipelineDepthStencilStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO,
+ ePipelineColorBlendStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO,
+ ePipelineDynamicStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO,
+ eGraphicsPipelineCreateInfo = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO,
+ eComputePipelineCreateInfo = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
+ ePipelineLayoutCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO,
+ eSamplerCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO,
+ eDescriptorSetLayoutCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO,
+ eDescriptorPoolCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
+ eDescriptorSetAllocateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO,
+ eWriteDescriptorSet = VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET,
+ eCopyDescriptorSet = VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET,
+ eFramebufferCreateInfo = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO,
+ eRenderPassCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO,
+ eCommandPoolCreateInfo = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO,
+ eCommandBufferAllocateInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO,
+ eCommandBufferInheritanceInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO,
+ eCommandBufferBeginInfo = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO,
+ eRenderPassBeginInfo = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO,
+ eBufferMemoryBarrier = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER,
+ eImageMemoryBarrier = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
+ eMemoryBarrier = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ eLoaderInstanceCreateInfo = VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO,
+ eLoaderDeviceCreateInfo = VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO,
+ ePhysicalDeviceSubgroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES,
+ eBindBufferMemoryInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO,
+ eBindBufferMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO,
+ eBindImageMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO,
+ eBindImageMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO,
+ ePhysicalDevice16BitStorageFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES,
+ ePhysicalDevice16BitStorageFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES,
+ eMemoryDedicatedRequirements = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS,
+ eMemoryDedicatedRequirementsKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS,
+ eMemoryDedicatedAllocateInfo = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO,
+ eMemoryDedicatedAllocateInfoKHR = VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO,
+ eMemoryAllocateFlagsInfo = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO,
+ eMemoryAllocateFlagsInfoKHR = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO,
+ eDeviceGroupRenderPassBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO,
+ eDeviceGroupRenderPassBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO,
+ eDeviceGroupCommandBufferBeginInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO,
+ eDeviceGroupCommandBufferBeginInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO,
+ eDeviceGroupSubmitInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO,
+ eDeviceGroupSubmitInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO,
+ eDeviceGroupBindSparseInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO,
+ eDeviceGroupBindSparseInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO,
+ eBindBufferMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO,
+ eBindBufferMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO,
+ eBindImageMemoryDeviceGroupInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO,
+ eBindImageMemoryDeviceGroupInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO,
+ ePhysicalDeviceGroupProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES,
+ ePhysicalDeviceGroupPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES,
+ eDeviceGroupDeviceCreateInfo = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO,
+ eDeviceGroupDeviceCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO,
+ eBufferMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2,
+ eBufferMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2,
+ eImageMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2,
+ eImageMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2,
+ eImageSparseMemoryRequirementsInfo2 = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2,
+ eImageSparseMemoryRequirementsInfo2KHR = VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2,
+ eMemoryRequirements2 = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2,
+ eMemoryRequirements2KHR = VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2,
+ eSparseImageMemoryRequirements2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2,
+ eSparseImageMemoryRequirements2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2,
+ ePhysicalDeviceFeatures2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2,
+ ePhysicalDeviceFeatures2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2,
+ ePhysicalDeviceProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2,
+ ePhysicalDeviceProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2,
+ eFormatProperties2 = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2,
+ eFormatProperties2KHR = VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2,
+ eImageFormatProperties2 = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,
+ eImageFormatProperties2KHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2,
+ ePhysicalDeviceImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2,
+ ePhysicalDeviceImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2,
+ eQueueFamilyProperties2 = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2,
+ eQueueFamilyProperties2KHR = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2,
+ ePhysicalDeviceMemoryProperties2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2,
+ ePhysicalDeviceMemoryProperties2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2,
+ eSparseImageFormatProperties2 = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2,
+ eSparseImageFormatProperties2KHR = VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2,
+ ePhysicalDeviceSparseImageFormatInfo2 = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2,
+ ePhysicalDeviceSparseImageFormatInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2,
+ ePhysicalDevicePointClippingProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES,
+ ePhysicalDevicePointClippingPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES,
+ eRenderPassInputAttachmentAspectCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO,
+ eRenderPassInputAttachmentAspectCreateInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO,
+ eImageViewUsageCreateInfo = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO,
+ eImageViewUsageCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO,
+ ePipelineTessellationDomainOriginStateCreateInfo = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO,
+ ePipelineTessellationDomainOriginStateCreateInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO,
+ eRenderPassMultiviewCreateInfo = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO,
+ eRenderPassMultiviewCreateInfoKHR = VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO,
+ ePhysicalDeviceMultiviewFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES,
+ ePhysicalDeviceMultiviewFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES,
+ ePhysicalDeviceMultiviewProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES,
+ ePhysicalDeviceMultiviewPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES,
+ ePhysicalDeviceVariablePointerFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES,
+ ePhysicalDeviceVariablePointerFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES,
+ eProtectedSubmitInfo = VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO,
+ ePhysicalDeviceProtectedMemoryFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES,
+ ePhysicalDeviceProtectedMemoryProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES,
+ eDeviceQueueInfo2 = VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2,
+ eSamplerYcbcrConversionCreateInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO,
+ eSamplerYcbcrConversionCreateInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO,
+ eSamplerYcbcrConversionInfo = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO,
+ eSamplerYcbcrConversionInfoKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO,
+ eBindImagePlaneMemoryInfo = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO,
+ eBindImagePlaneMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO,
+ eImagePlaneMemoryRequirementsInfo = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO,
+ eImagePlaneMemoryRequirementsInfoKHR = VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO,
+ ePhysicalDeviceSamplerYcbcrConversionFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES,
+ ePhysicalDeviceSamplerYcbcrConversionFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES,
+ eSamplerYcbcrConversionImageFormatProperties = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES,
+ eSamplerYcbcrConversionImageFormatPropertiesKHR = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES,
+ eDescriptorUpdateTemplateCreateInfo = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,
+ eDescriptorUpdateTemplateCreateInfoKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,
+ ePhysicalDeviceExternalImageFormatInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO,
+ ePhysicalDeviceExternalImageFormatInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO,
+ eExternalImageFormatProperties = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES,
+ eExternalImageFormatPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES,
+ ePhysicalDeviceExternalBufferInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO,
+ ePhysicalDeviceExternalBufferInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO,
+ eExternalBufferProperties = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES,
+ eExternalBufferPropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES,
+ ePhysicalDeviceIdProperties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES,
+ ePhysicalDeviceIdPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES,
+ eExternalMemoryBufferCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO,
+ eExternalMemoryBufferCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO,
+ eExternalMemoryImageCreateInfo = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO,
+ eExternalMemoryImageCreateInfoKHR = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO,
+ eExportMemoryAllocateInfo = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO,
+ eExportMemoryAllocateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO,
+ ePhysicalDeviceExternalFenceInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO,
+ ePhysicalDeviceExternalFenceInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO,
+ eExternalFenceProperties = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES,
+ eExternalFencePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES,
+ eExportFenceCreateInfo = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO,
+ eExportFenceCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO,
+ eExportSemaphoreCreateInfo = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO,
+ eExportSemaphoreCreateInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO,
+ ePhysicalDeviceExternalSemaphoreInfo = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO,
+ ePhysicalDeviceExternalSemaphoreInfoKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO,
+ eExternalSemaphoreProperties = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES,
+ eExternalSemaphorePropertiesKHR = VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES,
+ ePhysicalDeviceMaintenance3Properties = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES,
+ ePhysicalDeviceMaintenance3PropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES,
+ eDescriptorSetLayoutSupport = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT,
+ eDescriptorSetLayoutSupportKHR = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT,
+ ePhysicalDeviceShaderDrawParameterFeatures = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES,
+ eSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR,
+ ePresentInfoKHR = VK_STRUCTURE_TYPE_PRESENT_INFO_KHR,
+ eDeviceGroupPresentCapabilitiesKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR,
+ eImageSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR,
+ eBindImageMemorySwapchainInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR,
+ eAcquireNextImageInfoKHR = VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR,
+ eDeviceGroupPresentInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR,
+ eDeviceGroupSwapchainCreateInfoKHR = VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR,
+ eDisplayModeCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR,
+ eDisplaySurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR,
+ eDisplayPresentInfoKHR = VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR,
+ eXlibSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR,
+ eXcbSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR,
+ eWaylandSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR,
+ eMirSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR,
+ eAndroidSurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR,
+ eWin32SurfaceCreateInfoKHR = VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR,
+ eDebugReportCallbackCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT,
+ ePipelineRasterizationStateRasterizationOrderAMD = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD,
+ eDebugMarkerObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT,
+ eDebugMarkerObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT,
+ eDebugMarkerMarkerInfoEXT = VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT,
+ eDedicatedAllocationImageCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV,
+ eDedicatedAllocationBufferCreateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV,
+ eDedicatedAllocationMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV,
+ eTextureLodGatherFormatPropertiesAMD = VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD,
+ eExternalMemoryImageCreateInfoNV = VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV,
+ eExportMemoryAllocateInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV,
+ eImportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV,
+ eExportMemoryWin32HandleInfoNV = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV,
+ eWin32KeyedMutexAcquireReleaseInfoNV = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV,
+ eValidationFlagsEXT = VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT,
+ eViSurfaceCreateInfoNN = VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN,
+ eImportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR,
+ eExportMemoryWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR,
+ eMemoryWin32HandlePropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR,
+ eMemoryGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR,
+ eImportMemoryFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR,
+ eMemoryFdPropertiesKHR = VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR,
+ eMemoryGetFdInfoKHR = VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR,
+ eWin32KeyedMutexAcquireReleaseInfoKHR = VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR,
+ eImportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR,
+ eExportSemaphoreWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR,
+ eD3D12FenceSubmitInfoKHR = VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR,
+ eSemaphoreGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR,
+ eImportSemaphoreFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR,
+ eSemaphoreGetFdInfoKHR = VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR,
+ ePhysicalDevicePushDescriptorPropertiesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR,
+ ePresentRegionsKHR = VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR,
+ eObjectTableCreateInfoNVX = VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX,
+ eIndirectCommandsLayoutCreateInfoNVX = VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX,
+ eCmdProcessCommandsInfoNVX = VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX,
+ eCmdReserveSpaceForCommandsInfoNVX = VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX,
+ eDeviceGeneratedCommandsLimitsNVX = VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX,
+ eDeviceGeneratedCommandsFeaturesNVX = VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX,
+ ePipelineViewportWScalingStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV,
+ eSurfaceCapabilities2EXT = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT,
+ eDisplayPowerInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT,
+ eDeviceEventInfoEXT = VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT,
+ eDisplayEventInfoEXT = VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT,
+ eSwapchainCounterCreateInfoEXT = VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT,
+ ePresentTimesInfoGOOGLE = VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE,
+ ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX,
+ ePipelineViewportSwizzleStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV,
+ ePhysicalDeviceDiscardRectanglePropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT,
+ ePipelineDiscardRectangleStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT,
+ ePhysicalDeviceConservativeRasterizationPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT,
+ ePipelineRasterizationConservativeStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT,
+ eHdrMetadataEXT = VK_STRUCTURE_TYPE_HDR_METADATA_EXT,
+ eSharedPresentSurfaceCapabilitiesKHR = VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR,
+ eImportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR,
+ eExportFenceWin32HandleInfoKHR = VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR,
+ eFenceGetWin32HandleInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR,
+ eImportFenceFdInfoKHR = VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR,
+ eFenceGetFdInfoKHR = VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR,
+ ePhysicalDeviceSurfaceInfo2KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR,
+ eSurfaceCapabilities2KHR = VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR,
+ eSurfaceFormat2KHR = VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR,
+ eIosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK,
+ eMacosSurfaceCreateInfoMVK = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK,
+ eDebugUtilsObjectNameInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT,
+ eDebugUtilsObjectTagInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT,
+ eDebugUtilsLabelEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT,
+ eDebugUtilsMessengerCallbackDataEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT,
+ eDebugUtilsMessengerCreateInfoEXT = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT,
+ eAndroidHardwareBufferUsageANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID,
+ eAndroidHardwareBufferPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID,
+ eAndroidHardwareBufferFormatPropertiesANDROID = VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID,
+ eImportAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID,
+ eMemoryGetAndroidHardwareBufferInfoANDROID = VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID,
+ eExternalFormatANDROID = VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID,
+ ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT,
+ eSamplerReductionModeCreateInfoEXT = VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT,
+ eSampleLocationsInfoEXT = VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT,
+ eRenderPassSampleLocationsBeginInfoEXT = VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT,
+ ePipelineSampleLocationsStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT,
+ ePhysicalDeviceSampleLocationsPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT,
+ eMultisamplePropertiesEXT = VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT,
+ eImageFormatListCreateInfoKHR = VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR,
+ ePhysicalDeviceBlendOperationAdvancedFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT,
+ ePhysicalDeviceBlendOperationAdvancedPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT,
+ ePipelineColorBlendAdvancedStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT,
+ ePipelineCoverageToColorStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV,
+ ePipelineCoverageModulationStateCreateInfoNV = VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV,
+ eValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT,
+ eShaderModuleValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT,
+ eDescriptorSetLayoutBindingFlagsCreateInfoEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT,
+ ePhysicalDeviceDescriptorIndexingFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT,
+ ePhysicalDeviceDescriptorIndexingPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT,
+ eDescriptorSetVariableDescriptorCountAllocateInfoEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT,
+ eDescriptorSetVariableDescriptorCountLayoutSupportEXT = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT,
+ eDeviceQueueGlobalPriorityCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT,
+ eImportMemoryHostPointerInfoEXT = VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT,
+ eMemoryHostPointerPropertiesEXT = VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT,
+ ePhysicalDeviceExternalMemoryHostPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT,
+ ePhysicalDeviceShaderCorePropertiesAMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD,
+ ePhysicalDeviceVertexAttributeDivisorPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT,
+ ePipelineVertexInputDivisorStateCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT
+ };
+
+ struct ApplicationInfo
+ {
+ ApplicationInfo( const char* pApplicationName_ = nullptr, uint32_t applicationVersion_ = 0, const char* pEngineName_ = nullptr, uint32_t engineVersion_ = 0, uint32_t apiVersion_ = 0 )
+ : pApplicationName( pApplicationName_ )
+ , applicationVersion( applicationVersion_ )
+ , pEngineName( pEngineName_ )
+ , engineVersion( engineVersion_ )
+ , apiVersion( apiVersion_ )
+ {
+ }
+
+ ApplicationInfo( VkApplicationInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ApplicationInfo ) );
+ }
+
+ ApplicationInfo& operator=( VkApplicationInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ApplicationInfo ) );
+ return *this;
+ }
+ ApplicationInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ApplicationInfo& setPApplicationName( const char* pApplicationName_ )
+ {
+ pApplicationName = pApplicationName_;
+ return *this;
+ }
+
+ ApplicationInfo& setApplicationVersion( uint32_t applicationVersion_ )
+ {
+ applicationVersion = applicationVersion_;
+ return *this;
+ }
+
+ ApplicationInfo& setPEngineName( const char* pEngineName_ )
+ {
+ pEngineName = pEngineName_;
+ return *this;
+ }
+
+ ApplicationInfo& setEngineVersion( uint32_t engineVersion_ )
+ {
+ engineVersion = engineVersion_;
+ return *this;
+ }
+
+ ApplicationInfo& setApiVersion( uint32_t apiVersion_ )
+ {
+ apiVersion = apiVersion_;
+ return *this;
+ }
+
+ operator const VkApplicationInfo&() const
+ {
+ return *reinterpret_cast<const VkApplicationInfo*>(this);
+ }
+
+ bool operator==( ApplicationInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pApplicationName == rhs.pApplicationName )
+ && ( applicationVersion == rhs.applicationVersion )
+ && ( pEngineName == rhs.pEngineName )
+ && ( engineVersion == rhs.engineVersion )
+ && ( apiVersion == rhs.apiVersion );
+ }
+
+ bool operator!=( ApplicationInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eApplicationInfo;
+
+ public:
+ const void* pNext = nullptr;
+ const char* pApplicationName;
+ uint32_t applicationVersion;
+ const char* pEngineName;
+ uint32_t engineVersion;
+ uint32_t apiVersion;
+ };
+ static_assert( sizeof( ApplicationInfo ) == sizeof( VkApplicationInfo ), "struct and wrapper have different size!" );
+
+ struct InstanceCreateInfo
+ {
+ InstanceCreateInfo( InstanceCreateFlags flags_ = InstanceCreateFlags(), const ApplicationInfo* pApplicationInfo_ = nullptr, uint32_t enabledLayerCount_ = 0, const char* const* ppEnabledLayerNames_ = nullptr, uint32_t enabledExtensionCount_ = 0, const char* const* ppEnabledExtensionNames_ = nullptr )
+ : flags( flags_ )
+ , pApplicationInfo( pApplicationInfo_ )
+ , enabledLayerCount( enabledLayerCount_ )
+ , ppEnabledLayerNames( ppEnabledLayerNames_ )
+ , enabledExtensionCount( enabledExtensionCount_ )
+ , ppEnabledExtensionNames( ppEnabledExtensionNames_ )
+ {
+ }
+
+ InstanceCreateInfo( VkInstanceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( InstanceCreateInfo ) );
+ }
+
+ InstanceCreateInfo& operator=( VkInstanceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( InstanceCreateInfo ) );
+ return *this;
+ }
+ InstanceCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ InstanceCreateInfo& setFlags( InstanceCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ InstanceCreateInfo& setPApplicationInfo( const ApplicationInfo* pApplicationInfo_ )
+ {
+ pApplicationInfo = pApplicationInfo_;
+ return *this;
+ }
+
+ InstanceCreateInfo& setEnabledLayerCount( uint32_t enabledLayerCount_ )
+ {
+ enabledLayerCount = enabledLayerCount_;
+ return *this;
+ }
+
+ InstanceCreateInfo& setPpEnabledLayerNames( const char* const* ppEnabledLayerNames_ )
+ {
+ ppEnabledLayerNames = ppEnabledLayerNames_;
+ return *this;
+ }
+
+ InstanceCreateInfo& setEnabledExtensionCount( uint32_t enabledExtensionCount_ )
+ {
+ enabledExtensionCount = enabledExtensionCount_;
+ return *this;
+ }
+
+ InstanceCreateInfo& setPpEnabledExtensionNames( const char* const* ppEnabledExtensionNames_ )
+ {
+ ppEnabledExtensionNames = ppEnabledExtensionNames_;
+ return *this;
+ }
+
+ operator const VkInstanceCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkInstanceCreateInfo*>(this);
+ }
+
+ bool operator==( InstanceCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( pApplicationInfo == rhs.pApplicationInfo )
+ && ( enabledLayerCount == rhs.enabledLayerCount )
+ && ( ppEnabledLayerNames == rhs.ppEnabledLayerNames )
+ && ( enabledExtensionCount == rhs.enabledExtensionCount )
+ && ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames );
+ }
+
+ bool operator!=( InstanceCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eInstanceCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ InstanceCreateFlags flags;
+ const ApplicationInfo* pApplicationInfo;
+ uint32_t enabledLayerCount;
+ const char* const* ppEnabledLayerNames;
+ uint32_t enabledExtensionCount;
+ const char* const* ppEnabledExtensionNames;
+ };
+ static_assert( sizeof( InstanceCreateInfo ) == sizeof( VkInstanceCreateInfo ), "struct and wrapper have different size!" );
+
+ struct MemoryAllocateInfo
+ {
+ MemoryAllocateInfo( DeviceSize allocationSize_ = 0, uint32_t memoryTypeIndex_ = 0 )
+ : allocationSize( allocationSize_ )
+ , memoryTypeIndex( memoryTypeIndex_ )
+ {
+ }
+
+ MemoryAllocateInfo( VkMemoryAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryAllocateInfo ) );
+ }
+
+ MemoryAllocateInfo& operator=( VkMemoryAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryAllocateInfo ) );
+ return *this;
+ }
+ MemoryAllocateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryAllocateInfo& setAllocationSize( DeviceSize allocationSize_ )
+ {
+ allocationSize = allocationSize_;
+ return *this;
+ }
+
+ MemoryAllocateInfo& setMemoryTypeIndex( uint32_t memoryTypeIndex_ )
+ {
+ memoryTypeIndex = memoryTypeIndex_;
+ return *this;
+ }
+
+ operator const VkMemoryAllocateInfo&() const
+ {
+ return *reinterpret_cast<const VkMemoryAllocateInfo*>(this);
+ }
+
+ bool operator==( MemoryAllocateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( allocationSize == rhs.allocationSize )
+ && ( memoryTypeIndex == rhs.memoryTypeIndex );
+ }
+
+ bool operator!=( MemoryAllocateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryAllocateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceSize allocationSize;
+ uint32_t memoryTypeIndex;
+ };
+ static_assert( sizeof( MemoryAllocateInfo ) == sizeof( VkMemoryAllocateInfo ), "struct and wrapper have different size!" );
+
+ struct MappedMemoryRange
+ {
+ MappedMemoryRange( DeviceMemory memory_ = DeviceMemory(), DeviceSize offset_ = 0, DeviceSize size_ = 0 )
+ : memory( memory_ )
+ , offset( offset_ )
+ , size( size_ )
+ {
+ }
+
+ MappedMemoryRange( VkMappedMemoryRange const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MappedMemoryRange ) );
+ }
+
+ MappedMemoryRange& operator=( VkMappedMemoryRange const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MappedMemoryRange ) );
+ return *this;
+ }
+ MappedMemoryRange& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MappedMemoryRange& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ MappedMemoryRange& setOffset( DeviceSize offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ MappedMemoryRange& setSize( DeviceSize size_ )
+ {
+ size = size_;
+ return *this;
+ }
+
+ operator const VkMappedMemoryRange&() const
+ {
+ return *reinterpret_cast<const VkMappedMemoryRange*>(this);
+ }
+
+ bool operator==( MappedMemoryRange const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memory == rhs.memory )
+ && ( offset == rhs.offset )
+ && ( size == rhs.size );
+ }
+
+ bool operator!=( MappedMemoryRange const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMappedMemoryRange;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceMemory memory;
+ DeviceSize offset;
+ DeviceSize size;
+ };
+ static_assert( sizeof( MappedMemoryRange ) == sizeof( VkMappedMemoryRange ), "struct and wrapper have different size!" );
+
+ struct WriteDescriptorSet
+ {
+ WriteDescriptorSet( DescriptorSet dstSet_ = DescriptorSet(), uint32_t dstBinding_ = 0, uint32_t dstArrayElement_ = 0, uint32_t descriptorCount_ = 0, DescriptorType descriptorType_ = DescriptorType::eSampler, const DescriptorImageInfo* pImageInfo_ = nullptr, const DescriptorBufferInfo* pBufferInfo_ = nullptr, const BufferView* pTexelBufferView_ = nullptr )
+ : dstSet( dstSet_ )
+ , dstBinding( dstBinding_ )
+ , dstArrayElement( dstArrayElement_ )
+ , descriptorCount( descriptorCount_ )
+ , descriptorType( descriptorType_ )
+ , pImageInfo( pImageInfo_ )
+ , pBufferInfo( pBufferInfo_ )
+ , pTexelBufferView( pTexelBufferView_ )
+ {
+ }
+
+ WriteDescriptorSet( VkWriteDescriptorSet const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( WriteDescriptorSet ) );
+ }
+
+ WriteDescriptorSet& operator=( VkWriteDescriptorSet const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( WriteDescriptorSet ) );
+ return *this;
+ }
+ WriteDescriptorSet& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setDstSet( DescriptorSet dstSet_ )
+ {
+ dstSet = dstSet_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setDstBinding( uint32_t dstBinding_ )
+ {
+ dstBinding = dstBinding_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setDstArrayElement( uint32_t dstArrayElement_ )
+ {
+ dstArrayElement = dstArrayElement_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setDescriptorCount( uint32_t descriptorCount_ )
+ {
+ descriptorCount = descriptorCount_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setDescriptorType( DescriptorType descriptorType_ )
+ {
+ descriptorType = descriptorType_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setPImageInfo( const DescriptorImageInfo* pImageInfo_ )
+ {
+ pImageInfo = pImageInfo_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setPBufferInfo( const DescriptorBufferInfo* pBufferInfo_ )
+ {
+ pBufferInfo = pBufferInfo_;
+ return *this;
+ }
+
+ WriteDescriptorSet& setPTexelBufferView( const BufferView* pTexelBufferView_ )
+ {
+ pTexelBufferView = pTexelBufferView_;
+ return *this;
+ }
+
+ operator const VkWriteDescriptorSet&() const
+ {
+ return *reinterpret_cast<const VkWriteDescriptorSet*>(this);
+ }
+
+ bool operator==( WriteDescriptorSet const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( dstSet == rhs.dstSet )
+ && ( dstBinding == rhs.dstBinding )
+ && ( dstArrayElement == rhs.dstArrayElement )
+ && ( descriptorCount == rhs.descriptorCount )
+ && ( descriptorType == rhs.descriptorType )
+ && ( pImageInfo == rhs.pImageInfo )
+ && ( pBufferInfo == rhs.pBufferInfo )
+ && ( pTexelBufferView == rhs.pTexelBufferView );
+ }
+
+ bool operator!=( WriteDescriptorSet const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eWriteDescriptorSet;
+
+ public:
+ const void* pNext = nullptr;
+ DescriptorSet dstSet;
+ uint32_t dstBinding;
+ uint32_t dstArrayElement;
+ uint32_t descriptorCount;
+ DescriptorType descriptorType;
+ const DescriptorImageInfo* pImageInfo;
+ const DescriptorBufferInfo* pBufferInfo;
+ const BufferView* pTexelBufferView;
+ };
+ static_assert( sizeof( WriteDescriptorSet ) == sizeof( VkWriteDescriptorSet ), "struct and wrapper have different size!" );
+
+ struct CopyDescriptorSet
+ {
+ CopyDescriptorSet( DescriptorSet srcSet_ = DescriptorSet(), uint32_t srcBinding_ = 0, uint32_t srcArrayElement_ = 0, DescriptorSet dstSet_ = DescriptorSet(), uint32_t dstBinding_ = 0, uint32_t dstArrayElement_ = 0, uint32_t descriptorCount_ = 0 )
+ : srcSet( srcSet_ )
+ , srcBinding( srcBinding_ )
+ , srcArrayElement( srcArrayElement_ )
+ , dstSet( dstSet_ )
+ , dstBinding( dstBinding_ )
+ , dstArrayElement( dstArrayElement_ )
+ , descriptorCount( descriptorCount_ )
+ {
+ }
+
+ CopyDescriptorSet( VkCopyDescriptorSet const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CopyDescriptorSet ) );
+ }
+
+ CopyDescriptorSet& operator=( VkCopyDescriptorSet const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CopyDescriptorSet ) );
+ return *this;
+ }
+ CopyDescriptorSet& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ CopyDescriptorSet& setSrcSet( DescriptorSet srcSet_ )
+ {
+ srcSet = srcSet_;
+ return *this;
+ }
+
+ CopyDescriptorSet& setSrcBinding( uint32_t srcBinding_ )
+ {
+ srcBinding = srcBinding_;
+ return *this;
+ }
+
+ CopyDescriptorSet& setSrcArrayElement( uint32_t srcArrayElement_ )
+ {
+ srcArrayElement = srcArrayElement_;
+ return *this;
+ }
+
+ CopyDescriptorSet& setDstSet( DescriptorSet dstSet_ )
+ {
+ dstSet = dstSet_;
+ return *this;
+ }
+
+ CopyDescriptorSet& setDstBinding( uint32_t dstBinding_ )
+ {
+ dstBinding = dstBinding_;
+ return *this;
+ }
+
+ CopyDescriptorSet& setDstArrayElement( uint32_t dstArrayElement_ )
+ {
+ dstArrayElement = dstArrayElement_;
+ return *this;
+ }
+
+ CopyDescriptorSet& setDescriptorCount( uint32_t descriptorCount_ )
+ {
+ descriptorCount = descriptorCount_;
+ return *this;
+ }
+
+ operator const VkCopyDescriptorSet&() const
+ {
+ return *reinterpret_cast<const VkCopyDescriptorSet*>(this);
+ }
+
+ bool operator==( CopyDescriptorSet const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( srcSet == rhs.srcSet )
+ && ( srcBinding == rhs.srcBinding )
+ && ( srcArrayElement == rhs.srcArrayElement )
+ && ( dstSet == rhs.dstSet )
+ && ( dstBinding == rhs.dstBinding )
+ && ( dstArrayElement == rhs.dstArrayElement )
+ && ( descriptorCount == rhs.descriptorCount );
+ }
+
+ bool operator!=( CopyDescriptorSet const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eCopyDescriptorSet;
+
+ public:
+ const void* pNext = nullptr;
+ DescriptorSet srcSet;
+ uint32_t srcBinding;
+ uint32_t srcArrayElement;
+ DescriptorSet dstSet;
+ uint32_t dstBinding;
+ uint32_t dstArrayElement;
+ uint32_t descriptorCount;
+ };
+ static_assert( sizeof( CopyDescriptorSet ) == sizeof( VkCopyDescriptorSet ), "struct and wrapper have different size!" );
+
+ struct BufferViewCreateInfo
+ {
+ BufferViewCreateInfo( BufferViewCreateFlags flags_ = BufferViewCreateFlags(), Buffer buffer_ = Buffer(), Format format_ = Format::eUndefined, DeviceSize offset_ = 0, DeviceSize range_ = 0 )
+ : flags( flags_ )
+ , buffer( buffer_ )
+ , format( format_ )
+ , offset( offset_ )
+ , range( range_ )
+ {
+ }
+
+ BufferViewCreateInfo( VkBufferViewCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferViewCreateInfo ) );
+ }
+
+ BufferViewCreateInfo& operator=( VkBufferViewCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferViewCreateInfo ) );
+ return *this;
+ }
+ BufferViewCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BufferViewCreateInfo& setFlags( BufferViewCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ BufferViewCreateInfo& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ BufferViewCreateInfo& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ BufferViewCreateInfo& setOffset( DeviceSize offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ BufferViewCreateInfo& setRange( DeviceSize range_ )
+ {
+ range = range_;
+ return *this;
+ }
+
+ operator const VkBufferViewCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkBufferViewCreateInfo*>(this);
+ }
+
+ bool operator==( BufferViewCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( buffer == rhs.buffer )
+ && ( format == rhs.format )
+ && ( offset == rhs.offset )
+ && ( range == rhs.range );
+ }
+
+ bool operator!=( BufferViewCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBufferViewCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ BufferViewCreateFlags flags;
+ Buffer buffer;
+ Format format;
+ DeviceSize offset;
+ DeviceSize range;
+ };
+ static_assert( sizeof( BufferViewCreateInfo ) == sizeof( VkBufferViewCreateInfo ), "struct and wrapper have different size!" );
+
+ struct ShaderModuleCreateInfo
+ {
+ ShaderModuleCreateInfo( ShaderModuleCreateFlags flags_ = ShaderModuleCreateFlags(), size_t codeSize_ = 0, const uint32_t* pCode_ = nullptr )
+ : flags( flags_ )
+ , codeSize( codeSize_ )
+ , pCode( pCode_ )
+ {
+ }
+
+ ShaderModuleCreateInfo( VkShaderModuleCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ShaderModuleCreateInfo ) );
+ }
+
+ ShaderModuleCreateInfo& operator=( VkShaderModuleCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ShaderModuleCreateInfo ) );
+ return *this;
+ }
+ ShaderModuleCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ShaderModuleCreateInfo& setFlags( ShaderModuleCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ShaderModuleCreateInfo& setCodeSize( size_t codeSize_ )
+ {
+ codeSize = codeSize_;
+ return *this;
+ }
+
+ ShaderModuleCreateInfo& setPCode( const uint32_t* pCode_ )
+ {
+ pCode = pCode_;
+ return *this;
+ }
+
+ operator const VkShaderModuleCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkShaderModuleCreateInfo*>(this);
+ }
+
+ bool operator==( ShaderModuleCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( codeSize == rhs.codeSize )
+ && ( pCode == rhs.pCode );
+ }
+
+ bool operator!=( ShaderModuleCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eShaderModuleCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ShaderModuleCreateFlags flags;
+ size_t codeSize;
+ const uint32_t* pCode;
+ };
+ static_assert( sizeof( ShaderModuleCreateInfo ) == sizeof( VkShaderModuleCreateInfo ), "struct and wrapper have different size!" );
+
+ struct DescriptorSetAllocateInfo
+ {
+ DescriptorSetAllocateInfo( DescriptorPool descriptorPool_ = DescriptorPool(), uint32_t descriptorSetCount_ = 0, const DescriptorSetLayout* pSetLayouts_ = nullptr )
+ : descriptorPool( descriptorPool_ )
+ , descriptorSetCount( descriptorSetCount_ )
+ , pSetLayouts( pSetLayouts_ )
+ {
+ }
+
+ DescriptorSetAllocateInfo( VkDescriptorSetAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetAllocateInfo ) );
+ }
+
+ DescriptorSetAllocateInfo& operator=( VkDescriptorSetAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetAllocateInfo ) );
+ return *this;
+ }
+ DescriptorSetAllocateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DescriptorSetAllocateInfo& setDescriptorPool( DescriptorPool descriptorPool_ )
+ {
+ descriptorPool = descriptorPool_;
+ return *this;
+ }
+
+ DescriptorSetAllocateInfo& setDescriptorSetCount( uint32_t descriptorSetCount_ )
+ {
+ descriptorSetCount = descriptorSetCount_;
+ return *this;
+ }
+
+ DescriptorSetAllocateInfo& setPSetLayouts( const DescriptorSetLayout* pSetLayouts_ )
+ {
+ pSetLayouts = pSetLayouts_;
+ return *this;
+ }
+
+ operator const VkDescriptorSetAllocateInfo&() const
+ {
+ return *reinterpret_cast<const VkDescriptorSetAllocateInfo*>(this);
+ }
+
+ bool operator==( DescriptorSetAllocateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( descriptorPool == rhs.descriptorPool )
+ && ( descriptorSetCount == rhs.descriptorSetCount )
+ && ( pSetLayouts == rhs.pSetLayouts );
+ }
+
+ bool operator!=( DescriptorSetAllocateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorSetAllocateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ DescriptorPool descriptorPool;
+ uint32_t descriptorSetCount;
+ const DescriptorSetLayout* pSetLayouts;
+ };
+ static_assert( sizeof( DescriptorSetAllocateInfo ) == sizeof( VkDescriptorSetAllocateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineVertexInputStateCreateInfo
+ {
+ PipelineVertexInputStateCreateInfo( PipelineVertexInputStateCreateFlags flags_ = PipelineVertexInputStateCreateFlags(), uint32_t vertexBindingDescriptionCount_ = 0, const VertexInputBindingDescription* pVertexBindingDescriptions_ = nullptr, uint32_t vertexAttributeDescriptionCount_ = 0, const VertexInputAttributeDescription* pVertexAttributeDescriptions_ = nullptr )
+ : flags( flags_ )
+ , vertexBindingDescriptionCount( vertexBindingDescriptionCount_ )
+ , pVertexBindingDescriptions( pVertexBindingDescriptions_ )
+ , vertexAttributeDescriptionCount( vertexAttributeDescriptionCount_ )
+ , pVertexAttributeDescriptions( pVertexAttributeDescriptions_ )
+ {
+ }
+
+ PipelineVertexInputStateCreateInfo( VkPipelineVertexInputStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineVertexInputStateCreateInfo ) );
+ }
+
+ PipelineVertexInputStateCreateInfo& operator=( VkPipelineVertexInputStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineVertexInputStateCreateInfo ) );
+ return *this;
+ }
+ PipelineVertexInputStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineVertexInputStateCreateInfo& setFlags( PipelineVertexInputStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineVertexInputStateCreateInfo& setVertexBindingDescriptionCount( uint32_t vertexBindingDescriptionCount_ )
+ {
+ vertexBindingDescriptionCount = vertexBindingDescriptionCount_;
+ return *this;
+ }
+
+ PipelineVertexInputStateCreateInfo& setPVertexBindingDescriptions( const VertexInputBindingDescription* pVertexBindingDescriptions_ )
+ {
+ pVertexBindingDescriptions = pVertexBindingDescriptions_;
+ return *this;
+ }
+
+ PipelineVertexInputStateCreateInfo& setVertexAttributeDescriptionCount( uint32_t vertexAttributeDescriptionCount_ )
+ {
+ vertexAttributeDescriptionCount = vertexAttributeDescriptionCount_;
+ return *this;
+ }
+
+ PipelineVertexInputStateCreateInfo& setPVertexAttributeDescriptions( const VertexInputAttributeDescription* pVertexAttributeDescriptions_ )
+ {
+ pVertexAttributeDescriptions = pVertexAttributeDescriptions_;
+ return *this;
+ }
+
+ operator const VkPipelineVertexInputStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineVertexInputStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineVertexInputStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( vertexBindingDescriptionCount == rhs.vertexBindingDescriptionCount )
+ && ( pVertexBindingDescriptions == rhs.pVertexBindingDescriptions )
+ && ( vertexAttributeDescriptionCount == rhs.vertexAttributeDescriptionCount )
+ && ( pVertexAttributeDescriptions == rhs.pVertexAttributeDescriptions );
+ }
+
+ bool operator!=( PipelineVertexInputStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineVertexInputStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineVertexInputStateCreateFlags flags;
+ uint32_t vertexBindingDescriptionCount;
+ const VertexInputBindingDescription* pVertexBindingDescriptions;
+ uint32_t vertexAttributeDescriptionCount;
+ const VertexInputAttributeDescription* pVertexAttributeDescriptions;
+ };
+ static_assert( sizeof( PipelineVertexInputStateCreateInfo ) == sizeof( VkPipelineVertexInputStateCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineInputAssemblyStateCreateInfo
+ {
+ PipelineInputAssemblyStateCreateInfo( PipelineInputAssemblyStateCreateFlags flags_ = PipelineInputAssemblyStateCreateFlags(), PrimitiveTopology topology_ = PrimitiveTopology::ePointList, Bool32 primitiveRestartEnable_ = 0 )
+ : flags( flags_ )
+ , topology( topology_ )
+ , primitiveRestartEnable( primitiveRestartEnable_ )
+ {
+ }
+
+ PipelineInputAssemblyStateCreateInfo( VkPipelineInputAssemblyStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineInputAssemblyStateCreateInfo ) );
+ }
+
+ PipelineInputAssemblyStateCreateInfo& operator=( VkPipelineInputAssemblyStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineInputAssemblyStateCreateInfo ) );
+ return *this;
+ }
+ PipelineInputAssemblyStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineInputAssemblyStateCreateInfo& setFlags( PipelineInputAssemblyStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineInputAssemblyStateCreateInfo& setTopology( PrimitiveTopology topology_ )
+ {
+ topology = topology_;
+ return *this;
+ }
+
+ PipelineInputAssemblyStateCreateInfo& setPrimitiveRestartEnable( Bool32 primitiveRestartEnable_ )
+ {
+ primitiveRestartEnable = primitiveRestartEnable_;
+ return *this;
+ }
+
+ operator const VkPipelineInputAssemblyStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineInputAssemblyStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineInputAssemblyStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( topology == rhs.topology )
+ && ( primitiveRestartEnable == rhs.primitiveRestartEnable );
+ }
+
+ bool operator!=( PipelineInputAssemblyStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineInputAssemblyStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineInputAssemblyStateCreateFlags flags;
+ PrimitiveTopology topology;
+ Bool32 primitiveRestartEnable;
+ };
+ static_assert( sizeof( PipelineInputAssemblyStateCreateInfo ) == sizeof( VkPipelineInputAssemblyStateCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineTessellationStateCreateInfo
+ {
+ PipelineTessellationStateCreateInfo( PipelineTessellationStateCreateFlags flags_ = PipelineTessellationStateCreateFlags(), uint32_t patchControlPoints_ = 0 )
+ : flags( flags_ )
+ , patchControlPoints( patchControlPoints_ )
+ {
+ }
+
+ PipelineTessellationStateCreateInfo( VkPipelineTessellationStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineTessellationStateCreateInfo ) );
+ }
+
+ PipelineTessellationStateCreateInfo& operator=( VkPipelineTessellationStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineTessellationStateCreateInfo ) );
+ return *this;
+ }
+ PipelineTessellationStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineTessellationStateCreateInfo& setFlags( PipelineTessellationStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineTessellationStateCreateInfo& setPatchControlPoints( uint32_t patchControlPoints_ )
+ {
+ patchControlPoints = patchControlPoints_;
+ return *this;
+ }
+
+ operator const VkPipelineTessellationStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineTessellationStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineTessellationStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( patchControlPoints == rhs.patchControlPoints );
+ }
+
+ bool operator!=( PipelineTessellationStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineTessellationStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineTessellationStateCreateFlags flags;
+ uint32_t patchControlPoints;
+ };
+ static_assert( sizeof( PipelineTessellationStateCreateInfo ) == sizeof( VkPipelineTessellationStateCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineViewportStateCreateInfo
+ {
+ PipelineViewportStateCreateInfo( PipelineViewportStateCreateFlags flags_ = PipelineViewportStateCreateFlags(), uint32_t viewportCount_ = 0, const Viewport* pViewports_ = nullptr, uint32_t scissorCount_ = 0, const Rect2D* pScissors_ = nullptr )
+ : flags( flags_ )
+ , viewportCount( viewportCount_ )
+ , pViewports( pViewports_ )
+ , scissorCount( scissorCount_ )
+ , pScissors( pScissors_ )
+ {
+ }
+
+ PipelineViewportStateCreateInfo( VkPipelineViewportStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineViewportStateCreateInfo ) );
+ }
+
+ PipelineViewportStateCreateInfo& operator=( VkPipelineViewportStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineViewportStateCreateInfo ) );
+ return *this;
+ }
+ PipelineViewportStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineViewportStateCreateInfo& setFlags( PipelineViewportStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineViewportStateCreateInfo& setViewportCount( uint32_t viewportCount_ )
+ {
+ viewportCount = viewportCount_;
+ return *this;
+ }
+
+ PipelineViewportStateCreateInfo& setPViewports( const Viewport* pViewports_ )
+ {
+ pViewports = pViewports_;
+ return *this;
+ }
+
+ PipelineViewportStateCreateInfo& setScissorCount( uint32_t scissorCount_ )
+ {
+ scissorCount = scissorCount_;
+ return *this;
+ }
+
+ PipelineViewportStateCreateInfo& setPScissors( const Rect2D* pScissors_ )
+ {
+ pScissors = pScissors_;
+ return *this;
+ }
+
+ operator const VkPipelineViewportStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineViewportStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineViewportStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( viewportCount == rhs.viewportCount )
+ && ( pViewports == rhs.pViewports )
+ && ( scissorCount == rhs.scissorCount )
+ && ( pScissors == rhs.pScissors );
+ }
+
+ bool operator!=( PipelineViewportStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineViewportStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineViewportStateCreateFlags flags;
+ uint32_t viewportCount;
+ const Viewport* pViewports;
+ uint32_t scissorCount;
+ const Rect2D* pScissors;
+ };
+ static_assert( sizeof( PipelineViewportStateCreateInfo ) == sizeof( VkPipelineViewportStateCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineRasterizationStateCreateInfo
+ {
+ PipelineRasterizationStateCreateInfo( PipelineRasterizationStateCreateFlags flags_ = PipelineRasterizationStateCreateFlags(), Bool32 depthClampEnable_ = 0, Bool32 rasterizerDiscardEnable_ = 0, PolygonMode polygonMode_ = PolygonMode::eFill, CullModeFlags cullMode_ = CullModeFlags(), FrontFace frontFace_ = FrontFace::eCounterClockwise, Bool32 depthBiasEnable_ = 0, float depthBiasConstantFactor_ = 0, float depthBiasClamp_ = 0, float depthBiasSlopeFactor_ = 0, float lineWidth_ = 0 )
+ : flags( flags_ )
+ , depthClampEnable( depthClampEnable_ )
+ , rasterizerDiscardEnable( rasterizerDiscardEnable_ )
+ , polygonMode( polygonMode_ )
+ , cullMode( cullMode_ )
+ , frontFace( frontFace_ )
+ , depthBiasEnable( depthBiasEnable_ )
+ , depthBiasConstantFactor( depthBiasConstantFactor_ )
+ , depthBiasClamp( depthBiasClamp_ )
+ , depthBiasSlopeFactor( depthBiasSlopeFactor_ )
+ , lineWidth( lineWidth_ )
+ {
+ }
+
+ PipelineRasterizationStateCreateInfo( VkPipelineRasterizationStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineRasterizationStateCreateInfo ) );
+ }
+
+ PipelineRasterizationStateCreateInfo& operator=( VkPipelineRasterizationStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineRasterizationStateCreateInfo ) );
+ return *this;
+ }
+ PipelineRasterizationStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setFlags( PipelineRasterizationStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setDepthClampEnable( Bool32 depthClampEnable_ )
+ {
+ depthClampEnable = depthClampEnable_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setRasterizerDiscardEnable( Bool32 rasterizerDiscardEnable_ )
+ {
+ rasterizerDiscardEnable = rasterizerDiscardEnable_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setPolygonMode( PolygonMode polygonMode_ )
+ {
+ polygonMode = polygonMode_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setCullMode( CullModeFlags cullMode_ )
+ {
+ cullMode = cullMode_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setFrontFace( FrontFace frontFace_ )
+ {
+ frontFace = frontFace_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setDepthBiasEnable( Bool32 depthBiasEnable_ )
+ {
+ depthBiasEnable = depthBiasEnable_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setDepthBiasConstantFactor( float depthBiasConstantFactor_ )
+ {
+ depthBiasConstantFactor = depthBiasConstantFactor_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setDepthBiasClamp( float depthBiasClamp_ )
+ {
+ depthBiasClamp = depthBiasClamp_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setDepthBiasSlopeFactor( float depthBiasSlopeFactor_ )
+ {
+ depthBiasSlopeFactor = depthBiasSlopeFactor_;
+ return *this;
+ }
+
+ PipelineRasterizationStateCreateInfo& setLineWidth( float lineWidth_ )
+ {
+ lineWidth = lineWidth_;
+ return *this;
+ }
+
+ operator const VkPipelineRasterizationStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineRasterizationStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineRasterizationStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( depthClampEnable == rhs.depthClampEnable )
+ && ( rasterizerDiscardEnable == rhs.rasterizerDiscardEnable )
+ && ( polygonMode == rhs.polygonMode )
+ && ( cullMode == rhs.cullMode )
+ && ( frontFace == rhs.frontFace )
+ && ( depthBiasEnable == rhs.depthBiasEnable )
+ && ( depthBiasConstantFactor == rhs.depthBiasConstantFactor )
+ && ( depthBiasClamp == rhs.depthBiasClamp )
+ && ( depthBiasSlopeFactor == rhs.depthBiasSlopeFactor )
+ && ( lineWidth == rhs.lineWidth );
+ }
+
+ bool operator!=( PipelineRasterizationStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineRasterizationStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineRasterizationStateCreateFlags flags;
+ Bool32 depthClampEnable;
+ Bool32 rasterizerDiscardEnable;
+ PolygonMode polygonMode;
+ CullModeFlags cullMode;
+ FrontFace frontFace;
+ Bool32 depthBiasEnable;
+ float depthBiasConstantFactor;
+ float depthBiasClamp;
+ float depthBiasSlopeFactor;
+ float lineWidth;
+ };
+ static_assert( sizeof( PipelineRasterizationStateCreateInfo ) == sizeof( VkPipelineRasterizationStateCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineDepthStencilStateCreateInfo
+ {
+ PipelineDepthStencilStateCreateInfo( PipelineDepthStencilStateCreateFlags flags_ = PipelineDepthStencilStateCreateFlags(), Bool32 depthTestEnable_ = 0, Bool32 depthWriteEnable_ = 0, CompareOp depthCompareOp_ = CompareOp::eNever, Bool32 depthBoundsTestEnable_ = 0, Bool32 stencilTestEnable_ = 0, StencilOpState front_ = StencilOpState(), StencilOpState back_ = StencilOpState(), float minDepthBounds_ = 0, float maxDepthBounds_ = 0 )
+ : flags( flags_ )
+ , depthTestEnable( depthTestEnable_ )
+ , depthWriteEnable( depthWriteEnable_ )
+ , depthCompareOp( depthCompareOp_ )
+ , depthBoundsTestEnable( depthBoundsTestEnable_ )
+ , stencilTestEnable( stencilTestEnable_ )
+ , front( front_ )
+ , back( back_ )
+ , minDepthBounds( minDepthBounds_ )
+ , maxDepthBounds( maxDepthBounds_ )
+ {
+ }
+
+ PipelineDepthStencilStateCreateInfo( VkPipelineDepthStencilStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineDepthStencilStateCreateInfo ) );
+ }
+
+ PipelineDepthStencilStateCreateInfo& operator=( VkPipelineDepthStencilStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineDepthStencilStateCreateInfo ) );
+ return *this;
+ }
+ PipelineDepthStencilStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setFlags( PipelineDepthStencilStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setDepthTestEnable( Bool32 depthTestEnable_ )
+ {
+ depthTestEnable = depthTestEnable_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setDepthWriteEnable( Bool32 depthWriteEnable_ )
+ {
+ depthWriteEnable = depthWriteEnable_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setDepthCompareOp( CompareOp depthCompareOp_ )
+ {
+ depthCompareOp = depthCompareOp_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setDepthBoundsTestEnable( Bool32 depthBoundsTestEnable_ )
+ {
+ depthBoundsTestEnable = depthBoundsTestEnable_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setStencilTestEnable( Bool32 stencilTestEnable_ )
+ {
+ stencilTestEnable = stencilTestEnable_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setFront( StencilOpState front_ )
+ {
+ front = front_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setBack( StencilOpState back_ )
+ {
+ back = back_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setMinDepthBounds( float minDepthBounds_ )
+ {
+ minDepthBounds = minDepthBounds_;
+ return *this;
+ }
+
+ PipelineDepthStencilStateCreateInfo& setMaxDepthBounds( float maxDepthBounds_ )
+ {
+ maxDepthBounds = maxDepthBounds_;
+ return *this;
+ }
+
+ operator const VkPipelineDepthStencilStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineDepthStencilStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineDepthStencilStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( depthTestEnable == rhs.depthTestEnable )
+ && ( depthWriteEnable == rhs.depthWriteEnable )
+ && ( depthCompareOp == rhs.depthCompareOp )
+ && ( depthBoundsTestEnable == rhs.depthBoundsTestEnable )
+ && ( stencilTestEnable == rhs.stencilTestEnable )
+ && ( front == rhs.front )
+ && ( back == rhs.back )
+ && ( minDepthBounds == rhs.minDepthBounds )
+ && ( maxDepthBounds == rhs.maxDepthBounds );
+ }
+
+ bool operator!=( PipelineDepthStencilStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineDepthStencilStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineDepthStencilStateCreateFlags flags;
+ Bool32 depthTestEnable;
+ Bool32 depthWriteEnable;
+ CompareOp depthCompareOp;
+ Bool32 depthBoundsTestEnable;
+ Bool32 stencilTestEnable;
+ StencilOpState front;
+ StencilOpState back;
+ float minDepthBounds;
+ float maxDepthBounds;
+ };
+ static_assert( sizeof( PipelineDepthStencilStateCreateInfo ) == sizeof( VkPipelineDepthStencilStateCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineCacheCreateInfo
+ {
+ PipelineCacheCreateInfo( PipelineCacheCreateFlags flags_ = PipelineCacheCreateFlags(), size_t initialDataSize_ = 0, const void* pInitialData_ = nullptr )
+ : flags( flags_ )
+ , initialDataSize( initialDataSize_ )
+ , pInitialData( pInitialData_ )
+ {
+ }
+
+ PipelineCacheCreateInfo( VkPipelineCacheCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineCacheCreateInfo ) );
+ }
+
+ PipelineCacheCreateInfo& operator=( VkPipelineCacheCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineCacheCreateInfo ) );
+ return *this;
+ }
+ PipelineCacheCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineCacheCreateInfo& setFlags( PipelineCacheCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineCacheCreateInfo& setInitialDataSize( size_t initialDataSize_ )
+ {
+ initialDataSize = initialDataSize_;
+ return *this;
+ }
+
+ PipelineCacheCreateInfo& setPInitialData( const void* pInitialData_ )
+ {
+ pInitialData = pInitialData_;
+ return *this;
+ }
+
+ operator const VkPipelineCacheCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineCacheCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineCacheCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( initialDataSize == rhs.initialDataSize )
+ && ( pInitialData == rhs.pInitialData );
+ }
+
+ bool operator!=( PipelineCacheCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineCacheCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineCacheCreateFlags flags;
+ size_t initialDataSize;
+ const void* pInitialData;
+ };
+ static_assert( sizeof( PipelineCacheCreateInfo ) == sizeof( VkPipelineCacheCreateInfo ), "struct and wrapper have different size!" );
+
+ struct SamplerCreateInfo
+ {
+ SamplerCreateInfo( SamplerCreateFlags flags_ = SamplerCreateFlags(), Filter magFilter_ = Filter::eNearest, Filter minFilter_ = Filter::eNearest, SamplerMipmapMode mipmapMode_ = SamplerMipmapMode::eNearest, SamplerAddressMode addressModeU_ = SamplerAddressMode::eRepeat, SamplerAddressMode addressModeV_ = SamplerAddressMode::eRepeat, SamplerAddressMode addressModeW_ = SamplerAddressMode::eRepeat, float mipLodBias_ = 0, Bool32 anisotropyEnable_ = 0, float maxAnisotropy_ = 0, Bool32 compareEnable_ = 0, CompareOp compareOp_ = CompareOp::eNever, float minLod_ = 0, float maxLod_ = 0, BorderColor borderColor_ = BorderColor::eFloatTransparentBlack, Bool32 unnormalizedCoordinates_ = 0 )
+ : flags( flags_ )
+ , magFilter( magFilter_ )
+ , minFilter( minFilter_ )
+ , mipmapMode( mipmapMode_ )
+ , addressModeU( addressModeU_ )
+ , addressModeV( addressModeV_ )
+ , addressModeW( addressModeW_ )
+ , mipLodBias( mipLodBias_ )
+ , anisotropyEnable( anisotropyEnable_ )
+ , maxAnisotropy( maxAnisotropy_ )
+ , compareEnable( compareEnable_ )
+ , compareOp( compareOp_ )
+ , minLod( minLod_ )
+ , maxLod( maxLod_ )
+ , borderColor( borderColor_ )
+ , unnormalizedCoordinates( unnormalizedCoordinates_ )
+ {
+ }
+
+ SamplerCreateInfo( VkSamplerCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerCreateInfo ) );
+ }
+
+ SamplerCreateInfo& operator=( VkSamplerCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerCreateInfo ) );
+ return *this;
+ }
+ SamplerCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setFlags( SamplerCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setMagFilter( Filter magFilter_ )
+ {
+ magFilter = magFilter_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setMinFilter( Filter minFilter_ )
+ {
+ minFilter = minFilter_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setMipmapMode( SamplerMipmapMode mipmapMode_ )
+ {
+ mipmapMode = mipmapMode_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setAddressModeU( SamplerAddressMode addressModeU_ )
+ {
+ addressModeU = addressModeU_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setAddressModeV( SamplerAddressMode addressModeV_ )
+ {
+ addressModeV = addressModeV_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setAddressModeW( SamplerAddressMode addressModeW_ )
+ {
+ addressModeW = addressModeW_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setMipLodBias( float mipLodBias_ )
+ {
+ mipLodBias = mipLodBias_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setAnisotropyEnable( Bool32 anisotropyEnable_ )
+ {
+ anisotropyEnable = anisotropyEnable_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setMaxAnisotropy( float maxAnisotropy_ )
+ {
+ maxAnisotropy = maxAnisotropy_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setCompareEnable( Bool32 compareEnable_ )
+ {
+ compareEnable = compareEnable_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setCompareOp( CompareOp compareOp_ )
+ {
+ compareOp = compareOp_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setMinLod( float minLod_ )
+ {
+ minLod = minLod_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setMaxLod( float maxLod_ )
+ {
+ maxLod = maxLod_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setBorderColor( BorderColor borderColor_ )
+ {
+ borderColor = borderColor_;
+ return *this;
+ }
+
+ SamplerCreateInfo& setUnnormalizedCoordinates( Bool32 unnormalizedCoordinates_ )
+ {
+ unnormalizedCoordinates = unnormalizedCoordinates_;
+ return *this;
+ }
+
+ operator const VkSamplerCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkSamplerCreateInfo*>(this);
+ }
+
+ bool operator==( SamplerCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( magFilter == rhs.magFilter )
+ && ( minFilter == rhs.minFilter )
+ && ( mipmapMode == rhs.mipmapMode )
+ && ( addressModeU == rhs.addressModeU )
+ && ( addressModeV == rhs.addressModeV )
+ && ( addressModeW == rhs.addressModeW )
+ && ( mipLodBias == rhs.mipLodBias )
+ && ( anisotropyEnable == rhs.anisotropyEnable )
+ && ( maxAnisotropy == rhs.maxAnisotropy )
+ && ( compareEnable == rhs.compareEnable )
+ && ( compareOp == rhs.compareOp )
+ && ( minLod == rhs.minLod )
+ && ( maxLod == rhs.maxLod )
+ && ( borderColor == rhs.borderColor )
+ && ( unnormalizedCoordinates == rhs.unnormalizedCoordinates );
+ }
+
+ bool operator!=( SamplerCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSamplerCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ SamplerCreateFlags flags;
+ Filter magFilter;
+ Filter minFilter;
+ SamplerMipmapMode mipmapMode;
+ SamplerAddressMode addressModeU;
+ SamplerAddressMode addressModeV;
+ SamplerAddressMode addressModeW;
+ float mipLodBias;
+ Bool32 anisotropyEnable;
+ float maxAnisotropy;
+ Bool32 compareEnable;
+ CompareOp compareOp;
+ float minLod;
+ float maxLod;
+ BorderColor borderColor;
+ Bool32 unnormalizedCoordinates;
+ };
+ static_assert( sizeof( SamplerCreateInfo ) == sizeof( VkSamplerCreateInfo ), "struct and wrapper have different size!" );
+
+ struct CommandBufferAllocateInfo
+ {
+ CommandBufferAllocateInfo( CommandPool commandPool_ = CommandPool(), CommandBufferLevel level_ = CommandBufferLevel::ePrimary, uint32_t commandBufferCount_ = 0 )
+ : commandPool( commandPool_ )
+ , level( level_ )
+ , commandBufferCount( commandBufferCount_ )
+ {
+ }
+
+ CommandBufferAllocateInfo( VkCommandBufferAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandBufferAllocateInfo ) );
+ }
+
+ CommandBufferAllocateInfo& operator=( VkCommandBufferAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandBufferAllocateInfo ) );
+ return *this;
+ }
+ CommandBufferAllocateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ CommandBufferAllocateInfo& setCommandPool( CommandPool commandPool_ )
+ {
+ commandPool = commandPool_;
+ return *this;
+ }
+
+ CommandBufferAllocateInfo& setLevel( CommandBufferLevel level_ )
+ {
+ level = level_;
+ return *this;
+ }
+
+ CommandBufferAllocateInfo& setCommandBufferCount( uint32_t commandBufferCount_ )
+ {
+ commandBufferCount = commandBufferCount_;
+ return *this;
+ }
+
+ operator const VkCommandBufferAllocateInfo&() const
+ {
+ return *reinterpret_cast<const VkCommandBufferAllocateInfo*>(this);
+ }
+
+ bool operator==( CommandBufferAllocateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( commandPool == rhs.commandPool )
+ && ( level == rhs.level )
+ && ( commandBufferCount == rhs.commandBufferCount );
+ }
+
+ bool operator!=( CommandBufferAllocateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eCommandBufferAllocateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ CommandPool commandPool;
+ CommandBufferLevel level;
+ uint32_t commandBufferCount;
+ };
+ static_assert( sizeof( CommandBufferAllocateInfo ) == sizeof( VkCommandBufferAllocateInfo ), "struct and wrapper have different size!" );
+
+ struct RenderPassBeginInfo
+ {
+ RenderPassBeginInfo( RenderPass renderPass_ = RenderPass(), Framebuffer framebuffer_ = Framebuffer(), Rect2D renderArea_ = Rect2D(), uint32_t clearValueCount_ = 0, const ClearValue* pClearValues_ = nullptr )
+ : renderPass( renderPass_ )
+ , framebuffer( framebuffer_ )
+ , renderArea( renderArea_ )
+ , clearValueCount( clearValueCount_ )
+ , pClearValues( pClearValues_ )
+ {
+ }
+
+ RenderPassBeginInfo( VkRenderPassBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassBeginInfo ) );
+ }
+
+ RenderPassBeginInfo& operator=( VkRenderPassBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassBeginInfo ) );
+ return *this;
+ }
+ RenderPassBeginInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ RenderPassBeginInfo& setRenderPass( RenderPass renderPass_ )
+ {
+ renderPass = renderPass_;
+ return *this;
+ }
+
+ RenderPassBeginInfo& setFramebuffer( Framebuffer framebuffer_ )
+ {
+ framebuffer = framebuffer_;
+ return *this;
+ }
+
+ RenderPassBeginInfo& setRenderArea( Rect2D renderArea_ )
+ {
+ renderArea = renderArea_;
+ return *this;
+ }
+
+ RenderPassBeginInfo& setClearValueCount( uint32_t clearValueCount_ )
+ {
+ clearValueCount = clearValueCount_;
+ return *this;
+ }
+
+ RenderPassBeginInfo& setPClearValues( const ClearValue* pClearValues_ )
+ {
+ pClearValues = pClearValues_;
+ return *this;
+ }
+
+ operator const VkRenderPassBeginInfo&() const
+ {
+ return *reinterpret_cast<const VkRenderPassBeginInfo*>(this);
+ }
+
+ bool operator==( RenderPassBeginInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( renderPass == rhs.renderPass )
+ && ( framebuffer == rhs.framebuffer )
+ && ( renderArea == rhs.renderArea )
+ && ( clearValueCount == rhs.clearValueCount )
+ && ( pClearValues == rhs.pClearValues );
+ }
+
+ bool operator!=( RenderPassBeginInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eRenderPassBeginInfo;
+
+ public:
+ const void* pNext = nullptr;
+ RenderPass renderPass;
+ Framebuffer framebuffer;
+ Rect2D renderArea;
+ uint32_t clearValueCount;
+ const ClearValue* pClearValues;
+ };
+ static_assert( sizeof( RenderPassBeginInfo ) == sizeof( VkRenderPassBeginInfo ), "struct and wrapper have different size!" );
+
+ struct EventCreateInfo
+ {
+ EventCreateInfo( EventCreateFlags flags_ = EventCreateFlags() )
+ : flags( flags_ )
+ {
+ }
+
+ EventCreateInfo( VkEventCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( EventCreateInfo ) );
+ }
+
+ EventCreateInfo& operator=( VkEventCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( EventCreateInfo ) );
+ return *this;
+ }
+ EventCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ EventCreateInfo& setFlags( EventCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ operator const VkEventCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkEventCreateInfo*>(this);
+ }
+
+ bool operator==( EventCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( EventCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eEventCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ EventCreateFlags flags;
+ };
+ static_assert( sizeof( EventCreateInfo ) == sizeof( VkEventCreateInfo ), "struct and wrapper have different size!" );
+
+ struct SemaphoreCreateInfo
+ {
+ SemaphoreCreateInfo( SemaphoreCreateFlags flags_ = SemaphoreCreateFlags() )
+ : flags( flags_ )
+ {
+ }
+
+ SemaphoreCreateInfo( VkSemaphoreCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SemaphoreCreateInfo ) );
+ }
+
+ SemaphoreCreateInfo& operator=( VkSemaphoreCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SemaphoreCreateInfo ) );
+ return *this;
+ }
+ SemaphoreCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SemaphoreCreateInfo& setFlags( SemaphoreCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ operator const VkSemaphoreCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkSemaphoreCreateInfo*>(this);
+ }
+
+ bool operator==( SemaphoreCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( SemaphoreCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSemaphoreCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ SemaphoreCreateFlags flags;
+ };
+ static_assert( sizeof( SemaphoreCreateInfo ) == sizeof( VkSemaphoreCreateInfo ), "struct and wrapper have different size!" );
+
+ struct FramebufferCreateInfo
+ {
+ FramebufferCreateInfo( FramebufferCreateFlags flags_ = FramebufferCreateFlags(), RenderPass renderPass_ = RenderPass(), uint32_t attachmentCount_ = 0, const ImageView* pAttachments_ = nullptr, uint32_t width_ = 0, uint32_t height_ = 0, uint32_t layers_ = 0 )
+ : flags( flags_ )
+ , renderPass( renderPass_ )
+ , attachmentCount( attachmentCount_ )
+ , pAttachments( pAttachments_ )
+ , width( width_ )
+ , height( height_ )
+ , layers( layers_ )
+ {
+ }
+
+ FramebufferCreateInfo( VkFramebufferCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FramebufferCreateInfo ) );
+ }
+
+ FramebufferCreateInfo& operator=( VkFramebufferCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FramebufferCreateInfo ) );
+ return *this;
+ }
+ FramebufferCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ FramebufferCreateInfo& setFlags( FramebufferCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ FramebufferCreateInfo& setRenderPass( RenderPass renderPass_ )
+ {
+ renderPass = renderPass_;
+ return *this;
+ }
+
+ FramebufferCreateInfo& setAttachmentCount( uint32_t attachmentCount_ )
+ {
+ attachmentCount = attachmentCount_;
+ return *this;
+ }
+
+ FramebufferCreateInfo& setPAttachments( const ImageView* pAttachments_ )
+ {
+ pAttachments = pAttachments_;
+ return *this;
+ }
+
+ FramebufferCreateInfo& setWidth( uint32_t width_ )
+ {
+ width = width_;
+ return *this;
+ }
+
+ FramebufferCreateInfo& setHeight( uint32_t height_ )
+ {
+ height = height_;
+ return *this;
+ }
+
+ FramebufferCreateInfo& setLayers( uint32_t layers_ )
+ {
+ layers = layers_;
+ return *this;
+ }
+
+ operator const VkFramebufferCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkFramebufferCreateInfo*>(this);
+ }
+
+ bool operator==( FramebufferCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( renderPass == rhs.renderPass )
+ && ( attachmentCount == rhs.attachmentCount )
+ && ( pAttachments == rhs.pAttachments )
+ && ( width == rhs.width )
+ && ( height == rhs.height )
+ && ( layers == rhs.layers );
+ }
+
+ bool operator!=( FramebufferCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eFramebufferCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ FramebufferCreateFlags flags;
+ RenderPass renderPass;
+ uint32_t attachmentCount;
+ const ImageView* pAttachments;
+ uint32_t width;
+ uint32_t height;
+ uint32_t layers;
+ };
+ static_assert( sizeof( FramebufferCreateInfo ) == sizeof( VkFramebufferCreateInfo ), "struct and wrapper have different size!" );
+
+ struct DisplayModeCreateInfoKHR
+ {
+ DisplayModeCreateInfoKHR( DisplayModeCreateFlagsKHR flags_ = DisplayModeCreateFlagsKHR(), DisplayModeParametersKHR parameters_ = DisplayModeParametersKHR() )
+ : flags( flags_ )
+ , parameters( parameters_ )
+ {
+ }
+
+ DisplayModeCreateInfoKHR( VkDisplayModeCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayModeCreateInfoKHR ) );
+ }
+
+ DisplayModeCreateInfoKHR& operator=( VkDisplayModeCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayModeCreateInfoKHR ) );
+ return *this;
+ }
+ DisplayModeCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DisplayModeCreateInfoKHR& setFlags( DisplayModeCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DisplayModeCreateInfoKHR& setParameters( DisplayModeParametersKHR parameters_ )
+ {
+ parameters = parameters_;
+ return *this;
+ }
+
+ operator const VkDisplayModeCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplayModeCreateInfoKHR*>(this);
+ }
+
+ bool operator==( DisplayModeCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( parameters == rhs.parameters );
+ }
+
+ bool operator!=( DisplayModeCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDisplayModeCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ DisplayModeCreateFlagsKHR flags;
+ DisplayModeParametersKHR parameters;
+ };
+ static_assert( sizeof( DisplayModeCreateInfoKHR ) == sizeof( VkDisplayModeCreateInfoKHR ), "struct and wrapper have different size!" );
+
+ struct DisplayPresentInfoKHR
+ {
+ DisplayPresentInfoKHR( Rect2D srcRect_ = Rect2D(), Rect2D dstRect_ = Rect2D(), Bool32 persistent_ = 0 )
+ : srcRect( srcRect_ )
+ , dstRect( dstRect_ )
+ , persistent( persistent_ )
+ {
+ }
+
+ DisplayPresentInfoKHR( VkDisplayPresentInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayPresentInfoKHR ) );
+ }
+
+ DisplayPresentInfoKHR& operator=( VkDisplayPresentInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayPresentInfoKHR ) );
+ return *this;
+ }
+ DisplayPresentInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DisplayPresentInfoKHR& setSrcRect( Rect2D srcRect_ )
+ {
+ srcRect = srcRect_;
+ return *this;
+ }
+
+ DisplayPresentInfoKHR& setDstRect( Rect2D dstRect_ )
+ {
+ dstRect = dstRect_;
+ return *this;
+ }
+
+ DisplayPresentInfoKHR& setPersistent( Bool32 persistent_ )
+ {
+ persistent = persistent_;
+ return *this;
+ }
+
+ operator const VkDisplayPresentInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplayPresentInfoKHR*>(this);
+ }
+
+ bool operator==( DisplayPresentInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( srcRect == rhs.srcRect )
+ && ( dstRect == rhs.dstRect )
+ && ( persistent == rhs.persistent );
+ }
+
+ bool operator!=( DisplayPresentInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDisplayPresentInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Rect2D srcRect;
+ Rect2D dstRect;
+ Bool32 persistent;
+ };
+ static_assert( sizeof( DisplayPresentInfoKHR ) == sizeof( VkDisplayPresentInfoKHR ), "struct and wrapper have different size!" );
+
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ struct AndroidSurfaceCreateInfoKHR
+ {
+ AndroidSurfaceCreateInfoKHR( AndroidSurfaceCreateFlagsKHR flags_ = AndroidSurfaceCreateFlagsKHR(), struct ANativeWindow* window_ = nullptr )
+ : flags( flags_ )
+ , window( window_ )
+ {
+ }
+
+ AndroidSurfaceCreateInfoKHR( VkAndroidSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AndroidSurfaceCreateInfoKHR ) );
+ }
+
+ AndroidSurfaceCreateInfoKHR& operator=( VkAndroidSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AndroidSurfaceCreateInfoKHR ) );
+ return *this;
+ }
+ AndroidSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ AndroidSurfaceCreateInfoKHR& setFlags( AndroidSurfaceCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ AndroidSurfaceCreateInfoKHR& setWindow( struct ANativeWindow* window_ )
+ {
+ window = window_;
+ return *this;
+ }
+
+ operator const VkAndroidSurfaceCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>(this);
+ }
+
+ bool operator==( AndroidSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( window == rhs.window );
+ }
+
+ bool operator!=( AndroidSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eAndroidSurfaceCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ AndroidSurfaceCreateFlagsKHR flags;
+ struct ANativeWindow* window;
+ };
+ static_assert( sizeof( AndroidSurfaceCreateInfoKHR ) == sizeof( VkAndroidSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ struct MirSurfaceCreateInfoKHR
+ {
+ MirSurfaceCreateInfoKHR( MirSurfaceCreateFlagsKHR flags_ = MirSurfaceCreateFlagsKHR(), MirConnection* connection_ = nullptr, MirSurface* mirSurface_ = nullptr )
+ : flags( flags_ )
+ , connection( connection_ )
+ , mirSurface( mirSurface_ )
+ {
+ }
+
+ MirSurfaceCreateInfoKHR( VkMirSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MirSurfaceCreateInfoKHR ) );
+ }
+
+ MirSurfaceCreateInfoKHR& operator=( VkMirSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MirSurfaceCreateInfoKHR ) );
+ return *this;
+ }
+ MirSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MirSurfaceCreateInfoKHR& setFlags( MirSurfaceCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ MirSurfaceCreateInfoKHR& setConnection( MirConnection* connection_ )
+ {
+ connection = connection_;
+ return *this;
+ }
+
+ MirSurfaceCreateInfoKHR& setMirSurface( MirSurface* mirSurface_ )
+ {
+ mirSurface = mirSurface_;
+ return *this;
+ }
+
+ operator const VkMirSurfaceCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>(this);
+ }
+
+ bool operator==( MirSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( connection == rhs.connection )
+ && ( mirSurface == rhs.mirSurface );
+ }
+
+ bool operator!=( MirSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMirSurfaceCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ MirSurfaceCreateFlagsKHR flags;
+ MirConnection* connection;
+ MirSurface* mirSurface;
+ };
+ static_assert( sizeof( MirSurfaceCreateInfoKHR ) == sizeof( VkMirSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+#ifdef VK_USE_PLATFORM_VI_NN
+ struct ViSurfaceCreateInfoNN
+ {
+ ViSurfaceCreateInfoNN( ViSurfaceCreateFlagsNN flags_ = ViSurfaceCreateFlagsNN(), void* window_ = nullptr )
+ : flags( flags_ )
+ , window( window_ )
+ {
+ }
+
+ ViSurfaceCreateInfoNN( VkViSurfaceCreateInfoNN const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ViSurfaceCreateInfoNN ) );
+ }
+
+ ViSurfaceCreateInfoNN& operator=( VkViSurfaceCreateInfoNN const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ViSurfaceCreateInfoNN ) );
+ return *this;
+ }
+ ViSurfaceCreateInfoNN& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ViSurfaceCreateInfoNN& setFlags( ViSurfaceCreateFlagsNN flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ViSurfaceCreateInfoNN& setWindow( void* window_ )
+ {
+ window = window_;
+ return *this;
+ }
+
+ operator const VkViSurfaceCreateInfoNN&() const
+ {
+ return *reinterpret_cast<const VkViSurfaceCreateInfoNN*>(this);
+ }
+
+ bool operator==( ViSurfaceCreateInfoNN const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( window == rhs.window );
+ }
+
+ bool operator!=( ViSurfaceCreateInfoNN const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eViSurfaceCreateInfoNN;
+
+ public:
+ const void* pNext = nullptr;
+ ViSurfaceCreateFlagsNN flags;
+ void* window;
+ };
+ static_assert( sizeof( ViSurfaceCreateInfoNN ) == sizeof( VkViSurfaceCreateInfoNN ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_VI_NN*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ struct WaylandSurfaceCreateInfoKHR
+ {
+ WaylandSurfaceCreateInfoKHR( WaylandSurfaceCreateFlagsKHR flags_ = WaylandSurfaceCreateFlagsKHR(), struct wl_display* display_ = nullptr, struct wl_surface* surface_ = nullptr )
+ : flags( flags_ )
+ , display( display_ )
+ , surface( surface_ )
+ {
+ }
+
+ WaylandSurfaceCreateInfoKHR( VkWaylandSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( WaylandSurfaceCreateInfoKHR ) );
+ }
+
+ WaylandSurfaceCreateInfoKHR& operator=( VkWaylandSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( WaylandSurfaceCreateInfoKHR ) );
+ return *this;
+ }
+ WaylandSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ WaylandSurfaceCreateInfoKHR& setFlags( WaylandSurfaceCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ WaylandSurfaceCreateInfoKHR& setDisplay( struct wl_display* display_ )
+ {
+ display = display_;
+ return *this;
+ }
+
+ WaylandSurfaceCreateInfoKHR& setSurface( struct wl_surface* surface_ )
+ {
+ surface = surface_;
+ return *this;
+ }
+
+ operator const VkWaylandSurfaceCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>(this);
+ }
+
+ bool operator==( WaylandSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( display == rhs.display )
+ && ( surface == rhs.surface );
+ }
+
+ bool operator!=( WaylandSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eWaylandSurfaceCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ WaylandSurfaceCreateFlagsKHR flags;
+ struct wl_display* display;
+ struct wl_surface* surface;
+ };
+ static_assert( sizeof( WaylandSurfaceCreateInfoKHR ) == sizeof( VkWaylandSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct Win32SurfaceCreateInfoKHR
+ {
+ Win32SurfaceCreateInfoKHR( Win32SurfaceCreateFlagsKHR flags_ = Win32SurfaceCreateFlagsKHR(), HINSTANCE hinstance_ = 0, HWND hwnd_ = 0 )
+ : flags( flags_ )
+ , hinstance( hinstance_ )
+ , hwnd( hwnd_ )
+ {
+ }
+
+ Win32SurfaceCreateInfoKHR( VkWin32SurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Win32SurfaceCreateInfoKHR ) );
+ }
+
+ Win32SurfaceCreateInfoKHR& operator=( VkWin32SurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Win32SurfaceCreateInfoKHR ) );
+ return *this;
+ }
+ Win32SurfaceCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ Win32SurfaceCreateInfoKHR& setFlags( Win32SurfaceCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ Win32SurfaceCreateInfoKHR& setHinstance( HINSTANCE hinstance_ )
+ {
+ hinstance = hinstance_;
+ return *this;
+ }
+
+ Win32SurfaceCreateInfoKHR& setHwnd( HWND hwnd_ )
+ {
+ hwnd = hwnd_;
+ return *this;
+ }
+
+ operator const VkWin32SurfaceCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>(this);
+ }
+
+ bool operator==( Win32SurfaceCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( hinstance == rhs.hinstance )
+ && ( hwnd == rhs.hwnd );
+ }
+
+ bool operator!=( Win32SurfaceCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eWin32SurfaceCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Win32SurfaceCreateFlagsKHR flags;
+ HINSTANCE hinstance;
+ HWND hwnd;
+ };
+ static_assert( sizeof( Win32SurfaceCreateInfoKHR ) == sizeof( VkWin32SurfaceCreateInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ struct XlibSurfaceCreateInfoKHR
+ {
+ XlibSurfaceCreateInfoKHR( XlibSurfaceCreateFlagsKHR flags_ = XlibSurfaceCreateFlagsKHR(), Display* dpy_ = nullptr, Window window_ = 0 )
+ : flags( flags_ )
+ , dpy( dpy_ )
+ , window( window_ )
+ {
+ }
+
+ XlibSurfaceCreateInfoKHR( VkXlibSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( XlibSurfaceCreateInfoKHR ) );
+ }
+
+ XlibSurfaceCreateInfoKHR& operator=( VkXlibSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( XlibSurfaceCreateInfoKHR ) );
+ return *this;
+ }
+ XlibSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ XlibSurfaceCreateInfoKHR& setFlags( XlibSurfaceCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ XlibSurfaceCreateInfoKHR& setDpy( Display* dpy_ )
+ {
+ dpy = dpy_;
+ return *this;
+ }
+
+ XlibSurfaceCreateInfoKHR& setWindow( Window window_ )
+ {
+ window = window_;
+ return *this;
+ }
+
+ operator const VkXlibSurfaceCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>(this);
+ }
+
+ bool operator==( XlibSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( dpy == rhs.dpy )
+ && ( window == rhs.window );
+ }
+
+ bool operator!=( XlibSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eXlibSurfaceCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ XlibSurfaceCreateFlagsKHR flags;
+ Display* dpy;
+ Window window;
+ };
+ static_assert( sizeof( XlibSurfaceCreateInfoKHR ) == sizeof( VkXlibSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ struct XcbSurfaceCreateInfoKHR
+ {
+ XcbSurfaceCreateInfoKHR( XcbSurfaceCreateFlagsKHR flags_ = XcbSurfaceCreateFlagsKHR(), xcb_connection_t* connection_ = nullptr, xcb_window_t window_ = 0 )
+ : flags( flags_ )
+ , connection( connection_ )
+ , window( window_ )
+ {
+ }
+
+ XcbSurfaceCreateInfoKHR( VkXcbSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( XcbSurfaceCreateInfoKHR ) );
+ }
+
+ XcbSurfaceCreateInfoKHR& operator=( VkXcbSurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( XcbSurfaceCreateInfoKHR ) );
+ return *this;
+ }
+ XcbSurfaceCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ XcbSurfaceCreateInfoKHR& setFlags( XcbSurfaceCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ XcbSurfaceCreateInfoKHR& setConnection( xcb_connection_t* connection_ )
+ {
+ connection = connection_;
+ return *this;
+ }
+
+ XcbSurfaceCreateInfoKHR& setWindow( xcb_window_t window_ )
+ {
+ window = window_;
+ return *this;
+ }
+
+ operator const VkXcbSurfaceCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>(this);
+ }
+
+ bool operator==( XcbSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( connection == rhs.connection )
+ && ( window == rhs.window );
+ }
+
+ bool operator!=( XcbSurfaceCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eXcbSurfaceCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ XcbSurfaceCreateFlagsKHR flags;
+ xcb_connection_t* connection;
+ xcb_window_t window;
+ };
+ static_assert( sizeof( XcbSurfaceCreateInfoKHR ) == sizeof( VkXcbSurfaceCreateInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+ struct DebugMarkerMarkerInfoEXT
+ {
+ DebugMarkerMarkerInfoEXT( const char* pMarkerName_ = nullptr, std::array<float,4> const& color_ = { { 0, 0, 0, 0 } } )
+ : pMarkerName( pMarkerName_ )
+ {
+ memcpy( &color, color_.data(), 4 * sizeof( float ) );
+ }
+
+ DebugMarkerMarkerInfoEXT( VkDebugMarkerMarkerInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugMarkerMarkerInfoEXT ) );
+ }
+
+ DebugMarkerMarkerInfoEXT& operator=( VkDebugMarkerMarkerInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugMarkerMarkerInfoEXT ) );
+ return *this;
+ }
+ DebugMarkerMarkerInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugMarkerMarkerInfoEXT& setPMarkerName( const char* pMarkerName_ )
+ {
+ pMarkerName = pMarkerName_;
+ return *this;
+ }
+
+ DebugMarkerMarkerInfoEXT& setColor( std::array<float,4> color_ )
+ {
+ memcpy( &color, color_.data(), 4 * sizeof( float ) );
+ return *this;
+ }
+
+ operator const VkDebugMarkerMarkerInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>(this);
+ }
+
+ bool operator==( DebugMarkerMarkerInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pMarkerName == rhs.pMarkerName )
+ && ( memcmp( color, rhs.color, 4 * sizeof( float ) ) == 0 );
+ }
+
+ bool operator!=( DebugMarkerMarkerInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugMarkerMarkerInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ const char* pMarkerName;
+ float color[4];
+ };
+ static_assert( sizeof( DebugMarkerMarkerInfoEXT ) == sizeof( VkDebugMarkerMarkerInfoEXT ), "struct and wrapper have different size!" );
+
+ struct DedicatedAllocationImageCreateInfoNV
+ {
+ DedicatedAllocationImageCreateInfoNV( Bool32 dedicatedAllocation_ = 0 )
+ : dedicatedAllocation( dedicatedAllocation_ )
+ {
+ }
+
+ DedicatedAllocationImageCreateInfoNV( VkDedicatedAllocationImageCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );
+ }
+
+ DedicatedAllocationImageCreateInfoNV& operator=( VkDedicatedAllocationImageCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );
+ return *this;
+ }
+ DedicatedAllocationImageCreateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DedicatedAllocationImageCreateInfoNV& setDedicatedAllocation( Bool32 dedicatedAllocation_ )
+ {
+ dedicatedAllocation = dedicatedAllocation_;
+ return *this;
+ }
+
+ operator const VkDedicatedAllocationImageCreateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkDedicatedAllocationImageCreateInfoNV*>(this);
+ }
+
+ bool operator==( DedicatedAllocationImageCreateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( dedicatedAllocation == rhs.dedicatedAllocation );
+ }
+
+ bool operator!=( DedicatedAllocationImageCreateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDedicatedAllocationImageCreateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ Bool32 dedicatedAllocation;
+ };
+ static_assert( sizeof( DedicatedAllocationImageCreateInfoNV ) == sizeof( VkDedicatedAllocationImageCreateInfoNV ), "struct and wrapper have different size!" );
+
+ struct DedicatedAllocationBufferCreateInfoNV
+ {
+ DedicatedAllocationBufferCreateInfoNV( Bool32 dedicatedAllocation_ = 0 )
+ : dedicatedAllocation( dedicatedAllocation_ )
+ {
+ }
+
+ DedicatedAllocationBufferCreateInfoNV( VkDedicatedAllocationBufferCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) );
+ }
+
+ DedicatedAllocationBufferCreateInfoNV& operator=( VkDedicatedAllocationBufferCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) );
+ return *this;
+ }
+ DedicatedAllocationBufferCreateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DedicatedAllocationBufferCreateInfoNV& setDedicatedAllocation( Bool32 dedicatedAllocation_ )
+ {
+ dedicatedAllocation = dedicatedAllocation_;
+ return *this;
+ }
+
+ operator const VkDedicatedAllocationBufferCreateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkDedicatedAllocationBufferCreateInfoNV*>(this);
+ }
+
+ bool operator==( DedicatedAllocationBufferCreateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( dedicatedAllocation == rhs.dedicatedAllocation );
+ }
+
+ bool operator!=( DedicatedAllocationBufferCreateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDedicatedAllocationBufferCreateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ Bool32 dedicatedAllocation;
+ };
+ static_assert( sizeof( DedicatedAllocationBufferCreateInfoNV ) == sizeof( VkDedicatedAllocationBufferCreateInfoNV ), "struct and wrapper have different size!" );
+
+ struct DedicatedAllocationMemoryAllocateInfoNV
+ {
+ DedicatedAllocationMemoryAllocateInfoNV( Image image_ = Image(), Buffer buffer_ = Buffer() )
+ : image( image_ )
+ , buffer( buffer_ )
+ {
+ }
+
+ DedicatedAllocationMemoryAllocateInfoNV( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) );
+ }
+
+ DedicatedAllocationMemoryAllocateInfoNV& operator=( VkDedicatedAllocationMemoryAllocateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) );
+ return *this;
+ }
+ DedicatedAllocationMemoryAllocateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DedicatedAllocationMemoryAllocateInfoNV& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ DedicatedAllocationMemoryAllocateInfoNV& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ operator const VkDedicatedAllocationMemoryAllocateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkDedicatedAllocationMemoryAllocateInfoNV*>(this);
+ }
+
+ bool operator==( DedicatedAllocationMemoryAllocateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( image == rhs.image )
+ && ( buffer == rhs.buffer );
+ }
+
+ bool operator!=( DedicatedAllocationMemoryAllocateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ Image image;
+ Buffer buffer;
+ };
+ static_assert( sizeof( DedicatedAllocationMemoryAllocateInfoNV ) == sizeof( VkDedicatedAllocationMemoryAllocateInfoNV ), "struct and wrapper have different size!" );
+
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ struct ExportMemoryWin32HandleInfoNV
+ {
+ ExportMemoryWin32HandleInfoNV( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0 )
+ : pAttributes( pAttributes_ )
+ , dwAccess( dwAccess_ )
+ {
+ }
+
+ ExportMemoryWin32HandleInfoNV( VkExportMemoryWin32HandleInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoNV ) );
+ }
+
+ ExportMemoryWin32HandleInfoNV& operator=( VkExportMemoryWin32HandleInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoNV ) );
+ return *this;
+ }
+ ExportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportMemoryWin32HandleInfoNV& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )
+ {
+ pAttributes = pAttributes_;
+ return *this;
+ }
+
+ ExportMemoryWin32HandleInfoNV& setDwAccess( DWORD dwAccess_ )
+ {
+ dwAccess = dwAccess_;
+ return *this;
+ }
+
+ operator const VkExportMemoryWin32HandleInfoNV&() const
+ {
+ return *reinterpret_cast<const VkExportMemoryWin32HandleInfoNV*>(this);
+ }
+
+ bool operator==( ExportMemoryWin32HandleInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pAttributes == rhs.pAttributes )
+ && ( dwAccess == rhs.dwAccess );
+ }
+
+ bool operator!=( ExportMemoryWin32HandleInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportMemoryWin32HandleInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ const SECURITY_ATTRIBUTES* pAttributes;
+ DWORD dwAccess;
+ };
+ static_assert( sizeof( ExportMemoryWin32HandleInfoNV ) == sizeof( VkExportMemoryWin32HandleInfoNV ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ struct Win32KeyedMutexAcquireReleaseInfoNV
+ {
+ Win32KeyedMutexAcquireReleaseInfoNV( uint32_t acquireCount_ = 0, const DeviceMemory* pAcquireSyncs_ = nullptr, const uint64_t* pAcquireKeys_ = nullptr, const uint32_t* pAcquireTimeoutMilliseconds_ = nullptr, uint32_t releaseCount_ = 0, const DeviceMemory* pReleaseSyncs_ = nullptr, const uint64_t* pReleaseKeys_ = nullptr )
+ : acquireCount( acquireCount_ )
+ , pAcquireSyncs( pAcquireSyncs_ )
+ , pAcquireKeys( pAcquireKeys_ )
+ , pAcquireTimeoutMilliseconds( pAcquireTimeoutMilliseconds_ )
+ , releaseCount( releaseCount_ )
+ , pReleaseSyncs( pReleaseSyncs_ )
+ , pReleaseKeys( pReleaseKeys_ )
+ {
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) );
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& operator=( VkWin32KeyedMutexAcquireReleaseInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) );
+ return *this;
+ }
+ Win32KeyedMutexAcquireReleaseInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& setAcquireCount( uint32_t acquireCount_ )
+ {
+ acquireCount = acquireCount_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& setPAcquireSyncs( const DeviceMemory* pAcquireSyncs_ )
+ {
+ pAcquireSyncs = pAcquireSyncs_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& setPAcquireKeys( const uint64_t* pAcquireKeys_ )
+ {
+ pAcquireKeys = pAcquireKeys_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& setPAcquireTimeoutMilliseconds( const uint32_t* pAcquireTimeoutMilliseconds_ )
+ {
+ pAcquireTimeoutMilliseconds = pAcquireTimeoutMilliseconds_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& setReleaseCount( uint32_t releaseCount_ )
+ {
+ releaseCount = releaseCount_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& setPReleaseSyncs( const DeviceMemory* pReleaseSyncs_ )
+ {
+ pReleaseSyncs = pReleaseSyncs_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoNV& setPReleaseKeys( const uint64_t* pReleaseKeys_ )
+ {
+ pReleaseKeys = pReleaseKeys_;
+ return *this;
+ }
+
+ operator const VkWin32KeyedMutexAcquireReleaseInfoNV&() const
+ {
+ return *reinterpret_cast<const VkWin32KeyedMutexAcquireReleaseInfoNV*>(this);
+ }
+
+ bool operator==( Win32KeyedMutexAcquireReleaseInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( acquireCount == rhs.acquireCount )
+ && ( pAcquireSyncs == rhs.pAcquireSyncs )
+ && ( pAcquireKeys == rhs.pAcquireKeys )
+ && ( pAcquireTimeoutMilliseconds == rhs.pAcquireTimeoutMilliseconds )
+ && ( releaseCount == rhs.releaseCount )
+ && ( pReleaseSyncs == rhs.pReleaseSyncs )
+ && ( pReleaseKeys == rhs.pReleaseKeys );
+ }
+
+ bool operator!=( Win32KeyedMutexAcquireReleaseInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t acquireCount;
+ const DeviceMemory* pAcquireSyncs;
+ const uint64_t* pAcquireKeys;
+ const uint32_t* pAcquireTimeoutMilliseconds;
+ uint32_t releaseCount;
+ const DeviceMemory* pReleaseSyncs;
+ const uint64_t* pReleaseKeys;
+ };
+ static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoNV ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoNV ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+
+ struct DeviceGeneratedCommandsFeaturesNVX
+ {
+ DeviceGeneratedCommandsFeaturesNVX( Bool32 computeBindingPointSupport_ = 0 )
+ : computeBindingPointSupport( computeBindingPointSupport_ )
+ {
+ }
+
+ DeviceGeneratedCommandsFeaturesNVX( VkDeviceGeneratedCommandsFeaturesNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsFeaturesNVX ) );
+ }
+
+ DeviceGeneratedCommandsFeaturesNVX& operator=( VkDeviceGeneratedCommandsFeaturesNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsFeaturesNVX ) );
+ return *this;
+ }
+ DeviceGeneratedCommandsFeaturesNVX& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGeneratedCommandsFeaturesNVX& setComputeBindingPointSupport( Bool32 computeBindingPointSupport_ )
+ {
+ computeBindingPointSupport = computeBindingPointSupport_;
+ return *this;
+ }
+
+ operator const VkDeviceGeneratedCommandsFeaturesNVX&() const
+ {
+ return *reinterpret_cast<const VkDeviceGeneratedCommandsFeaturesNVX*>(this);
+ }
+
+ bool operator==( DeviceGeneratedCommandsFeaturesNVX const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( computeBindingPointSupport == rhs.computeBindingPointSupport );
+ }
+
+ bool operator!=( DeviceGeneratedCommandsFeaturesNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGeneratedCommandsFeaturesNVX;
+
+ public:
+ const void* pNext = nullptr;
+ Bool32 computeBindingPointSupport;
+ };
+ static_assert( sizeof( DeviceGeneratedCommandsFeaturesNVX ) == sizeof( VkDeviceGeneratedCommandsFeaturesNVX ), "struct and wrapper have different size!" );
+
+ struct DeviceGeneratedCommandsLimitsNVX
+ {
+ DeviceGeneratedCommandsLimitsNVX( uint32_t maxIndirectCommandsLayoutTokenCount_ = 0, uint32_t maxObjectEntryCounts_ = 0, uint32_t minSequenceCountBufferOffsetAlignment_ = 0, uint32_t minSequenceIndexBufferOffsetAlignment_ = 0, uint32_t minCommandsTokenBufferOffsetAlignment_ = 0 )
+ : maxIndirectCommandsLayoutTokenCount( maxIndirectCommandsLayoutTokenCount_ )
+ , maxObjectEntryCounts( maxObjectEntryCounts_ )
+ , minSequenceCountBufferOffsetAlignment( minSequenceCountBufferOffsetAlignment_ )
+ , minSequenceIndexBufferOffsetAlignment( minSequenceIndexBufferOffsetAlignment_ )
+ , minCommandsTokenBufferOffsetAlignment( minCommandsTokenBufferOffsetAlignment_ )
+ {
+ }
+
+ DeviceGeneratedCommandsLimitsNVX( VkDeviceGeneratedCommandsLimitsNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsLimitsNVX ) );
+ }
+
+ DeviceGeneratedCommandsLimitsNVX& operator=( VkDeviceGeneratedCommandsLimitsNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGeneratedCommandsLimitsNVX ) );
+ return *this;
+ }
+ DeviceGeneratedCommandsLimitsNVX& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGeneratedCommandsLimitsNVX& setMaxIndirectCommandsLayoutTokenCount( uint32_t maxIndirectCommandsLayoutTokenCount_ )
+ {
+ maxIndirectCommandsLayoutTokenCount = maxIndirectCommandsLayoutTokenCount_;
+ return *this;
+ }
+
+ DeviceGeneratedCommandsLimitsNVX& setMaxObjectEntryCounts( uint32_t maxObjectEntryCounts_ )
+ {
+ maxObjectEntryCounts = maxObjectEntryCounts_;
+ return *this;
+ }
+
+ DeviceGeneratedCommandsLimitsNVX& setMinSequenceCountBufferOffsetAlignment( uint32_t minSequenceCountBufferOffsetAlignment_ )
+ {
+ minSequenceCountBufferOffsetAlignment = minSequenceCountBufferOffsetAlignment_;
+ return *this;
+ }
+
+ DeviceGeneratedCommandsLimitsNVX& setMinSequenceIndexBufferOffsetAlignment( uint32_t minSequenceIndexBufferOffsetAlignment_ )
+ {
+ minSequenceIndexBufferOffsetAlignment = minSequenceIndexBufferOffsetAlignment_;
+ return *this;
+ }
+
+ DeviceGeneratedCommandsLimitsNVX& setMinCommandsTokenBufferOffsetAlignment( uint32_t minCommandsTokenBufferOffsetAlignment_ )
+ {
+ minCommandsTokenBufferOffsetAlignment = minCommandsTokenBufferOffsetAlignment_;
+ return *this;
+ }
+
+ operator const VkDeviceGeneratedCommandsLimitsNVX&() const
+ {
+ return *reinterpret_cast<const VkDeviceGeneratedCommandsLimitsNVX*>(this);
+ }
+
+ bool operator==( DeviceGeneratedCommandsLimitsNVX const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxIndirectCommandsLayoutTokenCount == rhs.maxIndirectCommandsLayoutTokenCount )
+ && ( maxObjectEntryCounts == rhs.maxObjectEntryCounts )
+ && ( minSequenceCountBufferOffsetAlignment == rhs.minSequenceCountBufferOffsetAlignment )
+ && ( minSequenceIndexBufferOffsetAlignment == rhs.minSequenceIndexBufferOffsetAlignment )
+ && ( minCommandsTokenBufferOffsetAlignment == rhs.minCommandsTokenBufferOffsetAlignment );
+ }
+
+ bool operator!=( DeviceGeneratedCommandsLimitsNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGeneratedCommandsLimitsNVX;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t maxIndirectCommandsLayoutTokenCount;
+ uint32_t maxObjectEntryCounts;
+ uint32_t minSequenceCountBufferOffsetAlignment;
+ uint32_t minSequenceIndexBufferOffsetAlignment;
+ uint32_t minCommandsTokenBufferOffsetAlignment;
+ };
+ static_assert( sizeof( DeviceGeneratedCommandsLimitsNVX ) == sizeof( VkDeviceGeneratedCommandsLimitsNVX ), "struct and wrapper have different size!" );
+
+ struct CmdReserveSpaceForCommandsInfoNVX
+ {
+ CmdReserveSpaceForCommandsInfoNVX( ObjectTableNVX objectTable_ = ObjectTableNVX(), IndirectCommandsLayoutNVX indirectCommandsLayout_ = IndirectCommandsLayoutNVX(), uint32_t maxSequencesCount_ = 0 )
+ : objectTable( objectTable_ )
+ , indirectCommandsLayout( indirectCommandsLayout_ )
+ , maxSequencesCount( maxSequencesCount_ )
+ {
+ }
+
+ CmdReserveSpaceForCommandsInfoNVX( VkCmdReserveSpaceForCommandsInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CmdReserveSpaceForCommandsInfoNVX ) );
+ }
+
+ CmdReserveSpaceForCommandsInfoNVX& operator=( VkCmdReserveSpaceForCommandsInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CmdReserveSpaceForCommandsInfoNVX ) );
+ return *this;
+ }
+ CmdReserveSpaceForCommandsInfoNVX& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ CmdReserveSpaceForCommandsInfoNVX& setObjectTable( ObjectTableNVX objectTable_ )
+ {
+ objectTable = objectTable_;
+ return *this;
+ }
+
+ CmdReserveSpaceForCommandsInfoNVX& setIndirectCommandsLayout( IndirectCommandsLayoutNVX indirectCommandsLayout_ )
+ {
+ indirectCommandsLayout = indirectCommandsLayout_;
+ return *this;
+ }
+
+ CmdReserveSpaceForCommandsInfoNVX& setMaxSequencesCount( uint32_t maxSequencesCount_ )
+ {
+ maxSequencesCount = maxSequencesCount_;
+ return *this;
+ }
+
+ operator const VkCmdReserveSpaceForCommandsInfoNVX&() const
+ {
+ return *reinterpret_cast<const VkCmdReserveSpaceForCommandsInfoNVX*>(this);
+ }
+
+ bool operator==( CmdReserveSpaceForCommandsInfoNVX const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( objectTable == rhs.objectTable )
+ && ( indirectCommandsLayout == rhs.indirectCommandsLayout )
+ && ( maxSequencesCount == rhs.maxSequencesCount );
+ }
+
+ bool operator!=( CmdReserveSpaceForCommandsInfoNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eCmdReserveSpaceForCommandsInfoNVX;
+
+ public:
+ const void* pNext = nullptr;
+ ObjectTableNVX objectTable;
+ IndirectCommandsLayoutNVX indirectCommandsLayout;
+ uint32_t maxSequencesCount;
+ };
+ static_assert( sizeof( CmdReserveSpaceForCommandsInfoNVX ) == sizeof( VkCmdReserveSpaceForCommandsInfoNVX ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceFeatures2
+ {
+ PhysicalDeviceFeatures2( PhysicalDeviceFeatures features_ = PhysicalDeviceFeatures() )
+ : features( features_ )
+ {
+ }
+
+ PhysicalDeviceFeatures2( VkPhysicalDeviceFeatures2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures2 ) );
+ }
+
+ PhysicalDeviceFeatures2& operator=( VkPhysicalDeviceFeatures2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceFeatures2 ) );
+ return *this;
+ }
+ PhysicalDeviceFeatures2& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceFeatures2& setFeatures( PhysicalDeviceFeatures features_ )
+ {
+ features = features_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceFeatures2&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceFeatures2*>(this);
+ }
+
+ bool operator==( PhysicalDeviceFeatures2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( features == rhs.features );
+ }
+
+ bool operator!=( PhysicalDeviceFeatures2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceFeatures2;
+
+ public:
+ void* pNext = nullptr;
+ PhysicalDeviceFeatures features;
+ };
+ static_assert( sizeof( PhysicalDeviceFeatures2 ) == sizeof( VkPhysicalDeviceFeatures2 ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceFeatures2KHR = PhysicalDeviceFeatures2;
+
+ struct PhysicalDevicePushDescriptorPropertiesKHR
+ {
+ PhysicalDevicePushDescriptorPropertiesKHR( uint32_t maxPushDescriptors_ = 0 )
+ : maxPushDescriptors( maxPushDescriptors_ )
+ {
+ }
+
+ PhysicalDevicePushDescriptorPropertiesKHR( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) );
+ }
+
+ PhysicalDevicePushDescriptorPropertiesKHR& operator=( VkPhysicalDevicePushDescriptorPropertiesKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) );
+ return *this;
+ }
+ PhysicalDevicePushDescriptorPropertiesKHR& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDevicePushDescriptorPropertiesKHR& setMaxPushDescriptors( uint32_t maxPushDescriptors_ )
+ {
+ maxPushDescriptors = maxPushDescriptors_;
+ return *this;
+ }
+
+ operator const VkPhysicalDevicePushDescriptorPropertiesKHR&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDevicePushDescriptorPropertiesKHR*>(this);
+ }
+
+ bool operator==( PhysicalDevicePushDescriptorPropertiesKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxPushDescriptors == rhs.maxPushDescriptors );
+ }
+
+ bool operator!=( PhysicalDevicePushDescriptorPropertiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDevicePushDescriptorPropertiesKHR;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t maxPushDescriptors;
+ };
+ static_assert( sizeof( PhysicalDevicePushDescriptorPropertiesKHR ) == sizeof( VkPhysicalDevicePushDescriptorPropertiesKHR ), "struct and wrapper have different size!" );
+
+ struct PresentRegionsKHR
+ {
+ PresentRegionsKHR( uint32_t swapchainCount_ = 0, const PresentRegionKHR* pRegions_ = nullptr )
+ : swapchainCount( swapchainCount_ )
+ , pRegions( pRegions_ )
+ {
+ }
+
+ PresentRegionsKHR( VkPresentRegionsKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentRegionsKHR ) );
+ }
+
+ PresentRegionsKHR& operator=( VkPresentRegionsKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentRegionsKHR ) );
+ return *this;
+ }
+ PresentRegionsKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PresentRegionsKHR& setSwapchainCount( uint32_t swapchainCount_ )
+ {
+ swapchainCount = swapchainCount_;
+ return *this;
+ }
+
+ PresentRegionsKHR& setPRegions( const PresentRegionKHR* pRegions_ )
+ {
+ pRegions = pRegions_;
+ return *this;
+ }
+
+ operator const VkPresentRegionsKHR&() const
+ {
+ return *reinterpret_cast<const VkPresentRegionsKHR*>(this);
+ }
+
+ bool operator==( PresentRegionsKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( swapchainCount == rhs.swapchainCount )
+ && ( pRegions == rhs.pRegions );
+ }
+
+ bool operator!=( PresentRegionsKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePresentRegionsKHR;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t swapchainCount;
+ const PresentRegionKHR* pRegions;
+ };
+ static_assert( sizeof( PresentRegionsKHR ) == sizeof( VkPresentRegionsKHR ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceVariablePointerFeatures
+ {
+ PhysicalDeviceVariablePointerFeatures( Bool32 variablePointersStorageBuffer_ = 0, Bool32 variablePointers_ = 0 )
+ : variablePointersStorageBuffer( variablePointersStorageBuffer_ )
+ , variablePointers( variablePointers_ )
+ {
+ }
+
+ PhysicalDeviceVariablePointerFeatures( VkPhysicalDeviceVariablePointerFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceVariablePointerFeatures ) );
+ }
+
+ PhysicalDeviceVariablePointerFeatures& operator=( VkPhysicalDeviceVariablePointerFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceVariablePointerFeatures ) );
+ return *this;
+ }
+ PhysicalDeviceVariablePointerFeatures& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceVariablePointerFeatures& setVariablePointersStorageBuffer( Bool32 variablePointersStorageBuffer_ )
+ {
+ variablePointersStorageBuffer = variablePointersStorageBuffer_;
+ return *this;
+ }
+
+ PhysicalDeviceVariablePointerFeatures& setVariablePointers( Bool32 variablePointers_ )
+ {
+ variablePointers = variablePointers_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceVariablePointerFeatures&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceVariablePointerFeatures*>(this);
+ }
+
+ bool operator==( PhysicalDeviceVariablePointerFeatures const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( variablePointersStorageBuffer == rhs.variablePointersStorageBuffer )
+ && ( variablePointers == rhs.variablePointers );
+ }
+
+ bool operator!=( PhysicalDeviceVariablePointerFeatures const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceVariablePointerFeatures;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 variablePointersStorageBuffer;
+ Bool32 variablePointers;
+ };
+ static_assert( sizeof( PhysicalDeviceVariablePointerFeatures ) == sizeof( VkPhysicalDeviceVariablePointerFeatures ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceVariablePointerFeaturesKHR = PhysicalDeviceVariablePointerFeatures;
+
+ struct PhysicalDeviceIDProperties
+ {
+ operator const VkPhysicalDeviceIDProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceIDProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceIDProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memcmp( deviceUUID, rhs.deviceUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )
+ && ( memcmp( driverUUID, rhs.driverUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )
+ && ( memcmp( deviceLUID, rhs.deviceLUID, VK_LUID_SIZE * sizeof( uint8_t ) ) == 0 )
+ && ( deviceNodeMask == rhs.deviceNodeMask )
+ && ( deviceLUIDValid == rhs.deviceLUIDValid );
+ }
+
+ bool operator!=( PhysicalDeviceIDProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceIdProperties;
+
+ public:
+ void* pNext = nullptr;
+ uint8_t deviceUUID[VK_UUID_SIZE];
+ uint8_t driverUUID[VK_UUID_SIZE];
+ uint8_t deviceLUID[VK_LUID_SIZE];
+ uint32_t deviceNodeMask;
+ Bool32 deviceLUIDValid;
+ };
+ static_assert( sizeof( PhysicalDeviceIDProperties ) == sizeof( VkPhysicalDeviceIDProperties ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceIDPropertiesKHR = PhysicalDeviceIDProperties;
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct ExportMemoryWin32HandleInfoKHR
+ {
+ ExportMemoryWin32HandleInfoKHR( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0, LPCWSTR name_ = 0 )
+ : pAttributes( pAttributes_ )
+ , dwAccess( dwAccess_ )
+ , name( name_ )
+ {
+ }
+
+ ExportMemoryWin32HandleInfoKHR( VkExportMemoryWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoKHR ) );
+ }
+
+ ExportMemoryWin32HandleInfoKHR& operator=( VkExportMemoryWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryWin32HandleInfoKHR ) );
+ return *this;
+ }
+ ExportMemoryWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportMemoryWin32HandleInfoKHR& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )
+ {
+ pAttributes = pAttributes_;
+ return *this;
+ }
+
+ ExportMemoryWin32HandleInfoKHR& setDwAccess( DWORD dwAccess_ )
+ {
+ dwAccess = dwAccess_;
+ return *this;
+ }
+
+ ExportMemoryWin32HandleInfoKHR& setName( LPCWSTR name_ )
+ {
+ name = name_;
+ return *this;
+ }
+
+ operator const VkExportMemoryWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkExportMemoryWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( ExportMemoryWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pAttributes == rhs.pAttributes )
+ && ( dwAccess == rhs.dwAccess )
+ && ( name == rhs.name );
+ }
+
+ bool operator!=( ExportMemoryWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportMemoryWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ const SECURITY_ATTRIBUTES* pAttributes;
+ DWORD dwAccess;
+ LPCWSTR name;
+ };
+ static_assert( sizeof( ExportMemoryWin32HandleInfoKHR ) == sizeof( VkExportMemoryWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct MemoryWin32HandlePropertiesKHR
+ {
+ operator const VkMemoryWin32HandlePropertiesKHR&() const
+ {
+ return *reinterpret_cast<const VkMemoryWin32HandlePropertiesKHR*>(this);
+ }
+
+ bool operator==( MemoryWin32HandlePropertiesKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memoryTypeBits == rhs.memoryTypeBits );
+ }
+
+ bool operator!=( MemoryWin32HandlePropertiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryWin32HandlePropertiesKHR;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t memoryTypeBits;
+ };
+ static_assert( sizeof( MemoryWin32HandlePropertiesKHR ) == sizeof( VkMemoryWin32HandlePropertiesKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ struct MemoryFdPropertiesKHR
+ {
+ operator const VkMemoryFdPropertiesKHR&() const
+ {
+ return *reinterpret_cast<const VkMemoryFdPropertiesKHR*>(this);
+ }
+
+ bool operator==( MemoryFdPropertiesKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memoryTypeBits == rhs.memoryTypeBits );
+ }
+
+ bool operator!=( MemoryFdPropertiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryFdPropertiesKHR;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t memoryTypeBits;
+ };
+ static_assert( sizeof( MemoryFdPropertiesKHR ) == sizeof( VkMemoryFdPropertiesKHR ), "struct and wrapper have different size!" );
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct Win32KeyedMutexAcquireReleaseInfoKHR
+ {
+ Win32KeyedMutexAcquireReleaseInfoKHR( uint32_t acquireCount_ = 0, const DeviceMemory* pAcquireSyncs_ = nullptr, const uint64_t* pAcquireKeys_ = nullptr, const uint32_t* pAcquireTimeouts_ = nullptr, uint32_t releaseCount_ = 0, const DeviceMemory* pReleaseSyncs_ = nullptr, const uint64_t* pReleaseKeys_ = nullptr )
+ : acquireCount( acquireCount_ )
+ , pAcquireSyncs( pAcquireSyncs_ )
+ , pAcquireKeys( pAcquireKeys_ )
+ , pAcquireTimeouts( pAcquireTimeouts_ )
+ , releaseCount( releaseCount_ )
+ , pReleaseSyncs( pReleaseSyncs_ )
+ , pReleaseKeys( pReleaseKeys_ )
+ {
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) );
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& operator=( VkWin32KeyedMutexAcquireReleaseInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) );
+ return *this;
+ }
+ Win32KeyedMutexAcquireReleaseInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& setAcquireCount( uint32_t acquireCount_ )
+ {
+ acquireCount = acquireCount_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& setPAcquireSyncs( const DeviceMemory* pAcquireSyncs_ )
+ {
+ pAcquireSyncs = pAcquireSyncs_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& setPAcquireKeys( const uint64_t* pAcquireKeys_ )
+ {
+ pAcquireKeys = pAcquireKeys_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& setPAcquireTimeouts( const uint32_t* pAcquireTimeouts_ )
+ {
+ pAcquireTimeouts = pAcquireTimeouts_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& setReleaseCount( uint32_t releaseCount_ )
+ {
+ releaseCount = releaseCount_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& setPReleaseSyncs( const DeviceMemory* pReleaseSyncs_ )
+ {
+ pReleaseSyncs = pReleaseSyncs_;
+ return *this;
+ }
+
+ Win32KeyedMutexAcquireReleaseInfoKHR& setPReleaseKeys( const uint64_t* pReleaseKeys_ )
+ {
+ pReleaseKeys = pReleaseKeys_;
+ return *this;
+ }
+
+ operator const VkWin32KeyedMutexAcquireReleaseInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkWin32KeyedMutexAcquireReleaseInfoKHR*>(this);
+ }
+
+ bool operator==( Win32KeyedMutexAcquireReleaseInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( acquireCount == rhs.acquireCount )
+ && ( pAcquireSyncs == rhs.pAcquireSyncs )
+ && ( pAcquireKeys == rhs.pAcquireKeys )
+ && ( pAcquireTimeouts == rhs.pAcquireTimeouts )
+ && ( releaseCount == rhs.releaseCount )
+ && ( pReleaseSyncs == rhs.pReleaseSyncs )
+ && ( pReleaseKeys == rhs.pReleaseKeys );
+ }
+
+ bool operator!=( Win32KeyedMutexAcquireReleaseInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t acquireCount;
+ const DeviceMemory* pAcquireSyncs;
+ const uint64_t* pAcquireKeys;
+ const uint32_t* pAcquireTimeouts;
+ uint32_t releaseCount;
+ const DeviceMemory* pReleaseSyncs;
+ const uint64_t* pReleaseKeys;
+ };
+ static_assert( sizeof( Win32KeyedMutexAcquireReleaseInfoKHR ) == sizeof( VkWin32KeyedMutexAcquireReleaseInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct ExportSemaphoreWin32HandleInfoKHR
+ {
+ ExportSemaphoreWin32HandleInfoKHR( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0, LPCWSTR name_ = 0 )
+ : pAttributes( pAttributes_ )
+ , dwAccess( dwAccess_ )
+ , name( name_ )
+ {
+ }
+
+ ExportSemaphoreWin32HandleInfoKHR( VkExportSemaphoreWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportSemaphoreWin32HandleInfoKHR ) );
+ }
+
+ ExportSemaphoreWin32HandleInfoKHR& operator=( VkExportSemaphoreWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportSemaphoreWin32HandleInfoKHR ) );
+ return *this;
+ }
+ ExportSemaphoreWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportSemaphoreWin32HandleInfoKHR& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )
+ {
+ pAttributes = pAttributes_;
+ return *this;
+ }
+
+ ExportSemaphoreWin32HandleInfoKHR& setDwAccess( DWORD dwAccess_ )
+ {
+ dwAccess = dwAccess_;
+ return *this;
+ }
+
+ ExportSemaphoreWin32HandleInfoKHR& setName( LPCWSTR name_ )
+ {
+ name = name_;
+ return *this;
+ }
+
+ operator const VkExportSemaphoreWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkExportSemaphoreWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( ExportSemaphoreWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pAttributes == rhs.pAttributes )
+ && ( dwAccess == rhs.dwAccess )
+ && ( name == rhs.name );
+ }
+
+ bool operator!=( ExportSemaphoreWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportSemaphoreWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ const SECURITY_ATTRIBUTES* pAttributes;
+ DWORD dwAccess;
+ LPCWSTR name;
+ };
+ static_assert( sizeof( ExportSemaphoreWin32HandleInfoKHR ) == sizeof( VkExportSemaphoreWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct D3D12FenceSubmitInfoKHR
+ {
+ D3D12FenceSubmitInfoKHR( uint32_t waitSemaphoreValuesCount_ = 0, const uint64_t* pWaitSemaphoreValues_ = nullptr, uint32_t signalSemaphoreValuesCount_ = 0, const uint64_t* pSignalSemaphoreValues_ = nullptr )
+ : waitSemaphoreValuesCount( waitSemaphoreValuesCount_ )
+ , pWaitSemaphoreValues( pWaitSemaphoreValues_ )
+ , signalSemaphoreValuesCount( signalSemaphoreValuesCount_ )
+ , pSignalSemaphoreValues( pSignalSemaphoreValues_ )
+ {
+ }
+
+ D3D12FenceSubmitInfoKHR( VkD3D12FenceSubmitInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( D3D12FenceSubmitInfoKHR ) );
+ }
+
+ D3D12FenceSubmitInfoKHR& operator=( VkD3D12FenceSubmitInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( D3D12FenceSubmitInfoKHR ) );
+ return *this;
+ }
+ D3D12FenceSubmitInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ D3D12FenceSubmitInfoKHR& setWaitSemaphoreValuesCount( uint32_t waitSemaphoreValuesCount_ )
+ {
+ waitSemaphoreValuesCount = waitSemaphoreValuesCount_;
+ return *this;
+ }
+
+ D3D12FenceSubmitInfoKHR& setPWaitSemaphoreValues( const uint64_t* pWaitSemaphoreValues_ )
+ {
+ pWaitSemaphoreValues = pWaitSemaphoreValues_;
+ return *this;
+ }
+
+ D3D12FenceSubmitInfoKHR& setSignalSemaphoreValuesCount( uint32_t signalSemaphoreValuesCount_ )
+ {
+ signalSemaphoreValuesCount = signalSemaphoreValuesCount_;
+ return *this;
+ }
+
+ D3D12FenceSubmitInfoKHR& setPSignalSemaphoreValues( const uint64_t* pSignalSemaphoreValues_ )
+ {
+ pSignalSemaphoreValues = pSignalSemaphoreValues_;
+ return *this;
+ }
+
+ operator const VkD3D12FenceSubmitInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkD3D12FenceSubmitInfoKHR*>(this);
+ }
+
+ bool operator==( D3D12FenceSubmitInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( waitSemaphoreValuesCount == rhs.waitSemaphoreValuesCount )
+ && ( pWaitSemaphoreValues == rhs.pWaitSemaphoreValues )
+ && ( signalSemaphoreValuesCount == rhs.signalSemaphoreValuesCount )
+ && ( pSignalSemaphoreValues == rhs.pSignalSemaphoreValues );
+ }
+
+ bool operator!=( D3D12FenceSubmitInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eD3D12FenceSubmitInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t waitSemaphoreValuesCount;
+ const uint64_t* pWaitSemaphoreValues;
+ uint32_t signalSemaphoreValuesCount;
+ const uint64_t* pSignalSemaphoreValues;
+ };
+ static_assert( sizeof( D3D12FenceSubmitInfoKHR ) == sizeof( VkD3D12FenceSubmitInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct ExportFenceWin32HandleInfoKHR
+ {
+ ExportFenceWin32HandleInfoKHR( const SECURITY_ATTRIBUTES* pAttributes_ = nullptr, DWORD dwAccess_ = 0, LPCWSTR name_ = 0 )
+ : pAttributes( pAttributes_ )
+ , dwAccess( dwAccess_ )
+ , name( name_ )
+ {
+ }
+
+ ExportFenceWin32HandleInfoKHR( VkExportFenceWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportFenceWin32HandleInfoKHR ) );
+ }
+
+ ExportFenceWin32HandleInfoKHR& operator=( VkExportFenceWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportFenceWin32HandleInfoKHR ) );
+ return *this;
+ }
+ ExportFenceWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportFenceWin32HandleInfoKHR& setPAttributes( const SECURITY_ATTRIBUTES* pAttributes_ )
+ {
+ pAttributes = pAttributes_;
+ return *this;
+ }
+
+ ExportFenceWin32HandleInfoKHR& setDwAccess( DWORD dwAccess_ )
+ {
+ dwAccess = dwAccess_;
+ return *this;
+ }
+
+ ExportFenceWin32HandleInfoKHR& setName( LPCWSTR name_ )
+ {
+ name = name_;
+ return *this;
+ }
+
+ operator const VkExportFenceWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkExportFenceWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( ExportFenceWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pAttributes == rhs.pAttributes )
+ && ( dwAccess == rhs.dwAccess )
+ && ( name == rhs.name );
+ }
+
+ bool operator!=( ExportFenceWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportFenceWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ const SECURITY_ATTRIBUTES* pAttributes;
+ DWORD dwAccess;
+ LPCWSTR name;
+ };
+ static_assert( sizeof( ExportFenceWin32HandleInfoKHR ) == sizeof( VkExportFenceWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ struct PhysicalDeviceMultiviewFeatures
+ {
+ PhysicalDeviceMultiviewFeatures( Bool32 multiview_ = 0, Bool32 multiviewGeometryShader_ = 0, Bool32 multiviewTessellationShader_ = 0 )
+ : multiview( multiview_ )
+ , multiviewGeometryShader( multiviewGeometryShader_ )
+ , multiviewTessellationShader( multiviewTessellationShader_ )
+ {
+ }
+
+ PhysicalDeviceMultiviewFeatures( VkPhysicalDeviceMultiviewFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceMultiviewFeatures ) );
+ }
+
+ PhysicalDeviceMultiviewFeatures& operator=( VkPhysicalDeviceMultiviewFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceMultiviewFeatures ) );
+ return *this;
+ }
+ PhysicalDeviceMultiviewFeatures& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceMultiviewFeatures& setMultiview( Bool32 multiview_ )
+ {
+ multiview = multiview_;
+ return *this;
+ }
+
+ PhysicalDeviceMultiviewFeatures& setMultiviewGeometryShader( Bool32 multiviewGeometryShader_ )
+ {
+ multiviewGeometryShader = multiviewGeometryShader_;
+ return *this;
+ }
+
+ PhysicalDeviceMultiviewFeatures& setMultiviewTessellationShader( Bool32 multiviewTessellationShader_ )
+ {
+ multiviewTessellationShader = multiviewTessellationShader_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceMultiviewFeatures&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceMultiviewFeatures*>(this);
+ }
+
+ bool operator==( PhysicalDeviceMultiviewFeatures const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( multiview == rhs.multiview )
+ && ( multiviewGeometryShader == rhs.multiviewGeometryShader )
+ && ( multiviewTessellationShader == rhs.multiviewTessellationShader );
+ }
+
+ bool operator!=( PhysicalDeviceMultiviewFeatures const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceMultiviewFeatures;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 multiview;
+ Bool32 multiviewGeometryShader;
+ Bool32 multiviewTessellationShader;
+ };
+ static_assert( sizeof( PhysicalDeviceMultiviewFeatures ) == sizeof( VkPhysicalDeviceMultiviewFeatures ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceMultiviewFeaturesKHR = PhysicalDeviceMultiviewFeatures;
+
+ struct PhysicalDeviceMultiviewProperties
+ {
+ operator const VkPhysicalDeviceMultiviewProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceMultiviewProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceMultiviewProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxMultiviewViewCount == rhs.maxMultiviewViewCount )
+ && ( maxMultiviewInstanceIndex == rhs.maxMultiviewInstanceIndex );
+ }
+
+ bool operator!=( PhysicalDeviceMultiviewProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceMultiviewProperties;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t maxMultiviewViewCount;
+ uint32_t maxMultiviewInstanceIndex;
+ };
+ static_assert( sizeof( PhysicalDeviceMultiviewProperties ) == sizeof( VkPhysicalDeviceMultiviewProperties ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceMultiviewPropertiesKHR = PhysicalDeviceMultiviewProperties;
+
+ struct RenderPassMultiviewCreateInfo
+ {
+ RenderPassMultiviewCreateInfo( uint32_t subpassCount_ = 0, const uint32_t* pViewMasks_ = nullptr, uint32_t dependencyCount_ = 0, const int32_t* pViewOffsets_ = nullptr, uint32_t correlationMaskCount_ = 0, const uint32_t* pCorrelationMasks_ = nullptr )
+ : subpassCount( subpassCount_ )
+ , pViewMasks( pViewMasks_ )
+ , dependencyCount( dependencyCount_ )
+ , pViewOffsets( pViewOffsets_ )
+ , correlationMaskCount( correlationMaskCount_ )
+ , pCorrelationMasks( pCorrelationMasks_ )
+ {
+ }
+
+ RenderPassMultiviewCreateInfo( VkRenderPassMultiviewCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassMultiviewCreateInfo ) );
+ }
+
+ RenderPassMultiviewCreateInfo& operator=( VkRenderPassMultiviewCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassMultiviewCreateInfo ) );
+ return *this;
+ }
+ RenderPassMultiviewCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ RenderPassMultiviewCreateInfo& setSubpassCount( uint32_t subpassCount_ )
+ {
+ subpassCount = subpassCount_;
+ return *this;
+ }
+
+ RenderPassMultiviewCreateInfo& setPViewMasks( const uint32_t* pViewMasks_ )
+ {
+ pViewMasks = pViewMasks_;
+ return *this;
+ }
+
+ RenderPassMultiviewCreateInfo& setDependencyCount( uint32_t dependencyCount_ )
+ {
+ dependencyCount = dependencyCount_;
+ return *this;
+ }
+
+ RenderPassMultiviewCreateInfo& setPViewOffsets( const int32_t* pViewOffsets_ )
+ {
+ pViewOffsets = pViewOffsets_;
+ return *this;
+ }
+
+ RenderPassMultiviewCreateInfo& setCorrelationMaskCount( uint32_t correlationMaskCount_ )
+ {
+ correlationMaskCount = correlationMaskCount_;
+ return *this;
+ }
+
+ RenderPassMultiviewCreateInfo& setPCorrelationMasks( const uint32_t* pCorrelationMasks_ )
+ {
+ pCorrelationMasks = pCorrelationMasks_;
+ return *this;
+ }
+
+ operator const VkRenderPassMultiviewCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkRenderPassMultiviewCreateInfo*>(this);
+ }
+
+ bool operator==( RenderPassMultiviewCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( subpassCount == rhs.subpassCount )
+ && ( pViewMasks == rhs.pViewMasks )
+ && ( dependencyCount == rhs.dependencyCount )
+ && ( pViewOffsets == rhs.pViewOffsets )
+ && ( correlationMaskCount == rhs.correlationMaskCount )
+ && ( pCorrelationMasks == rhs.pCorrelationMasks );
+ }
+
+ bool operator!=( RenderPassMultiviewCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eRenderPassMultiviewCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t subpassCount;
+ const uint32_t* pViewMasks;
+ uint32_t dependencyCount;
+ const int32_t* pViewOffsets;
+ uint32_t correlationMaskCount;
+ const uint32_t* pCorrelationMasks;
+ };
+ static_assert( sizeof( RenderPassMultiviewCreateInfo ) == sizeof( VkRenderPassMultiviewCreateInfo ), "struct and wrapper have different size!" );
+
+ using RenderPassMultiviewCreateInfoKHR = RenderPassMultiviewCreateInfo;
+
+ struct BindBufferMemoryInfo
+ {
+ BindBufferMemoryInfo( Buffer buffer_ = Buffer(), DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0 )
+ : buffer( buffer_ )
+ , memory( memory_ )
+ , memoryOffset( memoryOffset_ )
+ {
+ }
+
+ BindBufferMemoryInfo( VkBindBufferMemoryInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindBufferMemoryInfo ) );
+ }
+
+ BindBufferMemoryInfo& operator=( VkBindBufferMemoryInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindBufferMemoryInfo ) );
+ return *this;
+ }
+ BindBufferMemoryInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BindBufferMemoryInfo& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ BindBufferMemoryInfo& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ BindBufferMemoryInfo& setMemoryOffset( DeviceSize memoryOffset_ )
+ {
+ memoryOffset = memoryOffset_;
+ return *this;
+ }
+
+ operator const VkBindBufferMemoryInfo&() const
+ {
+ return *reinterpret_cast<const VkBindBufferMemoryInfo*>(this);
+ }
+
+ bool operator==( BindBufferMemoryInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( buffer == rhs.buffer )
+ && ( memory == rhs.memory )
+ && ( memoryOffset == rhs.memoryOffset );
+ }
+
+ bool operator!=( BindBufferMemoryInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBindBufferMemoryInfo;
+
+ public:
+ const void* pNext = nullptr;
+ Buffer buffer;
+ DeviceMemory memory;
+ DeviceSize memoryOffset;
+ };
+ static_assert( sizeof( BindBufferMemoryInfo ) == sizeof( VkBindBufferMemoryInfo ), "struct and wrapper have different size!" );
+
+ using BindBufferMemoryInfoKHR = BindBufferMemoryInfo;
+
+ struct BindBufferMemoryDeviceGroupInfo
+ {
+ BindBufferMemoryDeviceGroupInfo( uint32_t deviceIndexCount_ = 0, const uint32_t* pDeviceIndices_ = nullptr )
+ : deviceIndexCount( deviceIndexCount_ )
+ , pDeviceIndices( pDeviceIndices_ )
+ {
+ }
+
+ BindBufferMemoryDeviceGroupInfo( VkBindBufferMemoryDeviceGroupInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindBufferMemoryDeviceGroupInfo ) );
+ }
+
+ BindBufferMemoryDeviceGroupInfo& operator=( VkBindBufferMemoryDeviceGroupInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindBufferMemoryDeviceGroupInfo ) );
+ return *this;
+ }
+ BindBufferMemoryDeviceGroupInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BindBufferMemoryDeviceGroupInfo& setDeviceIndexCount( uint32_t deviceIndexCount_ )
+ {
+ deviceIndexCount = deviceIndexCount_;
+ return *this;
+ }
+
+ BindBufferMemoryDeviceGroupInfo& setPDeviceIndices( const uint32_t* pDeviceIndices_ )
+ {
+ pDeviceIndices = pDeviceIndices_;
+ return *this;
+ }
+
+ operator const VkBindBufferMemoryDeviceGroupInfo&() const
+ {
+ return *reinterpret_cast<const VkBindBufferMemoryDeviceGroupInfo*>(this);
+ }
+
+ bool operator==( BindBufferMemoryDeviceGroupInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( deviceIndexCount == rhs.deviceIndexCount )
+ && ( pDeviceIndices == rhs.pDeviceIndices );
+ }
+
+ bool operator!=( BindBufferMemoryDeviceGroupInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBindBufferMemoryDeviceGroupInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t deviceIndexCount;
+ const uint32_t* pDeviceIndices;
+ };
+ static_assert( sizeof( BindBufferMemoryDeviceGroupInfo ) == sizeof( VkBindBufferMemoryDeviceGroupInfo ), "struct and wrapper have different size!" );
+
+ using BindBufferMemoryDeviceGroupInfoKHR = BindBufferMemoryDeviceGroupInfo;
+
+ struct BindImageMemoryInfo
+ {
+ BindImageMemoryInfo( Image image_ = Image(), DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0 )
+ : image( image_ )
+ , memory( memory_ )
+ , memoryOffset( memoryOffset_ )
+ {
+ }
+
+ BindImageMemoryInfo( VkBindImageMemoryInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImageMemoryInfo ) );
+ }
+
+ BindImageMemoryInfo& operator=( VkBindImageMemoryInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImageMemoryInfo ) );
+ return *this;
+ }
+ BindImageMemoryInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BindImageMemoryInfo& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ BindImageMemoryInfo& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ BindImageMemoryInfo& setMemoryOffset( DeviceSize memoryOffset_ )
+ {
+ memoryOffset = memoryOffset_;
+ return *this;
+ }
+
+ operator const VkBindImageMemoryInfo&() const
+ {
+ return *reinterpret_cast<const VkBindImageMemoryInfo*>(this);
+ }
+
+ bool operator==( BindImageMemoryInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( image == rhs.image )
+ && ( memory == rhs.memory )
+ && ( memoryOffset == rhs.memoryOffset );
+ }
+
+ bool operator!=( BindImageMemoryInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBindImageMemoryInfo;
+
+ public:
+ const void* pNext = nullptr;
+ Image image;
+ DeviceMemory memory;
+ DeviceSize memoryOffset;
+ };
+ static_assert( sizeof( BindImageMemoryInfo ) == sizeof( VkBindImageMemoryInfo ), "struct and wrapper have different size!" );
+
+ using BindImageMemoryInfoKHR = BindImageMemoryInfo;
+
+ struct BindImageMemoryDeviceGroupInfo
+ {
+ BindImageMemoryDeviceGroupInfo( uint32_t deviceIndexCount_ = 0, const uint32_t* pDeviceIndices_ = nullptr, uint32_t splitInstanceBindRegionCount_ = 0, const Rect2D* pSplitInstanceBindRegions_ = nullptr )
+ : deviceIndexCount( deviceIndexCount_ )
+ , pDeviceIndices( pDeviceIndices_ )
+ , splitInstanceBindRegionCount( splitInstanceBindRegionCount_ )
+ , pSplitInstanceBindRegions( pSplitInstanceBindRegions_ )
+ {
+ }
+
+ BindImageMemoryDeviceGroupInfo( VkBindImageMemoryDeviceGroupInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImageMemoryDeviceGroupInfo ) );
+ }
+
+ BindImageMemoryDeviceGroupInfo& operator=( VkBindImageMemoryDeviceGroupInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImageMemoryDeviceGroupInfo ) );
+ return *this;
+ }
+ BindImageMemoryDeviceGroupInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BindImageMemoryDeviceGroupInfo& setDeviceIndexCount( uint32_t deviceIndexCount_ )
+ {
+ deviceIndexCount = deviceIndexCount_;
+ return *this;
+ }
+
+ BindImageMemoryDeviceGroupInfo& setPDeviceIndices( const uint32_t* pDeviceIndices_ )
+ {
+ pDeviceIndices = pDeviceIndices_;
+ return *this;
+ }
+
+ BindImageMemoryDeviceGroupInfo& setSplitInstanceBindRegionCount( uint32_t splitInstanceBindRegionCount_ )
+ {
+ splitInstanceBindRegionCount = splitInstanceBindRegionCount_;
+ return *this;
+ }
+
+ BindImageMemoryDeviceGroupInfo& setPSplitInstanceBindRegions( const Rect2D* pSplitInstanceBindRegions_ )
+ {
+ pSplitInstanceBindRegions = pSplitInstanceBindRegions_;
+ return *this;
+ }
+
+ operator const VkBindImageMemoryDeviceGroupInfo&() const
+ {
+ return *reinterpret_cast<const VkBindImageMemoryDeviceGroupInfo*>(this);
+ }
+
+ bool operator==( BindImageMemoryDeviceGroupInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( deviceIndexCount == rhs.deviceIndexCount )
+ && ( pDeviceIndices == rhs.pDeviceIndices )
+ && ( splitInstanceBindRegionCount == rhs.splitInstanceBindRegionCount )
+ && ( pSplitInstanceBindRegions == rhs.pSplitInstanceBindRegions );
+ }
+
+ bool operator!=( BindImageMemoryDeviceGroupInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBindImageMemoryDeviceGroupInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t deviceIndexCount;
+ const uint32_t* pDeviceIndices;
+ uint32_t splitInstanceBindRegionCount;
+ const Rect2D* pSplitInstanceBindRegions;
+ };
+ static_assert( sizeof( BindImageMemoryDeviceGroupInfo ) == sizeof( VkBindImageMemoryDeviceGroupInfo ), "struct and wrapper have different size!" );
+
+ using BindImageMemoryDeviceGroupInfoKHR = BindImageMemoryDeviceGroupInfo;
+
+ struct DeviceGroupRenderPassBeginInfo
+ {
+ DeviceGroupRenderPassBeginInfo( uint32_t deviceMask_ = 0, uint32_t deviceRenderAreaCount_ = 0, const Rect2D* pDeviceRenderAreas_ = nullptr )
+ : deviceMask( deviceMask_ )
+ , deviceRenderAreaCount( deviceRenderAreaCount_ )
+ , pDeviceRenderAreas( pDeviceRenderAreas_ )
+ {
+ }
+
+ DeviceGroupRenderPassBeginInfo( VkDeviceGroupRenderPassBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupRenderPassBeginInfo ) );
+ }
+
+ DeviceGroupRenderPassBeginInfo& operator=( VkDeviceGroupRenderPassBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupRenderPassBeginInfo ) );
+ return *this;
+ }
+ DeviceGroupRenderPassBeginInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGroupRenderPassBeginInfo& setDeviceMask( uint32_t deviceMask_ )
+ {
+ deviceMask = deviceMask_;
+ return *this;
+ }
+
+ DeviceGroupRenderPassBeginInfo& setDeviceRenderAreaCount( uint32_t deviceRenderAreaCount_ )
+ {
+ deviceRenderAreaCount = deviceRenderAreaCount_;
+ return *this;
+ }
+
+ DeviceGroupRenderPassBeginInfo& setPDeviceRenderAreas( const Rect2D* pDeviceRenderAreas_ )
+ {
+ pDeviceRenderAreas = pDeviceRenderAreas_;
+ return *this;
+ }
+
+ operator const VkDeviceGroupRenderPassBeginInfo&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupRenderPassBeginInfo*>(this);
+ }
+
+ bool operator==( DeviceGroupRenderPassBeginInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( deviceMask == rhs.deviceMask )
+ && ( deviceRenderAreaCount == rhs.deviceRenderAreaCount )
+ && ( pDeviceRenderAreas == rhs.pDeviceRenderAreas );
+ }
+
+ bool operator!=( DeviceGroupRenderPassBeginInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupRenderPassBeginInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t deviceMask;
+ uint32_t deviceRenderAreaCount;
+ const Rect2D* pDeviceRenderAreas;
+ };
+ static_assert( sizeof( DeviceGroupRenderPassBeginInfo ) == sizeof( VkDeviceGroupRenderPassBeginInfo ), "struct and wrapper have different size!" );
+
+ using DeviceGroupRenderPassBeginInfoKHR = DeviceGroupRenderPassBeginInfo;
+
+ struct DeviceGroupCommandBufferBeginInfo
+ {
+ DeviceGroupCommandBufferBeginInfo( uint32_t deviceMask_ = 0 )
+ : deviceMask( deviceMask_ )
+ {
+ }
+
+ DeviceGroupCommandBufferBeginInfo( VkDeviceGroupCommandBufferBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupCommandBufferBeginInfo ) );
+ }
+
+ DeviceGroupCommandBufferBeginInfo& operator=( VkDeviceGroupCommandBufferBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupCommandBufferBeginInfo ) );
+ return *this;
+ }
+ DeviceGroupCommandBufferBeginInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGroupCommandBufferBeginInfo& setDeviceMask( uint32_t deviceMask_ )
+ {
+ deviceMask = deviceMask_;
+ return *this;
+ }
+
+ operator const VkDeviceGroupCommandBufferBeginInfo&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupCommandBufferBeginInfo*>(this);
+ }
+
+ bool operator==( DeviceGroupCommandBufferBeginInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( deviceMask == rhs.deviceMask );
+ }
+
+ bool operator!=( DeviceGroupCommandBufferBeginInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupCommandBufferBeginInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t deviceMask;
+ };
+ static_assert( sizeof( DeviceGroupCommandBufferBeginInfo ) == sizeof( VkDeviceGroupCommandBufferBeginInfo ), "struct and wrapper have different size!" );
+
+ using DeviceGroupCommandBufferBeginInfoKHR = DeviceGroupCommandBufferBeginInfo;
+
+ struct DeviceGroupSubmitInfo
+ {
+ DeviceGroupSubmitInfo( uint32_t waitSemaphoreCount_ = 0, const uint32_t* pWaitSemaphoreDeviceIndices_ = nullptr, uint32_t commandBufferCount_ = 0, const uint32_t* pCommandBufferDeviceMasks_ = nullptr, uint32_t signalSemaphoreCount_ = 0, const uint32_t* pSignalSemaphoreDeviceIndices_ = nullptr )
+ : waitSemaphoreCount( waitSemaphoreCount_ )
+ , pWaitSemaphoreDeviceIndices( pWaitSemaphoreDeviceIndices_ )
+ , commandBufferCount( commandBufferCount_ )
+ , pCommandBufferDeviceMasks( pCommandBufferDeviceMasks_ )
+ , signalSemaphoreCount( signalSemaphoreCount_ )
+ , pSignalSemaphoreDeviceIndices( pSignalSemaphoreDeviceIndices_ )
+ {
+ }
+
+ DeviceGroupSubmitInfo( VkDeviceGroupSubmitInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupSubmitInfo ) );
+ }
+
+ DeviceGroupSubmitInfo& operator=( VkDeviceGroupSubmitInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupSubmitInfo ) );
+ return *this;
+ }
+ DeviceGroupSubmitInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGroupSubmitInfo& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )
+ {
+ waitSemaphoreCount = waitSemaphoreCount_;
+ return *this;
+ }
+
+ DeviceGroupSubmitInfo& setPWaitSemaphoreDeviceIndices( const uint32_t* pWaitSemaphoreDeviceIndices_ )
+ {
+ pWaitSemaphoreDeviceIndices = pWaitSemaphoreDeviceIndices_;
+ return *this;
+ }
+
+ DeviceGroupSubmitInfo& setCommandBufferCount( uint32_t commandBufferCount_ )
+ {
+ commandBufferCount = commandBufferCount_;
+ return *this;
+ }
+
+ DeviceGroupSubmitInfo& setPCommandBufferDeviceMasks( const uint32_t* pCommandBufferDeviceMasks_ )
+ {
+ pCommandBufferDeviceMasks = pCommandBufferDeviceMasks_;
+ return *this;
+ }
+
+ DeviceGroupSubmitInfo& setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ )
+ {
+ signalSemaphoreCount = signalSemaphoreCount_;
+ return *this;
+ }
+
+ DeviceGroupSubmitInfo& setPSignalSemaphoreDeviceIndices( const uint32_t* pSignalSemaphoreDeviceIndices_ )
+ {
+ pSignalSemaphoreDeviceIndices = pSignalSemaphoreDeviceIndices_;
+ return *this;
+ }
+
+ operator const VkDeviceGroupSubmitInfo&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupSubmitInfo*>(this);
+ }
+
+ bool operator==( DeviceGroupSubmitInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( waitSemaphoreCount == rhs.waitSemaphoreCount )
+ && ( pWaitSemaphoreDeviceIndices == rhs.pWaitSemaphoreDeviceIndices )
+ && ( commandBufferCount == rhs.commandBufferCount )
+ && ( pCommandBufferDeviceMasks == rhs.pCommandBufferDeviceMasks )
+ && ( signalSemaphoreCount == rhs.signalSemaphoreCount )
+ && ( pSignalSemaphoreDeviceIndices == rhs.pSignalSemaphoreDeviceIndices );
+ }
+
+ bool operator!=( DeviceGroupSubmitInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupSubmitInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t waitSemaphoreCount;
+ const uint32_t* pWaitSemaphoreDeviceIndices;
+ uint32_t commandBufferCount;
+ const uint32_t* pCommandBufferDeviceMasks;
+ uint32_t signalSemaphoreCount;
+ const uint32_t* pSignalSemaphoreDeviceIndices;
+ };
+ static_assert( sizeof( DeviceGroupSubmitInfo ) == sizeof( VkDeviceGroupSubmitInfo ), "struct and wrapper have different size!" );
+
+ using DeviceGroupSubmitInfoKHR = DeviceGroupSubmitInfo;
+
+ struct DeviceGroupBindSparseInfo
+ {
+ DeviceGroupBindSparseInfo( uint32_t resourceDeviceIndex_ = 0, uint32_t memoryDeviceIndex_ = 0 )
+ : resourceDeviceIndex( resourceDeviceIndex_ )
+ , memoryDeviceIndex( memoryDeviceIndex_ )
+ {
+ }
+
+ DeviceGroupBindSparseInfo( VkDeviceGroupBindSparseInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupBindSparseInfo ) );
+ }
+
+ DeviceGroupBindSparseInfo& operator=( VkDeviceGroupBindSparseInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupBindSparseInfo ) );
+ return *this;
+ }
+ DeviceGroupBindSparseInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGroupBindSparseInfo& setResourceDeviceIndex( uint32_t resourceDeviceIndex_ )
+ {
+ resourceDeviceIndex = resourceDeviceIndex_;
+ return *this;
+ }
+
+ DeviceGroupBindSparseInfo& setMemoryDeviceIndex( uint32_t memoryDeviceIndex_ )
+ {
+ memoryDeviceIndex = memoryDeviceIndex_;
+ return *this;
+ }
+
+ operator const VkDeviceGroupBindSparseInfo&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupBindSparseInfo*>(this);
+ }
+
+ bool operator==( DeviceGroupBindSparseInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( resourceDeviceIndex == rhs.resourceDeviceIndex )
+ && ( memoryDeviceIndex == rhs.memoryDeviceIndex );
+ }
+
+ bool operator!=( DeviceGroupBindSparseInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupBindSparseInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t resourceDeviceIndex;
+ uint32_t memoryDeviceIndex;
+ };
+ static_assert( sizeof( DeviceGroupBindSparseInfo ) == sizeof( VkDeviceGroupBindSparseInfo ), "struct and wrapper have different size!" );
+
+ using DeviceGroupBindSparseInfoKHR = DeviceGroupBindSparseInfo;
+
+ struct ImageSwapchainCreateInfoKHR
+ {
+ ImageSwapchainCreateInfoKHR( SwapchainKHR swapchain_ = SwapchainKHR() )
+ : swapchain( swapchain_ )
+ {
+ }
+
+ ImageSwapchainCreateInfoKHR( VkImageSwapchainCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSwapchainCreateInfoKHR ) );
+ }
+
+ ImageSwapchainCreateInfoKHR& operator=( VkImageSwapchainCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSwapchainCreateInfoKHR ) );
+ return *this;
+ }
+ ImageSwapchainCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageSwapchainCreateInfoKHR& setSwapchain( SwapchainKHR swapchain_ )
+ {
+ swapchain = swapchain_;
+ return *this;
+ }
+
+ operator const VkImageSwapchainCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImageSwapchainCreateInfoKHR*>(this);
+ }
+
+ bool operator==( ImageSwapchainCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( swapchain == rhs.swapchain );
+ }
+
+ bool operator!=( ImageSwapchainCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageSwapchainCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ SwapchainKHR swapchain;
+ };
+ static_assert( sizeof( ImageSwapchainCreateInfoKHR ) == sizeof( VkImageSwapchainCreateInfoKHR ), "struct and wrapper have different size!" );
+
+ struct BindImageMemorySwapchainInfoKHR
+ {
+ BindImageMemorySwapchainInfoKHR( SwapchainKHR swapchain_ = SwapchainKHR(), uint32_t imageIndex_ = 0 )
+ : swapchain( swapchain_ )
+ , imageIndex( imageIndex_ )
+ {
+ }
+
+ BindImageMemorySwapchainInfoKHR( VkBindImageMemorySwapchainInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImageMemorySwapchainInfoKHR ) );
+ }
+
+ BindImageMemorySwapchainInfoKHR& operator=( VkBindImageMemorySwapchainInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImageMemorySwapchainInfoKHR ) );
+ return *this;
+ }
+ BindImageMemorySwapchainInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BindImageMemorySwapchainInfoKHR& setSwapchain( SwapchainKHR swapchain_ )
+ {
+ swapchain = swapchain_;
+ return *this;
+ }
+
+ BindImageMemorySwapchainInfoKHR& setImageIndex( uint32_t imageIndex_ )
+ {
+ imageIndex = imageIndex_;
+ return *this;
+ }
+
+ operator const VkBindImageMemorySwapchainInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkBindImageMemorySwapchainInfoKHR*>(this);
+ }
+
+ bool operator==( BindImageMemorySwapchainInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( swapchain == rhs.swapchain )
+ && ( imageIndex == rhs.imageIndex );
+ }
+
+ bool operator!=( BindImageMemorySwapchainInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBindImageMemorySwapchainInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ SwapchainKHR swapchain;
+ uint32_t imageIndex;
+ };
+ static_assert( sizeof( BindImageMemorySwapchainInfoKHR ) == sizeof( VkBindImageMemorySwapchainInfoKHR ), "struct and wrapper have different size!" );
+
+ struct AcquireNextImageInfoKHR
+ {
+ AcquireNextImageInfoKHR( SwapchainKHR swapchain_ = SwapchainKHR(), uint64_t timeout_ = 0, Semaphore semaphore_ = Semaphore(), Fence fence_ = Fence(), uint32_t deviceMask_ = 0 )
+ : swapchain( swapchain_ )
+ , timeout( timeout_ )
+ , semaphore( semaphore_ )
+ , fence( fence_ )
+ , deviceMask( deviceMask_ )
+ {
+ }
+
+ AcquireNextImageInfoKHR( VkAcquireNextImageInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AcquireNextImageInfoKHR ) );
+ }
+
+ AcquireNextImageInfoKHR& operator=( VkAcquireNextImageInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AcquireNextImageInfoKHR ) );
+ return *this;
+ }
+ AcquireNextImageInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ AcquireNextImageInfoKHR& setSwapchain( SwapchainKHR swapchain_ )
+ {
+ swapchain = swapchain_;
+ return *this;
+ }
+
+ AcquireNextImageInfoKHR& setTimeout( uint64_t timeout_ )
+ {
+ timeout = timeout_;
+ return *this;
+ }
+
+ AcquireNextImageInfoKHR& setSemaphore( Semaphore semaphore_ )
+ {
+ semaphore = semaphore_;
+ return *this;
+ }
+
+ AcquireNextImageInfoKHR& setFence( Fence fence_ )
+ {
+ fence = fence_;
+ return *this;
+ }
+
+ AcquireNextImageInfoKHR& setDeviceMask( uint32_t deviceMask_ )
+ {
+ deviceMask = deviceMask_;
+ return *this;
+ }
+
+ operator const VkAcquireNextImageInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkAcquireNextImageInfoKHR*>(this);
+ }
+
+ bool operator==( AcquireNextImageInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( swapchain == rhs.swapchain )
+ && ( timeout == rhs.timeout )
+ && ( semaphore == rhs.semaphore )
+ && ( fence == rhs.fence )
+ && ( deviceMask == rhs.deviceMask );
+ }
+
+ bool operator!=( AcquireNextImageInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eAcquireNextImageInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ SwapchainKHR swapchain;
+ uint64_t timeout;
+ Semaphore semaphore;
+ Fence fence;
+ uint32_t deviceMask;
+ };
+ static_assert( sizeof( AcquireNextImageInfoKHR ) == sizeof( VkAcquireNextImageInfoKHR ), "struct and wrapper have different size!" );
+
+ struct HdrMetadataEXT
+ {
+ HdrMetadataEXT( XYColorEXT displayPrimaryRed_ = XYColorEXT(), XYColorEXT displayPrimaryGreen_ = XYColorEXT(), XYColorEXT displayPrimaryBlue_ = XYColorEXT(), XYColorEXT whitePoint_ = XYColorEXT(), float maxLuminance_ = 0, float minLuminance_ = 0, float maxContentLightLevel_ = 0, float maxFrameAverageLightLevel_ = 0 )
+ : displayPrimaryRed( displayPrimaryRed_ )
+ , displayPrimaryGreen( displayPrimaryGreen_ )
+ , displayPrimaryBlue( displayPrimaryBlue_ )
+ , whitePoint( whitePoint_ )
+ , maxLuminance( maxLuminance_ )
+ , minLuminance( minLuminance_ )
+ , maxContentLightLevel( maxContentLightLevel_ )
+ , maxFrameAverageLightLevel( maxFrameAverageLightLevel_ )
+ {
+ }
+
+ HdrMetadataEXT( VkHdrMetadataEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( HdrMetadataEXT ) );
+ }
+
+ HdrMetadataEXT& operator=( VkHdrMetadataEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( HdrMetadataEXT ) );
+ return *this;
+ }
+ HdrMetadataEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setDisplayPrimaryRed( XYColorEXT displayPrimaryRed_ )
+ {
+ displayPrimaryRed = displayPrimaryRed_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setDisplayPrimaryGreen( XYColorEXT displayPrimaryGreen_ )
+ {
+ displayPrimaryGreen = displayPrimaryGreen_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setDisplayPrimaryBlue( XYColorEXT displayPrimaryBlue_ )
+ {
+ displayPrimaryBlue = displayPrimaryBlue_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setWhitePoint( XYColorEXT whitePoint_ )
+ {
+ whitePoint = whitePoint_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setMaxLuminance( float maxLuminance_ )
+ {
+ maxLuminance = maxLuminance_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setMinLuminance( float minLuminance_ )
+ {
+ minLuminance = minLuminance_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setMaxContentLightLevel( float maxContentLightLevel_ )
+ {
+ maxContentLightLevel = maxContentLightLevel_;
+ return *this;
+ }
+
+ HdrMetadataEXT& setMaxFrameAverageLightLevel( float maxFrameAverageLightLevel_ )
+ {
+ maxFrameAverageLightLevel = maxFrameAverageLightLevel_;
+ return *this;
+ }
+
+ operator const VkHdrMetadataEXT&() const
+ {
+ return *reinterpret_cast<const VkHdrMetadataEXT*>(this);
+ }
+
+ bool operator==( HdrMetadataEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( displayPrimaryRed == rhs.displayPrimaryRed )
+ && ( displayPrimaryGreen == rhs.displayPrimaryGreen )
+ && ( displayPrimaryBlue == rhs.displayPrimaryBlue )
+ && ( whitePoint == rhs.whitePoint )
+ && ( maxLuminance == rhs.maxLuminance )
+ && ( minLuminance == rhs.minLuminance )
+ && ( maxContentLightLevel == rhs.maxContentLightLevel )
+ && ( maxFrameAverageLightLevel == rhs.maxFrameAverageLightLevel );
+ }
+
+ bool operator!=( HdrMetadataEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eHdrMetadataEXT;
+
+ public:
+ const void* pNext = nullptr;
+ XYColorEXT displayPrimaryRed;
+ XYColorEXT displayPrimaryGreen;
+ XYColorEXT displayPrimaryBlue;
+ XYColorEXT whitePoint;
+ float maxLuminance;
+ float minLuminance;
+ float maxContentLightLevel;
+ float maxFrameAverageLightLevel;
+ };
+ static_assert( sizeof( HdrMetadataEXT ) == sizeof( VkHdrMetadataEXT ), "struct and wrapper have different size!" );
+
+ struct PresentTimesInfoGOOGLE
+ {
+ PresentTimesInfoGOOGLE( uint32_t swapchainCount_ = 0, const PresentTimeGOOGLE* pTimes_ = nullptr )
+ : swapchainCount( swapchainCount_ )
+ , pTimes( pTimes_ )
+ {
+ }
+
+ PresentTimesInfoGOOGLE( VkPresentTimesInfoGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentTimesInfoGOOGLE ) );
+ }
+
+ PresentTimesInfoGOOGLE& operator=( VkPresentTimesInfoGOOGLE const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentTimesInfoGOOGLE ) );
+ return *this;
+ }
+ PresentTimesInfoGOOGLE& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PresentTimesInfoGOOGLE& setSwapchainCount( uint32_t swapchainCount_ )
+ {
+ swapchainCount = swapchainCount_;
+ return *this;
+ }
+
+ PresentTimesInfoGOOGLE& setPTimes( const PresentTimeGOOGLE* pTimes_ )
+ {
+ pTimes = pTimes_;
+ return *this;
+ }
+
+ operator const VkPresentTimesInfoGOOGLE&() const
+ {
+ return *reinterpret_cast<const VkPresentTimesInfoGOOGLE*>(this);
+ }
+
+ bool operator==( PresentTimesInfoGOOGLE const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( swapchainCount == rhs.swapchainCount )
+ && ( pTimes == rhs.pTimes );
+ }
+
+ bool operator!=( PresentTimesInfoGOOGLE const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePresentTimesInfoGOOGLE;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t swapchainCount;
+ const PresentTimeGOOGLE* pTimes;
+ };
+ static_assert( sizeof( PresentTimesInfoGOOGLE ) == sizeof( VkPresentTimesInfoGOOGLE ), "struct and wrapper have different size!" );
+
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ struct IOSSurfaceCreateInfoMVK
+ {
+ IOSSurfaceCreateInfoMVK( IOSSurfaceCreateFlagsMVK flags_ = IOSSurfaceCreateFlagsMVK(), const void* pView_ = nullptr )
+ : flags( flags_ )
+ , pView( pView_ )
+ {
+ }
+
+ IOSSurfaceCreateInfoMVK( VkIOSSurfaceCreateInfoMVK const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IOSSurfaceCreateInfoMVK ) );
+ }
+
+ IOSSurfaceCreateInfoMVK& operator=( VkIOSSurfaceCreateInfoMVK const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IOSSurfaceCreateInfoMVK ) );
+ return *this;
+ }
+ IOSSurfaceCreateInfoMVK& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ IOSSurfaceCreateInfoMVK& setFlags( IOSSurfaceCreateFlagsMVK flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ IOSSurfaceCreateInfoMVK& setPView( const void* pView_ )
+ {
+ pView = pView_;
+ return *this;
+ }
+
+ operator const VkIOSSurfaceCreateInfoMVK&() const
+ {
+ return *reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>(this);
+ }
+
+ bool operator==( IOSSurfaceCreateInfoMVK const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( pView == rhs.pView );
+ }
+
+ bool operator!=( IOSSurfaceCreateInfoMVK const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eIosSurfaceCreateInfoMVK;
+
+ public:
+ const void* pNext = nullptr;
+ IOSSurfaceCreateFlagsMVK flags;
+ const void* pView;
+ };
+ static_assert( sizeof( IOSSurfaceCreateInfoMVK ) == sizeof( VkIOSSurfaceCreateInfoMVK ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ struct MacOSSurfaceCreateInfoMVK
+ {
+ MacOSSurfaceCreateInfoMVK( MacOSSurfaceCreateFlagsMVK flags_ = MacOSSurfaceCreateFlagsMVK(), const void* pView_ = nullptr )
+ : flags( flags_ )
+ , pView( pView_ )
+ {
+ }
+
+ MacOSSurfaceCreateInfoMVK( VkMacOSSurfaceCreateInfoMVK const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MacOSSurfaceCreateInfoMVK ) );
+ }
+
+ MacOSSurfaceCreateInfoMVK& operator=( VkMacOSSurfaceCreateInfoMVK const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MacOSSurfaceCreateInfoMVK ) );
+ return *this;
+ }
+ MacOSSurfaceCreateInfoMVK& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MacOSSurfaceCreateInfoMVK& setFlags( MacOSSurfaceCreateFlagsMVK flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ MacOSSurfaceCreateInfoMVK& setPView( const void* pView_ )
+ {
+ pView = pView_;
+ return *this;
+ }
+
+ operator const VkMacOSSurfaceCreateInfoMVK&() const
+ {
+ return *reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>(this);
+ }
+
+ bool operator==( MacOSSurfaceCreateInfoMVK const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( pView == rhs.pView );
+ }
+
+ bool operator!=( MacOSSurfaceCreateInfoMVK const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMacosSurfaceCreateInfoMVK;
+
+ public:
+ const void* pNext = nullptr;
+ MacOSSurfaceCreateFlagsMVK flags;
+ const void* pView;
+ };
+ static_assert( sizeof( MacOSSurfaceCreateInfoMVK ) == sizeof( VkMacOSSurfaceCreateInfoMVK ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+
+ struct PipelineViewportWScalingStateCreateInfoNV
+ {
+ PipelineViewportWScalingStateCreateInfoNV( Bool32 viewportWScalingEnable_ = 0, uint32_t viewportCount_ = 0, const ViewportWScalingNV* pViewportWScalings_ = nullptr )
+ : viewportWScalingEnable( viewportWScalingEnable_ )
+ , viewportCount( viewportCount_ )
+ , pViewportWScalings( pViewportWScalings_ )
+ {
+ }
+
+ PipelineViewportWScalingStateCreateInfoNV( VkPipelineViewportWScalingStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineViewportWScalingStateCreateInfoNV ) );
+ }
+
+ PipelineViewportWScalingStateCreateInfoNV& operator=( VkPipelineViewportWScalingStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineViewportWScalingStateCreateInfoNV ) );
+ return *this;
+ }
+ PipelineViewportWScalingStateCreateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineViewportWScalingStateCreateInfoNV& setViewportWScalingEnable( Bool32 viewportWScalingEnable_ )
+ {
+ viewportWScalingEnable = viewportWScalingEnable_;
+ return *this;
+ }
+
+ PipelineViewportWScalingStateCreateInfoNV& setViewportCount( uint32_t viewportCount_ )
+ {
+ viewportCount = viewportCount_;
+ return *this;
+ }
+
+ PipelineViewportWScalingStateCreateInfoNV& setPViewportWScalings( const ViewportWScalingNV* pViewportWScalings_ )
+ {
+ pViewportWScalings = pViewportWScalings_;
+ return *this;
+ }
+
+ operator const VkPipelineViewportWScalingStateCreateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkPipelineViewportWScalingStateCreateInfoNV*>(this);
+ }
+
+ bool operator==( PipelineViewportWScalingStateCreateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( viewportWScalingEnable == rhs.viewportWScalingEnable )
+ && ( viewportCount == rhs.viewportCount )
+ && ( pViewportWScalings == rhs.pViewportWScalings );
+ }
+
+ bool operator!=( PipelineViewportWScalingStateCreateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineViewportWScalingStateCreateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ Bool32 viewportWScalingEnable;
+ uint32_t viewportCount;
+ const ViewportWScalingNV* pViewportWScalings;
+ };
+ static_assert( sizeof( PipelineViewportWScalingStateCreateInfoNV ) == sizeof( VkPipelineViewportWScalingStateCreateInfoNV ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceDiscardRectanglePropertiesEXT
+ {
+ PhysicalDeviceDiscardRectanglePropertiesEXT( uint32_t maxDiscardRectangles_ = 0 )
+ : maxDiscardRectangles( maxDiscardRectangles_ )
+ {
+ }
+
+ PhysicalDeviceDiscardRectanglePropertiesEXT( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) );
+ }
+
+ PhysicalDeviceDiscardRectanglePropertiesEXT& operator=( VkPhysicalDeviceDiscardRectanglePropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) );
+ return *this;
+ }
+ PhysicalDeviceDiscardRectanglePropertiesEXT& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceDiscardRectanglePropertiesEXT& setMaxDiscardRectangles( uint32_t maxDiscardRectangles_ )
+ {
+ maxDiscardRectangles = maxDiscardRectangles_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceDiscardRectanglePropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceDiscardRectanglePropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceDiscardRectanglePropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxDiscardRectangles == rhs.maxDiscardRectangles );
+ }
+
+ bool operator!=( PhysicalDeviceDiscardRectanglePropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t maxDiscardRectangles;
+ };
+ static_assert( sizeof( PhysicalDeviceDiscardRectanglePropertiesEXT ) == sizeof( VkPhysicalDeviceDiscardRectanglePropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX
+ {
+ operator const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX*>(this);
+ }
+
+ bool operator==( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( perViewPositionAllComponents == rhs.perViewPositionAllComponents );
+ }
+
+ bool operator!=( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 perViewPositionAllComponents;
+ };
+ static_assert( sizeof( PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ) == sizeof( VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceSurfaceInfo2KHR
+ {
+ PhysicalDeviceSurfaceInfo2KHR( SurfaceKHR surface_ = SurfaceKHR() )
+ : surface( surface_ )
+ {
+ }
+
+ PhysicalDeviceSurfaceInfo2KHR( VkPhysicalDeviceSurfaceInfo2KHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceSurfaceInfo2KHR ) );
+ }
+
+ PhysicalDeviceSurfaceInfo2KHR& operator=( VkPhysicalDeviceSurfaceInfo2KHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceSurfaceInfo2KHR ) );
+ return *this;
+ }
+ PhysicalDeviceSurfaceInfo2KHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceSurfaceInfo2KHR& setSurface( SurfaceKHR surface_ )
+ {
+ surface = surface_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceSurfaceInfo2KHR&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>(this);
+ }
+
+ bool operator==( PhysicalDeviceSurfaceInfo2KHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( surface == rhs.surface );
+ }
+
+ bool operator!=( PhysicalDeviceSurfaceInfo2KHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceSurfaceInfo2KHR;
+
+ public:
+ const void* pNext = nullptr;
+ SurfaceKHR surface;
+ };
+ static_assert( sizeof( PhysicalDeviceSurfaceInfo2KHR ) == sizeof( VkPhysicalDeviceSurfaceInfo2KHR ), "struct and wrapper have different size!" );
+
+ struct PhysicalDevice16BitStorageFeatures
+ {
+ PhysicalDevice16BitStorageFeatures( Bool32 storageBuffer16BitAccess_ = 0, Bool32 uniformAndStorageBuffer16BitAccess_ = 0, Bool32 storagePushConstant16_ = 0, Bool32 storageInputOutput16_ = 0 )
+ : storageBuffer16BitAccess( storageBuffer16BitAccess_ )
+ , uniformAndStorageBuffer16BitAccess( uniformAndStorageBuffer16BitAccess_ )
+ , storagePushConstant16( storagePushConstant16_ )
+ , storageInputOutput16( storageInputOutput16_ )
+ {
+ }
+
+ PhysicalDevice16BitStorageFeatures( VkPhysicalDevice16BitStorageFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDevice16BitStorageFeatures ) );
+ }
+
+ PhysicalDevice16BitStorageFeatures& operator=( VkPhysicalDevice16BitStorageFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDevice16BitStorageFeatures ) );
+ return *this;
+ }
+ PhysicalDevice16BitStorageFeatures& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDevice16BitStorageFeatures& setStorageBuffer16BitAccess( Bool32 storageBuffer16BitAccess_ )
+ {
+ storageBuffer16BitAccess = storageBuffer16BitAccess_;
+ return *this;
+ }
+
+ PhysicalDevice16BitStorageFeatures& setUniformAndStorageBuffer16BitAccess( Bool32 uniformAndStorageBuffer16BitAccess_ )
+ {
+ uniformAndStorageBuffer16BitAccess = uniformAndStorageBuffer16BitAccess_;
+ return *this;
+ }
+
+ PhysicalDevice16BitStorageFeatures& setStoragePushConstant16( Bool32 storagePushConstant16_ )
+ {
+ storagePushConstant16 = storagePushConstant16_;
+ return *this;
+ }
+
+ PhysicalDevice16BitStorageFeatures& setStorageInputOutput16( Bool32 storageInputOutput16_ )
+ {
+ storageInputOutput16 = storageInputOutput16_;
+ return *this;
+ }
+
+ operator const VkPhysicalDevice16BitStorageFeatures&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDevice16BitStorageFeatures*>(this);
+ }
+
+ bool operator==( PhysicalDevice16BitStorageFeatures const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( storageBuffer16BitAccess == rhs.storageBuffer16BitAccess )
+ && ( uniformAndStorageBuffer16BitAccess == rhs.uniformAndStorageBuffer16BitAccess )
+ && ( storagePushConstant16 == rhs.storagePushConstant16 )
+ && ( storageInputOutput16 == rhs.storageInputOutput16 );
+ }
+
+ bool operator!=( PhysicalDevice16BitStorageFeatures const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDevice16BitStorageFeatures;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 storageBuffer16BitAccess;
+ Bool32 uniformAndStorageBuffer16BitAccess;
+ Bool32 storagePushConstant16;
+ Bool32 storageInputOutput16;
+ };
+ static_assert( sizeof( PhysicalDevice16BitStorageFeatures ) == sizeof( VkPhysicalDevice16BitStorageFeatures ), "struct and wrapper have different size!" );
+
+ using PhysicalDevice16BitStorageFeaturesKHR = PhysicalDevice16BitStorageFeatures;
+
+ struct BufferMemoryRequirementsInfo2
+ {
+ BufferMemoryRequirementsInfo2( Buffer buffer_ = Buffer() )
+ : buffer( buffer_ )
+ {
+ }
+
+ BufferMemoryRequirementsInfo2( VkBufferMemoryRequirementsInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferMemoryRequirementsInfo2 ) );
+ }
+
+ BufferMemoryRequirementsInfo2& operator=( VkBufferMemoryRequirementsInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferMemoryRequirementsInfo2 ) );
+ return *this;
+ }
+ BufferMemoryRequirementsInfo2& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BufferMemoryRequirementsInfo2& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ operator const VkBufferMemoryRequirementsInfo2&() const
+ {
+ return *reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>(this);
+ }
+
+ bool operator==( BufferMemoryRequirementsInfo2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( buffer == rhs.buffer );
+ }
+
+ bool operator!=( BufferMemoryRequirementsInfo2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBufferMemoryRequirementsInfo2;
+
+ public:
+ const void* pNext = nullptr;
+ Buffer buffer;
+ };
+ static_assert( sizeof( BufferMemoryRequirementsInfo2 ) == sizeof( VkBufferMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );
+
+ using BufferMemoryRequirementsInfo2KHR = BufferMemoryRequirementsInfo2;
+
+ struct ImageMemoryRequirementsInfo2
+ {
+ ImageMemoryRequirementsInfo2( Image image_ = Image() )
+ : image( image_ )
+ {
+ }
+
+ ImageMemoryRequirementsInfo2( VkImageMemoryRequirementsInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageMemoryRequirementsInfo2 ) );
+ }
+
+ ImageMemoryRequirementsInfo2& operator=( VkImageMemoryRequirementsInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageMemoryRequirementsInfo2 ) );
+ return *this;
+ }
+ ImageMemoryRequirementsInfo2& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageMemoryRequirementsInfo2& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ operator const VkImageMemoryRequirementsInfo2&() const
+ {
+ return *reinterpret_cast<const VkImageMemoryRequirementsInfo2*>(this);
+ }
+
+ bool operator==( ImageMemoryRequirementsInfo2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( image == rhs.image );
+ }
+
+ bool operator!=( ImageMemoryRequirementsInfo2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageMemoryRequirementsInfo2;
+
+ public:
+ const void* pNext = nullptr;
+ Image image;
+ };
+ static_assert( sizeof( ImageMemoryRequirementsInfo2 ) == sizeof( VkImageMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );
+
+ using ImageMemoryRequirementsInfo2KHR = ImageMemoryRequirementsInfo2;
+
+ struct ImageSparseMemoryRequirementsInfo2
+ {
+ ImageSparseMemoryRequirementsInfo2( Image image_ = Image() )
+ : image( image_ )
+ {
+ }
+
+ ImageSparseMemoryRequirementsInfo2( VkImageSparseMemoryRequirementsInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSparseMemoryRequirementsInfo2 ) );
+ }
+
+ ImageSparseMemoryRequirementsInfo2& operator=( VkImageSparseMemoryRequirementsInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSparseMemoryRequirementsInfo2 ) );
+ return *this;
+ }
+ ImageSparseMemoryRequirementsInfo2& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageSparseMemoryRequirementsInfo2& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ operator const VkImageSparseMemoryRequirementsInfo2&() const
+ {
+ return *reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>(this);
+ }
+
+ bool operator==( ImageSparseMemoryRequirementsInfo2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( image == rhs.image );
+ }
+
+ bool operator!=( ImageSparseMemoryRequirementsInfo2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageSparseMemoryRequirementsInfo2;
+
+ public:
+ const void* pNext = nullptr;
+ Image image;
+ };
+ static_assert( sizeof( ImageSparseMemoryRequirementsInfo2 ) == sizeof( VkImageSparseMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );
+
+ using ImageSparseMemoryRequirementsInfo2KHR = ImageSparseMemoryRequirementsInfo2;
+
+ struct MemoryRequirements2
+ {
+ operator const VkMemoryRequirements2&() const
+ {
+ return *reinterpret_cast<const VkMemoryRequirements2*>(this);
+ }
+
+ bool operator==( MemoryRequirements2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memoryRequirements == rhs.memoryRequirements );
+ }
+
+ bool operator!=( MemoryRequirements2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryRequirements2;
+
+ public:
+ void* pNext = nullptr;
+ MemoryRequirements memoryRequirements;
+ };
+ static_assert( sizeof( MemoryRequirements2 ) == sizeof( VkMemoryRequirements2 ), "struct and wrapper have different size!" );
+
+ using MemoryRequirements2KHR = MemoryRequirements2;
+
+ struct MemoryDedicatedRequirements
+ {
+ operator const VkMemoryDedicatedRequirements&() const
+ {
+ return *reinterpret_cast<const VkMemoryDedicatedRequirements*>(this);
+ }
+
+ bool operator==( MemoryDedicatedRequirements const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( prefersDedicatedAllocation == rhs.prefersDedicatedAllocation )
+ && ( requiresDedicatedAllocation == rhs.requiresDedicatedAllocation );
+ }
+
+ bool operator!=( MemoryDedicatedRequirements const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryDedicatedRequirements;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 prefersDedicatedAllocation;
+ Bool32 requiresDedicatedAllocation;
+ };
+ static_assert( sizeof( MemoryDedicatedRequirements ) == sizeof( VkMemoryDedicatedRequirements ), "struct and wrapper have different size!" );
+
+ using MemoryDedicatedRequirementsKHR = MemoryDedicatedRequirements;
+
+ struct MemoryDedicatedAllocateInfo
+ {
+ MemoryDedicatedAllocateInfo( Image image_ = Image(), Buffer buffer_ = Buffer() )
+ : image( image_ )
+ , buffer( buffer_ )
+ {
+ }
+
+ MemoryDedicatedAllocateInfo( VkMemoryDedicatedAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryDedicatedAllocateInfo ) );
+ }
+
+ MemoryDedicatedAllocateInfo& operator=( VkMemoryDedicatedAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryDedicatedAllocateInfo ) );
+ return *this;
+ }
+ MemoryDedicatedAllocateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryDedicatedAllocateInfo& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ MemoryDedicatedAllocateInfo& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ operator const VkMemoryDedicatedAllocateInfo&() const
+ {
+ return *reinterpret_cast<const VkMemoryDedicatedAllocateInfo*>(this);
+ }
+
+ bool operator==( MemoryDedicatedAllocateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( image == rhs.image )
+ && ( buffer == rhs.buffer );
+ }
+
+ bool operator!=( MemoryDedicatedAllocateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryDedicatedAllocateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ Image image;
+ Buffer buffer;
+ };
+ static_assert( sizeof( MemoryDedicatedAllocateInfo ) == sizeof( VkMemoryDedicatedAllocateInfo ), "struct and wrapper have different size!" );
+
+ using MemoryDedicatedAllocateInfoKHR = MemoryDedicatedAllocateInfo;
+
+ struct SamplerYcbcrConversionInfo
+ {
+ SamplerYcbcrConversionInfo( SamplerYcbcrConversion conversion_ = SamplerYcbcrConversion() )
+ : conversion( conversion_ )
+ {
+ }
+
+ SamplerYcbcrConversionInfo( VkSamplerYcbcrConversionInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerYcbcrConversionInfo ) );
+ }
+
+ SamplerYcbcrConversionInfo& operator=( VkSamplerYcbcrConversionInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerYcbcrConversionInfo ) );
+ return *this;
+ }
+ SamplerYcbcrConversionInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionInfo& setConversion( SamplerYcbcrConversion conversion_ )
+ {
+ conversion = conversion_;
+ return *this;
+ }
+
+ operator const VkSamplerYcbcrConversionInfo&() const
+ {
+ return *reinterpret_cast<const VkSamplerYcbcrConversionInfo*>(this);
+ }
+
+ bool operator==( SamplerYcbcrConversionInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( conversion == rhs.conversion );
+ }
+
+ bool operator!=( SamplerYcbcrConversionInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSamplerYcbcrConversionInfo;
+
+ public:
+ const void* pNext = nullptr;
+ SamplerYcbcrConversion conversion;
+ };
+ static_assert( sizeof( SamplerYcbcrConversionInfo ) == sizeof( VkSamplerYcbcrConversionInfo ), "struct and wrapper have different size!" );
+
+ using SamplerYcbcrConversionInfoKHR = SamplerYcbcrConversionInfo;
+
+ struct PhysicalDeviceSamplerYcbcrConversionFeatures
+ {
+ PhysicalDeviceSamplerYcbcrConversionFeatures( Bool32 samplerYcbcrConversion_ = 0 )
+ : samplerYcbcrConversion( samplerYcbcrConversion_ )
+ {
+ }
+
+ PhysicalDeviceSamplerYcbcrConversionFeatures( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) );
+ }
+
+ PhysicalDeviceSamplerYcbcrConversionFeatures& operator=( VkPhysicalDeviceSamplerYcbcrConversionFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) );
+ return *this;
+ }
+ PhysicalDeviceSamplerYcbcrConversionFeatures& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceSamplerYcbcrConversionFeatures& setSamplerYcbcrConversion( Bool32 samplerYcbcrConversion_ )
+ {
+ samplerYcbcrConversion = samplerYcbcrConversion_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceSamplerYcbcrConversionFeatures&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceSamplerYcbcrConversionFeatures*>(this);
+ }
+
+ bool operator==( PhysicalDeviceSamplerYcbcrConversionFeatures const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( samplerYcbcrConversion == rhs.samplerYcbcrConversion );
+ }
+
+ bool operator!=( PhysicalDeviceSamplerYcbcrConversionFeatures const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 samplerYcbcrConversion;
+ };
+ static_assert( sizeof( PhysicalDeviceSamplerYcbcrConversionFeatures ) == sizeof( VkPhysicalDeviceSamplerYcbcrConversionFeatures ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceSamplerYcbcrConversionFeaturesKHR = PhysicalDeviceSamplerYcbcrConversionFeatures;
+
+ struct SamplerYcbcrConversionImageFormatProperties
+ {
+ operator const VkSamplerYcbcrConversionImageFormatProperties&() const
+ {
+ return *reinterpret_cast<const VkSamplerYcbcrConversionImageFormatProperties*>(this);
+ }
+
+ bool operator==( SamplerYcbcrConversionImageFormatProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( combinedImageSamplerDescriptorCount == rhs.combinedImageSamplerDescriptorCount );
+ }
+
+ bool operator!=( SamplerYcbcrConversionImageFormatProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSamplerYcbcrConversionImageFormatProperties;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t combinedImageSamplerDescriptorCount;
+ };
+ static_assert( sizeof( SamplerYcbcrConversionImageFormatProperties ) == sizeof( VkSamplerYcbcrConversionImageFormatProperties ), "struct and wrapper have different size!" );
+
+ using SamplerYcbcrConversionImageFormatPropertiesKHR = SamplerYcbcrConversionImageFormatProperties;
+
+ struct TextureLODGatherFormatPropertiesAMD
+ {
+ operator const VkTextureLODGatherFormatPropertiesAMD&() const
+ {
+ return *reinterpret_cast<const VkTextureLODGatherFormatPropertiesAMD*>(this);
+ }
+
+ bool operator==( TextureLODGatherFormatPropertiesAMD const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( supportsTextureGatherLODBiasAMD == rhs.supportsTextureGatherLODBiasAMD );
+ }
+
+ bool operator!=( TextureLODGatherFormatPropertiesAMD const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eTextureLodGatherFormatPropertiesAMD;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 supportsTextureGatherLODBiasAMD;
+ };
+ static_assert( sizeof( TextureLODGatherFormatPropertiesAMD ) == sizeof( VkTextureLODGatherFormatPropertiesAMD ), "struct and wrapper have different size!" );
+
+ struct ProtectedSubmitInfo
+ {
+ ProtectedSubmitInfo( Bool32 protectedSubmit_ = 0 )
+ : protectedSubmit( protectedSubmit_ )
+ {
+ }
+
+ ProtectedSubmitInfo( VkProtectedSubmitInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ProtectedSubmitInfo ) );
+ }
+
+ ProtectedSubmitInfo& operator=( VkProtectedSubmitInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ProtectedSubmitInfo ) );
+ return *this;
+ }
+ ProtectedSubmitInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ProtectedSubmitInfo& setProtectedSubmit( Bool32 protectedSubmit_ )
+ {
+ protectedSubmit = protectedSubmit_;
+ return *this;
+ }
+
+ operator const VkProtectedSubmitInfo&() const
+ {
+ return *reinterpret_cast<const VkProtectedSubmitInfo*>(this);
+ }
+
+ bool operator==( ProtectedSubmitInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( protectedSubmit == rhs.protectedSubmit );
+ }
+
+ bool operator!=( ProtectedSubmitInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eProtectedSubmitInfo;
+
+ public:
+ const void* pNext = nullptr;
+ Bool32 protectedSubmit;
+ };
+ static_assert( sizeof( ProtectedSubmitInfo ) == sizeof( VkProtectedSubmitInfo ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceProtectedMemoryFeatures
+ {
+ PhysicalDeviceProtectedMemoryFeatures( Bool32 protectedMemory_ = 0 )
+ : protectedMemory( protectedMemory_ )
+ {
+ }
+
+ PhysicalDeviceProtectedMemoryFeatures( VkPhysicalDeviceProtectedMemoryFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) );
+ }
+
+ PhysicalDeviceProtectedMemoryFeatures& operator=( VkPhysicalDeviceProtectedMemoryFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) );
+ return *this;
+ }
+ PhysicalDeviceProtectedMemoryFeatures& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceProtectedMemoryFeatures& setProtectedMemory( Bool32 protectedMemory_ )
+ {
+ protectedMemory = protectedMemory_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceProtectedMemoryFeatures&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceProtectedMemoryFeatures*>(this);
+ }
+
+ bool operator==( PhysicalDeviceProtectedMemoryFeatures const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( protectedMemory == rhs.protectedMemory );
+ }
+
+ bool operator!=( PhysicalDeviceProtectedMemoryFeatures const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 protectedMemory;
+ };
+ static_assert( sizeof( PhysicalDeviceProtectedMemoryFeatures ) == sizeof( VkPhysicalDeviceProtectedMemoryFeatures ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceProtectedMemoryProperties
+ {
+ PhysicalDeviceProtectedMemoryProperties( Bool32 protectedNoFault_ = 0 )
+ : protectedNoFault( protectedNoFault_ )
+ {
+ }
+
+ PhysicalDeviceProtectedMemoryProperties( VkPhysicalDeviceProtectedMemoryProperties const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryProperties ) );
+ }
+
+ PhysicalDeviceProtectedMemoryProperties& operator=( VkPhysicalDeviceProtectedMemoryProperties const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryProperties ) );
+ return *this;
+ }
+ PhysicalDeviceProtectedMemoryProperties& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceProtectedMemoryProperties& setProtectedNoFault( Bool32 protectedNoFault_ )
+ {
+ protectedNoFault = protectedNoFault_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceProtectedMemoryProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceProtectedMemoryProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceProtectedMemoryProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( protectedNoFault == rhs.protectedNoFault );
+ }
+
+ bool operator!=( PhysicalDeviceProtectedMemoryProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryProperties;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 protectedNoFault;
+ };
+ static_assert( sizeof( PhysicalDeviceProtectedMemoryProperties ) == sizeof( VkPhysicalDeviceProtectedMemoryProperties ), "struct and wrapper have different size!" );
+
+ struct PipelineCoverageToColorStateCreateInfoNV
+ {
+ PipelineCoverageToColorStateCreateInfoNV( PipelineCoverageToColorStateCreateFlagsNV flags_ = PipelineCoverageToColorStateCreateFlagsNV(), Bool32 coverageToColorEnable_ = 0, uint32_t coverageToColorLocation_ = 0 )
+ : flags( flags_ )
+ , coverageToColorEnable( coverageToColorEnable_ )
+ , coverageToColorLocation( coverageToColorLocation_ )
+ {
+ }
+
+ PipelineCoverageToColorStateCreateInfoNV( VkPipelineCoverageToColorStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineCoverageToColorStateCreateInfoNV ) );
+ }
+
+ PipelineCoverageToColorStateCreateInfoNV& operator=( VkPipelineCoverageToColorStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineCoverageToColorStateCreateInfoNV ) );
+ return *this;
+ }
+ PipelineCoverageToColorStateCreateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineCoverageToColorStateCreateInfoNV& setFlags( PipelineCoverageToColorStateCreateFlagsNV flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineCoverageToColorStateCreateInfoNV& setCoverageToColorEnable( Bool32 coverageToColorEnable_ )
+ {
+ coverageToColorEnable = coverageToColorEnable_;
+ return *this;
+ }
+
+ PipelineCoverageToColorStateCreateInfoNV& setCoverageToColorLocation( uint32_t coverageToColorLocation_ )
+ {
+ coverageToColorLocation = coverageToColorLocation_;
+ return *this;
+ }
+
+ operator const VkPipelineCoverageToColorStateCreateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkPipelineCoverageToColorStateCreateInfoNV*>(this);
+ }
+
+ bool operator==( PipelineCoverageToColorStateCreateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( coverageToColorEnable == rhs.coverageToColorEnable )
+ && ( coverageToColorLocation == rhs.coverageToColorLocation );
+ }
+
+ bool operator!=( PipelineCoverageToColorStateCreateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineCoverageToColorStateCreateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineCoverageToColorStateCreateFlagsNV flags;
+ Bool32 coverageToColorEnable;
+ uint32_t coverageToColorLocation;
+ };
+ static_assert( sizeof( PipelineCoverageToColorStateCreateInfoNV ) == sizeof( VkPipelineCoverageToColorStateCreateInfoNV ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceSamplerFilterMinmaxPropertiesEXT
+ {
+ operator const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceSamplerFilterMinmaxPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( filterMinmaxSingleComponentFormats == rhs.filterMinmaxSingleComponentFormats )
+ && ( filterMinmaxImageComponentMapping == rhs.filterMinmaxImageComponentMapping );
+ }
+
+ bool operator!=( PhysicalDeviceSamplerFilterMinmaxPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 filterMinmaxSingleComponentFormats;
+ Bool32 filterMinmaxImageComponentMapping;
+ };
+ static_assert( sizeof( PhysicalDeviceSamplerFilterMinmaxPropertiesEXT ) == sizeof( VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct MultisamplePropertiesEXT
+ {
+ operator const VkMultisamplePropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkMultisamplePropertiesEXT*>(this);
+ }
+
+ bool operator==( MultisamplePropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize );
+ }
+
+ bool operator!=( MultisamplePropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMultisamplePropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ Extent2D maxSampleLocationGridSize;
+ };
+ static_assert( sizeof( MultisamplePropertiesEXT ) == sizeof( VkMultisamplePropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceBlendOperationAdvancedFeaturesEXT
+ {
+ PhysicalDeviceBlendOperationAdvancedFeaturesEXT( Bool32 advancedBlendCoherentOperations_ = 0 )
+ : advancedBlendCoherentOperations( advancedBlendCoherentOperations_ )
+ {
+ }
+
+ PhysicalDeviceBlendOperationAdvancedFeaturesEXT( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) );
+ }
+
+ PhysicalDeviceBlendOperationAdvancedFeaturesEXT& operator=( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) );
+ return *this;
+ }
+ PhysicalDeviceBlendOperationAdvancedFeaturesEXT& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceBlendOperationAdvancedFeaturesEXT& setAdvancedBlendCoherentOperations( Bool32 advancedBlendCoherentOperations_ )
+ {
+ advancedBlendCoherentOperations = advancedBlendCoherentOperations_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( advancedBlendCoherentOperations == rhs.advancedBlendCoherentOperations );
+ }
+
+ bool operator!=( PhysicalDeviceBlendOperationAdvancedFeaturesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 advancedBlendCoherentOperations;
+ };
+ static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedFeaturesEXT ) == sizeof( VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceBlendOperationAdvancedPropertiesEXT
+ {
+ operator const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( advancedBlendMaxColorAttachments == rhs.advancedBlendMaxColorAttachments )
+ && ( advancedBlendIndependentBlend == rhs.advancedBlendIndependentBlend )
+ && ( advancedBlendNonPremultipliedSrcColor == rhs.advancedBlendNonPremultipliedSrcColor )
+ && ( advancedBlendNonPremultipliedDstColor == rhs.advancedBlendNonPremultipliedDstColor )
+ && ( advancedBlendCorrelatedOverlap == rhs.advancedBlendCorrelatedOverlap )
+ && ( advancedBlendAllOperations == rhs.advancedBlendAllOperations );
+ }
+
+ bool operator!=( PhysicalDeviceBlendOperationAdvancedPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t advancedBlendMaxColorAttachments;
+ Bool32 advancedBlendIndependentBlend;
+ Bool32 advancedBlendNonPremultipliedSrcColor;
+ Bool32 advancedBlendNonPremultipliedDstColor;
+ Bool32 advancedBlendCorrelatedOverlap;
+ Bool32 advancedBlendAllOperations;
+ };
+ static_assert( sizeof( PhysicalDeviceBlendOperationAdvancedPropertiesEXT ) == sizeof( VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct ImageFormatListCreateInfoKHR
+ {
+ ImageFormatListCreateInfoKHR( uint32_t viewFormatCount_ = 0, const Format* pViewFormats_ = nullptr )
+ : viewFormatCount( viewFormatCount_ )
+ , pViewFormats( pViewFormats_ )
+ {
+ }
+
+ ImageFormatListCreateInfoKHR( VkImageFormatListCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageFormatListCreateInfoKHR ) );
+ }
+
+ ImageFormatListCreateInfoKHR& operator=( VkImageFormatListCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageFormatListCreateInfoKHR ) );
+ return *this;
+ }
+ ImageFormatListCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageFormatListCreateInfoKHR& setViewFormatCount( uint32_t viewFormatCount_ )
+ {
+ viewFormatCount = viewFormatCount_;
+ return *this;
+ }
+
+ ImageFormatListCreateInfoKHR& setPViewFormats( const Format* pViewFormats_ )
+ {
+ pViewFormats = pViewFormats_;
+ return *this;
+ }
+
+ operator const VkImageFormatListCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImageFormatListCreateInfoKHR*>(this);
+ }
+
+ bool operator==( ImageFormatListCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( viewFormatCount == rhs.viewFormatCount )
+ && ( pViewFormats == rhs.pViewFormats );
+ }
+
+ bool operator!=( ImageFormatListCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageFormatListCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t viewFormatCount;
+ const Format* pViewFormats;
+ };
+ static_assert( sizeof( ImageFormatListCreateInfoKHR ) == sizeof( VkImageFormatListCreateInfoKHR ), "struct and wrapper have different size!" );
+
+ struct ValidationCacheCreateInfoEXT
+ {
+ ValidationCacheCreateInfoEXT( ValidationCacheCreateFlagsEXT flags_ = ValidationCacheCreateFlagsEXT(), size_t initialDataSize_ = 0, const void* pInitialData_ = nullptr )
+ : flags( flags_ )
+ , initialDataSize( initialDataSize_ )
+ , pInitialData( pInitialData_ )
+ {
+ }
+
+ ValidationCacheCreateInfoEXT( VkValidationCacheCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ValidationCacheCreateInfoEXT ) );
+ }
+
+ ValidationCacheCreateInfoEXT& operator=( VkValidationCacheCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ValidationCacheCreateInfoEXT ) );
+ return *this;
+ }
+ ValidationCacheCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ValidationCacheCreateInfoEXT& setFlags( ValidationCacheCreateFlagsEXT flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ValidationCacheCreateInfoEXT& setInitialDataSize( size_t initialDataSize_ )
+ {
+ initialDataSize = initialDataSize_;
+ return *this;
+ }
+
+ ValidationCacheCreateInfoEXT& setPInitialData( const void* pInitialData_ )
+ {
+ pInitialData = pInitialData_;
+ return *this;
+ }
+
+ operator const VkValidationCacheCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkValidationCacheCreateInfoEXT*>(this);
+ }
+
+ bool operator==( ValidationCacheCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( initialDataSize == rhs.initialDataSize )
+ && ( pInitialData == rhs.pInitialData );
+ }
+
+ bool operator!=( ValidationCacheCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eValidationCacheCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ ValidationCacheCreateFlagsEXT flags;
+ size_t initialDataSize;
+ const void* pInitialData;
+ };
+ static_assert( sizeof( ValidationCacheCreateInfoEXT ) == sizeof( VkValidationCacheCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ struct ShaderModuleValidationCacheCreateInfoEXT
+ {
+ ShaderModuleValidationCacheCreateInfoEXT( ValidationCacheEXT validationCache_ = ValidationCacheEXT() )
+ : validationCache( validationCache_ )
+ {
+ }
+
+ ShaderModuleValidationCacheCreateInfoEXT( VkShaderModuleValidationCacheCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ShaderModuleValidationCacheCreateInfoEXT ) );
+ }
+
+ ShaderModuleValidationCacheCreateInfoEXT& operator=( VkShaderModuleValidationCacheCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ShaderModuleValidationCacheCreateInfoEXT ) );
+ return *this;
+ }
+ ShaderModuleValidationCacheCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ShaderModuleValidationCacheCreateInfoEXT& setValidationCache( ValidationCacheEXT validationCache_ )
+ {
+ validationCache = validationCache_;
+ return *this;
+ }
+
+ operator const VkShaderModuleValidationCacheCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkShaderModuleValidationCacheCreateInfoEXT*>(this);
+ }
+
+ bool operator==( ShaderModuleValidationCacheCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( validationCache == rhs.validationCache );
+ }
+
+ bool operator!=( ShaderModuleValidationCacheCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eShaderModuleValidationCacheCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ ValidationCacheEXT validationCache;
+ };
+ static_assert( sizeof( ShaderModuleValidationCacheCreateInfoEXT ) == sizeof( VkShaderModuleValidationCacheCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceMaintenance3Properties
+ {
+ operator const VkPhysicalDeviceMaintenance3Properties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceMaintenance3Properties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceMaintenance3Properties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxPerSetDescriptors == rhs.maxPerSetDescriptors )
+ && ( maxMemoryAllocationSize == rhs.maxMemoryAllocationSize );
+ }
+
+ bool operator!=( PhysicalDeviceMaintenance3Properties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceMaintenance3Properties;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t maxPerSetDescriptors;
+ DeviceSize maxMemoryAllocationSize;
+ };
+ static_assert( sizeof( PhysicalDeviceMaintenance3Properties ) == sizeof( VkPhysicalDeviceMaintenance3Properties ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceMaintenance3PropertiesKHR = PhysicalDeviceMaintenance3Properties;
+
+ struct DescriptorSetLayoutSupport
+ {
+ operator const VkDescriptorSetLayoutSupport&() const
+ {
+ return *reinterpret_cast<const VkDescriptorSetLayoutSupport*>(this);
+ }
+
+ bool operator==( DescriptorSetLayoutSupport const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( supported == rhs.supported );
+ }
+
+ bool operator!=( DescriptorSetLayoutSupport const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorSetLayoutSupport;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 supported;
+ };
+ static_assert( sizeof( DescriptorSetLayoutSupport ) == sizeof( VkDescriptorSetLayoutSupport ), "struct and wrapper have different size!" );
+
+ using DescriptorSetLayoutSupportKHR = DescriptorSetLayoutSupport;
+
+ struct PhysicalDeviceShaderDrawParameterFeatures
+ {
+ PhysicalDeviceShaderDrawParameterFeatures( Bool32 shaderDrawParameters_ = 0 )
+ : shaderDrawParameters( shaderDrawParameters_ )
+ {
+ }
+
+ PhysicalDeviceShaderDrawParameterFeatures( VkPhysicalDeviceShaderDrawParameterFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceShaderDrawParameterFeatures ) );
+ }
+
+ PhysicalDeviceShaderDrawParameterFeatures& operator=( VkPhysicalDeviceShaderDrawParameterFeatures const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceShaderDrawParameterFeatures ) );
+ return *this;
+ }
+ PhysicalDeviceShaderDrawParameterFeatures& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceShaderDrawParameterFeatures& setShaderDrawParameters( Bool32 shaderDrawParameters_ )
+ {
+ shaderDrawParameters = shaderDrawParameters_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceShaderDrawParameterFeatures&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceShaderDrawParameterFeatures*>(this);
+ }
+
+ bool operator==( PhysicalDeviceShaderDrawParameterFeatures const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( shaderDrawParameters == rhs.shaderDrawParameters );
+ }
+
+ bool operator!=( PhysicalDeviceShaderDrawParameterFeatures const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceShaderDrawParameterFeatures;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 shaderDrawParameters;
+ };
+ static_assert( sizeof( PhysicalDeviceShaderDrawParameterFeatures ) == sizeof( VkPhysicalDeviceShaderDrawParameterFeatures ), "struct and wrapper have different size!" );
+
+ struct DebugUtilsLabelEXT
+ {
+ DebugUtilsLabelEXT( const char* pLabelName_ = nullptr, std::array<float,4> const& color_ = { { 0, 0, 0, 0 } } )
+ : pLabelName( pLabelName_ )
+ {
+ memcpy( &color, color_.data(), 4 * sizeof( float ) );
+ }
+
+ DebugUtilsLabelEXT( VkDebugUtilsLabelEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsLabelEXT ) );
+ }
+
+ DebugUtilsLabelEXT& operator=( VkDebugUtilsLabelEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsLabelEXT ) );
+ return *this;
+ }
+ DebugUtilsLabelEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugUtilsLabelEXT& setPLabelName( const char* pLabelName_ )
+ {
+ pLabelName = pLabelName_;
+ return *this;
+ }
+
+ DebugUtilsLabelEXT& setColor( std::array<float,4> color_ )
+ {
+ memcpy( &color, color_.data(), 4 * sizeof( float ) );
+ return *this;
+ }
+
+ operator const VkDebugUtilsLabelEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugUtilsLabelEXT*>(this);
+ }
+
+ bool operator==( DebugUtilsLabelEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pLabelName == rhs.pLabelName )
+ && ( memcmp( color, rhs.color, 4 * sizeof( float ) ) == 0 );
+ }
+
+ bool operator!=( DebugUtilsLabelEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugUtilsLabelEXT;
+
+ public:
+ const void* pNext = nullptr;
+ const char* pLabelName;
+ float color[4];
+ };
+ static_assert( sizeof( DebugUtilsLabelEXT ) == sizeof( VkDebugUtilsLabelEXT ), "struct and wrapper have different size!" );
+
+ struct MemoryHostPointerPropertiesEXT
+ {
+ MemoryHostPointerPropertiesEXT( uint32_t memoryTypeBits_ = 0 )
+ : memoryTypeBits( memoryTypeBits_ )
+ {
+ }
+
+ MemoryHostPointerPropertiesEXT( VkMemoryHostPointerPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryHostPointerPropertiesEXT ) );
+ }
+
+ MemoryHostPointerPropertiesEXT& operator=( VkMemoryHostPointerPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryHostPointerPropertiesEXT ) );
+ return *this;
+ }
+ MemoryHostPointerPropertiesEXT& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryHostPointerPropertiesEXT& setMemoryTypeBits( uint32_t memoryTypeBits_ )
+ {
+ memoryTypeBits = memoryTypeBits_;
+ return *this;
+ }
+
+ operator const VkMemoryHostPointerPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkMemoryHostPointerPropertiesEXT*>(this);
+ }
+
+ bool operator==( MemoryHostPointerPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memoryTypeBits == rhs.memoryTypeBits );
+ }
+
+ bool operator!=( MemoryHostPointerPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryHostPointerPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t memoryTypeBits;
+ };
+ static_assert( sizeof( MemoryHostPointerPropertiesEXT ) == sizeof( VkMemoryHostPointerPropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceExternalMemoryHostPropertiesEXT
+ {
+ PhysicalDeviceExternalMemoryHostPropertiesEXT( DeviceSize minImportedHostPointerAlignment_ = 0 )
+ : minImportedHostPointerAlignment( minImportedHostPointerAlignment_ )
+ {
+ }
+
+ PhysicalDeviceExternalMemoryHostPropertiesEXT( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) );
+ }
+
+ PhysicalDeviceExternalMemoryHostPropertiesEXT& operator=( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) );
+ return *this;
+ }
+ PhysicalDeviceExternalMemoryHostPropertiesEXT& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceExternalMemoryHostPropertiesEXT& setMinImportedHostPointerAlignment( DeviceSize minImportedHostPointerAlignment_ )
+ {
+ minImportedHostPointerAlignment = minImportedHostPointerAlignment_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceExternalMemoryHostPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceExternalMemoryHostPropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( minImportedHostPointerAlignment == rhs.minImportedHostPointerAlignment );
+ }
+
+ bool operator!=( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ DeviceSize minImportedHostPointerAlignment;
+ };
+ static_assert( sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) == sizeof( VkPhysicalDeviceExternalMemoryHostPropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceConservativeRasterizationPropertiesEXT
+ {
+ PhysicalDeviceConservativeRasterizationPropertiesEXT( float primitiveOverestimationSize_ = 0, float maxExtraPrimitiveOverestimationSize_ = 0, float extraPrimitiveOverestimationSizeGranularity_ = 0, Bool32 primitiveUnderestimation_ = 0, Bool32 conservativePointAndLineRasterization_ = 0, Bool32 degenerateTrianglesRasterized_ = 0, Bool32 degenerateLinesRasterized_ = 0, Bool32 fullyCoveredFragmentShaderInputVariable_ = 0, Bool32 conservativeRasterizationPostDepthCoverage_ = 0 )
+ : primitiveOverestimationSize( primitiveOverestimationSize_ )
+ , maxExtraPrimitiveOverestimationSize( maxExtraPrimitiveOverestimationSize_ )
+ , extraPrimitiveOverestimationSizeGranularity( extraPrimitiveOverestimationSizeGranularity_ )
+ , primitiveUnderestimation( primitiveUnderestimation_ )
+ , conservativePointAndLineRasterization( conservativePointAndLineRasterization_ )
+ , degenerateTrianglesRasterized( degenerateTrianglesRasterized_ )
+ , degenerateLinesRasterized( degenerateLinesRasterized_ )
+ , fullyCoveredFragmentShaderInputVariable( fullyCoveredFragmentShaderInputVariable_ )
+ , conservativeRasterizationPostDepthCoverage( conservativeRasterizationPostDepthCoverage_ )
+ {
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT( VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) );
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& operator=( VkPhysicalDeviceConservativeRasterizationPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) );
+ return *this;
+ }
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setPrimitiveOverestimationSize( float primitiveOverestimationSize_ )
+ {
+ primitiveOverestimationSize = primitiveOverestimationSize_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setMaxExtraPrimitiveOverestimationSize( float maxExtraPrimitiveOverestimationSize_ )
+ {
+ maxExtraPrimitiveOverestimationSize = maxExtraPrimitiveOverestimationSize_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setExtraPrimitiveOverestimationSizeGranularity( float extraPrimitiveOverestimationSizeGranularity_ )
+ {
+ extraPrimitiveOverestimationSizeGranularity = extraPrimitiveOverestimationSizeGranularity_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setPrimitiveUnderestimation( Bool32 primitiveUnderestimation_ )
+ {
+ primitiveUnderestimation = primitiveUnderestimation_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setConservativePointAndLineRasterization( Bool32 conservativePointAndLineRasterization_ )
+ {
+ conservativePointAndLineRasterization = conservativePointAndLineRasterization_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setDegenerateTrianglesRasterized( Bool32 degenerateTrianglesRasterized_ )
+ {
+ degenerateTrianglesRasterized = degenerateTrianglesRasterized_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setDegenerateLinesRasterized( Bool32 degenerateLinesRasterized_ )
+ {
+ degenerateLinesRasterized = degenerateLinesRasterized_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setFullyCoveredFragmentShaderInputVariable( Bool32 fullyCoveredFragmentShaderInputVariable_ )
+ {
+ fullyCoveredFragmentShaderInputVariable = fullyCoveredFragmentShaderInputVariable_;
+ return *this;
+ }
+
+ PhysicalDeviceConservativeRasterizationPropertiesEXT& setConservativeRasterizationPostDepthCoverage( Bool32 conservativeRasterizationPostDepthCoverage_ )
+ {
+ conservativeRasterizationPostDepthCoverage = conservativeRasterizationPostDepthCoverage_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceConservativeRasterizationPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceConservativeRasterizationPropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceConservativeRasterizationPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( primitiveOverestimationSize == rhs.primitiveOverestimationSize )
+ && ( maxExtraPrimitiveOverestimationSize == rhs.maxExtraPrimitiveOverestimationSize )
+ && ( extraPrimitiveOverestimationSizeGranularity == rhs.extraPrimitiveOverestimationSizeGranularity )
+ && ( primitiveUnderestimation == rhs.primitiveUnderestimation )
+ && ( conservativePointAndLineRasterization == rhs.conservativePointAndLineRasterization )
+ && ( degenerateTrianglesRasterized == rhs.degenerateTrianglesRasterized )
+ && ( degenerateLinesRasterized == rhs.degenerateLinesRasterized )
+ && ( fullyCoveredFragmentShaderInputVariable == rhs.fullyCoveredFragmentShaderInputVariable )
+ && ( conservativeRasterizationPostDepthCoverage == rhs.conservativeRasterizationPostDepthCoverage );
+ }
+
+ bool operator!=( PhysicalDeviceConservativeRasterizationPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ float primitiveOverestimationSize;
+ float maxExtraPrimitiveOverestimationSize;
+ float extraPrimitiveOverestimationSizeGranularity;
+ Bool32 primitiveUnderestimation;
+ Bool32 conservativePointAndLineRasterization;
+ Bool32 degenerateTrianglesRasterized;
+ Bool32 degenerateLinesRasterized;
+ Bool32 fullyCoveredFragmentShaderInputVariable;
+ Bool32 conservativeRasterizationPostDepthCoverage;
+ };
+ static_assert( sizeof( PhysicalDeviceConservativeRasterizationPropertiesEXT ) == sizeof( VkPhysicalDeviceConservativeRasterizationPropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceShaderCorePropertiesAMD
+ {
+ operator const VkPhysicalDeviceShaderCorePropertiesAMD&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceShaderCorePropertiesAMD*>(this);
+ }
+
+ bool operator==( PhysicalDeviceShaderCorePropertiesAMD const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( shaderEngineCount == rhs.shaderEngineCount )
+ && ( shaderArraysPerEngineCount == rhs.shaderArraysPerEngineCount )
+ && ( computeUnitsPerShaderArray == rhs.computeUnitsPerShaderArray )
+ && ( simdPerComputeUnit == rhs.simdPerComputeUnit )
+ && ( wavefrontsPerSimd == rhs.wavefrontsPerSimd )
+ && ( wavefrontSize == rhs.wavefrontSize )
+ && ( sgprsPerSimd == rhs.sgprsPerSimd )
+ && ( minSgprAllocation == rhs.minSgprAllocation )
+ && ( maxSgprAllocation == rhs.maxSgprAllocation )
+ && ( sgprAllocationGranularity == rhs.sgprAllocationGranularity )
+ && ( vgprsPerSimd == rhs.vgprsPerSimd )
+ && ( minVgprAllocation == rhs.minVgprAllocation )
+ && ( maxVgprAllocation == rhs.maxVgprAllocation )
+ && ( vgprAllocationGranularity == rhs.vgprAllocationGranularity );
+ }
+
+ bool operator!=( PhysicalDeviceShaderCorePropertiesAMD const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceShaderCorePropertiesAMD;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t shaderEngineCount;
+ uint32_t shaderArraysPerEngineCount;
+ uint32_t computeUnitsPerShaderArray;
+ uint32_t simdPerComputeUnit;
+ uint32_t wavefrontsPerSimd;
+ uint32_t wavefrontSize;
+ uint32_t sgprsPerSimd;
+ uint32_t minSgprAllocation;
+ uint32_t maxSgprAllocation;
+ uint32_t sgprAllocationGranularity;
+ uint32_t vgprsPerSimd;
+ uint32_t minVgprAllocation;
+ uint32_t maxVgprAllocation;
+ uint32_t vgprAllocationGranularity;
+ };
+ static_assert( sizeof( PhysicalDeviceShaderCorePropertiesAMD ) == sizeof( VkPhysicalDeviceShaderCorePropertiesAMD ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceDescriptorIndexingFeaturesEXT
+ {
+ PhysicalDeviceDescriptorIndexingFeaturesEXT( Bool32 shaderInputAttachmentArrayDynamicIndexing_ = 0, Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ = 0, Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ = 0, Bool32 shaderUniformBufferArrayNonUniformIndexing_ = 0, Bool32 shaderSampledImageArrayNonUniformIndexing_ = 0, Bool32 shaderStorageBufferArrayNonUniformIndexing_ = 0, Bool32 shaderStorageImageArrayNonUniformIndexing_ = 0, Bool32 shaderInputAttachmentArrayNonUniformIndexing_ = 0, Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ = 0, Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ = 0, Bool32 descriptorBindingUniformBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingSampledImageUpdateAfterBind_ = 0, Bool32 descriptorBindingStorageImageUpdateAfterBind_ = 0, Bool32 descriptorBindingStorageBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ = 0, Bool32 descriptorBindingUpdateUnusedWhilePending_ = 0, Bool32 descriptorBindingPartiallyBound_ = 0, Bool32 descriptorBindingVariableDescriptorCount_ = 0, Bool32 runtimeDescriptorArray_ = 0 )
+ : shaderInputAttachmentArrayDynamicIndexing( shaderInputAttachmentArrayDynamicIndexing_ )
+ , shaderUniformTexelBufferArrayDynamicIndexing( shaderUniformTexelBufferArrayDynamicIndexing_ )
+ , shaderStorageTexelBufferArrayDynamicIndexing( shaderStorageTexelBufferArrayDynamicIndexing_ )
+ , shaderUniformBufferArrayNonUniformIndexing( shaderUniformBufferArrayNonUniformIndexing_ )
+ , shaderSampledImageArrayNonUniformIndexing( shaderSampledImageArrayNonUniformIndexing_ )
+ , shaderStorageBufferArrayNonUniformIndexing( shaderStorageBufferArrayNonUniformIndexing_ )
+ , shaderStorageImageArrayNonUniformIndexing( shaderStorageImageArrayNonUniformIndexing_ )
+ , shaderInputAttachmentArrayNonUniformIndexing( shaderInputAttachmentArrayNonUniformIndexing_ )
+ , shaderUniformTexelBufferArrayNonUniformIndexing( shaderUniformTexelBufferArrayNonUniformIndexing_ )
+ , shaderStorageTexelBufferArrayNonUniformIndexing( shaderStorageTexelBufferArrayNonUniformIndexing_ )
+ , descriptorBindingUniformBufferUpdateAfterBind( descriptorBindingUniformBufferUpdateAfterBind_ )
+ , descriptorBindingSampledImageUpdateAfterBind( descriptorBindingSampledImageUpdateAfterBind_ )
+ , descriptorBindingStorageImageUpdateAfterBind( descriptorBindingStorageImageUpdateAfterBind_ )
+ , descriptorBindingStorageBufferUpdateAfterBind( descriptorBindingStorageBufferUpdateAfterBind_ )
+ , descriptorBindingUniformTexelBufferUpdateAfterBind( descriptorBindingUniformTexelBufferUpdateAfterBind_ )
+ , descriptorBindingStorageTexelBufferUpdateAfterBind( descriptorBindingStorageTexelBufferUpdateAfterBind_ )
+ , descriptorBindingUpdateUnusedWhilePending( descriptorBindingUpdateUnusedWhilePending_ )
+ , descriptorBindingPartiallyBound( descriptorBindingPartiallyBound_ )
+ , descriptorBindingVariableDescriptorCount( descriptorBindingVariableDescriptorCount_ )
+ , runtimeDescriptorArray( runtimeDescriptorArray_ )
+ {
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT( VkPhysicalDeviceDescriptorIndexingFeaturesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceDescriptorIndexingFeaturesEXT ) );
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& operator=( VkPhysicalDeviceDescriptorIndexingFeaturesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceDescriptorIndexingFeaturesEXT ) );
+ return *this;
+ }
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderInputAttachmentArrayDynamicIndexing( Bool32 shaderInputAttachmentArrayDynamicIndexing_ )
+ {
+ shaderInputAttachmentArrayDynamicIndexing = shaderInputAttachmentArrayDynamicIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderUniformTexelBufferArrayDynamicIndexing( Bool32 shaderUniformTexelBufferArrayDynamicIndexing_ )
+ {
+ shaderUniformTexelBufferArrayDynamicIndexing = shaderUniformTexelBufferArrayDynamicIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageTexelBufferArrayDynamicIndexing( Bool32 shaderStorageTexelBufferArrayDynamicIndexing_ )
+ {
+ shaderStorageTexelBufferArrayDynamicIndexing = shaderStorageTexelBufferArrayDynamicIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderUniformBufferArrayNonUniformIndexing( Bool32 shaderUniformBufferArrayNonUniformIndexing_ )
+ {
+ shaderUniformBufferArrayNonUniformIndexing = shaderUniformBufferArrayNonUniformIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderSampledImageArrayNonUniformIndexing( Bool32 shaderSampledImageArrayNonUniformIndexing_ )
+ {
+ shaderSampledImageArrayNonUniformIndexing = shaderSampledImageArrayNonUniformIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageBufferArrayNonUniformIndexing( Bool32 shaderStorageBufferArrayNonUniformIndexing_ )
+ {
+ shaderStorageBufferArrayNonUniformIndexing = shaderStorageBufferArrayNonUniformIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageImageArrayNonUniformIndexing( Bool32 shaderStorageImageArrayNonUniformIndexing_ )
+ {
+ shaderStorageImageArrayNonUniformIndexing = shaderStorageImageArrayNonUniformIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderInputAttachmentArrayNonUniformIndexing( Bool32 shaderInputAttachmentArrayNonUniformIndexing_ )
+ {
+ shaderInputAttachmentArrayNonUniformIndexing = shaderInputAttachmentArrayNonUniformIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderUniformTexelBufferArrayNonUniformIndexing( Bool32 shaderUniformTexelBufferArrayNonUniformIndexing_ )
+ {
+ shaderUniformTexelBufferArrayNonUniformIndexing = shaderUniformTexelBufferArrayNonUniformIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setShaderStorageTexelBufferArrayNonUniformIndexing( Bool32 shaderStorageTexelBufferArrayNonUniformIndexing_ )
+ {
+ shaderStorageTexelBufferArrayNonUniformIndexing = shaderStorageTexelBufferArrayNonUniformIndexing_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingUniformBufferUpdateAfterBind( Bool32 descriptorBindingUniformBufferUpdateAfterBind_ )
+ {
+ descriptorBindingUniformBufferUpdateAfterBind = descriptorBindingUniformBufferUpdateAfterBind_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingSampledImageUpdateAfterBind( Bool32 descriptorBindingSampledImageUpdateAfterBind_ )
+ {
+ descriptorBindingSampledImageUpdateAfterBind = descriptorBindingSampledImageUpdateAfterBind_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingStorageImageUpdateAfterBind( Bool32 descriptorBindingStorageImageUpdateAfterBind_ )
+ {
+ descriptorBindingStorageImageUpdateAfterBind = descriptorBindingStorageImageUpdateAfterBind_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingStorageBufferUpdateAfterBind( Bool32 descriptorBindingStorageBufferUpdateAfterBind_ )
+ {
+ descriptorBindingStorageBufferUpdateAfterBind = descriptorBindingStorageBufferUpdateAfterBind_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingUniformTexelBufferUpdateAfterBind( Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind_ )
+ {
+ descriptorBindingUniformTexelBufferUpdateAfterBind = descriptorBindingUniformTexelBufferUpdateAfterBind_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingStorageTexelBufferUpdateAfterBind( Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind_ )
+ {
+ descriptorBindingStorageTexelBufferUpdateAfterBind = descriptorBindingStorageTexelBufferUpdateAfterBind_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingUpdateUnusedWhilePending( Bool32 descriptorBindingUpdateUnusedWhilePending_ )
+ {
+ descriptorBindingUpdateUnusedWhilePending = descriptorBindingUpdateUnusedWhilePending_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingPartiallyBound( Bool32 descriptorBindingPartiallyBound_ )
+ {
+ descriptorBindingPartiallyBound = descriptorBindingPartiallyBound_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setDescriptorBindingVariableDescriptorCount( Bool32 descriptorBindingVariableDescriptorCount_ )
+ {
+ descriptorBindingVariableDescriptorCount = descriptorBindingVariableDescriptorCount_;
+ return *this;
+ }
+
+ PhysicalDeviceDescriptorIndexingFeaturesEXT& setRuntimeDescriptorArray( Bool32 runtimeDescriptorArray_ )
+ {
+ runtimeDescriptorArray = runtimeDescriptorArray_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceDescriptorIndexingFeaturesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceDescriptorIndexingFeaturesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceDescriptorIndexingFeaturesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( shaderInputAttachmentArrayDynamicIndexing == rhs.shaderInputAttachmentArrayDynamicIndexing )
+ && ( shaderUniformTexelBufferArrayDynamicIndexing == rhs.shaderUniformTexelBufferArrayDynamicIndexing )
+ && ( shaderStorageTexelBufferArrayDynamicIndexing == rhs.shaderStorageTexelBufferArrayDynamicIndexing )
+ && ( shaderUniformBufferArrayNonUniformIndexing == rhs.shaderUniformBufferArrayNonUniformIndexing )
+ && ( shaderSampledImageArrayNonUniformIndexing == rhs.shaderSampledImageArrayNonUniformIndexing )
+ && ( shaderStorageBufferArrayNonUniformIndexing == rhs.shaderStorageBufferArrayNonUniformIndexing )
+ && ( shaderStorageImageArrayNonUniformIndexing == rhs.shaderStorageImageArrayNonUniformIndexing )
+ && ( shaderInputAttachmentArrayNonUniformIndexing == rhs.shaderInputAttachmentArrayNonUniformIndexing )
+ && ( shaderUniformTexelBufferArrayNonUniformIndexing == rhs.shaderUniformTexelBufferArrayNonUniformIndexing )
+ && ( shaderStorageTexelBufferArrayNonUniformIndexing == rhs.shaderStorageTexelBufferArrayNonUniformIndexing )
+ && ( descriptorBindingUniformBufferUpdateAfterBind == rhs.descriptorBindingUniformBufferUpdateAfterBind )
+ && ( descriptorBindingSampledImageUpdateAfterBind == rhs.descriptorBindingSampledImageUpdateAfterBind )
+ && ( descriptorBindingStorageImageUpdateAfterBind == rhs.descriptorBindingStorageImageUpdateAfterBind )
+ && ( descriptorBindingStorageBufferUpdateAfterBind == rhs.descriptorBindingStorageBufferUpdateAfterBind )
+ && ( descriptorBindingUniformTexelBufferUpdateAfterBind == rhs.descriptorBindingUniformTexelBufferUpdateAfterBind )
+ && ( descriptorBindingStorageTexelBufferUpdateAfterBind == rhs.descriptorBindingStorageTexelBufferUpdateAfterBind )
+ && ( descriptorBindingUpdateUnusedWhilePending == rhs.descriptorBindingUpdateUnusedWhilePending )
+ && ( descriptorBindingPartiallyBound == rhs.descriptorBindingPartiallyBound )
+ && ( descriptorBindingVariableDescriptorCount == rhs.descriptorBindingVariableDescriptorCount )
+ && ( runtimeDescriptorArray == rhs.runtimeDescriptorArray );
+ }
+
+ bool operator!=( PhysicalDeviceDescriptorIndexingFeaturesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingFeaturesEXT;
+
+ public:
+ void* pNext = nullptr;
+ Bool32 shaderInputAttachmentArrayDynamicIndexing;
+ Bool32 shaderUniformTexelBufferArrayDynamicIndexing;
+ Bool32 shaderStorageTexelBufferArrayDynamicIndexing;
+ Bool32 shaderUniformBufferArrayNonUniformIndexing;
+ Bool32 shaderSampledImageArrayNonUniformIndexing;
+ Bool32 shaderStorageBufferArrayNonUniformIndexing;
+ Bool32 shaderStorageImageArrayNonUniformIndexing;
+ Bool32 shaderInputAttachmentArrayNonUniformIndexing;
+ Bool32 shaderUniformTexelBufferArrayNonUniformIndexing;
+ Bool32 shaderStorageTexelBufferArrayNonUniformIndexing;
+ Bool32 descriptorBindingUniformBufferUpdateAfterBind;
+ Bool32 descriptorBindingSampledImageUpdateAfterBind;
+ Bool32 descriptorBindingStorageImageUpdateAfterBind;
+ Bool32 descriptorBindingStorageBufferUpdateAfterBind;
+ Bool32 descriptorBindingUniformTexelBufferUpdateAfterBind;
+ Bool32 descriptorBindingStorageTexelBufferUpdateAfterBind;
+ Bool32 descriptorBindingUpdateUnusedWhilePending;
+ Bool32 descriptorBindingPartiallyBound;
+ Bool32 descriptorBindingVariableDescriptorCount;
+ Bool32 runtimeDescriptorArray;
+ };
+ static_assert( sizeof( PhysicalDeviceDescriptorIndexingFeaturesEXT ) == sizeof( VkPhysicalDeviceDescriptorIndexingFeaturesEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceDescriptorIndexingPropertiesEXT
+ {
+ operator const VkPhysicalDeviceDescriptorIndexingPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceDescriptorIndexingPropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceDescriptorIndexingPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxUpdateAfterBindDescriptorsInAllPools == rhs.maxUpdateAfterBindDescriptorsInAllPools )
+ && ( shaderUniformBufferArrayNonUniformIndexingNative == rhs.shaderUniformBufferArrayNonUniformIndexingNative )
+ && ( shaderSampledImageArrayNonUniformIndexingNative == rhs.shaderSampledImageArrayNonUniformIndexingNative )
+ && ( shaderStorageBufferArrayNonUniformIndexingNative == rhs.shaderStorageBufferArrayNonUniformIndexingNative )
+ && ( shaderStorageImageArrayNonUniformIndexingNative == rhs.shaderStorageImageArrayNonUniformIndexingNative )
+ && ( shaderInputAttachmentArrayNonUniformIndexingNative == rhs.shaderInputAttachmentArrayNonUniformIndexingNative )
+ && ( robustBufferAccessUpdateAfterBind == rhs.robustBufferAccessUpdateAfterBind )
+ && ( quadDivergentImplicitLod == rhs.quadDivergentImplicitLod )
+ && ( maxPerStageDescriptorUpdateAfterBindSamplers == rhs.maxPerStageDescriptorUpdateAfterBindSamplers )
+ && ( maxPerStageDescriptorUpdateAfterBindUniformBuffers == rhs.maxPerStageDescriptorUpdateAfterBindUniformBuffers )
+ && ( maxPerStageDescriptorUpdateAfterBindStorageBuffers == rhs.maxPerStageDescriptorUpdateAfterBindStorageBuffers )
+ && ( maxPerStageDescriptorUpdateAfterBindSampledImages == rhs.maxPerStageDescriptorUpdateAfterBindSampledImages )
+ && ( maxPerStageDescriptorUpdateAfterBindStorageImages == rhs.maxPerStageDescriptorUpdateAfterBindStorageImages )
+ && ( maxPerStageDescriptorUpdateAfterBindInputAttachments == rhs.maxPerStageDescriptorUpdateAfterBindInputAttachments )
+ && ( maxPerStageUpdateAfterBindResources == rhs.maxPerStageUpdateAfterBindResources )
+ && ( maxDescriptorSetUpdateAfterBindSamplers == rhs.maxDescriptorSetUpdateAfterBindSamplers )
+ && ( maxDescriptorSetUpdateAfterBindUniformBuffers == rhs.maxDescriptorSetUpdateAfterBindUniformBuffers )
+ && ( maxDescriptorSetUpdateAfterBindUniformBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindUniformBuffersDynamic )
+ && ( maxDescriptorSetUpdateAfterBindStorageBuffers == rhs.maxDescriptorSetUpdateAfterBindStorageBuffers )
+ && ( maxDescriptorSetUpdateAfterBindStorageBuffersDynamic == rhs.maxDescriptorSetUpdateAfterBindStorageBuffersDynamic )
+ && ( maxDescriptorSetUpdateAfterBindSampledImages == rhs.maxDescriptorSetUpdateAfterBindSampledImages )
+ && ( maxDescriptorSetUpdateAfterBindStorageImages == rhs.maxDescriptorSetUpdateAfterBindStorageImages )
+ && ( maxDescriptorSetUpdateAfterBindInputAttachments == rhs.maxDescriptorSetUpdateAfterBindInputAttachments );
+ }
+
+ bool operator!=( PhysicalDeviceDescriptorIndexingPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceDescriptorIndexingPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t maxUpdateAfterBindDescriptorsInAllPools;
+ Bool32 shaderUniformBufferArrayNonUniformIndexingNative;
+ Bool32 shaderSampledImageArrayNonUniformIndexingNative;
+ Bool32 shaderStorageBufferArrayNonUniformIndexingNative;
+ Bool32 shaderStorageImageArrayNonUniformIndexingNative;
+ Bool32 shaderInputAttachmentArrayNonUniformIndexingNative;
+ Bool32 robustBufferAccessUpdateAfterBind;
+ Bool32 quadDivergentImplicitLod;
+ uint32_t maxPerStageDescriptorUpdateAfterBindSamplers;
+ uint32_t maxPerStageDescriptorUpdateAfterBindUniformBuffers;
+ uint32_t maxPerStageDescriptorUpdateAfterBindStorageBuffers;
+ uint32_t maxPerStageDescriptorUpdateAfterBindSampledImages;
+ uint32_t maxPerStageDescriptorUpdateAfterBindStorageImages;
+ uint32_t maxPerStageDescriptorUpdateAfterBindInputAttachments;
+ uint32_t maxPerStageUpdateAfterBindResources;
+ uint32_t maxDescriptorSetUpdateAfterBindSamplers;
+ uint32_t maxDescriptorSetUpdateAfterBindUniformBuffers;
+ uint32_t maxDescriptorSetUpdateAfterBindUniformBuffersDynamic;
+ uint32_t maxDescriptorSetUpdateAfterBindStorageBuffers;
+ uint32_t maxDescriptorSetUpdateAfterBindStorageBuffersDynamic;
+ uint32_t maxDescriptorSetUpdateAfterBindSampledImages;
+ uint32_t maxDescriptorSetUpdateAfterBindStorageImages;
+ uint32_t maxDescriptorSetUpdateAfterBindInputAttachments;
+ };
+ static_assert( sizeof( PhysicalDeviceDescriptorIndexingPropertiesEXT ) == sizeof( VkPhysicalDeviceDescriptorIndexingPropertiesEXT ), "struct and wrapper have different size!" );
+
+ struct DescriptorSetVariableDescriptorCountAllocateInfoEXT
+ {
+ DescriptorSetVariableDescriptorCountAllocateInfoEXT( uint32_t descriptorSetCount_ = 0, const uint32_t* pDescriptorCounts_ = nullptr )
+ : descriptorSetCount( descriptorSetCount_ )
+ , pDescriptorCounts( pDescriptorCounts_ )
+ {
+ }
+
+ DescriptorSetVariableDescriptorCountAllocateInfoEXT( VkDescriptorSetVariableDescriptorCountAllocateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetVariableDescriptorCountAllocateInfoEXT ) );
+ }
+
+ DescriptorSetVariableDescriptorCountAllocateInfoEXT& operator=( VkDescriptorSetVariableDescriptorCountAllocateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetVariableDescriptorCountAllocateInfoEXT ) );
+ return *this;
+ }
+ DescriptorSetVariableDescriptorCountAllocateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DescriptorSetVariableDescriptorCountAllocateInfoEXT& setDescriptorSetCount( uint32_t descriptorSetCount_ )
+ {
+ descriptorSetCount = descriptorSetCount_;
+ return *this;
+ }
+
+ DescriptorSetVariableDescriptorCountAllocateInfoEXT& setPDescriptorCounts( const uint32_t* pDescriptorCounts_ )
+ {
+ pDescriptorCounts = pDescriptorCounts_;
+ return *this;
+ }
+
+ operator const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDescriptorSetVariableDescriptorCountAllocateInfoEXT*>(this);
+ }
+
+ bool operator==( DescriptorSetVariableDescriptorCountAllocateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( descriptorSetCount == rhs.descriptorSetCount )
+ && ( pDescriptorCounts == rhs.pDescriptorCounts );
+ }
+
+ bool operator!=( DescriptorSetVariableDescriptorCountAllocateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountAllocateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t descriptorSetCount;
+ const uint32_t* pDescriptorCounts;
+ };
+ static_assert( sizeof( DescriptorSetVariableDescriptorCountAllocateInfoEXT ) == sizeof( VkDescriptorSetVariableDescriptorCountAllocateInfoEXT ), "struct and wrapper have different size!" );
+
+ struct DescriptorSetVariableDescriptorCountLayoutSupportEXT
+ {
+ operator const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT&() const
+ {
+ return *reinterpret_cast<const VkDescriptorSetVariableDescriptorCountLayoutSupportEXT*>(this);
+ }
+
+ bool operator==( DescriptorSetVariableDescriptorCountLayoutSupportEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxVariableDescriptorCount == rhs.maxVariableDescriptorCount );
+ }
+
+ bool operator!=( DescriptorSetVariableDescriptorCountLayoutSupportEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorSetVariableDescriptorCountLayoutSupportEXT;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t maxVariableDescriptorCount;
+ };
+ static_assert( sizeof( DescriptorSetVariableDescriptorCountLayoutSupportEXT ) == sizeof( VkDescriptorSetVariableDescriptorCountLayoutSupportEXT ), "struct and wrapper have different size!" );
+
+ struct PipelineVertexInputDivisorStateCreateInfoEXT
+ {
+ PipelineVertexInputDivisorStateCreateInfoEXT( uint32_t vertexBindingDivisorCount_ = 0, const VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors_ = nullptr )
+ : vertexBindingDivisorCount( vertexBindingDivisorCount_ )
+ , pVertexBindingDivisors( pVertexBindingDivisors_ )
+ {
+ }
+
+ PipelineVertexInputDivisorStateCreateInfoEXT( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) );
+ }
+
+ PipelineVertexInputDivisorStateCreateInfoEXT& operator=( VkPipelineVertexInputDivisorStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) );
+ return *this;
+ }
+ PipelineVertexInputDivisorStateCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineVertexInputDivisorStateCreateInfoEXT& setVertexBindingDivisorCount( uint32_t vertexBindingDivisorCount_ )
+ {
+ vertexBindingDivisorCount = vertexBindingDivisorCount_;
+ return *this;
+ }
+
+ PipelineVertexInputDivisorStateCreateInfoEXT& setPVertexBindingDivisors( const VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors_ )
+ {
+ pVertexBindingDivisors = pVertexBindingDivisors_;
+ return *this;
+ }
+
+ operator const VkPipelineVertexInputDivisorStateCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkPipelineVertexInputDivisorStateCreateInfoEXT*>(this);
+ }
+
+ bool operator==( PipelineVertexInputDivisorStateCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( vertexBindingDivisorCount == rhs.vertexBindingDivisorCount )
+ && ( pVertexBindingDivisors == rhs.pVertexBindingDivisors );
+ }
+
+ bool operator!=( PipelineVertexInputDivisorStateCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t vertexBindingDivisorCount;
+ const VertexInputBindingDivisorDescriptionEXT* pVertexBindingDivisors;
+ };
+ static_assert( sizeof( PipelineVertexInputDivisorStateCreateInfoEXT ) == sizeof( VkPipelineVertexInputDivisorStateCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceVertexAttributeDivisorPropertiesEXT
+ {
+ PhysicalDeviceVertexAttributeDivisorPropertiesEXT( uint32_t maxVertexAttribDivisor_ = 0 )
+ : maxVertexAttribDivisor( maxVertexAttribDivisor_ )
+ {
+ }
+
+ PhysicalDeviceVertexAttributeDivisorPropertiesEXT( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) );
+ }
+
+ PhysicalDeviceVertexAttributeDivisorPropertiesEXT& operator=( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) );
+ return *this;
+ }
+ PhysicalDeviceVertexAttributeDivisorPropertiesEXT& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceVertexAttributeDivisorPropertiesEXT& setMaxVertexAttribDivisor( uint32_t maxVertexAttribDivisor_ )
+ {
+ maxVertexAttribDivisor = maxVertexAttribDivisor_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( maxVertexAttribDivisor == rhs.maxVertexAttribDivisor );
+ }
+
+ bool operator!=( PhysicalDeviceVertexAttributeDivisorPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t maxVertexAttribDivisor;
+ };
+ static_assert( sizeof( PhysicalDeviceVertexAttributeDivisorPropertiesEXT ) == sizeof( VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT ), "struct and wrapper have different size!" );
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ struct ImportAndroidHardwareBufferInfoANDROID
+ {
+ ImportAndroidHardwareBufferInfoANDROID( struct AHardwareBuffer* buffer_ = nullptr )
+ : buffer( buffer_ )
+ {
+ }
+
+ ImportAndroidHardwareBufferInfoANDROID( VkImportAndroidHardwareBufferInfoANDROID const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportAndroidHardwareBufferInfoANDROID ) );
+ }
+
+ ImportAndroidHardwareBufferInfoANDROID& operator=( VkImportAndroidHardwareBufferInfoANDROID const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportAndroidHardwareBufferInfoANDROID ) );
+ return *this;
+ }
+ ImportAndroidHardwareBufferInfoANDROID& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportAndroidHardwareBufferInfoANDROID& setBuffer( struct AHardwareBuffer* buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ operator const VkImportAndroidHardwareBufferInfoANDROID&() const
+ {
+ return *reinterpret_cast<const VkImportAndroidHardwareBufferInfoANDROID*>(this);
+ }
+
+ bool operator==( ImportAndroidHardwareBufferInfoANDROID const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( buffer == rhs.buffer );
+ }
+
+ bool operator!=( ImportAndroidHardwareBufferInfoANDROID const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportAndroidHardwareBufferInfoANDROID;
+
+ public:
+ const void* pNext = nullptr;
+ struct AHardwareBuffer* buffer;
+ };
+ static_assert( sizeof( ImportAndroidHardwareBufferInfoANDROID ) == sizeof( VkImportAndroidHardwareBufferInfoANDROID ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ struct AndroidHardwareBufferUsageANDROID
+ {
+ operator const VkAndroidHardwareBufferUsageANDROID&() const
+ {
+ return *reinterpret_cast<const VkAndroidHardwareBufferUsageANDROID*>(this);
+ }
+
+ bool operator==( AndroidHardwareBufferUsageANDROID const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( androidHardwareBufferUsage == rhs.androidHardwareBufferUsage );
+ }
+
+ bool operator!=( AndroidHardwareBufferUsageANDROID const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eAndroidHardwareBufferUsageANDROID;
+
+ public:
+ void* pNext = nullptr;
+ uint64_t androidHardwareBufferUsage;
+ };
+ static_assert( sizeof( AndroidHardwareBufferUsageANDROID ) == sizeof( VkAndroidHardwareBufferUsageANDROID ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ struct AndroidHardwareBufferPropertiesANDROID
+ {
+ operator const VkAndroidHardwareBufferPropertiesANDROID&() const
+ {
+ return *reinterpret_cast<const VkAndroidHardwareBufferPropertiesANDROID*>(this);
+ }
+
+ bool operator==( AndroidHardwareBufferPropertiesANDROID const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( allocationSize == rhs.allocationSize )
+ && ( memoryTypeBits == rhs.memoryTypeBits );
+ }
+
+ bool operator!=( AndroidHardwareBufferPropertiesANDROID const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eAndroidHardwareBufferPropertiesANDROID;
+
+ public:
+ void* pNext = nullptr;
+ DeviceSize allocationSize;
+ uint32_t memoryTypeBits;
+ };
+ static_assert( sizeof( AndroidHardwareBufferPropertiesANDROID ) == sizeof( VkAndroidHardwareBufferPropertiesANDROID ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ struct MemoryGetAndroidHardwareBufferInfoANDROID
+ {
+ MemoryGetAndroidHardwareBufferInfoANDROID( DeviceMemory memory_ = DeviceMemory() )
+ : memory( memory_ )
+ {
+ }
+
+ MemoryGetAndroidHardwareBufferInfoANDROID( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) );
+ }
+
+ MemoryGetAndroidHardwareBufferInfoANDROID& operator=( VkMemoryGetAndroidHardwareBufferInfoANDROID const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) );
+ return *this;
+ }
+ MemoryGetAndroidHardwareBufferInfoANDROID& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryGetAndroidHardwareBufferInfoANDROID& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ operator const VkMemoryGetAndroidHardwareBufferInfoANDROID&() const
+ {
+ return *reinterpret_cast<const VkMemoryGetAndroidHardwareBufferInfoANDROID*>(this);
+ }
+
+ bool operator==( MemoryGetAndroidHardwareBufferInfoANDROID const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memory == rhs.memory );
+ }
+
+ bool operator!=( MemoryGetAndroidHardwareBufferInfoANDROID const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceMemory memory;
+ };
+ static_assert( sizeof( MemoryGetAndroidHardwareBufferInfoANDROID ) == sizeof( VkMemoryGetAndroidHardwareBufferInfoANDROID ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ struct ExternalFormatANDROID
+ {
+ ExternalFormatANDROID( uint64_t externalFormat_ = 0 )
+ : externalFormat( externalFormat_ )
+ {
+ }
+
+ ExternalFormatANDROID( VkExternalFormatANDROID const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalFormatANDROID ) );
+ }
+
+ ExternalFormatANDROID& operator=( VkExternalFormatANDROID const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalFormatANDROID ) );
+ return *this;
+ }
+ ExternalFormatANDROID& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExternalFormatANDROID& setExternalFormat( uint64_t externalFormat_ )
+ {
+ externalFormat = externalFormat_;
+ return *this;
+ }
+
+ operator const VkExternalFormatANDROID&() const
+ {
+ return *reinterpret_cast<const VkExternalFormatANDROID*>(this);
+ }
+
+ bool operator==( ExternalFormatANDROID const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( externalFormat == rhs.externalFormat );
+ }
+
+ bool operator!=( ExternalFormatANDROID const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalFormatANDROID;
+
+ public:
+ void* pNext = nullptr;
+ uint64_t externalFormat;
+ };
+ static_assert( sizeof( ExternalFormatANDROID ) == sizeof( VkExternalFormatANDROID ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+ enum class SubpassContents
+ {
+ eInline = VK_SUBPASS_CONTENTS_INLINE,
+ eSecondaryCommandBuffers = VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS
+ };
+
+ struct PresentInfoKHR
+ {
+ PresentInfoKHR( uint32_t waitSemaphoreCount_ = 0, const Semaphore* pWaitSemaphores_ = nullptr, uint32_t swapchainCount_ = 0, const SwapchainKHR* pSwapchains_ = nullptr, const uint32_t* pImageIndices_ = nullptr, Result* pResults_ = nullptr )
+ : waitSemaphoreCount( waitSemaphoreCount_ )
+ , pWaitSemaphores( pWaitSemaphores_ )
+ , swapchainCount( swapchainCount_ )
+ , pSwapchains( pSwapchains_ )
+ , pImageIndices( pImageIndices_ )
+ , pResults( pResults_ )
+ {
+ }
+
+ PresentInfoKHR( VkPresentInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentInfoKHR ) );
+ }
+
+ PresentInfoKHR& operator=( VkPresentInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PresentInfoKHR ) );
+ return *this;
+ }
+ PresentInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PresentInfoKHR& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )
+ {
+ waitSemaphoreCount = waitSemaphoreCount_;
+ return *this;
+ }
+
+ PresentInfoKHR& setPWaitSemaphores( const Semaphore* pWaitSemaphores_ )
+ {
+ pWaitSemaphores = pWaitSemaphores_;
+ return *this;
+ }
+
+ PresentInfoKHR& setSwapchainCount( uint32_t swapchainCount_ )
+ {
+ swapchainCount = swapchainCount_;
+ return *this;
+ }
+
+ PresentInfoKHR& setPSwapchains( const SwapchainKHR* pSwapchains_ )
+ {
+ pSwapchains = pSwapchains_;
+ return *this;
+ }
+
+ PresentInfoKHR& setPImageIndices( const uint32_t* pImageIndices_ )
+ {
+ pImageIndices = pImageIndices_;
+ return *this;
+ }
+
+ PresentInfoKHR& setPResults( Result* pResults_ )
+ {
+ pResults = pResults_;
+ return *this;
+ }
+
+ operator const VkPresentInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkPresentInfoKHR*>(this);
+ }
+
+ bool operator==( PresentInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( waitSemaphoreCount == rhs.waitSemaphoreCount )
+ && ( pWaitSemaphores == rhs.pWaitSemaphores )
+ && ( swapchainCount == rhs.swapchainCount )
+ && ( pSwapchains == rhs.pSwapchains )
+ && ( pImageIndices == rhs.pImageIndices )
+ && ( pResults == rhs.pResults );
+ }
+
+ bool operator!=( PresentInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePresentInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t waitSemaphoreCount;
+ const Semaphore* pWaitSemaphores;
+ uint32_t swapchainCount;
+ const SwapchainKHR* pSwapchains;
+ const uint32_t* pImageIndices;
+ Result* pResults;
+ };
+ static_assert( sizeof( PresentInfoKHR ) == sizeof( VkPresentInfoKHR ), "struct and wrapper have different size!" );
+
+ enum class DynamicState
+ {
+ eViewport = VK_DYNAMIC_STATE_VIEWPORT,
+ eScissor = VK_DYNAMIC_STATE_SCISSOR,
+ eLineWidth = VK_DYNAMIC_STATE_LINE_WIDTH,
+ eDepthBias = VK_DYNAMIC_STATE_DEPTH_BIAS,
+ eBlendConstants = VK_DYNAMIC_STATE_BLEND_CONSTANTS,
+ eDepthBounds = VK_DYNAMIC_STATE_DEPTH_BOUNDS,
+ eStencilCompareMask = VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK,
+ eStencilWriteMask = VK_DYNAMIC_STATE_STENCIL_WRITE_MASK,
+ eStencilReference = VK_DYNAMIC_STATE_STENCIL_REFERENCE,
+ eViewportWScalingNV = VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV,
+ eDiscardRectangleEXT = VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT,
+ eSampleLocationsEXT = VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT
+ };
+
+ struct PipelineDynamicStateCreateInfo
+ {
+ PipelineDynamicStateCreateInfo( PipelineDynamicStateCreateFlags flags_ = PipelineDynamicStateCreateFlags(), uint32_t dynamicStateCount_ = 0, const DynamicState* pDynamicStates_ = nullptr )
+ : flags( flags_ )
+ , dynamicStateCount( dynamicStateCount_ )
+ , pDynamicStates( pDynamicStates_ )
+ {
+ }
+
+ PipelineDynamicStateCreateInfo( VkPipelineDynamicStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineDynamicStateCreateInfo ) );
+ }
+
+ PipelineDynamicStateCreateInfo& operator=( VkPipelineDynamicStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineDynamicStateCreateInfo ) );
+ return *this;
+ }
+ PipelineDynamicStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineDynamicStateCreateInfo& setFlags( PipelineDynamicStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineDynamicStateCreateInfo& setDynamicStateCount( uint32_t dynamicStateCount_ )
+ {
+ dynamicStateCount = dynamicStateCount_;
+ return *this;
+ }
+
+ PipelineDynamicStateCreateInfo& setPDynamicStates( const DynamicState* pDynamicStates_ )
+ {
+ pDynamicStates = pDynamicStates_;
+ return *this;
+ }
+
+ operator const VkPipelineDynamicStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineDynamicStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineDynamicStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( dynamicStateCount == rhs.dynamicStateCount )
+ && ( pDynamicStates == rhs.pDynamicStates );
+ }
+
+ bool operator!=( PipelineDynamicStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineDynamicStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineDynamicStateCreateFlags flags;
+ uint32_t dynamicStateCount;
+ const DynamicState* pDynamicStates;
+ };
+ static_assert( sizeof( PipelineDynamicStateCreateInfo ) == sizeof( VkPipelineDynamicStateCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class DescriptorUpdateTemplateType
+ {
+ eDescriptorSet = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET,
+ eDescriptorSetKHR = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET,
+ ePushDescriptorsKHR = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
+ };
+
+ struct DescriptorUpdateTemplateCreateInfo
+ {
+ DescriptorUpdateTemplateCreateInfo( DescriptorUpdateTemplateCreateFlags flags_ = DescriptorUpdateTemplateCreateFlags(), uint32_t descriptorUpdateEntryCount_ = 0, const DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries_ = nullptr, DescriptorUpdateTemplateType templateType_ = DescriptorUpdateTemplateType::eDescriptorSet, DescriptorSetLayout descriptorSetLayout_ = DescriptorSetLayout(), PipelineBindPoint pipelineBindPoint_ = PipelineBindPoint::eGraphics, PipelineLayout pipelineLayout_ = PipelineLayout(), uint32_t set_ = 0 )
+ : flags( flags_ )
+ , descriptorUpdateEntryCount( descriptorUpdateEntryCount_ )
+ , pDescriptorUpdateEntries( pDescriptorUpdateEntries_ )
+ , templateType( templateType_ )
+ , descriptorSetLayout( descriptorSetLayout_ )
+ , pipelineBindPoint( pipelineBindPoint_ )
+ , pipelineLayout( pipelineLayout_ )
+ , set( set_ )
+ {
+ }
+
+ DescriptorUpdateTemplateCreateInfo( VkDescriptorUpdateTemplateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateCreateInfo ) );
+ }
+
+ DescriptorUpdateTemplateCreateInfo& operator=( VkDescriptorUpdateTemplateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorUpdateTemplateCreateInfo ) );
+ return *this;
+ }
+ DescriptorUpdateTemplateCreateInfo& setPNext( void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setFlags( DescriptorUpdateTemplateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setDescriptorUpdateEntryCount( uint32_t descriptorUpdateEntryCount_ )
+ {
+ descriptorUpdateEntryCount = descriptorUpdateEntryCount_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setPDescriptorUpdateEntries( const DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries_ )
+ {
+ pDescriptorUpdateEntries = pDescriptorUpdateEntries_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setTemplateType( DescriptorUpdateTemplateType templateType_ )
+ {
+ templateType = templateType_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout_ )
+ {
+ descriptorSetLayout = descriptorSetLayout_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setPipelineBindPoint( PipelineBindPoint pipelineBindPoint_ )
+ {
+ pipelineBindPoint = pipelineBindPoint_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setPipelineLayout( PipelineLayout pipelineLayout_ )
+ {
+ pipelineLayout = pipelineLayout_;
+ return *this;
+ }
+
+ DescriptorUpdateTemplateCreateInfo& setSet( uint32_t set_ )
+ {
+ set = set_;
+ return *this;
+ }
+
+ operator const VkDescriptorUpdateTemplateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>(this);
+ }
+
+ bool operator==( DescriptorUpdateTemplateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( descriptorUpdateEntryCount == rhs.descriptorUpdateEntryCount )
+ && ( pDescriptorUpdateEntries == rhs.pDescriptorUpdateEntries )
+ && ( templateType == rhs.templateType )
+ && ( descriptorSetLayout == rhs.descriptorSetLayout )
+ && ( pipelineBindPoint == rhs.pipelineBindPoint )
+ && ( pipelineLayout == rhs.pipelineLayout )
+ && ( set == rhs.set );
+ }
+
+ bool operator!=( DescriptorUpdateTemplateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorUpdateTemplateCreateInfo;
+
+ public:
+ void* pNext = nullptr;
+ DescriptorUpdateTemplateCreateFlags flags;
+ uint32_t descriptorUpdateEntryCount;
+ const DescriptorUpdateTemplateEntry* pDescriptorUpdateEntries;
+ DescriptorUpdateTemplateType templateType;
+ DescriptorSetLayout descriptorSetLayout;
+ PipelineBindPoint pipelineBindPoint;
+ PipelineLayout pipelineLayout;
+ uint32_t set;
+ };
+ static_assert( sizeof( DescriptorUpdateTemplateCreateInfo ) == sizeof( VkDescriptorUpdateTemplateCreateInfo ), "struct and wrapper have different size!" );
+
+ using DescriptorUpdateTemplateCreateInfoKHR = DescriptorUpdateTemplateCreateInfo;
+
+ enum class ObjectType
+ {
+ eUnknown = VK_OBJECT_TYPE_UNKNOWN,
+ eInstance = VK_OBJECT_TYPE_INSTANCE,
+ ePhysicalDevice = VK_OBJECT_TYPE_PHYSICAL_DEVICE,
+ eDevice = VK_OBJECT_TYPE_DEVICE,
+ eQueue = VK_OBJECT_TYPE_QUEUE,
+ eSemaphore = VK_OBJECT_TYPE_SEMAPHORE,
+ eCommandBuffer = VK_OBJECT_TYPE_COMMAND_BUFFER,
+ eFence = VK_OBJECT_TYPE_FENCE,
+ eDeviceMemory = VK_OBJECT_TYPE_DEVICE_MEMORY,
+ eBuffer = VK_OBJECT_TYPE_BUFFER,
+ eImage = VK_OBJECT_TYPE_IMAGE,
+ eEvent = VK_OBJECT_TYPE_EVENT,
+ eQueryPool = VK_OBJECT_TYPE_QUERY_POOL,
+ eBufferView = VK_OBJECT_TYPE_BUFFER_VIEW,
+ eImageView = VK_OBJECT_TYPE_IMAGE_VIEW,
+ eShaderModule = VK_OBJECT_TYPE_SHADER_MODULE,
+ ePipelineCache = VK_OBJECT_TYPE_PIPELINE_CACHE,
+ ePipelineLayout = VK_OBJECT_TYPE_PIPELINE_LAYOUT,
+ eRenderPass = VK_OBJECT_TYPE_RENDER_PASS,
+ ePipeline = VK_OBJECT_TYPE_PIPELINE,
+ eDescriptorSetLayout = VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT,
+ eSampler = VK_OBJECT_TYPE_SAMPLER,
+ eDescriptorPool = VK_OBJECT_TYPE_DESCRIPTOR_POOL,
+ eDescriptorSet = VK_OBJECT_TYPE_DESCRIPTOR_SET,
+ eFramebuffer = VK_OBJECT_TYPE_FRAMEBUFFER,
+ eCommandPool = VK_OBJECT_TYPE_COMMAND_POOL,
+ eSamplerYcbcrConversion = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION,
+ eSamplerYcbcrConversionKHR = VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION,
+ eDescriptorUpdateTemplate = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE,
+ eDescriptorUpdateTemplateKHR = VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE,
+ eSurfaceKHR = VK_OBJECT_TYPE_SURFACE_KHR,
+ eSwapchainKHR = VK_OBJECT_TYPE_SWAPCHAIN_KHR,
+ eDisplayKHR = VK_OBJECT_TYPE_DISPLAY_KHR,
+ eDisplayModeKHR = VK_OBJECT_TYPE_DISPLAY_MODE_KHR,
+ eDebugReportCallbackEXT = VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT,
+ eObjectTableNVX = VK_OBJECT_TYPE_OBJECT_TABLE_NVX,
+ eIndirectCommandsLayoutNVX = VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX,
+ eDebugUtilsMessengerEXT = VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT,
+ eValidationCacheEXT = VK_OBJECT_TYPE_VALIDATION_CACHE_EXT
+ };
+
+ struct DebugUtilsObjectNameInfoEXT
+ {
+ DebugUtilsObjectNameInfoEXT( ObjectType objectType_ = ObjectType::eUnknown, uint64_t objectHandle_ = 0, const char* pObjectName_ = nullptr )
+ : objectType( objectType_ )
+ , objectHandle( objectHandle_ )
+ , pObjectName( pObjectName_ )
+ {
+ }
+
+ DebugUtilsObjectNameInfoEXT( VkDebugUtilsObjectNameInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsObjectNameInfoEXT ) );
+ }
+
+ DebugUtilsObjectNameInfoEXT& operator=( VkDebugUtilsObjectNameInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsObjectNameInfoEXT ) );
+ return *this;
+ }
+ DebugUtilsObjectNameInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugUtilsObjectNameInfoEXT& setObjectType( ObjectType objectType_ )
+ {
+ objectType = objectType_;
+ return *this;
+ }
+
+ DebugUtilsObjectNameInfoEXT& setObjectHandle( uint64_t objectHandle_ )
+ {
+ objectHandle = objectHandle_;
+ return *this;
+ }
+
+ DebugUtilsObjectNameInfoEXT& setPObjectName( const char* pObjectName_ )
+ {
+ pObjectName = pObjectName_;
+ return *this;
+ }
+
+ operator const VkDebugUtilsObjectNameInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugUtilsObjectNameInfoEXT*>(this);
+ }
+
+ bool operator==( DebugUtilsObjectNameInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( objectType == rhs.objectType )
+ && ( objectHandle == rhs.objectHandle )
+ && ( pObjectName == rhs.pObjectName );
+ }
+
+ bool operator!=( DebugUtilsObjectNameInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugUtilsObjectNameInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ ObjectType objectType;
+ uint64_t objectHandle;
+ const char* pObjectName;
+ };
+ static_assert( sizeof( DebugUtilsObjectNameInfoEXT ) == sizeof( VkDebugUtilsObjectNameInfoEXT ), "struct and wrapper have different size!" );
+
+ struct DebugUtilsObjectTagInfoEXT
+ {
+ DebugUtilsObjectTagInfoEXT( ObjectType objectType_ = ObjectType::eUnknown, uint64_t objectHandle_ = 0, uint64_t tagName_ = 0, size_t tagSize_ = 0, const void* pTag_ = nullptr )
+ : objectType( objectType_ )
+ , objectHandle( objectHandle_ )
+ , tagName( tagName_ )
+ , tagSize( tagSize_ )
+ , pTag( pTag_ )
+ {
+ }
+
+ DebugUtilsObjectTagInfoEXT( VkDebugUtilsObjectTagInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsObjectTagInfoEXT ) );
+ }
+
+ DebugUtilsObjectTagInfoEXT& operator=( VkDebugUtilsObjectTagInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsObjectTagInfoEXT ) );
+ return *this;
+ }
+ DebugUtilsObjectTagInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugUtilsObjectTagInfoEXT& setObjectType( ObjectType objectType_ )
+ {
+ objectType = objectType_;
+ return *this;
+ }
+
+ DebugUtilsObjectTagInfoEXT& setObjectHandle( uint64_t objectHandle_ )
+ {
+ objectHandle = objectHandle_;
+ return *this;
+ }
+
+ DebugUtilsObjectTagInfoEXT& setTagName( uint64_t tagName_ )
+ {
+ tagName = tagName_;
+ return *this;
+ }
+
+ DebugUtilsObjectTagInfoEXT& setTagSize( size_t tagSize_ )
+ {
+ tagSize = tagSize_;
+ return *this;
+ }
+
+ DebugUtilsObjectTagInfoEXT& setPTag( const void* pTag_ )
+ {
+ pTag = pTag_;
+ return *this;
+ }
+
+ operator const VkDebugUtilsObjectTagInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugUtilsObjectTagInfoEXT*>(this);
+ }
+
+ bool operator==( DebugUtilsObjectTagInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( objectType == rhs.objectType )
+ && ( objectHandle == rhs.objectHandle )
+ && ( tagName == rhs.tagName )
+ && ( tagSize == rhs.tagSize )
+ && ( pTag == rhs.pTag );
+ }
+
+ bool operator!=( DebugUtilsObjectTagInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugUtilsObjectTagInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ ObjectType objectType;
+ uint64_t objectHandle;
+ uint64_t tagName;
+ size_t tagSize;
+ const void* pTag;
+ };
+ static_assert( sizeof( DebugUtilsObjectTagInfoEXT ) == sizeof( VkDebugUtilsObjectTagInfoEXT ), "struct and wrapper have different size!" );
+
+ struct DebugUtilsMessengerCallbackDataEXT
+ {
+ DebugUtilsMessengerCallbackDataEXT( DebugUtilsMessengerCallbackDataFlagsEXT flags_ = DebugUtilsMessengerCallbackDataFlagsEXT(), const char* pMessageIdName_ = nullptr, int32_t messageIdNumber_ = 0, const char* pMessage_ = nullptr, uint32_t queueLabelCount_ = 0, DebugUtilsLabelEXT* pQueueLabels_ = nullptr, uint32_t cmdBufLabelCount_ = 0, DebugUtilsLabelEXT* pCmdBufLabels_ = nullptr, uint32_t objectCount_ = 0, DebugUtilsObjectNameInfoEXT* pObjects_ = nullptr )
+ : flags( flags_ )
+ , pMessageIdName( pMessageIdName_ )
+ , messageIdNumber( messageIdNumber_ )
+ , pMessage( pMessage_ )
+ , queueLabelCount( queueLabelCount_ )
+ , pQueueLabels( pQueueLabels_ )
+ , cmdBufLabelCount( cmdBufLabelCount_ )
+ , pCmdBufLabels( pCmdBufLabels_ )
+ , objectCount( objectCount_ )
+ , pObjects( pObjects_ )
+ {
+ }
+
+ DebugUtilsMessengerCallbackDataEXT( VkDebugUtilsMessengerCallbackDataEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsMessengerCallbackDataEXT ) );
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& operator=( VkDebugUtilsMessengerCallbackDataEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsMessengerCallbackDataEXT ) );
+ return *this;
+ }
+ DebugUtilsMessengerCallbackDataEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setFlags( DebugUtilsMessengerCallbackDataFlagsEXT flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setPMessageIdName( const char* pMessageIdName_ )
+ {
+ pMessageIdName = pMessageIdName_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setMessageIdNumber( int32_t messageIdNumber_ )
+ {
+ messageIdNumber = messageIdNumber_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setPMessage( const char* pMessage_ )
+ {
+ pMessage = pMessage_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setQueueLabelCount( uint32_t queueLabelCount_ )
+ {
+ queueLabelCount = queueLabelCount_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setPQueueLabels( DebugUtilsLabelEXT* pQueueLabels_ )
+ {
+ pQueueLabels = pQueueLabels_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setCmdBufLabelCount( uint32_t cmdBufLabelCount_ )
+ {
+ cmdBufLabelCount = cmdBufLabelCount_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setPCmdBufLabels( DebugUtilsLabelEXT* pCmdBufLabels_ )
+ {
+ pCmdBufLabels = pCmdBufLabels_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setObjectCount( uint32_t objectCount_ )
+ {
+ objectCount = objectCount_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCallbackDataEXT& setPObjects( DebugUtilsObjectNameInfoEXT* pObjects_ )
+ {
+ pObjects = pObjects_;
+ return *this;
+ }
+
+ operator const VkDebugUtilsMessengerCallbackDataEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT*>(this);
+ }
+
+ bool operator==( DebugUtilsMessengerCallbackDataEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( pMessageIdName == rhs.pMessageIdName )
+ && ( messageIdNumber == rhs.messageIdNumber )
+ && ( pMessage == rhs.pMessage )
+ && ( queueLabelCount == rhs.queueLabelCount )
+ && ( pQueueLabels == rhs.pQueueLabels )
+ && ( cmdBufLabelCount == rhs.cmdBufLabelCount )
+ && ( pCmdBufLabels == rhs.pCmdBufLabels )
+ && ( objectCount == rhs.objectCount )
+ && ( pObjects == rhs.pObjects );
+ }
+
+ bool operator!=( DebugUtilsMessengerCallbackDataEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugUtilsMessengerCallbackDataEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DebugUtilsMessengerCallbackDataFlagsEXT flags;
+ const char* pMessageIdName;
+ int32_t messageIdNumber;
+ const char* pMessage;
+ uint32_t queueLabelCount;
+ DebugUtilsLabelEXT* pQueueLabels;
+ uint32_t cmdBufLabelCount;
+ DebugUtilsLabelEXT* pCmdBufLabels;
+ uint32_t objectCount;
+ DebugUtilsObjectNameInfoEXT* pObjects;
+ };
+ static_assert( sizeof( DebugUtilsMessengerCallbackDataEXT ) == sizeof( VkDebugUtilsMessengerCallbackDataEXT ), "struct and wrapper have different size!" );
+
+ enum class QueueFlagBits
+ {
+ eGraphics = VK_QUEUE_GRAPHICS_BIT,
+ eCompute = VK_QUEUE_COMPUTE_BIT,
+ eTransfer = VK_QUEUE_TRANSFER_BIT,
+ eSparseBinding = VK_QUEUE_SPARSE_BINDING_BIT,
+ eProtected = VK_QUEUE_PROTECTED_BIT
+ };
+
+ using QueueFlags = Flags<QueueFlagBits, VkQueueFlags>;
+
+ VULKAN_HPP_INLINE QueueFlags operator|( QueueFlagBits bit0, QueueFlagBits bit1 )
+ {
+ return QueueFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE QueueFlags operator~( QueueFlagBits bits )
+ {
+ return ~( QueueFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<QueueFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(QueueFlagBits::eGraphics) | VkFlags(QueueFlagBits::eCompute) | VkFlags(QueueFlagBits::eTransfer) | VkFlags(QueueFlagBits::eSparseBinding) | VkFlags(QueueFlagBits::eProtected)
+ };
+ };
+
+ struct QueueFamilyProperties
+ {
+ operator const VkQueueFamilyProperties&() const
+ {
+ return *reinterpret_cast<const VkQueueFamilyProperties*>(this);
+ }
+
+ bool operator==( QueueFamilyProperties const& rhs ) const
+ {
+ return ( queueFlags == rhs.queueFlags )
+ && ( queueCount == rhs.queueCount )
+ && ( timestampValidBits == rhs.timestampValidBits )
+ && ( minImageTransferGranularity == rhs.minImageTransferGranularity );
+ }
+
+ bool operator!=( QueueFamilyProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ QueueFlags queueFlags;
+ uint32_t queueCount;
+ uint32_t timestampValidBits;
+ Extent3D minImageTransferGranularity;
+ };
+ static_assert( sizeof( QueueFamilyProperties ) == sizeof( VkQueueFamilyProperties ), "struct and wrapper have different size!" );
+
+ struct QueueFamilyProperties2
+ {
+ operator const VkQueueFamilyProperties2&() const
+ {
+ return *reinterpret_cast<const VkQueueFamilyProperties2*>(this);
+ }
+
+ bool operator==( QueueFamilyProperties2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( queueFamilyProperties == rhs.queueFamilyProperties );
+ }
+
+ bool operator!=( QueueFamilyProperties2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eQueueFamilyProperties2;
+
+ public:
+ void* pNext = nullptr;
+ QueueFamilyProperties queueFamilyProperties;
+ };
+ static_assert( sizeof( QueueFamilyProperties2 ) == sizeof( VkQueueFamilyProperties2 ), "struct and wrapper have different size!" );
+
+ using QueueFamilyProperties2KHR = QueueFamilyProperties2;
+
+ enum class DeviceQueueCreateFlagBits
+ {
+ eProtected = VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT
+ };
+
+ using DeviceQueueCreateFlags = Flags<DeviceQueueCreateFlagBits, VkDeviceQueueCreateFlags>;
+
+ VULKAN_HPP_INLINE DeviceQueueCreateFlags operator|( DeviceQueueCreateFlagBits bit0, DeviceQueueCreateFlagBits bit1 )
+ {
+ return DeviceQueueCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DeviceQueueCreateFlags operator~( DeviceQueueCreateFlagBits bits )
+ {
+ return ~( DeviceQueueCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<DeviceQueueCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(DeviceQueueCreateFlagBits::eProtected)
+ };
+ };
+
+ struct DeviceQueueCreateInfo
+ {
+ DeviceQueueCreateInfo( DeviceQueueCreateFlags flags_ = DeviceQueueCreateFlags(), uint32_t queueFamilyIndex_ = 0, uint32_t queueCount_ = 0, const float* pQueuePriorities_ = nullptr )
+ : flags( flags_ )
+ , queueFamilyIndex( queueFamilyIndex_ )
+ , queueCount( queueCount_ )
+ , pQueuePriorities( pQueuePriorities_ )
+ {
+ }
+
+ DeviceQueueCreateInfo( VkDeviceQueueCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceQueueCreateInfo ) );
+ }
+
+ DeviceQueueCreateInfo& operator=( VkDeviceQueueCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceQueueCreateInfo ) );
+ return *this;
+ }
+ DeviceQueueCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceQueueCreateInfo& setFlags( DeviceQueueCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DeviceQueueCreateInfo& setQueueFamilyIndex( uint32_t queueFamilyIndex_ )
+ {
+ queueFamilyIndex = queueFamilyIndex_;
+ return *this;
+ }
+
+ DeviceQueueCreateInfo& setQueueCount( uint32_t queueCount_ )
+ {
+ queueCount = queueCount_;
+ return *this;
+ }
+
+ DeviceQueueCreateInfo& setPQueuePriorities( const float* pQueuePriorities_ )
+ {
+ pQueuePriorities = pQueuePriorities_;
+ return *this;
+ }
+
+ operator const VkDeviceQueueCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkDeviceQueueCreateInfo*>(this);
+ }
+
+ bool operator==( DeviceQueueCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( queueFamilyIndex == rhs.queueFamilyIndex )
+ && ( queueCount == rhs.queueCount )
+ && ( pQueuePriorities == rhs.pQueuePriorities );
+ }
+
+ bool operator!=( DeviceQueueCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceQueueCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceQueueCreateFlags flags;
+ uint32_t queueFamilyIndex;
+ uint32_t queueCount;
+ const float* pQueuePriorities;
+ };
+ static_assert( sizeof( DeviceQueueCreateInfo ) == sizeof( VkDeviceQueueCreateInfo ), "struct and wrapper have different size!" );
+
+ struct DeviceCreateInfo
+ {
+ DeviceCreateInfo( DeviceCreateFlags flags_ = DeviceCreateFlags(), uint32_t queueCreateInfoCount_ = 0, const DeviceQueueCreateInfo* pQueueCreateInfos_ = nullptr, uint32_t enabledLayerCount_ = 0, const char* const* ppEnabledLayerNames_ = nullptr, uint32_t enabledExtensionCount_ = 0, const char* const* ppEnabledExtensionNames_ = nullptr, const PhysicalDeviceFeatures* pEnabledFeatures_ = nullptr )
+ : flags( flags_ )
+ , queueCreateInfoCount( queueCreateInfoCount_ )
+ , pQueueCreateInfos( pQueueCreateInfos_ )
+ , enabledLayerCount( enabledLayerCount_ )
+ , ppEnabledLayerNames( ppEnabledLayerNames_ )
+ , enabledExtensionCount( enabledExtensionCount_ )
+ , ppEnabledExtensionNames( ppEnabledExtensionNames_ )
+ , pEnabledFeatures( pEnabledFeatures_ )
+ {
+ }
+
+ DeviceCreateInfo( VkDeviceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceCreateInfo ) );
+ }
+
+ DeviceCreateInfo& operator=( VkDeviceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceCreateInfo ) );
+ return *this;
+ }
+ DeviceCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setFlags( DeviceCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setQueueCreateInfoCount( uint32_t queueCreateInfoCount_ )
+ {
+ queueCreateInfoCount = queueCreateInfoCount_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setPQueueCreateInfos( const DeviceQueueCreateInfo* pQueueCreateInfos_ )
+ {
+ pQueueCreateInfos = pQueueCreateInfos_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setEnabledLayerCount( uint32_t enabledLayerCount_ )
+ {
+ enabledLayerCount = enabledLayerCount_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setPpEnabledLayerNames( const char* const* ppEnabledLayerNames_ )
+ {
+ ppEnabledLayerNames = ppEnabledLayerNames_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setEnabledExtensionCount( uint32_t enabledExtensionCount_ )
+ {
+ enabledExtensionCount = enabledExtensionCount_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setPpEnabledExtensionNames( const char* const* ppEnabledExtensionNames_ )
+ {
+ ppEnabledExtensionNames = ppEnabledExtensionNames_;
+ return *this;
+ }
+
+ DeviceCreateInfo& setPEnabledFeatures( const PhysicalDeviceFeatures* pEnabledFeatures_ )
+ {
+ pEnabledFeatures = pEnabledFeatures_;
+ return *this;
+ }
+
+ operator const VkDeviceCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkDeviceCreateInfo*>(this);
+ }
+
+ bool operator==( DeviceCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( queueCreateInfoCount == rhs.queueCreateInfoCount )
+ && ( pQueueCreateInfos == rhs.pQueueCreateInfos )
+ && ( enabledLayerCount == rhs.enabledLayerCount )
+ && ( ppEnabledLayerNames == rhs.ppEnabledLayerNames )
+ && ( enabledExtensionCount == rhs.enabledExtensionCount )
+ && ( ppEnabledExtensionNames == rhs.ppEnabledExtensionNames )
+ && ( pEnabledFeatures == rhs.pEnabledFeatures );
+ }
+
+ bool operator!=( DeviceCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceCreateFlags flags;
+ uint32_t queueCreateInfoCount;
+ const DeviceQueueCreateInfo* pQueueCreateInfos;
+ uint32_t enabledLayerCount;
+ const char* const* ppEnabledLayerNames;
+ uint32_t enabledExtensionCount;
+ const char* const* ppEnabledExtensionNames;
+ const PhysicalDeviceFeatures* pEnabledFeatures;
+ };
+ static_assert( sizeof( DeviceCreateInfo ) == sizeof( VkDeviceCreateInfo ), "struct and wrapper have different size!" );
+
+ struct DeviceQueueInfo2
+ {
+ DeviceQueueInfo2( DeviceQueueCreateFlags flags_ = DeviceQueueCreateFlags(), uint32_t queueFamilyIndex_ = 0, uint32_t queueIndex_ = 0 )
+ : flags( flags_ )
+ , queueFamilyIndex( queueFamilyIndex_ )
+ , queueIndex( queueIndex_ )
+ {
+ }
+
+ DeviceQueueInfo2( VkDeviceQueueInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceQueueInfo2 ) );
+ }
+
+ DeviceQueueInfo2& operator=( VkDeviceQueueInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceQueueInfo2 ) );
+ return *this;
+ }
+ DeviceQueueInfo2& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceQueueInfo2& setFlags( DeviceQueueCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DeviceQueueInfo2& setQueueFamilyIndex( uint32_t queueFamilyIndex_ )
+ {
+ queueFamilyIndex = queueFamilyIndex_;
+ return *this;
+ }
+
+ DeviceQueueInfo2& setQueueIndex( uint32_t queueIndex_ )
+ {
+ queueIndex = queueIndex_;
+ return *this;
+ }
+
+ operator const VkDeviceQueueInfo2&() const
+ {
+ return *reinterpret_cast<const VkDeviceQueueInfo2*>(this);
+ }
+
+ bool operator==( DeviceQueueInfo2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( queueFamilyIndex == rhs.queueFamilyIndex )
+ && ( queueIndex == rhs.queueIndex );
+ }
+
+ bool operator!=( DeviceQueueInfo2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceQueueInfo2;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceQueueCreateFlags flags;
+ uint32_t queueFamilyIndex;
+ uint32_t queueIndex;
+ };
+ static_assert( sizeof( DeviceQueueInfo2 ) == sizeof( VkDeviceQueueInfo2 ), "struct and wrapper have different size!" );
+
+ enum class MemoryPropertyFlagBits
+ {
+ eDeviceLocal = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
+ eHostVisible = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT,
+ eHostCoherent = VK_MEMORY_PROPERTY_HOST_COHERENT_BIT,
+ eHostCached = VK_MEMORY_PROPERTY_HOST_CACHED_BIT,
+ eLazilyAllocated = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT,
+ eProtected = VK_MEMORY_PROPERTY_PROTECTED_BIT
+ };
+
+ using MemoryPropertyFlags = Flags<MemoryPropertyFlagBits, VkMemoryPropertyFlags>;
+
+ VULKAN_HPP_INLINE MemoryPropertyFlags operator|( MemoryPropertyFlagBits bit0, MemoryPropertyFlagBits bit1 )
+ {
+ return MemoryPropertyFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE MemoryPropertyFlags operator~( MemoryPropertyFlagBits bits )
+ {
+ return ~( MemoryPropertyFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<MemoryPropertyFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(MemoryPropertyFlagBits::eDeviceLocal) | VkFlags(MemoryPropertyFlagBits::eHostVisible) | VkFlags(MemoryPropertyFlagBits::eHostCoherent) | VkFlags(MemoryPropertyFlagBits::eHostCached) | VkFlags(MemoryPropertyFlagBits::eLazilyAllocated) | VkFlags(MemoryPropertyFlagBits::eProtected)
+ };
+ };
+
+ struct MemoryType
+ {
+ operator const VkMemoryType&() const
+ {
+ return *reinterpret_cast<const VkMemoryType*>(this);
+ }
+
+ bool operator==( MemoryType const& rhs ) const
+ {
+ return ( propertyFlags == rhs.propertyFlags )
+ && ( heapIndex == rhs.heapIndex );
+ }
+
+ bool operator!=( MemoryType const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ MemoryPropertyFlags propertyFlags;
+ uint32_t heapIndex;
+ };
+ static_assert( sizeof( MemoryType ) == sizeof( VkMemoryType ), "struct and wrapper have different size!" );
+
+ enum class MemoryHeapFlagBits
+ {
+ eDeviceLocal = VK_MEMORY_HEAP_DEVICE_LOCAL_BIT,
+ eMultiInstance = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT,
+ eMultiInstanceKHR = VK_MEMORY_HEAP_MULTI_INSTANCE_BIT
+ };
+
+ using MemoryHeapFlags = Flags<MemoryHeapFlagBits, VkMemoryHeapFlags>;
+
+ VULKAN_HPP_INLINE MemoryHeapFlags operator|( MemoryHeapFlagBits bit0, MemoryHeapFlagBits bit1 )
+ {
+ return MemoryHeapFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE MemoryHeapFlags operator~( MemoryHeapFlagBits bits )
+ {
+ return ~( MemoryHeapFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<MemoryHeapFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(MemoryHeapFlagBits::eDeviceLocal) | VkFlags(MemoryHeapFlagBits::eMultiInstance)
+ };
+ };
+
+ struct MemoryHeap
+ {
+ operator const VkMemoryHeap&() const
+ {
+ return *reinterpret_cast<const VkMemoryHeap*>(this);
+ }
+
+ bool operator==( MemoryHeap const& rhs ) const
+ {
+ return ( size == rhs.size )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( MemoryHeap const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DeviceSize size;
+ MemoryHeapFlags flags;
+ };
+ static_assert( sizeof( MemoryHeap ) == sizeof( VkMemoryHeap ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceMemoryProperties
+ {
+ operator const VkPhysicalDeviceMemoryProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceMemoryProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceMemoryProperties const& rhs ) const
+ {
+ return ( memoryTypeCount == rhs.memoryTypeCount )
+ && ( memcmp( memoryTypes, rhs.memoryTypes, VK_MAX_MEMORY_TYPES * sizeof( MemoryType ) ) == 0 )
+ && ( memoryHeapCount == rhs.memoryHeapCount )
+ && ( memcmp( memoryHeaps, rhs.memoryHeaps, VK_MAX_MEMORY_HEAPS * sizeof( MemoryHeap ) ) == 0 );
+ }
+
+ bool operator!=( PhysicalDeviceMemoryProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t memoryTypeCount;
+ MemoryType memoryTypes[VK_MAX_MEMORY_TYPES];
+ uint32_t memoryHeapCount;
+ MemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS];
+ };
+ static_assert( sizeof( PhysicalDeviceMemoryProperties ) == sizeof( VkPhysicalDeviceMemoryProperties ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceMemoryProperties2
+ {
+ operator const VkPhysicalDeviceMemoryProperties2&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceMemoryProperties2*>(this);
+ }
+
+ bool operator==( PhysicalDeviceMemoryProperties2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memoryProperties == rhs.memoryProperties );
+ }
+
+ bool operator!=( PhysicalDeviceMemoryProperties2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceMemoryProperties2;
+
+ public:
+ void* pNext = nullptr;
+ PhysicalDeviceMemoryProperties memoryProperties;
+ };
+ static_assert( sizeof( PhysicalDeviceMemoryProperties2 ) == sizeof( VkPhysicalDeviceMemoryProperties2 ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceMemoryProperties2KHR = PhysicalDeviceMemoryProperties2;
+
+ enum class AccessFlagBits
+ {
+ eIndirectCommandRead = VK_ACCESS_INDIRECT_COMMAND_READ_BIT,
+ eIndexRead = VK_ACCESS_INDEX_READ_BIT,
+ eVertexAttributeRead = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT,
+ eUniformRead = VK_ACCESS_UNIFORM_READ_BIT,
+ eInputAttachmentRead = VK_ACCESS_INPUT_ATTACHMENT_READ_BIT,
+ eShaderRead = VK_ACCESS_SHADER_READ_BIT,
+ eShaderWrite = VK_ACCESS_SHADER_WRITE_BIT,
+ eColorAttachmentRead = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT,
+ eColorAttachmentWrite = VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT,
+ eDepthStencilAttachmentRead = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT,
+ eDepthStencilAttachmentWrite = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT,
+ eTransferRead = VK_ACCESS_TRANSFER_READ_BIT,
+ eTransferWrite = VK_ACCESS_TRANSFER_WRITE_BIT,
+ eHostRead = VK_ACCESS_HOST_READ_BIT,
+ eHostWrite = VK_ACCESS_HOST_WRITE_BIT,
+ eMemoryRead = VK_ACCESS_MEMORY_READ_BIT,
+ eMemoryWrite = VK_ACCESS_MEMORY_WRITE_BIT,
+ eCommandProcessReadNVX = VK_ACCESS_COMMAND_PROCESS_READ_BIT_NVX,
+ eCommandProcessWriteNVX = VK_ACCESS_COMMAND_PROCESS_WRITE_BIT_NVX,
+ eColorAttachmentReadNoncoherentEXT = VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT
+ };
+
+ using AccessFlags = Flags<AccessFlagBits, VkAccessFlags>;
+
+ VULKAN_HPP_INLINE AccessFlags operator|( AccessFlagBits bit0, AccessFlagBits bit1 )
+ {
+ return AccessFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE AccessFlags operator~( AccessFlagBits bits )
+ {
+ return ~( AccessFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<AccessFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(AccessFlagBits::eIndirectCommandRead) | VkFlags(AccessFlagBits::eIndexRead) | VkFlags(AccessFlagBits::eVertexAttributeRead) | VkFlags(AccessFlagBits::eUniformRead) | VkFlags(AccessFlagBits::eInputAttachmentRead) | VkFlags(AccessFlagBits::eShaderRead) | VkFlags(AccessFlagBits::eShaderWrite) | VkFlags(AccessFlagBits::eColorAttachmentRead) | VkFlags(AccessFlagBits::eColorAttachmentWrite) | VkFlags(AccessFlagBits::eDepthStencilAttachmentRead) | VkFlags(AccessFlagBits::eDepthStencilAttachmentWrite) | VkFlags(AccessFlagBits::eTransferRead) | VkFlags(AccessFlagBits::eTransferWrite) | VkFlags(AccessFlagBits::eHostRead) | VkFlags(AccessFlagBits::eHostWrite) | VkFlags(AccessFlagBits::eMemoryRead) | VkFlags(AccessFlagBits::eMemoryWrite) | VkFlags(AccessFlagBits::eCommandProcessReadNVX) | VkFlags(AccessFlagBits::eCommandProcessWriteNVX) | VkFlags(AccessFlagBits::eColorAttachmentReadNoncoherentEXT)
+ };
+ };
+
+ struct MemoryBarrier
+ {
+ MemoryBarrier( AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags() )
+ : srcAccessMask( srcAccessMask_ )
+ , dstAccessMask( dstAccessMask_ )
+ {
+ }
+
+ MemoryBarrier( VkMemoryBarrier const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryBarrier ) );
+ }
+
+ MemoryBarrier& operator=( VkMemoryBarrier const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryBarrier ) );
+ return *this;
+ }
+ MemoryBarrier& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryBarrier& setSrcAccessMask( AccessFlags srcAccessMask_ )
+ {
+ srcAccessMask = srcAccessMask_;
+ return *this;
+ }
+
+ MemoryBarrier& setDstAccessMask( AccessFlags dstAccessMask_ )
+ {
+ dstAccessMask = dstAccessMask_;
+ return *this;
+ }
+
+ operator const VkMemoryBarrier&() const
+ {
+ return *reinterpret_cast<const VkMemoryBarrier*>(this);
+ }
+
+ bool operator==( MemoryBarrier const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( srcAccessMask == rhs.srcAccessMask )
+ && ( dstAccessMask == rhs.dstAccessMask );
+ }
+
+ bool operator!=( MemoryBarrier const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryBarrier;
+
+ public:
+ const void* pNext = nullptr;
+ AccessFlags srcAccessMask;
+ AccessFlags dstAccessMask;
+ };
+ static_assert( sizeof( MemoryBarrier ) == sizeof( VkMemoryBarrier ), "struct and wrapper have different size!" );
+
+ struct BufferMemoryBarrier
+ {
+ BufferMemoryBarrier( AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags(), uint32_t srcQueueFamilyIndex_ = 0, uint32_t dstQueueFamilyIndex_ = 0, Buffer buffer_ = Buffer(), DeviceSize offset_ = 0, DeviceSize size_ = 0 )
+ : srcAccessMask( srcAccessMask_ )
+ , dstAccessMask( dstAccessMask_ )
+ , srcQueueFamilyIndex( srcQueueFamilyIndex_ )
+ , dstQueueFamilyIndex( dstQueueFamilyIndex_ )
+ , buffer( buffer_ )
+ , offset( offset_ )
+ , size( size_ )
+ {
+ }
+
+ BufferMemoryBarrier( VkBufferMemoryBarrier const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferMemoryBarrier ) );
+ }
+
+ BufferMemoryBarrier& operator=( VkBufferMemoryBarrier const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferMemoryBarrier ) );
+ return *this;
+ }
+ BufferMemoryBarrier& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BufferMemoryBarrier& setSrcAccessMask( AccessFlags srcAccessMask_ )
+ {
+ srcAccessMask = srcAccessMask_;
+ return *this;
+ }
+
+ BufferMemoryBarrier& setDstAccessMask( AccessFlags dstAccessMask_ )
+ {
+ dstAccessMask = dstAccessMask_;
+ return *this;
+ }
+
+ BufferMemoryBarrier& setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ )
+ {
+ srcQueueFamilyIndex = srcQueueFamilyIndex_;
+ return *this;
+ }
+
+ BufferMemoryBarrier& setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ )
+ {
+ dstQueueFamilyIndex = dstQueueFamilyIndex_;
+ return *this;
+ }
+
+ BufferMemoryBarrier& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ BufferMemoryBarrier& setOffset( DeviceSize offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ BufferMemoryBarrier& setSize( DeviceSize size_ )
+ {
+ size = size_;
+ return *this;
+ }
+
+ operator const VkBufferMemoryBarrier&() const
+ {
+ return *reinterpret_cast<const VkBufferMemoryBarrier*>(this);
+ }
+
+ bool operator==( BufferMemoryBarrier const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( srcAccessMask == rhs.srcAccessMask )
+ && ( dstAccessMask == rhs.dstAccessMask )
+ && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex )
+ && ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex )
+ && ( buffer == rhs.buffer )
+ && ( offset == rhs.offset )
+ && ( size == rhs.size );
+ }
+
+ bool operator!=( BufferMemoryBarrier const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBufferMemoryBarrier;
+
+ public:
+ const void* pNext = nullptr;
+ AccessFlags srcAccessMask;
+ AccessFlags dstAccessMask;
+ uint32_t srcQueueFamilyIndex;
+ uint32_t dstQueueFamilyIndex;
+ Buffer buffer;
+ DeviceSize offset;
+ DeviceSize size;
+ };
+ static_assert( sizeof( BufferMemoryBarrier ) == sizeof( VkBufferMemoryBarrier ), "struct and wrapper have different size!" );
+
+ enum class BufferUsageFlagBits
+ {
+ eTransferSrc = VK_BUFFER_USAGE_TRANSFER_SRC_BIT,
+ eTransferDst = VK_BUFFER_USAGE_TRANSFER_DST_BIT,
+ eUniformTexelBuffer = VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT,
+ eStorageTexelBuffer = VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT,
+ eUniformBuffer = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT,
+ eStorageBuffer = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
+ eIndexBuffer = VK_BUFFER_USAGE_INDEX_BUFFER_BIT,
+ eVertexBuffer = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT,
+ eIndirectBuffer = VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT
+ };
+
+ using BufferUsageFlags = Flags<BufferUsageFlagBits, VkBufferUsageFlags>;
+
+ VULKAN_HPP_INLINE BufferUsageFlags operator|( BufferUsageFlagBits bit0, BufferUsageFlagBits bit1 )
+ {
+ return BufferUsageFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE BufferUsageFlags operator~( BufferUsageFlagBits bits )
+ {
+ return ~( BufferUsageFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<BufferUsageFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(BufferUsageFlagBits::eTransferSrc) | VkFlags(BufferUsageFlagBits::eTransferDst) | VkFlags(BufferUsageFlagBits::eUniformTexelBuffer) | VkFlags(BufferUsageFlagBits::eStorageTexelBuffer) | VkFlags(BufferUsageFlagBits::eUniformBuffer) | VkFlags(BufferUsageFlagBits::eStorageBuffer) | VkFlags(BufferUsageFlagBits::eIndexBuffer) | VkFlags(BufferUsageFlagBits::eVertexBuffer) | VkFlags(BufferUsageFlagBits::eIndirectBuffer)
+ };
+ };
+
+ enum class BufferCreateFlagBits
+ {
+ eSparseBinding = VK_BUFFER_CREATE_SPARSE_BINDING_BIT,
+ eSparseResidency = VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT,
+ eSparseAliased = VK_BUFFER_CREATE_SPARSE_ALIASED_BIT,
+ eProtected = VK_BUFFER_CREATE_PROTECTED_BIT
+ };
+
+ using BufferCreateFlags = Flags<BufferCreateFlagBits, VkBufferCreateFlags>;
+
+ VULKAN_HPP_INLINE BufferCreateFlags operator|( BufferCreateFlagBits bit0, BufferCreateFlagBits bit1 )
+ {
+ return BufferCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE BufferCreateFlags operator~( BufferCreateFlagBits bits )
+ {
+ return ~( BufferCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<BufferCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(BufferCreateFlagBits::eSparseBinding) | VkFlags(BufferCreateFlagBits::eSparseResidency) | VkFlags(BufferCreateFlagBits::eSparseAliased) | VkFlags(BufferCreateFlagBits::eProtected)
+ };
+ };
+
+ struct BufferCreateInfo
+ {
+ BufferCreateInfo( BufferCreateFlags flags_ = BufferCreateFlags(), DeviceSize size_ = 0, BufferUsageFlags usage_ = BufferUsageFlags(), SharingMode sharingMode_ = SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = 0, const uint32_t* pQueueFamilyIndices_ = nullptr )
+ : flags( flags_ )
+ , size( size_ )
+ , usage( usage_ )
+ , sharingMode( sharingMode_ )
+ , queueFamilyIndexCount( queueFamilyIndexCount_ )
+ , pQueueFamilyIndices( pQueueFamilyIndices_ )
+ {
+ }
+
+ BufferCreateInfo( VkBufferCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferCreateInfo ) );
+ }
+
+ BufferCreateInfo& operator=( VkBufferCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferCreateInfo ) );
+ return *this;
+ }
+ BufferCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BufferCreateInfo& setFlags( BufferCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ BufferCreateInfo& setSize( DeviceSize size_ )
+ {
+ size = size_;
+ return *this;
+ }
+
+ BufferCreateInfo& setUsage( BufferUsageFlags usage_ )
+ {
+ usage = usage_;
+ return *this;
+ }
+
+ BufferCreateInfo& setSharingMode( SharingMode sharingMode_ )
+ {
+ sharingMode = sharingMode_;
+ return *this;
+ }
+
+ BufferCreateInfo& setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ )
+ {
+ queueFamilyIndexCount = queueFamilyIndexCount_;
+ return *this;
+ }
+
+ BufferCreateInfo& setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ )
+ {
+ pQueueFamilyIndices = pQueueFamilyIndices_;
+ return *this;
+ }
+
+ operator const VkBufferCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkBufferCreateInfo*>(this);
+ }
+
+ bool operator==( BufferCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( size == rhs.size )
+ && ( usage == rhs.usage )
+ && ( sharingMode == rhs.sharingMode )
+ && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount )
+ && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices );
+ }
+
+ bool operator!=( BufferCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBufferCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ BufferCreateFlags flags;
+ DeviceSize size;
+ BufferUsageFlags usage;
+ SharingMode sharingMode;
+ uint32_t queueFamilyIndexCount;
+ const uint32_t* pQueueFamilyIndices;
+ };
+ static_assert( sizeof( BufferCreateInfo ) == sizeof( VkBufferCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class ShaderStageFlagBits
+ {
+ eVertex = VK_SHADER_STAGE_VERTEX_BIT,
+ eTessellationControl = VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT,
+ eTessellationEvaluation = VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT,
+ eGeometry = VK_SHADER_STAGE_GEOMETRY_BIT,
+ eFragment = VK_SHADER_STAGE_FRAGMENT_BIT,
+ eCompute = VK_SHADER_STAGE_COMPUTE_BIT,
+ eAllGraphics = VK_SHADER_STAGE_ALL_GRAPHICS,
+ eAll = VK_SHADER_STAGE_ALL
+ };
+
+ using ShaderStageFlags = Flags<ShaderStageFlagBits, VkShaderStageFlags>;
+
+ VULKAN_HPP_INLINE ShaderStageFlags operator|( ShaderStageFlagBits bit0, ShaderStageFlagBits bit1 )
+ {
+ return ShaderStageFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ShaderStageFlags operator~( ShaderStageFlagBits bits )
+ {
+ return ~( ShaderStageFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ShaderStageFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ShaderStageFlagBits::eVertex) | VkFlags(ShaderStageFlagBits::eTessellationControl) | VkFlags(ShaderStageFlagBits::eTessellationEvaluation) | VkFlags(ShaderStageFlagBits::eGeometry) | VkFlags(ShaderStageFlagBits::eFragment) | VkFlags(ShaderStageFlagBits::eCompute) | VkFlags(ShaderStageFlagBits::eAllGraphics) | VkFlags(ShaderStageFlagBits::eAll)
+ };
+ };
+
+ struct DescriptorSetLayoutBinding
+ {
+ DescriptorSetLayoutBinding( uint32_t binding_ = 0, DescriptorType descriptorType_ = DescriptorType::eSampler, uint32_t descriptorCount_ = 0, ShaderStageFlags stageFlags_ = ShaderStageFlags(), const Sampler* pImmutableSamplers_ = nullptr )
+ : binding( binding_ )
+ , descriptorType( descriptorType_ )
+ , descriptorCount( descriptorCount_ )
+ , stageFlags( stageFlags_ )
+ , pImmutableSamplers( pImmutableSamplers_ )
+ {
+ }
+
+ DescriptorSetLayoutBinding( VkDescriptorSetLayoutBinding const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetLayoutBinding ) );
+ }
+
+ DescriptorSetLayoutBinding& operator=( VkDescriptorSetLayoutBinding const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetLayoutBinding ) );
+ return *this;
+ }
+ DescriptorSetLayoutBinding& setBinding( uint32_t binding_ )
+ {
+ binding = binding_;
+ return *this;
+ }
+
+ DescriptorSetLayoutBinding& setDescriptorType( DescriptorType descriptorType_ )
+ {
+ descriptorType = descriptorType_;
+ return *this;
+ }
+
+ DescriptorSetLayoutBinding& setDescriptorCount( uint32_t descriptorCount_ )
+ {
+ descriptorCount = descriptorCount_;
+ return *this;
+ }
+
+ DescriptorSetLayoutBinding& setStageFlags( ShaderStageFlags stageFlags_ )
+ {
+ stageFlags = stageFlags_;
+ return *this;
+ }
+
+ DescriptorSetLayoutBinding& setPImmutableSamplers( const Sampler* pImmutableSamplers_ )
+ {
+ pImmutableSamplers = pImmutableSamplers_;
+ return *this;
+ }
+
+ operator const VkDescriptorSetLayoutBinding&() const
+ {
+ return *reinterpret_cast<const VkDescriptorSetLayoutBinding*>(this);
+ }
+
+ bool operator==( DescriptorSetLayoutBinding const& rhs ) const
+ {
+ return ( binding == rhs.binding )
+ && ( descriptorType == rhs.descriptorType )
+ && ( descriptorCount == rhs.descriptorCount )
+ && ( stageFlags == rhs.stageFlags )
+ && ( pImmutableSamplers == rhs.pImmutableSamplers );
+ }
+
+ bool operator!=( DescriptorSetLayoutBinding const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t binding;
+ DescriptorType descriptorType;
+ uint32_t descriptorCount;
+ ShaderStageFlags stageFlags;
+ const Sampler* pImmutableSamplers;
+ };
+ static_assert( sizeof( DescriptorSetLayoutBinding ) == sizeof( VkDescriptorSetLayoutBinding ), "struct and wrapper have different size!" );
+
+ struct PipelineShaderStageCreateInfo
+ {
+ PipelineShaderStageCreateInfo( PipelineShaderStageCreateFlags flags_ = PipelineShaderStageCreateFlags(), ShaderStageFlagBits stage_ = ShaderStageFlagBits::eVertex, ShaderModule module_ = ShaderModule(), const char* pName_ = nullptr, const SpecializationInfo* pSpecializationInfo_ = nullptr )
+ : flags( flags_ )
+ , stage( stage_ )
+ , module( module_ )
+ , pName( pName_ )
+ , pSpecializationInfo( pSpecializationInfo_ )
+ {
+ }
+
+ PipelineShaderStageCreateInfo( VkPipelineShaderStageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineShaderStageCreateInfo ) );
+ }
+
+ PipelineShaderStageCreateInfo& operator=( VkPipelineShaderStageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineShaderStageCreateInfo ) );
+ return *this;
+ }
+ PipelineShaderStageCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineShaderStageCreateInfo& setFlags( PipelineShaderStageCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineShaderStageCreateInfo& setStage( ShaderStageFlagBits stage_ )
+ {
+ stage = stage_;
+ return *this;
+ }
+
+ PipelineShaderStageCreateInfo& setModule( ShaderModule module_ )
+ {
+ module = module_;
+ return *this;
+ }
+
+ PipelineShaderStageCreateInfo& setPName( const char* pName_ )
+ {
+ pName = pName_;
+ return *this;
+ }
+
+ PipelineShaderStageCreateInfo& setPSpecializationInfo( const SpecializationInfo* pSpecializationInfo_ )
+ {
+ pSpecializationInfo = pSpecializationInfo_;
+ return *this;
+ }
+
+ operator const VkPipelineShaderStageCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineShaderStageCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineShaderStageCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( stage == rhs.stage )
+ && ( module == rhs.module )
+ && ( pName == rhs.pName )
+ && ( pSpecializationInfo == rhs.pSpecializationInfo );
+ }
+
+ bool operator!=( PipelineShaderStageCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineShaderStageCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineShaderStageCreateFlags flags;
+ ShaderStageFlagBits stage;
+ ShaderModule module;
+ const char* pName;
+ const SpecializationInfo* pSpecializationInfo;
+ };
+ static_assert( sizeof( PipelineShaderStageCreateInfo ) == sizeof( VkPipelineShaderStageCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PushConstantRange
+ {
+ PushConstantRange( ShaderStageFlags stageFlags_ = ShaderStageFlags(), uint32_t offset_ = 0, uint32_t size_ = 0 )
+ : stageFlags( stageFlags_ )
+ , offset( offset_ )
+ , size( size_ )
+ {
+ }
+
+ PushConstantRange( VkPushConstantRange const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PushConstantRange ) );
+ }
+
+ PushConstantRange& operator=( VkPushConstantRange const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PushConstantRange ) );
+ return *this;
+ }
+ PushConstantRange& setStageFlags( ShaderStageFlags stageFlags_ )
+ {
+ stageFlags = stageFlags_;
+ return *this;
+ }
+
+ PushConstantRange& setOffset( uint32_t offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ PushConstantRange& setSize( uint32_t size_ )
+ {
+ size = size_;
+ return *this;
+ }
+
+ operator const VkPushConstantRange&() const
+ {
+ return *reinterpret_cast<const VkPushConstantRange*>(this);
+ }
+
+ bool operator==( PushConstantRange const& rhs ) const
+ {
+ return ( stageFlags == rhs.stageFlags )
+ && ( offset == rhs.offset )
+ && ( size == rhs.size );
+ }
+
+ bool operator!=( PushConstantRange const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ShaderStageFlags stageFlags;
+ uint32_t offset;
+ uint32_t size;
+ };
+ static_assert( sizeof( PushConstantRange ) == sizeof( VkPushConstantRange ), "struct and wrapper have different size!" );
+
+ struct PipelineLayoutCreateInfo
+ {
+ PipelineLayoutCreateInfo( PipelineLayoutCreateFlags flags_ = PipelineLayoutCreateFlags(), uint32_t setLayoutCount_ = 0, const DescriptorSetLayout* pSetLayouts_ = nullptr, uint32_t pushConstantRangeCount_ = 0, const PushConstantRange* pPushConstantRanges_ = nullptr )
+ : flags( flags_ )
+ , setLayoutCount( setLayoutCount_ )
+ , pSetLayouts( pSetLayouts_ )
+ , pushConstantRangeCount( pushConstantRangeCount_ )
+ , pPushConstantRanges( pPushConstantRanges_ )
+ {
+ }
+
+ PipelineLayoutCreateInfo( VkPipelineLayoutCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineLayoutCreateInfo ) );
+ }
+
+ PipelineLayoutCreateInfo& operator=( VkPipelineLayoutCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineLayoutCreateInfo ) );
+ return *this;
+ }
+ PipelineLayoutCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineLayoutCreateInfo& setFlags( PipelineLayoutCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineLayoutCreateInfo& setSetLayoutCount( uint32_t setLayoutCount_ )
+ {
+ setLayoutCount = setLayoutCount_;
+ return *this;
+ }
+
+ PipelineLayoutCreateInfo& setPSetLayouts( const DescriptorSetLayout* pSetLayouts_ )
+ {
+ pSetLayouts = pSetLayouts_;
+ return *this;
+ }
+
+ PipelineLayoutCreateInfo& setPushConstantRangeCount( uint32_t pushConstantRangeCount_ )
+ {
+ pushConstantRangeCount = pushConstantRangeCount_;
+ return *this;
+ }
+
+ PipelineLayoutCreateInfo& setPPushConstantRanges( const PushConstantRange* pPushConstantRanges_ )
+ {
+ pPushConstantRanges = pPushConstantRanges_;
+ return *this;
+ }
+
+ operator const VkPipelineLayoutCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineLayoutCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineLayoutCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( setLayoutCount == rhs.setLayoutCount )
+ && ( pSetLayouts == rhs.pSetLayouts )
+ && ( pushConstantRangeCount == rhs.pushConstantRangeCount )
+ && ( pPushConstantRanges == rhs.pPushConstantRanges );
+ }
+
+ bool operator!=( PipelineLayoutCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineLayoutCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineLayoutCreateFlags flags;
+ uint32_t setLayoutCount;
+ const DescriptorSetLayout* pSetLayouts;
+ uint32_t pushConstantRangeCount;
+ const PushConstantRange* pPushConstantRanges;
+ };
+ static_assert( sizeof( PipelineLayoutCreateInfo ) == sizeof( VkPipelineLayoutCreateInfo ), "struct and wrapper have different size!" );
+
+ struct ShaderStatisticsInfoAMD
+ {
+ operator const VkShaderStatisticsInfoAMD&() const
+ {
+ return *reinterpret_cast<const VkShaderStatisticsInfoAMD*>(this);
+ }
+
+ bool operator==( ShaderStatisticsInfoAMD const& rhs ) const
+ {
+ return ( shaderStageMask == rhs.shaderStageMask )
+ && ( resourceUsage == rhs.resourceUsage )
+ && ( numPhysicalVgprs == rhs.numPhysicalVgprs )
+ && ( numPhysicalSgprs == rhs.numPhysicalSgprs )
+ && ( numAvailableVgprs == rhs.numAvailableVgprs )
+ && ( numAvailableSgprs == rhs.numAvailableSgprs )
+ && ( memcmp( computeWorkGroupSize, rhs.computeWorkGroupSize, 3 * sizeof( uint32_t ) ) == 0 );
+ }
+
+ bool operator!=( ShaderStatisticsInfoAMD const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ShaderStageFlags shaderStageMask;
+ ShaderResourceUsageAMD resourceUsage;
+ uint32_t numPhysicalVgprs;
+ uint32_t numPhysicalSgprs;
+ uint32_t numAvailableVgprs;
+ uint32_t numAvailableSgprs;
+ uint32_t computeWorkGroupSize[3];
+ };
+ static_assert( sizeof( ShaderStatisticsInfoAMD ) == sizeof( VkShaderStatisticsInfoAMD ), "struct and wrapper have different size!" );
+
+ enum class ImageUsageFlagBits
+ {
+ eTransferSrc = VK_IMAGE_USAGE_TRANSFER_SRC_BIT,
+ eTransferDst = VK_IMAGE_USAGE_TRANSFER_DST_BIT,
+ eSampled = VK_IMAGE_USAGE_SAMPLED_BIT,
+ eStorage = VK_IMAGE_USAGE_STORAGE_BIT,
+ eColorAttachment = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT,
+ eDepthStencilAttachment = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT,
+ eTransientAttachment = VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT,
+ eInputAttachment = VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT
+ };
+
+ using ImageUsageFlags = Flags<ImageUsageFlagBits, VkImageUsageFlags>;
+
+ VULKAN_HPP_INLINE ImageUsageFlags operator|( ImageUsageFlagBits bit0, ImageUsageFlagBits bit1 )
+ {
+ return ImageUsageFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ImageUsageFlags operator~( ImageUsageFlagBits bits )
+ {
+ return ~( ImageUsageFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ImageUsageFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ImageUsageFlagBits::eTransferSrc) | VkFlags(ImageUsageFlagBits::eTransferDst) | VkFlags(ImageUsageFlagBits::eSampled) | VkFlags(ImageUsageFlagBits::eStorage) | VkFlags(ImageUsageFlagBits::eColorAttachment) | VkFlags(ImageUsageFlagBits::eDepthStencilAttachment) | VkFlags(ImageUsageFlagBits::eTransientAttachment) | VkFlags(ImageUsageFlagBits::eInputAttachment)
+ };
+ };
+
+ struct SharedPresentSurfaceCapabilitiesKHR
+ {
+ operator const VkSharedPresentSurfaceCapabilitiesKHR&() const
+ {
+ return *reinterpret_cast<const VkSharedPresentSurfaceCapabilitiesKHR*>(this);
+ }
+
+ bool operator==( SharedPresentSurfaceCapabilitiesKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( sharedPresentSupportedUsageFlags == rhs.sharedPresentSupportedUsageFlags );
+ }
+
+ bool operator!=( SharedPresentSurfaceCapabilitiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSharedPresentSurfaceCapabilitiesKHR;
+
+ public:
+ void* pNext = nullptr;
+ ImageUsageFlags sharedPresentSupportedUsageFlags;
+ };
+ static_assert( sizeof( SharedPresentSurfaceCapabilitiesKHR ) == sizeof( VkSharedPresentSurfaceCapabilitiesKHR ), "struct and wrapper have different size!" );
+
+ struct ImageViewUsageCreateInfo
+ {
+ ImageViewUsageCreateInfo( ImageUsageFlags usage_ = ImageUsageFlags() )
+ : usage( usage_ )
+ {
+ }
+
+ ImageViewUsageCreateInfo( VkImageViewUsageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageViewUsageCreateInfo ) );
+ }
+
+ ImageViewUsageCreateInfo& operator=( VkImageViewUsageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageViewUsageCreateInfo ) );
+ return *this;
+ }
+ ImageViewUsageCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageViewUsageCreateInfo& setUsage( ImageUsageFlags usage_ )
+ {
+ usage = usage_;
+ return *this;
+ }
+
+ operator const VkImageViewUsageCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkImageViewUsageCreateInfo*>(this);
+ }
+
+ bool operator==( ImageViewUsageCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( usage == rhs.usage );
+ }
+
+ bool operator!=( ImageViewUsageCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageViewUsageCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ImageUsageFlags usage;
+ };
+ static_assert( sizeof( ImageViewUsageCreateInfo ) == sizeof( VkImageViewUsageCreateInfo ), "struct and wrapper have different size!" );
+
+ using ImageViewUsageCreateInfoKHR = ImageViewUsageCreateInfo;
+
+ enum class ImageCreateFlagBits
+ {
+ eSparseBinding = VK_IMAGE_CREATE_SPARSE_BINDING_BIT,
+ eSparseResidency = VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT,
+ eSparseAliased = VK_IMAGE_CREATE_SPARSE_ALIASED_BIT,
+ eMutableFormat = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT,
+ eCubeCompatible = VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT,
+ eAlias = VK_IMAGE_CREATE_ALIAS_BIT,
+ eAliasKHR = VK_IMAGE_CREATE_ALIAS_BIT,
+ eSplitInstanceBindRegions = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT,
+ eSplitInstanceBindRegionsKHR = VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT,
+ e2DArrayCompatible = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT,
+ e2DArrayCompatibleKHR = VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT,
+ eBlockTexelViewCompatible = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT,
+ eBlockTexelViewCompatibleKHR = VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT,
+ eExtendedUsage = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT,
+ eExtendedUsageKHR = VK_IMAGE_CREATE_EXTENDED_USAGE_BIT,
+ eProtected = VK_IMAGE_CREATE_PROTECTED_BIT,
+ eDisjoint = VK_IMAGE_CREATE_DISJOINT_BIT,
+ eDisjointKHR = VK_IMAGE_CREATE_DISJOINT_BIT,
+ eSampleLocationsCompatibleDepthEXT = VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT
+ };
+
+ using ImageCreateFlags = Flags<ImageCreateFlagBits, VkImageCreateFlags>;
+
+ VULKAN_HPP_INLINE ImageCreateFlags operator|( ImageCreateFlagBits bit0, ImageCreateFlagBits bit1 )
+ {
+ return ImageCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ImageCreateFlags operator~( ImageCreateFlagBits bits )
+ {
+ return ~( ImageCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ImageCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ImageCreateFlagBits::eSparseBinding) | VkFlags(ImageCreateFlagBits::eSparseResidency) | VkFlags(ImageCreateFlagBits::eSparseAliased) | VkFlags(ImageCreateFlagBits::eMutableFormat) | VkFlags(ImageCreateFlagBits::eCubeCompatible) | VkFlags(ImageCreateFlagBits::eAlias) | VkFlags(ImageCreateFlagBits::eSplitInstanceBindRegions) | VkFlags(ImageCreateFlagBits::e2DArrayCompatible) | VkFlags(ImageCreateFlagBits::eBlockTexelViewCompatible) | VkFlags(ImageCreateFlagBits::eExtendedUsage) | VkFlags(ImageCreateFlagBits::eProtected) | VkFlags(ImageCreateFlagBits::eDisjoint) | VkFlags(ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT)
+ };
+ };
+
+ struct PhysicalDeviceImageFormatInfo2
+ {
+ PhysicalDeviceImageFormatInfo2( Format format_ = Format::eUndefined, ImageType type_ = ImageType::e1D, ImageTiling tiling_ = ImageTiling::eOptimal, ImageUsageFlags usage_ = ImageUsageFlags(), ImageCreateFlags flags_ = ImageCreateFlags() )
+ : format( format_ )
+ , type( type_ )
+ , tiling( tiling_ )
+ , usage( usage_ )
+ , flags( flags_ )
+ {
+ }
+
+ PhysicalDeviceImageFormatInfo2( VkPhysicalDeviceImageFormatInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceImageFormatInfo2 ) );
+ }
+
+ PhysicalDeviceImageFormatInfo2& operator=( VkPhysicalDeviceImageFormatInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceImageFormatInfo2 ) );
+ return *this;
+ }
+ PhysicalDeviceImageFormatInfo2& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceImageFormatInfo2& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ PhysicalDeviceImageFormatInfo2& setType( ImageType type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ PhysicalDeviceImageFormatInfo2& setTiling( ImageTiling tiling_ )
+ {
+ tiling = tiling_;
+ return *this;
+ }
+
+ PhysicalDeviceImageFormatInfo2& setUsage( ImageUsageFlags usage_ )
+ {
+ usage = usage_;
+ return *this;
+ }
+
+ PhysicalDeviceImageFormatInfo2& setFlags( ImageCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceImageFormatInfo2&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>(this);
+ }
+
+ bool operator==( PhysicalDeviceImageFormatInfo2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( format == rhs.format )
+ && ( type == rhs.type )
+ && ( tiling == rhs.tiling )
+ && ( usage == rhs.usage )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( PhysicalDeviceImageFormatInfo2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceImageFormatInfo2;
+
+ public:
+ const void* pNext = nullptr;
+ Format format;
+ ImageType type;
+ ImageTiling tiling;
+ ImageUsageFlags usage;
+ ImageCreateFlags flags;
+ };
+ static_assert( sizeof( PhysicalDeviceImageFormatInfo2 ) == sizeof( VkPhysicalDeviceImageFormatInfo2 ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceImageFormatInfo2KHR = PhysicalDeviceImageFormatInfo2;
+
+ enum class PipelineCreateFlagBits
+ {
+ eDisableOptimization = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT,
+ eAllowDerivatives = VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT,
+ eDerivative = VK_PIPELINE_CREATE_DERIVATIVE_BIT,
+ eViewIndexFromDeviceIndex = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT,
+ eViewIndexFromDeviceIndexKHR = VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT,
+ eDispatchBase = VK_PIPELINE_CREATE_DISPATCH_BASE,
+ eDispatchBaseKHR = VK_PIPELINE_CREATE_DISPATCH_BASE
+ };
+
+ using PipelineCreateFlags = Flags<PipelineCreateFlagBits, VkPipelineCreateFlags>;
+
+ VULKAN_HPP_INLINE PipelineCreateFlags operator|( PipelineCreateFlagBits bit0, PipelineCreateFlagBits bit1 )
+ {
+ return PipelineCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE PipelineCreateFlags operator~( PipelineCreateFlagBits bits )
+ {
+ return ~( PipelineCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<PipelineCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(PipelineCreateFlagBits::eDisableOptimization) | VkFlags(PipelineCreateFlagBits::eAllowDerivatives) | VkFlags(PipelineCreateFlagBits::eDerivative) | VkFlags(PipelineCreateFlagBits::eViewIndexFromDeviceIndex) | VkFlags(PipelineCreateFlagBits::eDispatchBase)
+ };
+ };
+
+ struct ComputePipelineCreateInfo
+ {
+ ComputePipelineCreateInfo( PipelineCreateFlags flags_ = PipelineCreateFlags(), PipelineShaderStageCreateInfo stage_ = PipelineShaderStageCreateInfo(), PipelineLayout layout_ = PipelineLayout(), Pipeline basePipelineHandle_ = Pipeline(), int32_t basePipelineIndex_ = 0 )
+ : flags( flags_ )
+ , stage( stage_ )
+ , layout( layout_ )
+ , basePipelineHandle( basePipelineHandle_ )
+ , basePipelineIndex( basePipelineIndex_ )
+ {
+ }
+
+ ComputePipelineCreateInfo( VkComputePipelineCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ComputePipelineCreateInfo ) );
+ }
+
+ ComputePipelineCreateInfo& operator=( VkComputePipelineCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ComputePipelineCreateInfo ) );
+ return *this;
+ }
+ ComputePipelineCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ComputePipelineCreateInfo& setFlags( PipelineCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ComputePipelineCreateInfo& setStage( PipelineShaderStageCreateInfo stage_ )
+ {
+ stage = stage_;
+ return *this;
+ }
+
+ ComputePipelineCreateInfo& setLayout( PipelineLayout layout_ )
+ {
+ layout = layout_;
+ return *this;
+ }
+
+ ComputePipelineCreateInfo& setBasePipelineHandle( Pipeline basePipelineHandle_ )
+ {
+ basePipelineHandle = basePipelineHandle_;
+ return *this;
+ }
+
+ ComputePipelineCreateInfo& setBasePipelineIndex( int32_t basePipelineIndex_ )
+ {
+ basePipelineIndex = basePipelineIndex_;
+ return *this;
+ }
+
+ operator const VkComputePipelineCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkComputePipelineCreateInfo*>(this);
+ }
+
+ bool operator==( ComputePipelineCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( stage == rhs.stage )
+ && ( layout == rhs.layout )
+ && ( basePipelineHandle == rhs.basePipelineHandle )
+ && ( basePipelineIndex == rhs.basePipelineIndex );
+ }
+
+ bool operator!=( ComputePipelineCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eComputePipelineCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineCreateFlags flags;
+ PipelineShaderStageCreateInfo stage;
+ PipelineLayout layout;
+ Pipeline basePipelineHandle;
+ int32_t basePipelineIndex;
+ };
+ static_assert( sizeof( ComputePipelineCreateInfo ) == sizeof( VkComputePipelineCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class ColorComponentFlagBits
+ {
+ eR = VK_COLOR_COMPONENT_R_BIT,
+ eG = VK_COLOR_COMPONENT_G_BIT,
+ eB = VK_COLOR_COMPONENT_B_BIT,
+ eA = VK_COLOR_COMPONENT_A_BIT
+ };
+
+ using ColorComponentFlags = Flags<ColorComponentFlagBits, VkColorComponentFlags>;
+
+ VULKAN_HPP_INLINE ColorComponentFlags operator|( ColorComponentFlagBits bit0, ColorComponentFlagBits bit1 )
+ {
+ return ColorComponentFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ColorComponentFlags operator~( ColorComponentFlagBits bits )
+ {
+ return ~( ColorComponentFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ColorComponentFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ColorComponentFlagBits::eR) | VkFlags(ColorComponentFlagBits::eG) | VkFlags(ColorComponentFlagBits::eB) | VkFlags(ColorComponentFlagBits::eA)
+ };
+ };
+
+ struct PipelineColorBlendAttachmentState
+ {
+ PipelineColorBlendAttachmentState( Bool32 blendEnable_ = 0, BlendFactor srcColorBlendFactor_ = BlendFactor::eZero, BlendFactor dstColorBlendFactor_ = BlendFactor::eZero, BlendOp colorBlendOp_ = BlendOp::eAdd, BlendFactor srcAlphaBlendFactor_ = BlendFactor::eZero, BlendFactor dstAlphaBlendFactor_ = BlendFactor::eZero, BlendOp alphaBlendOp_ = BlendOp::eAdd, ColorComponentFlags colorWriteMask_ = ColorComponentFlags() )
+ : blendEnable( blendEnable_ )
+ , srcColorBlendFactor( srcColorBlendFactor_ )
+ , dstColorBlendFactor( dstColorBlendFactor_ )
+ , colorBlendOp( colorBlendOp_ )
+ , srcAlphaBlendFactor( srcAlphaBlendFactor_ )
+ , dstAlphaBlendFactor( dstAlphaBlendFactor_ )
+ , alphaBlendOp( alphaBlendOp_ )
+ , colorWriteMask( colorWriteMask_ )
+ {
+ }
+
+ PipelineColorBlendAttachmentState( VkPipelineColorBlendAttachmentState const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineColorBlendAttachmentState ) );
+ }
+
+ PipelineColorBlendAttachmentState& operator=( VkPipelineColorBlendAttachmentState const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineColorBlendAttachmentState ) );
+ return *this;
+ }
+ PipelineColorBlendAttachmentState& setBlendEnable( Bool32 blendEnable_ )
+ {
+ blendEnable = blendEnable_;
+ return *this;
+ }
+
+ PipelineColorBlendAttachmentState& setSrcColorBlendFactor( BlendFactor srcColorBlendFactor_ )
+ {
+ srcColorBlendFactor = srcColorBlendFactor_;
+ return *this;
+ }
+
+ PipelineColorBlendAttachmentState& setDstColorBlendFactor( BlendFactor dstColorBlendFactor_ )
+ {
+ dstColorBlendFactor = dstColorBlendFactor_;
+ return *this;
+ }
+
+ PipelineColorBlendAttachmentState& setColorBlendOp( BlendOp colorBlendOp_ )
+ {
+ colorBlendOp = colorBlendOp_;
+ return *this;
+ }
+
+ PipelineColorBlendAttachmentState& setSrcAlphaBlendFactor( BlendFactor srcAlphaBlendFactor_ )
+ {
+ srcAlphaBlendFactor = srcAlphaBlendFactor_;
+ return *this;
+ }
+
+ PipelineColorBlendAttachmentState& setDstAlphaBlendFactor( BlendFactor dstAlphaBlendFactor_ )
+ {
+ dstAlphaBlendFactor = dstAlphaBlendFactor_;
+ return *this;
+ }
+
+ PipelineColorBlendAttachmentState& setAlphaBlendOp( BlendOp alphaBlendOp_ )
+ {
+ alphaBlendOp = alphaBlendOp_;
+ return *this;
+ }
+
+ PipelineColorBlendAttachmentState& setColorWriteMask( ColorComponentFlags colorWriteMask_ )
+ {
+ colorWriteMask = colorWriteMask_;
+ return *this;
+ }
+
+ operator const VkPipelineColorBlendAttachmentState&() const
+ {
+ return *reinterpret_cast<const VkPipelineColorBlendAttachmentState*>(this);
+ }
+
+ bool operator==( PipelineColorBlendAttachmentState const& rhs ) const
+ {
+ return ( blendEnable == rhs.blendEnable )
+ && ( srcColorBlendFactor == rhs.srcColorBlendFactor )
+ && ( dstColorBlendFactor == rhs.dstColorBlendFactor )
+ && ( colorBlendOp == rhs.colorBlendOp )
+ && ( srcAlphaBlendFactor == rhs.srcAlphaBlendFactor )
+ && ( dstAlphaBlendFactor == rhs.dstAlphaBlendFactor )
+ && ( alphaBlendOp == rhs.alphaBlendOp )
+ && ( colorWriteMask == rhs.colorWriteMask );
+ }
+
+ bool operator!=( PipelineColorBlendAttachmentState const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Bool32 blendEnable;
+ BlendFactor srcColorBlendFactor;
+ BlendFactor dstColorBlendFactor;
+ BlendOp colorBlendOp;
+ BlendFactor srcAlphaBlendFactor;
+ BlendFactor dstAlphaBlendFactor;
+ BlendOp alphaBlendOp;
+ ColorComponentFlags colorWriteMask;
+ };
+ static_assert( sizeof( PipelineColorBlendAttachmentState ) == sizeof( VkPipelineColorBlendAttachmentState ), "struct and wrapper have different size!" );
+
+ struct PipelineColorBlendStateCreateInfo
+ {
+ PipelineColorBlendStateCreateInfo( PipelineColorBlendStateCreateFlags flags_ = PipelineColorBlendStateCreateFlags(), Bool32 logicOpEnable_ = 0, LogicOp logicOp_ = LogicOp::eClear, uint32_t attachmentCount_ = 0, const PipelineColorBlendAttachmentState* pAttachments_ = nullptr, std::array<float,4> const& blendConstants_ = { { 0, 0, 0, 0 } } )
+ : flags( flags_ )
+ , logicOpEnable( logicOpEnable_ )
+ , logicOp( logicOp_ )
+ , attachmentCount( attachmentCount_ )
+ , pAttachments( pAttachments_ )
+ {
+ memcpy( &blendConstants, blendConstants_.data(), 4 * sizeof( float ) );
+ }
+
+ PipelineColorBlendStateCreateInfo( VkPipelineColorBlendStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineColorBlendStateCreateInfo ) );
+ }
+
+ PipelineColorBlendStateCreateInfo& operator=( VkPipelineColorBlendStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineColorBlendStateCreateInfo ) );
+ return *this;
+ }
+ PipelineColorBlendStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineColorBlendStateCreateInfo& setFlags( PipelineColorBlendStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineColorBlendStateCreateInfo& setLogicOpEnable( Bool32 logicOpEnable_ )
+ {
+ logicOpEnable = logicOpEnable_;
+ return *this;
+ }
+
+ PipelineColorBlendStateCreateInfo& setLogicOp( LogicOp logicOp_ )
+ {
+ logicOp = logicOp_;
+ return *this;
+ }
+
+ PipelineColorBlendStateCreateInfo& setAttachmentCount( uint32_t attachmentCount_ )
+ {
+ attachmentCount = attachmentCount_;
+ return *this;
+ }
+
+ PipelineColorBlendStateCreateInfo& setPAttachments( const PipelineColorBlendAttachmentState* pAttachments_ )
+ {
+ pAttachments = pAttachments_;
+ return *this;
+ }
+
+ PipelineColorBlendStateCreateInfo& setBlendConstants( std::array<float,4> blendConstants_ )
+ {
+ memcpy( &blendConstants, blendConstants_.data(), 4 * sizeof( float ) );
+ return *this;
+ }
+
+ operator const VkPipelineColorBlendStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineColorBlendStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineColorBlendStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( logicOpEnable == rhs.logicOpEnable )
+ && ( logicOp == rhs.logicOp )
+ && ( attachmentCount == rhs.attachmentCount )
+ && ( pAttachments == rhs.pAttachments )
+ && ( memcmp( blendConstants, rhs.blendConstants, 4 * sizeof( float ) ) == 0 );
+ }
+
+ bool operator!=( PipelineColorBlendStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineColorBlendStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineColorBlendStateCreateFlags flags;
+ Bool32 logicOpEnable;
+ LogicOp logicOp;
+ uint32_t attachmentCount;
+ const PipelineColorBlendAttachmentState* pAttachments;
+ float blendConstants[4];
+ };
+ static_assert( sizeof( PipelineColorBlendStateCreateInfo ) == sizeof( VkPipelineColorBlendStateCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class FenceCreateFlagBits
+ {
+ eSignaled = VK_FENCE_CREATE_SIGNALED_BIT
+ };
+
+ using FenceCreateFlags = Flags<FenceCreateFlagBits, VkFenceCreateFlags>;
+
+ VULKAN_HPP_INLINE FenceCreateFlags operator|( FenceCreateFlagBits bit0, FenceCreateFlagBits bit1 )
+ {
+ return FenceCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE FenceCreateFlags operator~( FenceCreateFlagBits bits )
+ {
+ return ~( FenceCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<FenceCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(FenceCreateFlagBits::eSignaled)
+ };
+ };
+
+ struct FenceCreateInfo
+ {
+ FenceCreateInfo( FenceCreateFlags flags_ = FenceCreateFlags() )
+ : flags( flags_ )
+ {
+ }
+
+ FenceCreateInfo( VkFenceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FenceCreateInfo ) );
+ }
+
+ FenceCreateInfo& operator=( VkFenceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FenceCreateInfo ) );
+ return *this;
+ }
+ FenceCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ FenceCreateInfo& setFlags( FenceCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ operator const VkFenceCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkFenceCreateInfo*>(this);
+ }
+
+ bool operator==( FenceCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( FenceCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eFenceCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ FenceCreateFlags flags;
+ };
+ static_assert( sizeof( FenceCreateInfo ) == sizeof( VkFenceCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class FormatFeatureFlagBits
+ {
+ eSampledImage = VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT,
+ eStorageImage = VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT,
+ eStorageImageAtomic = VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT,
+ eUniformTexelBuffer = VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT,
+ eStorageTexelBuffer = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT,
+ eStorageTexelBufferAtomic = VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT,
+ eVertexBuffer = VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT,
+ eColorAttachment = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT,
+ eColorAttachmentBlend = VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT,
+ eDepthStencilAttachment = VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT,
+ eBlitSrc = VK_FORMAT_FEATURE_BLIT_SRC_BIT,
+ eBlitDst = VK_FORMAT_FEATURE_BLIT_DST_BIT,
+ eSampledImageFilterLinear = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT,
+ eTransferSrc = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT,
+ eTransferSrcKHR = VK_FORMAT_FEATURE_TRANSFER_SRC_BIT,
+ eTransferDst = VK_FORMAT_FEATURE_TRANSFER_DST_BIT,
+ eTransferDstKHR = VK_FORMAT_FEATURE_TRANSFER_DST_BIT,
+ eMidpointChromaSamples = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT,
+ eMidpointChromaSamplesKHR = VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT,
+ eSampledImageYcbcrConversionLinearFilter = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT,
+ eSampledImageYcbcrConversionLinearFilterKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT,
+ eSampledImageYcbcrConversionSeparateReconstructionFilter = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT,
+ eSampledImageYcbcrConversionSeparateReconstructionFilterKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT,
+ eSampledImageYcbcrConversionChromaReconstructionExplicit = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT,
+ eSampledImageYcbcrConversionChromaReconstructionExplicitKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT,
+ eSampledImageYcbcrConversionChromaReconstructionExplicitForceable = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT,
+ eSampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR = VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT,
+ eDisjoint = VK_FORMAT_FEATURE_DISJOINT_BIT,
+ eDisjointKHR = VK_FORMAT_FEATURE_DISJOINT_BIT,
+ eCositedChromaSamples = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT,
+ eCositedChromaSamplesKHR = VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT,
+ eSampledImageFilterCubicIMG = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG,
+ eSampledImageFilterMinmaxEXT = VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT
+ };
+
+ using FormatFeatureFlags = Flags<FormatFeatureFlagBits, VkFormatFeatureFlags>;
+
+ VULKAN_HPP_INLINE FormatFeatureFlags operator|( FormatFeatureFlagBits bit0, FormatFeatureFlagBits bit1 )
+ {
+ return FormatFeatureFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE FormatFeatureFlags operator~( FormatFeatureFlagBits bits )
+ {
+ return ~( FormatFeatureFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<FormatFeatureFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(FormatFeatureFlagBits::eSampledImage) | VkFlags(FormatFeatureFlagBits::eStorageImage) | VkFlags(FormatFeatureFlagBits::eStorageImageAtomic) | VkFlags(FormatFeatureFlagBits::eUniformTexelBuffer) | VkFlags(FormatFeatureFlagBits::eStorageTexelBuffer) | VkFlags(FormatFeatureFlagBits::eStorageTexelBufferAtomic) | VkFlags(FormatFeatureFlagBits::eVertexBuffer) | VkFlags(FormatFeatureFlagBits::eColorAttachment) | VkFlags(FormatFeatureFlagBits::eColorAttachmentBlend) | VkFlags(FormatFeatureFlagBits::eDepthStencilAttachment) | VkFlags(FormatFeatureFlagBits::eBlitSrc) | VkFlags(FormatFeatureFlagBits::eBlitDst) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterLinear) | VkFlags(FormatFeatureFlagBits::eTransferSrc) | VkFlags(FormatFeatureFlagBits::eTransferDst) | VkFlags(FormatFeatureFlagBits::eMidpointChromaSamples) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit) | VkFlags(FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable) | VkFlags(FormatFeatureFlagBits::eDisjoint) | VkFlags(FormatFeatureFlagBits::eCositedChromaSamples) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterCubicIMG) | VkFlags(FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT)
+ };
+ };
+
+ struct FormatProperties
+ {
+ operator const VkFormatProperties&() const
+ {
+ return *reinterpret_cast<const VkFormatProperties*>(this);
+ }
+
+ bool operator==( FormatProperties const& rhs ) const
+ {
+ return ( linearTilingFeatures == rhs.linearTilingFeatures )
+ && ( optimalTilingFeatures == rhs.optimalTilingFeatures )
+ && ( bufferFeatures == rhs.bufferFeatures );
+ }
+
+ bool operator!=( FormatProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ FormatFeatureFlags linearTilingFeatures;
+ FormatFeatureFlags optimalTilingFeatures;
+ FormatFeatureFlags bufferFeatures;
+ };
+ static_assert( sizeof( FormatProperties ) == sizeof( VkFormatProperties ), "struct and wrapper have different size!" );
+
+ struct FormatProperties2
+ {
+ operator const VkFormatProperties2&() const
+ {
+ return *reinterpret_cast<const VkFormatProperties2*>(this);
+ }
+
+ bool operator==( FormatProperties2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( formatProperties == rhs.formatProperties );
+ }
+
+ bool operator!=( FormatProperties2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eFormatProperties2;
+
+ public:
+ void* pNext = nullptr;
+ FormatProperties formatProperties;
+ };
+ static_assert( sizeof( FormatProperties2 ) == sizeof( VkFormatProperties2 ), "struct and wrapper have different size!" );
+
+ using FormatProperties2KHR = FormatProperties2;
+
+ enum class QueryControlFlagBits
+ {
+ ePrecise = VK_QUERY_CONTROL_PRECISE_BIT
+ };
+
+ using QueryControlFlags = Flags<QueryControlFlagBits, VkQueryControlFlags>;
+
+ VULKAN_HPP_INLINE QueryControlFlags operator|( QueryControlFlagBits bit0, QueryControlFlagBits bit1 )
+ {
+ return QueryControlFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE QueryControlFlags operator~( QueryControlFlagBits bits )
+ {
+ return ~( QueryControlFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<QueryControlFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(QueryControlFlagBits::ePrecise)
+ };
+ };
+
+ enum class QueryResultFlagBits
+ {
+ e64 = VK_QUERY_RESULT_64_BIT,
+ eWait = VK_QUERY_RESULT_WAIT_BIT,
+ eWithAvailability = VK_QUERY_RESULT_WITH_AVAILABILITY_BIT,
+ ePartial = VK_QUERY_RESULT_PARTIAL_BIT
+ };
+
+ using QueryResultFlags = Flags<QueryResultFlagBits, VkQueryResultFlags>;
+
+ VULKAN_HPP_INLINE QueryResultFlags operator|( QueryResultFlagBits bit0, QueryResultFlagBits bit1 )
+ {
+ return QueryResultFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE QueryResultFlags operator~( QueryResultFlagBits bits )
+ {
+ return ~( QueryResultFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<QueryResultFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(QueryResultFlagBits::e64) | VkFlags(QueryResultFlagBits::eWait) | VkFlags(QueryResultFlagBits::eWithAvailability) | VkFlags(QueryResultFlagBits::ePartial)
+ };
+ };
+
+ enum class CommandBufferUsageFlagBits
+ {
+ eOneTimeSubmit = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT,
+ eRenderPassContinue = VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT,
+ eSimultaneousUse = VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT
+ };
+
+ using CommandBufferUsageFlags = Flags<CommandBufferUsageFlagBits, VkCommandBufferUsageFlags>;
+
+ VULKAN_HPP_INLINE CommandBufferUsageFlags operator|( CommandBufferUsageFlagBits bit0, CommandBufferUsageFlagBits bit1 )
+ {
+ return CommandBufferUsageFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE CommandBufferUsageFlags operator~( CommandBufferUsageFlagBits bits )
+ {
+ return ~( CommandBufferUsageFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<CommandBufferUsageFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(CommandBufferUsageFlagBits::eOneTimeSubmit) | VkFlags(CommandBufferUsageFlagBits::eRenderPassContinue) | VkFlags(CommandBufferUsageFlagBits::eSimultaneousUse)
+ };
+ };
+
+ enum class QueryPipelineStatisticFlagBits
+ {
+ eInputAssemblyVertices = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT,
+ eInputAssemblyPrimitives = VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT,
+ eVertexShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT,
+ eGeometryShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT,
+ eGeometryShaderPrimitives = VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT,
+ eClippingInvocations = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT,
+ eClippingPrimitives = VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT,
+ eFragmentShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT,
+ eTessellationControlShaderPatches = VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT,
+ eTessellationEvaluationShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT,
+ eComputeShaderInvocations = VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT
+ };
+
+ using QueryPipelineStatisticFlags = Flags<QueryPipelineStatisticFlagBits, VkQueryPipelineStatisticFlags>;
+
+ VULKAN_HPP_INLINE QueryPipelineStatisticFlags operator|( QueryPipelineStatisticFlagBits bit0, QueryPipelineStatisticFlagBits bit1 )
+ {
+ return QueryPipelineStatisticFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE QueryPipelineStatisticFlags operator~( QueryPipelineStatisticFlagBits bits )
+ {
+ return ~( QueryPipelineStatisticFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<QueryPipelineStatisticFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(QueryPipelineStatisticFlagBits::eInputAssemblyVertices) | VkFlags(QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eVertexShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eGeometryShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eClippingInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eClippingPrimitives) | VkFlags(QueryPipelineStatisticFlagBits::eFragmentShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches) | VkFlags(QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations) | VkFlags(QueryPipelineStatisticFlagBits::eComputeShaderInvocations)
+ };
+ };
+
+ struct CommandBufferInheritanceInfo
+ {
+ CommandBufferInheritanceInfo( RenderPass renderPass_ = RenderPass(), uint32_t subpass_ = 0, Framebuffer framebuffer_ = Framebuffer(), Bool32 occlusionQueryEnable_ = 0, QueryControlFlags queryFlags_ = QueryControlFlags(), QueryPipelineStatisticFlags pipelineStatistics_ = QueryPipelineStatisticFlags() )
+ : renderPass( renderPass_ )
+ , subpass( subpass_ )
+ , framebuffer( framebuffer_ )
+ , occlusionQueryEnable( occlusionQueryEnable_ )
+ , queryFlags( queryFlags_ )
+ , pipelineStatistics( pipelineStatistics_ )
+ {
+ }
+
+ CommandBufferInheritanceInfo( VkCommandBufferInheritanceInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandBufferInheritanceInfo ) );
+ }
+
+ CommandBufferInheritanceInfo& operator=( VkCommandBufferInheritanceInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandBufferInheritanceInfo ) );
+ return *this;
+ }
+ CommandBufferInheritanceInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ CommandBufferInheritanceInfo& setRenderPass( RenderPass renderPass_ )
+ {
+ renderPass = renderPass_;
+ return *this;
+ }
+
+ CommandBufferInheritanceInfo& setSubpass( uint32_t subpass_ )
+ {
+ subpass = subpass_;
+ return *this;
+ }
+
+ CommandBufferInheritanceInfo& setFramebuffer( Framebuffer framebuffer_ )
+ {
+ framebuffer = framebuffer_;
+ return *this;
+ }
+
+ CommandBufferInheritanceInfo& setOcclusionQueryEnable( Bool32 occlusionQueryEnable_ )
+ {
+ occlusionQueryEnable = occlusionQueryEnable_;
+ return *this;
+ }
+
+ CommandBufferInheritanceInfo& setQueryFlags( QueryControlFlags queryFlags_ )
+ {
+ queryFlags = queryFlags_;
+ return *this;
+ }
+
+ CommandBufferInheritanceInfo& setPipelineStatistics( QueryPipelineStatisticFlags pipelineStatistics_ )
+ {
+ pipelineStatistics = pipelineStatistics_;
+ return *this;
+ }
+
+ operator const VkCommandBufferInheritanceInfo&() const
+ {
+ return *reinterpret_cast<const VkCommandBufferInheritanceInfo*>(this);
+ }
+
+ bool operator==( CommandBufferInheritanceInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( renderPass == rhs.renderPass )
+ && ( subpass == rhs.subpass )
+ && ( framebuffer == rhs.framebuffer )
+ && ( occlusionQueryEnable == rhs.occlusionQueryEnable )
+ && ( queryFlags == rhs.queryFlags )
+ && ( pipelineStatistics == rhs.pipelineStatistics );
+ }
+
+ bool operator!=( CommandBufferInheritanceInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eCommandBufferInheritanceInfo;
+
+ public:
+ const void* pNext = nullptr;
+ RenderPass renderPass;
+ uint32_t subpass;
+ Framebuffer framebuffer;
+ Bool32 occlusionQueryEnable;
+ QueryControlFlags queryFlags;
+ QueryPipelineStatisticFlags pipelineStatistics;
+ };
+ static_assert( sizeof( CommandBufferInheritanceInfo ) == sizeof( VkCommandBufferInheritanceInfo ), "struct and wrapper have different size!" );
+
+ struct CommandBufferBeginInfo
+ {
+ CommandBufferBeginInfo( CommandBufferUsageFlags flags_ = CommandBufferUsageFlags(), const CommandBufferInheritanceInfo* pInheritanceInfo_ = nullptr )
+ : flags( flags_ )
+ , pInheritanceInfo( pInheritanceInfo_ )
+ {
+ }
+
+ CommandBufferBeginInfo( VkCommandBufferBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandBufferBeginInfo ) );
+ }
+
+ CommandBufferBeginInfo& operator=( VkCommandBufferBeginInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandBufferBeginInfo ) );
+ return *this;
+ }
+ CommandBufferBeginInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ CommandBufferBeginInfo& setFlags( CommandBufferUsageFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ CommandBufferBeginInfo& setPInheritanceInfo( const CommandBufferInheritanceInfo* pInheritanceInfo_ )
+ {
+ pInheritanceInfo = pInheritanceInfo_;
+ return *this;
+ }
+
+ operator const VkCommandBufferBeginInfo&() const
+ {
+ return *reinterpret_cast<const VkCommandBufferBeginInfo*>(this);
+ }
+
+ bool operator==( CommandBufferBeginInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( pInheritanceInfo == rhs.pInheritanceInfo );
+ }
+
+ bool operator!=( CommandBufferBeginInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eCommandBufferBeginInfo;
+
+ public:
+ const void* pNext = nullptr;
+ CommandBufferUsageFlags flags;
+ const CommandBufferInheritanceInfo* pInheritanceInfo;
+ };
+ static_assert( sizeof( CommandBufferBeginInfo ) == sizeof( VkCommandBufferBeginInfo ), "struct and wrapper have different size!" );
+
+ struct QueryPoolCreateInfo
+ {
+ QueryPoolCreateInfo( QueryPoolCreateFlags flags_ = QueryPoolCreateFlags(), QueryType queryType_ = QueryType::eOcclusion, uint32_t queryCount_ = 0, QueryPipelineStatisticFlags pipelineStatistics_ = QueryPipelineStatisticFlags() )
+ : flags( flags_ )
+ , queryType( queryType_ )
+ , queryCount( queryCount_ )
+ , pipelineStatistics( pipelineStatistics_ )
+ {
+ }
+
+ QueryPoolCreateInfo( VkQueryPoolCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( QueryPoolCreateInfo ) );
+ }
+
+ QueryPoolCreateInfo& operator=( VkQueryPoolCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( QueryPoolCreateInfo ) );
+ return *this;
+ }
+ QueryPoolCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ QueryPoolCreateInfo& setFlags( QueryPoolCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ QueryPoolCreateInfo& setQueryType( QueryType queryType_ )
+ {
+ queryType = queryType_;
+ return *this;
+ }
+
+ QueryPoolCreateInfo& setQueryCount( uint32_t queryCount_ )
+ {
+ queryCount = queryCount_;
+ return *this;
+ }
+
+ QueryPoolCreateInfo& setPipelineStatistics( QueryPipelineStatisticFlags pipelineStatistics_ )
+ {
+ pipelineStatistics = pipelineStatistics_;
+ return *this;
+ }
+
+ operator const VkQueryPoolCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkQueryPoolCreateInfo*>(this);
+ }
+
+ bool operator==( QueryPoolCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( queryType == rhs.queryType )
+ && ( queryCount == rhs.queryCount )
+ && ( pipelineStatistics == rhs.pipelineStatistics );
+ }
+
+ bool operator!=( QueryPoolCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eQueryPoolCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ QueryPoolCreateFlags flags;
+ QueryType queryType;
+ uint32_t queryCount;
+ QueryPipelineStatisticFlags pipelineStatistics;
+ };
+ static_assert( sizeof( QueryPoolCreateInfo ) == sizeof( VkQueryPoolCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class ImageAspectFlagBits
+ {
+ eColor = VK_IMAGE_ASPECT_COLOR_BIT,
+ eDepth = VK_IMAGE_ASPECT_DEPTH_BIT,
+ eStencil = VK_IMAGE_ASPECT_STENCIL_BIT,
+ eMetadata = VK_IMAGE_ASPECT_METADATA_BIT,
+ ePlane0 = VK_IMAGE_ASPECT_PLANE_0_BIT,
+ ePlane0KHR = VK_IMAGE_ASPECT_PLANE_0_BIT,
+ ePlane1 = VK_IMAGE_ASPECT_PLANE_1_BIT,
+ ePlane1KHR = VK_IMAGE_ASPECT_PLANE_1_BIT,
+ ePlane2 = VK_IMAGE_ASPECT_PLANE_2_BIT,
+ ePlane2KHR = VK_IMAGE_ASPECT_PLANE_2_BIT
+ };
+
+ using ImageAspectFlags = Flags<ImageAspectFlagBits, VkImageAspectFlags>;
+
+ VULKAN_HPP_INLINE ImageAspectFlags operator|( ImageAspectFlagBits bit0, ImageAspectFlagBits bit1 )
+ {
+ return ImageAspectFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ImageAspectFlags operator~( ImageAspectFlagBits bits )
+ {
+ return ~( ImageAspectFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ImageAspectFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ImageAspectFlagBits::eColor) | VkFlags(ImageAspectFlagBits::eDepth) | VkFlags(ImageAspectFlagBits::eStencil) | VkFlags(ImageAspectFlagBits::eMetadata) | VkFlags(ImageAspectFlagBits::ePlane0) | VkFlags(ImageAspectFlagBits::ePlane1) | VkFlags(ImageAspectFlagBits::ePlane2)
+ };
+ };
+
+ struct ImageSubresource
+ {
+ ImageSubresource( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t mipLevel_ = 0, uint32_t arrayLayer_ = 0 )
+ : aspectMask( aspectMask_ )
+ , mipLevel( mipLevel_ )
+ , arrayLayer( arrayLayer_ )
+ {
+ }
+
+ ImageSubresource( VkImageSubresource const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSubresource ) );
+ }
+
+ ImageSubresource& operator=( VkImageSubresource const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSubresource ) );
+ return *this;
+ }
+ ImageSubresource& setAspectMask( ImageAspectFlags aspectMask_ )
+ {
+ aspectMask = aspectMask_;
+ return *this;
+ }
+
+ ImageSubresource& setMipLevel( uint32_t mipLevel_ )
+ {
+ mipLevel = mipLevel_;
+ return *this;
+ }
+
+ ImageSubresource& setArrayLayer( uint32_t arrayLayer_ )
+ {
+ arrayLayer = arrayLayer_;
+ return *this;
+ }
+
+ operator const VkImageSubresource&() const
+ {
+ return *reinterpret_cast<const VkImageSubresource*>(this);
+ }
+
+ bool operator==( ImageSubresource const& rhs ) const
+ {
+ return ( aspectMask == rhs.aspectMask )
+ && ( mipLevel == rhs.mipLevel )
+ && ( arrayLayer == rhs.arrayLayer );
+ }
+
+ bool operator!=( ImageSubresource const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageAspectFlags aspectMask;
+ uint32_t mipLevel;
+ uint32_t arrayLayer;
+ };
+ static_assert( sizeof( ImageSubresource ) == sizeof( VkImageSubresource ), "struct and wrapper have different size!" );
+
+ struct ImageSubresourceLayers
+ {
+ ImageSubresourceLayers( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t mipLevel_ = 0, uint32_t baseArrayLayer_ = 0, uint32_t layerCount_ = 0 )
+ : aspectMask( aspectMask_ )
+ , mipLevel( mipLevel_ )
+ , baseArrayLayer( baseArrayLayer_ )
+ , layerCount( layerCount_ )
+ {
+ }
+
+ ImageSubresourceLayers( VkImageSubresourceLayers const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSubresourceLayers ) );
+ }
+
+ ImageSubresourceLayers& operator=( VkImageSubresourceLayers const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSubresourceLayers ) );
+ return *this;
+ }
+ ImageSubresourceLayers& setAspectMask( ImageAspectFlags aspectMask_ )
+ {
+ aspectMask = aspectMask_;
+ return *this;
+ }
+
+ ImageSubresourceLayers& setMipLevel( uint32_t mipLevel_ )
+ {
+ mipLevel = mipLevel_;
+ return *this;
+ }
+
+ ImageSubresourceLayers& setBaseArrayLayer( uint32_t baseArrayLayer_ )
+ {
+ baseArrayLayer = baseArrayLayer_;
+ return *this;
+ }
+
+ ImageSubresourceLayers& setLayerCount( uint32_t layerCount_ )
+ {
+ layerCount = layerCount_;
+ return *this;
+ }
+
+ operator const VkImageSubresourceLayers&() const
+ {
+ return *reinterpret_cast<const VkImageSubresourceLayers*>(this);
+ }
+
+ bool operator==( ImageSubresourceLayers const& rhs ) const
+ {
+ return ( aspectMask == rhs.aspectMask )
+ && ( mipLevel == rhs.mipLevel )
+ && ( baseArrayLayer == rhs.baseArrayLayer )
+ && ( layerCount == rhs.layerCount );
+ }
+
+ bool operator!=( ImageSubresourceLayers const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageAspectFlags aspectMask;
+ uint32_t mipLevel;
+ uint32_t baseArrayLayer;
+ uint32_t layerCount;
+ };
+ static_assert( sizeof( ImageSubresourceLayers ) == sizeof( VkImageSubresourceLayers ), "struct and wrapper have different size!" );
+
+ struct ImageSubresourceRange
+ {
+ ImageSubresourceRange( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t baseMipLevel_ = 0, uint32_t levelCount_ = 0, uint32_t baseArrayLayer_ = 0, uint32_t layerCount_ = 0 )
+ : aspectMask( aspectMask_ )
+ , baseMipLevel( baseMipLevel_ )
+ , levelCount( levelCount_ )
+ , baseArrayLayer( baseArrayLayer_ )
+ , layerCount( layerCount_ )
+ {
+ }
+
+ ImageSubresourceRange( VkImageSubresourceRange const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSubresourceRange ) );
+ }
+
+ ImageSubresourceRange& operator=( VkImageSubresourceRange const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageSubresourceRange ) );
+ return *this;
+ }
+ ImageSubresourceRange& setAspectMask( ImageAspectFlags aspectMask_ )
+ {
+ aspectMask = aspectMask_;
+ return *this;
+ }
+
+ ImageSubresourceRange& setBaseMipLevel( uint32_t baseMipLevel_ )
+ {
+ baseMipLevel = baseMipLevel_;
+ return *this;
+ }
+
+ ImageSubresourceRange& setLevelCount( uint32_t levelCount_ )
+ {
+ levelCount = levelCount_;
+ return *this;
+ }
+
+ ImageSubresourceRange& setBaseArrayLayer( uint32_t baseArrayLayer_ )
+ {
+ baseArrayLayer = baseArrayLayer_;
+ return *this;
+ }
+
+ ImageSubresourceRange& setLayerCount( uint32_t layerCount_ )
+ {
+ layerCount = layerCount_;
+ return *this;
+ }
+
+ operator const VkImageSubresourceRange&() const
+ {
+ return *reinterpret_cast<const VkImageSubresourceRange*>(this);
+ }
+
+ bool operator==( ImageSubresourceRange const& rhs ) const
+ {
+ return ( aspectMask == rhs.aspectMask )
+ && ( baseMipLevel == rhs.baseMipLevel )
+ && ( levelCount == rhs.levelCount )
+ && ( baseArrayLayer == rhs.baseArrayLayer )
+ && ( layerCount == rhs.layerCount );
+ }
+
+ bool operator!=( ImageSubresourceRange const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageAspectFlags aspectMask;
+ uint32_t baseMipLevel;
+ uint32_t levelCount;
+ uint32_t baseArrayLayer;
+ uint32_t layerCount;
+ };
+ static_assert( sizeof( ImageSubresourceRange ) == sizeof( VkImageSubresourceRange ), "struct and wrapper have different size!" );
+
+ struct ImageMemoryBarrier
+ {
+ ImageMemoryBarrier( AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags(), ImageLayout oldLayout_ = ImageLayout::eUndefined, ImageLayout newLayout_ = ImageLayout::eUndefined, uint32_t srcQueueFamilyIndex_ = 0, uint32_t dstQueueFamilyIndex_ = 0, Image image_ = Image(), ImageSubresourceRange subresourceRange_ = ImageSubresourceRange() )
+ : srcAccessMask( srcAccessMask_ )
+ , dstAccessMask( dstAccessMask_ )
+ , oldLayout( oldLayout_ )
+ , newLayout( newLayout_ )
+ , srcQueueFamilyIndex( srcQueueFamilyIndex_ )
+ , dstQueueFamilyIndex( dstQueueFamilyIndex_ )
+ , image( image_ )
+ , subresourceRange( subresourceRange_ )
+ {
+ }
+
+ ImageMemoryBarrier( VkImageMemoryBarrier const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageMemoryBarrier ) );
+ }
+
+ ImageMemoryBarrier& operator=( VkImageMemoryBarrier const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageMemoryBarrier ) );
+ return *this;
+ }
+ ImageMemoryBarrier& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setSrcAccessMask( AccessFlags srcAccessMask_ )
+ {
+ srcAccessMask = srcAccessMask_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setDstAccessMask( AccessFlags dstAccessMask_ )
+ {
+ dstAccessMask = dstAccessMask_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setOldLayout( ImageLayout oldLayout_ )
+ {
+ oldLayout = oldLayout_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setNewLayout( ImageLayout newLayout_ )
+ {
+ newLayout = newLayout_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ )
+ {
+ srcQueueFamilyIndex = srcQueueFamilyIndex_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ )
+ {
+ dstQueueFamilyIndex = dstQueueFamilyIndex_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ ImageMemoryBarrier& setSubresourceRange( ImageSubresourceRange subresourceRange_ )
+ {
+ subresourceRange = subresourceRange_;
+ return *this;
+ }
+
+ operator const VkImageMemoryBarrier&() const
+ {
+ return *reinterpret_cast<const VkImageMemoryBarrier*>(this);
+ }
+
+ bool operator==( ImageMemoryBarrier const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( srcAccessMask == rhs.srcAccessMask )
+ && ( dstAccessMask == rhs.dstAccessMask )
+ && ( oldLayout == rhs.oldLayout )
+ && ( newLayout == rhs.newLayout )
+ && ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex )
+ && ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex )
+ && ( image == rhs.image )
+ && ( subresourceRange == rhs.subresourceRange );
+ }
+
+ bool operator!=( ImageMemoryBarrier const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageMemoryBarrier;
+
+ public:
+ const void* pNext = nullptr;
+ AccessFlags srcAccessMask;
+ AccessFlags dstAccessMask;
+ ImageLayout oldLayout;
+ ImageLayout newLayout;
+ uint32_t srcQueueFamilyIndex;
+ uint32_t dstQueueFamilyIndex;
+ Image image;
+ ImageSubresourceRange subresourceRange;
+ };
+ static_assert( sizeof( ImageMemoryBarrier ) == sizeof( VkImageMemoryBarrier ), "struct and wrapper have different size!" );
+
+ struct ImageViewCreateInfo
+ {
+ ImageViewCreateInfo( ImageViewCreateFlags flags_ = ImageViewCreateFlags(), Image image_ = Image(), ImageViewType viewType_ = ImageViewType::e1D, Format format_ = Format::eUndefined, ComponentMapping components_ = ComponentMapping(), ImageSubresourceRange subresourceRange_ = ImageSubresourceRange() )
+ : flags( flags_ )
+ , image( image_ )
+ , viewType( viewType_ )
+ , format( format_ )
+ , components( components_ )
+ , subresourceRange( subresourceRange_ )
+ {
+ }
+
+ ImageViewCreateInfo( VkImageViewCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageViewCreateInfo ) );
+ }
+
+ ImageViewCreateInfo& operator=( VkImageViewCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageViewCreateInfo ) );
+ return *this;
+ }
+ ImageViewCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageViewCreateInfo& setFlags( ImageViewCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ImageViewCreateInfo& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ ImageViewCreateInfo& setViewType( ImageViewType viewType_ )
+ {
+ viewType = viewType_;
+ return *this;
+ }
+
+ ImageViewCreateInfo& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ ImageViewCreateInfo& setComponents( ComponentMapping components_ )
+ {
+ components = components_;
+ return *this;
+ }
+
+ ImageViewCreateInfo& setSubresourceRange( ImageSubresourceRange subresourceRange_ )
+ {
+ subresourceRange = subresourceRange_;
+ return *this;
+ }
+
+ operator const VkImageViewCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkImageViewCreateInfo*>(this);
+ }
+
+ bool operator==( ImageViewCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( image == rhs.image )
+ && ( viewType == rhs.viewType )
+ && ( format == rhs.format )
+ && ( components == rhs.components )
+ && ( subresourceRange == rhs.subresourceRange );
+ }
+
+ bool operator!=( ImageViewCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageViewCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ImageViewCreateFlags flags;
+ Image image;
+ ImageViewType viewType;
+ Format format;
+ ComponentMapping components;
+ ImageSubresourceRange subresourceRange;
+ };
+ static_assert( sizeof( ImageViewCreateInfo ) == sizeof( VkImageViewCreateInfo ), "struct and wrapper have different size!" );
+
+ struct ImageCopy
+ {
+ ImageCopy( ImageSubresourceLayers srcSubresource_ = ImageSubresourceLayers(), Offset3D srcOffset_ = Offset3D(), ImageSubresourceLayers dstSubresource_ = ImageSubresourceLayers(), Offset3D dstOffset_ = Offset3D(), Extent3D extent_ = Extent3D() )
+ : srcSubresource( srcSubresource_ )
+ , srcOffset( srcOffset_ )
+ , dstSubresource( dstSubresource_ )
+ , dstOffset( dstOffset_ )
+ , extent( extent_ )
+ {
+ }
+
+ ImageCopy( VkImageCopy const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageCopy ) );
+ }
+
+ ImageCopy& operator=( VkImageCopy const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageCopy ) );
+ return *this;
+ }
+ ImageCopy& setSrcSubresource( ImageSubresourceLayers srcSubresource_ )
+ {
+ srcSubresource = srcSubresource_;
+ return *this;
+ }
+
+ ImageCopy& setSrcOffset( Offset3D srcOffset_ )
+ {
+ srcOffset = srcOffset_;
+ return *this;
+ }
+
+ ImageCopy& setDstSubresource( ImageSubresourceLayers dstSubresource_ )
+ {
+ dstSubresource = dstSubresource_;
+ return *this;
+ }
+
+ ImageCopy& setDstOffset( Offset3D dstOffset_ )
+ {
+ dstOffset = dstOffset_;
+ return *this;
+ }
+
+ ImageCopy& setExtent( Extent3D extent_ )
+ {
+ extent = extent_;
+ return *this;
+ }
+
+ operator const VkImageCopy&() const
+ {
+ return *reinterpret_cast<const VkImageCopy*>(this);
+ }
+
+ bool operator==( ImageCopy const& rhs ) const
+ {
+ return ( srcSubresource == rhs.srcSubresource )
+ && ( srcOffset == rhs.srcOffset )
+ && ( dstSubresource == rhs.dstSubresource )
+ && ( dstOffset == rhs.dstOffset )
+ && ( extent == rhs.extent );
+ }
+
+ bool operator!=( ImageCopy const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageSubresourceLayers srcSubresource;
+ Offset3D srcOffset;
+ ImageSubresourceLayers dstSubresource;
+ Offset3D dstOffset;
+ Extent3D extent;
+ };
+ static_assert( sizeof( ImageCopy ) == sizeof( VkImageCopy ), "struct and wrapper have different size!" );
+
+ struct ImageBlit
+ {
+ ImageBlit( ImageSubresourceLayers srcSubresource_ = ImageSubresourceLayers(), std::array<Offset3D,2> const& srcOffsets_ = { { Offset3D(), Offset3D() } }, ImageSubresourceLayers dstSubresource_ = ImageSubresourceLayers(), std::array<Offset3D,2> const& dstOffsets_ = { { Offset3D(), Offset3D() } } )
+ : srcSubresource( srcSubresource_ )
+ , dstSubresource( dstSubresource_ )
+ {
+ memcpy( &srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) );
+ memcpy( &dstOffsets, dstOffsets_.data(), 2 * sizeof( Offset3D ) );
+ }
+
+ ImageBlit( VkImageBlit const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageBlit ) );
+ }
+
+ ImageBlit& operator=( VkImageBlit const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageBlit ) );
+ return *this;
+ }
+ ImageBlit& setSrcSubresource( ImageSubresourceLayers srcSubresource_ )
+ {
+ srcSubresource = srcSubresource_;
+ return *this;
+ }
+
+ ImageBlit& setSrcOffsets( std::array<Offset3D,2> srcOffsets_ )
+ {
+ memcpy( &srcOffsets, srcOffsets_.data(), 2 * sizeof( Offset3D ) );
+ return *this;
+ }
+
+ ImageBlit& setDstSubresource( ImageSubresourceLayers dstSubresource_ )
+ {
+ dstSubresource = dstSubresource_;
+ return *this;
+ }
+
+ ImageBlit& setDstOffsets( std::array<Offset3D,2> dstOffsets_ )
+ {
+ memcpy( &dstOffsets, dstOffsets_.data(), 2 * sizeof( Offset3D ) );
+ return *this;
+ }
+
+ operator const VkImageBlit&() const
+ {
+ return *reinterpret_cast<const VkImageBlit*>(this);
+ }
+
+ bool operator==( ImageBlit const& rhs ) const
+ {
+ return ( srcSubresource == rhs.srcSubresource )
+ && ( memcmp( srcOffsets, rhs.srcOffsets, 2 * sizeof( Offset3D ) ) == 0 )
+ && ( dstSubresource == rhs.dstSubresource )
+ && ( memcmp( dstOffsets, rhs.dstOffsets, 2 * sizeof( Offset3D ) ) == 0 );
+ }
+
+ bool operator!=( ImageBlit const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageSubresourceLayers srcSubresource;
+ Offset3D srcOffsets[2];
+ ImageSubresourceLayers dstSubresource;
+ Offset3D dstOffsets[2];
+ };
+ static_assert( sizeof( ImageBlit ) == sizeof( VkImageBlit ), "struct and wrapper have different size!" );
+
+ struct BufferImageCopy
+ {
+ BufferImageCopy( DeviceSize bufferOffset_ = 0, uint32_t bufferRowLength_ = 0, uint32_t bufferImageHeight_ = 0, ImageSubresourceLayers imageSubresource_ = ImageSubresourceLayers(), Offset3D imageOffset_ = Offset3D(), Extent3D imageExtent_ = Extent3D() )
+ : bufferOffset( bufferOffset_ )
+ , bufferRowLength( bufferRowLength_ )
+ , bufferImageHeight( bufferImageHeight_ )
+ , imageSubresource( imageSubresource_ )
+ , imageOffset( imageOffset_ )
+ , imageExtent( imageExtent_ )
+ {
+ }
+
+ BufferImageCopy( VkBufferImageCopy const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferImageCopy ) );
+ }
+
+ BufferImageCopy& operator=( VkBufferImageCopy const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BufferImageCopy ) );
+ return *this;
+ }
+ BufferImageCopy& setBufferOffset( DeviceSize bufferOffset_ )
+ {
+ bufferOffset = bufferOffset_;
+ return *this;
+ }
+
+ BufferImageCopy& setBufferRowLength( uint32_t bufferRowLength_ )
+ {
+ bufferRowLength = bufferRowLength_;
+ return *this;
+ }
+
+ BufferImageCopy& setBufferImageHeight( uint32_t bufferImageHeight_ )
+ {
+ bufferImageHeight = bufferImageHeight_;
+ return *this;
+ }
+
+ BufferImageCopy& setImageSubresource( ImageSubresourceLayers imageSubresource_ )
+ {
+ imageSubresource = imageSubresource_;
+ return *this;
+ }
+
+ BufferImageCopy& setImageOffset( Offset3D imageOffset_ )
+ {
+ imageOffset = imageOffset_;
+ return *this;
+ }
+
+ BufferImageCopy& setImageExtent( Extent3D imageExtent_ )
+ {
+ imageExtent = imageExtent_;
+ return *this;
+ }
+
+ operator const VkBufferImageCopy&() const
+ {
+ return *reinterpret_cast<const VkBufferImageCopy*>(this);
+ }
+
+ bool operator==( BufferImageCopy const& rhs ) const
+ {
+ return ( bufferOffset == rhs.bufferOffset )
+ && ( bufferRowLength == rhs.bufferRowLength )
+ && ( bufferImageHeight == rhs.bufferImageHeight )
+ && ( imageSubresource == rhs.imageSubresource )
+ && ( imageOffset == rhs.imageOffset )
+ && ( imageExtent == rhs.imageExtent );
+ }
+
+ bool operator!=( BufferImageCopy const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DeviceSize bufferOffset;
+ uint32_t bufferRowLength;
+ uint32_t bufferImageHeight;
+ ImageSubresourceLayers imageSubresource;
+ Offset3D imageOffset;
+ Extent3D imageExtent;
+ };
+ static_assert( sizeof( BufferImageCopy ) == sizeof( VkBufferImageCopy ), "struct and wrapper have different size!" );
+
+ struct ImageResolve
+ {
+ ImageResolve( ImageSubresourceLayers srcSubresource_ = ImageSubresourceLayers(), Offset3D srcOffset_ = Offset3D(), ImageSubresourceLayers dstSubresource_ = ImageSubresourceLayers(), Offset3D dstOffset_ = Offset3D(), Extent3D extent_ = Extent3D() )
+ : srcSubresource( srcSubresource_ )
+ , srcOffset( srcOffset_ )
+ , dstSubresource( dstSubresource_ )
+ , dstOffset( dstOffset_ )
+ , extent( extent_ )
+ {
+ }
+
+ ImageResolve( VkImageResolve const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageResolve ) );
+ }
+
+ ImageResolve& operator=( VkImageResolve const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageResolve ) );
+ return *this;
+ }
+ ImageResolve& setSrcSubresource( ImageSubresourceLayers srcSubresource_ )
+ {
+ srcSubresource = srcSubresource_;
+ return *this;
+ }
+
+ ImageResolve& setSrcOffset( Offset3D srcOffset_ )
+ {
+ srcOffset = srcOffset_;
+ return *this;
+ }
+
+ ImageResolve& setDstSubresource( ImageSubresourceLayers dstSubresource_ )
+ {
+ dstSubresource = dstSubresource_;
+ return *this;
+ }
+
+ ImageResolve& setDstOffset( Offset3D dstOffset_ )
+ {
+ dstOffset = dstOffset_;
+ return *this;
+ }
+
+ ImageResolve& setExtent( Extent3D extent_ )
+ {
+ extent = extent_;
+ return *this;
+ }
+
+ operator const VkImageResolve&() const
+ {
+ return *reinterpret_cast<const VkImageResolve*>(this);
+ }
+
+ bool operator==( ImageResolve const& rhs ) const
+ {
+ return ( srcSubresource == rhs.srcSubresource )
+ && ( srcOffset == rhs.srcOffset )
+ && ( dstSubresource == rhs.dstSubresource )
+ && ( dstOffset == rhs.dstOffset )
+ && ( extent == rhs.extent );
+ }
+
+ bool operator!=( ImageResolve const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageSubresourceLayers srcSubresource;
+ Offset3D srcOffset;
+ ImageSubresourceLayers dstSubresource;
+ Offset3D dstOffset;
+ Extent3D extent;
+ };
+ static_assert( sizeof( ImageResolve ) == sizeof( VkImageResolve ), "struct and wrapper have different size!" );
+
+ struct ClearAttachment
+ {
+ ClearAttachment( ImageAspectFlags aspectMask_ = ImageAspectFlags(), uint32_t colorAttachment_ = 0, ClearValue clearValue_ = ClearValue() )
+ : aspectMask( aspectMask_ )
+ , colorAttachment( colorAttachment_ )
+ , clearValue( clearValue_ )
+ {
+ }
+
+ ClearAttachment( VkClearAttachment const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ClearAttachment ) );
+ }
+
+ ClearAttachment& operator=( VkClearAttachment const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ClearAttachment ) );
+ return *this;
+ }
+ ClearAttachment& setAspectMask( ImageAspectFlags aspectMask_ )
+ {
+ aspectMask = aspectMask_;
+ return *this;
+ }
+
+ ClearAttachment& setColorAttachment( uint32_t colorAttachment_ )
+ {
+ colorAttachment = colorAttachment_;
+ return *this;
+ }
+
+ ClearAttachment& setClearValue( ClearValue clearValue_ )
+ {
+ clearValue = clearValue_;
+ return *this;
+ }
+
+ operator const VkClearAttachment&() const
+ {
+ return *reinterpret_cast<const VkClearAttachment*>(this);
+ }
+
+ ImageAspectFlags aspectMask;
+ uint32_t colorAttachment;
+ ClearValue clearValue;
+ };
+ static_assert( sizeof( ClearAttachment ) == sizeof( VkClearAttachment ), "struct and wrapper have different size!" );
+
+ struct InputAttachmentAspectReference
+ {
+ InputAttachmentAspectReference( uint32_t subpass_ = 0, uint32_t inputAttachmentIndex_ = 0, ImageAspectFlags aspectMask_ = ImageAspectFlags() )
+ : subpass( subpass_ )
+ , inputAttachmentIndex( inputAttachmentIndex_ )
+ , aspectMask( aspectMask_ )
+ {
+ }
+
+ InputAttachmentAspectReference( VkInputAttachmentAspectReference const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( InputAttachmentAspectReference ) );
+ }
+
+ InputAttachmentAspectReference& operator=( VkInputAttachmentAspectReference const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( InputAttachmentAspectReference ) );
+ return *this;
+ }
+ InputAttachmentAspectReference& setSubpass( uint32_t subpass_ )
+ {
+ subpass = subpass_;
+ return *this;
+ }
+
+ InputAttachmentAspectReference& setInputAttachmentIndex( uint32_t inputAttachmentIndex_ )
+ {
+ inputAttachmentIndex = inputAttachmentIndex_;
+ return *this;
+ }
+
+ InputAttachmentAspectReference& setAspectMask( ImageAspectFlags aspectMask_ )
+ {
+ aspectMask = aspectMask_;
+ return *this;
+ }
+
+ operator const VkInputAttachmentAspectReference&() const
+ {
+ return *reinterpret_cast<const VkInputAttachmentAspectReference*>(this);
+ }
+
+ bool operator==( InputAttachmentAspectReference const& rhs ) const
+ {
+ return ( subpass == rhs.subpass )
+ && ( inputAttachmentIndex == rhs.inputAttachmentIndex )
+ && ( aspectMask == rhs.aspectMask );
+ }
+
+ bool operator!=( InputAttachmentAspectReference const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t subpass;
+ uint32_t inputAttachmentIndex;
+ ImageAspectFlags aspectMask;
+ };
+ static_assert( sizeof( InputAttachmentAspectReference ) == sizeof( VkInputAttachmentAspectReference ), "struct and wrapper have different size!" );
+
+ using InputAttachmentAspectReferenceKHR = InputAttachmentAspectReference;
+
+ struct RenderPassInputAttachmentAspectCreateInfo
+ {
+ RenderPassInputAttachmentAspectCreateInfo( uint32_t aspectReferenceCount_ = 0, const InputAttachmentAspectReference* pAspectReferences_ = nullptr )
+ : aspectReferenceCount( aspectReferenceCount_ )
+ , pAspectReferences( pAspectReferences_ )
+ {
+ }
+
+ RenderPassInputAttachmentAspectCreateInfo( VkRenderPassInputAttachmentAspectCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassInputAttachmentAspectCreateInfo ) );
+ }
+
+ RenderPassInputAttachmentAspectCreateInfo& operator=( VkRenderPassInputAttachmentAspectCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassInputAttachmentAspectCreateInfo ) );
+ return *this;
+ }
+ RenderPassInputAttachmentAspectCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ RenderPassInputAttachmentAspectCreateInfo& setAspectReferenceCount( uint32_t aspectReferenceCount_ )
+ {
+ aspectReferenceCount = aspectReferenceCount_;
+ return *this;
+ }
+
+ RenderPassInputAttachmentAspectCreateInfo& setPAspectReferences( const InputAttachmentAspectReference* pAspectReferences_ )
+ {
+ pAspectReferences = pAspectReferences_;
+ return *this;
+ }
+
+ operator const VkRenderPassInputAttachmentAspectCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkRenderPassInputAttachmentAspectCreateInfo*>(this);
+ }
+
+ bool operator==( RenderPassInputAttachmentAspectCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( aspectReferenceCount == rhs.aspectReferenceCount )
+ && ( pAspectReferences == rhs.pAspectReferences );
+ }
+
+ bool operator!=( RenderPassInputAttachmentAspectCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eRenderPassInputAttachmentAspectCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t aspectReferenceCount;
+ const InputAttachmentAspectReference* pAspectReferences;
+ };
+ static_assert( sizeof( RenderPassInputAttachmentAspectCreateInfo ) == sizeof( VkRenderPassInputAttachmentAspectCreateInfo ), "struct and wrapper have different size!" );
+
+ using RenderPassInputAttachmentAspectCreateInfoKHR = RenderPassInputAttachmentAspectCreateInfo;
+
+ struct BindImagePlaneMemoryInfo
+ {
+ BindImagePlaneMemoryInfo( ImageAspectFlagBits planeAspect_ = ImageAspectFlagBits::eColor )
+ : planeAspect( planeAspect_ )
+ {
+ }
+
+ BindImagePlaneMemoryInfo( VkBindImagePlaneMemoryInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImagePlaneMemoryInfo ) );
+ }
+
+ BindImagePlaneMemoryInfo& operator=( VkBindImagePlaneMemoryInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindImagePlaneMemoryInfo ) );
+ return *this;
+ }
+ BindImagePlaneMemoryInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BindImagePlaneMemoryInfo& setPlaneAspect( ImageAspectFlagBits planeAspect_ )
+ {
+ planeAspect = planeAspect_;
+ return *this;
+ }
+
+ operator const VkBindImagePlaneMemoryInfo&() const
+ {
+ return *reinterpret_cast<const VkBindImagePlaneMemoryInfo*>(this);
+ }
+
+ bool operator==( BindImagePlaneMemoryInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( planeAspect == rhs.planeAspect );
+ }
+
+ bool operator!=( BindImagePlaneMemoryInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBindImagePlaneMemoryInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ImageAspectFlagBits planeAspect;
+ };
+ static_assert( sizeof( BindImagePlaneMemoryInfo ) == sizeof( VkBindImagePlaneMemoryInfo ), "struct and wrapper have different size!" );
+
+ using BindImagePlaneMemoryInfoKHR = BindImagePlaneMemoryInfo;
+
+ struct ImagePlaneMemoryRequirementsInfo
+ {
+ ImagePlaneMemoryRequirementsInfo( ImageAspectFlagBits planeAspect_ = ImageAspectFlagBits::eColor )
+ : planeAspect( planeAspect_ )
+ {
+ }
+
+ ImagePlaneMemoryRequirementsInfo( VkImagePlaneMemoryRequirementsInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImagePlaneMemoryRequirementsInfo ) );
+ }
+
+ ImagePlaneMemoryRequirementsInfo& operator=( VkImagePlaneMemoryRequirementsInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImagePlaneMemoryRequirementsInfo ) );
+ return *this;
+ }
+ ImagePlaneMemoryRequirementsInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImagePlaneMemoryRequirementsInfo& setPlaneAspect( ImageAspectFlagBits planeAspect_ )
+ {
+ planeAspect = planeAspect_;
+ return *this;
+ }
+
+ operator const VkImagePlaneMemoryRequirementsInfo&() const
+ {
+ return *reinterpret_cast<const VkImagePlaneMemoryRequirementsInfo*>(this);
+ }
+
+ bool operator==( ImagePlaneMemoryRequirementsInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( planeAspect == rhs.planeAspect );
+ }
+
+ bool operator!=( ImagePlaneMemoryRequirementsInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImagePlaneMemoryRequirementsInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ImageAspectFlagBits planeAspect;
+ };
+ static_assert( sizeof( ImagePlaneMemoryRequirementsInfo ) == sizeof( VkImagePlaneMemoryRequirementsInfo ), "struct and wrapper have different size!" );
+
+ using ImagePlaneMemoryRequirementsInfoKHR = ImagePlaneMemoryRequirementsInfo;
+
+ enum class SparseImageFormatFlagBits
+ {
+ eSingleMiptail = VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT,
+ eAlignedMipSize = VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT,
+ eNonstandardBlockSize = VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT
+ };
+
+ using SparseImageFormatFlags = Flags<SparseImageFormatFlagBits, VkSparseImageFormatFlags>;
+
+ VULKAN_HPP_INLINE SparseImageFormatFlags operator|( SparseImageFormatFlagBits bit0, SparseImageFormatFlagBits bit1 )
+ {
+ return SparseImageFormatFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SparseImageFormatFlags operator~( SparseImageFormatFlagBits bits )
+ {
+ return ~( SparseImageFormatFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<SparseImageFormatFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(SparseImageFormatFlagBits::eSingleMiptail) | VkFlags(SparseImageFormatFlagBits::eAlignedMipSize) | VkFlags(SparseImageFormatFlagBits::eNonstandardBlockSize)
+ };
+ };
+
+ struct SparseImageFormatProperties
+ {
+ operator const VkSparseImageFormatProperties&() const
+ {
+ return *reinterpret_cast<const VkSparseImageFormatProperties*>(this);
+ }
+
+ bool operator==( SparseImageFormatProperties const& rhs ) const
+ {
+ return ( aspectMask == rhs.aspectMask )
+ && ( imageGranularity == rhs.imageGranularity )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( SparseImageFormatProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageAspectFlags aspectMask;
+ Extent3D imageGranularity;
+ SparseImageFormatFlags flags;
+ };
+ static_assert( sizeof( SparseImageFormatProperties ) == sizeof( VkSparseImageFormatProperties ), "struct and wrapper have different size!" );
+
+ struct SparseImageMemoryRequirements
+ {
+ operator const VkSparseImageMemoryRequirements&() const
+ {
+ return *reinterpret_cast<const VkSparseImageMemoryRequirements*>(this);
+ }
+
+ bool operator==( SparseImageMemoryRequirements const& rhs ) const
+ {
+ return ( formatProperties == rhs.formatProperties )
+ && ( imageMipTailFirstLod == rhs.imageMipTailFirstLod )
+ && ( imageMipTailSize == rhs.imageMipTailSize )
+ && ( imageMipTailOffset == rhs.imageMipTailOffset )
+ && ( imageMipTailStride == rhs.imageMipTailStride );
+ }
+
+ bool operator!=( SparseImageMemoryRequirements const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ SparseImageFormatProperties formatProperties;
+ uint32_t imageMipTailFirstLod;
+ DeviceSize imageMipTailSize;
+ DeviceSize imageMipTailOffset;
+ DeviceSize imageMipTailStride;
+ };
+ static_assert( sizeof( SparseImageMemoryRequirements ) == sizeof( VkSparseImageMemoryRequirements ), "struct and wrapper have different size!" );
+
+ struct SparseImageFormatProperties2
+ {
+ operator const VkSparseImageFormatProperties2&() const
+ {
+ return *reinterpret_cast<const VkSparseImageFormatProperties2*>(this);
+ }
+
+ bool operator==( SparseImageFormatProperties2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( properties == rhs.properties );
+ }
+
+ bool operator!=( SparseImageFormatProperties2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSparseImageFormatProperties2;
+
+ public:
+ void* pNext = nullptr;
+ SparseImageFormatProperties properties;
+ };
+ static_assert( sizeof( SparseImageFormatProperties2 ) == sizeof( VkSparseImageFormatProperties2 ), "struct and wrapper have different size!" );
+
+ using SparseImageFormatProperties2KHR = SparseImageFormatProperties2;
+
+ struct SparseImageMemoryRequirements2
+ {
+ operator const VkSparseImageMemoryRequirements2&() const
+ {
+ return *reinterpret_cast<const VkSparseImageMemoryRequirements2*>(this);
+ }
+
+ bool operator==( SparseImageMemoryRequirements2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memoryRequirements == rhs.memoryRequirements );
+ }
+
+ bool operator!=( SparseImageMemoryRequirements2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSparseImageMemoryRequirements2;
+
+ public:
+ void* pNext = nullptr;
+ SparseImageMemoryRequirements memoryRequirements;
+ };
+ static_assert( sizeof( SparseImageMemoryRequirements2 ) == sizeof( VkSparseImageMemoryRequirements2 ), "struct and wrapper have different size!" );
+
+ using SparseImageMemoryRequirements2KHR = SparseImageMemoryRequirements2;
+
+ enum class SparseMemoryBindFlagBits
+ {
+ eMetadata = VK_SPARSE_MEMORY_BIND_METADATA_BIT
+ };
+
+ using SparseMemoryBindFlags = Flags<SparseMemoryBindFlagBits, VkSparseMemoryBindFlags>;
+
+ VULKAN_HPP_INLINE SparseMemoryBindFlags operator|( SparseMemoryBindFlagBits bit0, SparseMemoryBindFlagBits bit1 )
+ {
+ return SparseMemoryBindFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SparseMemoryBindFlags operator~( SparseMemoryBindFlagBits bits )
+ {
+ return ~( SparseMemoryBindFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<SparseMemoryBindFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(SparseMemoryBindFlagBits::eMetadata)
+ };
+ };
+
+ struct SparseMemoryBind
+ {
+ SparseMemoryBind( DeviceSize resourceOffset_ = 0, DeviceSize size_ = 0, DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0, SparseMemoryBindFlags flags_ = SparseMemoryBindFlags() )
+ : resourceOffset( resourceOffset_ )
+ , size( size_ )
+ , memory( memory_ )
+ , memoryOffset( memoryOffset_ )
+ , flags( flags_ )
+ {
+ }
+
+ SparseMemoryBind( VkSparseMemoryBind const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseMemoryBind ) );
+ }
+
+ SparseMemoryBind& operator=( VkSparseMemoryBind const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseMemoryBind ) );
+ return *this;
+ }
+ SparseMemoryBind& setResourceOffset( DeviceSize resourceOffset_ )
+ {
+ resourceOffset = resourceOffset_;
+ return *this;
+ }
+
+ SparseMemoryBind& setSize( DeviceSize size_ )
+ {
+ size = size_;
+ return *this;
+ }
+
+ SparseMemoryBind& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ SparseMemoryBind& setMemoryOffset( DeviceSize memoryOffset_ )
+ {
+ memoryOffset = memoryOffset_;
+ return *this;
+ }
+
+ SparseMemoryBind& setFlags( SparseMemoryBindFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ operator const VkSparseMemoryBind&() const
+ {
+ return *reinterpret_cast<const VkSparseMemoryBind*>(this);
+ }
+
+ bool operator==( SparseMemoryBind const& rhs ) const
+ {
+ return ( resourceOffset == rhs.resourceOffset )
+ && ( size == rhs.size )
+ && ( memory == rhs.memory )
+ && ( memoryOffset == rhs.memoryOffset )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( SparseMemoryBind const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DeviceSize resourceOffset;
+ DeviceSize size;
+ DeviceMemory memory;
+ DeviceSize memoryOffset;
+ SparseMemoryBindFlags flags;
+ };
+ static_assert( sizeof( SparseMemoryBind ) == sizeof( VkSparseMemoryBind ), "struct and wrapper have different size!" );
+
+ struct SparseImageMemoryBind
+ {
+ SparseImageMemoryBind( ImageSubresource subresource_ = ImageSubresource(), Offset3D offset_ = Offset3D(), Extent3D extent_ = Extent3D(), DeviceMemory memory_ = DeviceMemory(), DeviceSize memoryOffset_ = 0, SparseMemoryBindFlags flags_ = SparseMemoryBindFlags() )
+ : subresource( subresource_ )
+ , offset( offset_ )
+ , extent( extent_ )
+ , memory( memory_ )
+ , memoryOffset( memoryOffset_ )
+ , flags( flags_ )
+ {
+ }
+
+ SparseImageMemoryBind( VkSparseImageMemoryBind const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseImageMemoryBind ) );
+ }
+
+ SparseImageMemoryBind& operator=( VkSparseImageMemoryBind const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseImageMemoryBind ) );
+ return *this;
+ }
+ SparseImageMemoryBind& setSubresource( ImageSubresource subresource_ )
+ {
+ subresource = subresource_;
+ return *this;
+ }
+
+ SparseImageMemoryBind& setOffset( Offset3D offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ SparseImageMemoryBind& setExtent( Extent3D extent_ )
+ {
+ extent = extent_;
+ return *this;
+ }
+
+ SparseImageMemoryBind& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ SparseImageMemoryBind& setMemoryOffset( DeviceSize memoryOffset_ )
+ {
+ memoryOffset = memoryOffset_;
+ return *this;
+ }
+
+ SparseImageMemoryBind& setFlags( SparseMemoryBindFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ operator const VkSparseImageMemoryBind&() const
+ {
+ return *reinterpret_cast<const VkSparseImageMemoryBind*>(this);
+ }
+
+ bool operator==( SparseImageMemoryBind const& rhs ) const
+ {
+ return ( subresource == rhs.subresource )
+ && ( offset == rhs.offset )
+ && ( extent == rhs.extent )
+ && ( memory == rhs.memory )
+ && ( memoryOffset == rhs.memoryOffset )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( SparseImageMemoryBind const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageSubresource subresource;
+ Offset3D offset;
+ Extent3D extent;
+ DeviceMemory memory;
+ DeviceSize memoryOffset;
+ SparseMemoryBindFlags flags;
+ };
+ static_assert( sizeof( SparseImageMemoryBind ) == sizeof( VkSparseImageMemoryBind ), "struct and wrapper have different size!" );
+
+ struct SparseBufferMemoryBindInfo
+ {
+ SparseBufferMemoryBindInfo( Buffer buffer_ = Buffer(), uint32_t bindCount_ = 0, const SparseMemoryBind* pBinds_ = nullptr )
+ : buffer( buffer_ )
+ , bindCount( bindCount_ )
+ , pBinds( pBinds_ )
+ {
+ }
+
+ SparseBufferMemoryBindInfo( VkSparseBufferMemoryBindInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseBufferMemoryBindInfo ) );
+ }
+
+ SparseBufferMemoryBindInfo& operator=( VkSparseBufferMemoryBindInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseBufferMemoryBindInfo ) );
+ return *this;
+ }
+ SparseBufferMemoryBindInfo& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ SparseBufferMemoryBindInfo& setBindCount( uint32_t bindCount_ )
+ {
+ bindCount = bindCount_;
+ return *this;
+ }
+
+ SparseBufferMemoryBindInfo& setPBinds( const SparseMemoryBind* pBinds_ )
+ {
+ pBinds = pBinds_;
+ return *this;
+ }
+
+ operator const VkSparseBufferMemoryBindInfo&() const
+ {
+ return *reinterpret_cast<const VkSparseBufferMemoryBindInfo*>(this);
+ }
+
+ bool operator==( SparseBufferMemoryBindInfo const& rhs ) const
+ {
+ return ( buffer == rhs.buffer )
+ && ( bindCount == rhs.bindCount )
+ && ( pBinds == rhs.pBinds );
+ }
+
+ bool operator!=( SparseBufferMemoryBindInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Buffer buffer;
+ uint32_t bindCount;
+ const SparseMemoryBind* pBinds;
+ };
+ static_assert( sizeof( SparseBufferMemoryBindInfo ) == sizeof( VkSparseBufferMemoryBindInfo ), "struct and wrapper have different size!" );
+
+ struct SparseImageOpaqueMemoryBindInfo
+ {
+ SparseImageOpaqueMemoryBindInfo( Image image_ = Image(), uint32_t bindCount_ = 0, const SparseMemoryBind* pBinds_ = nullptr )
+ : image( image_ )
+ , bindCount( bindCount_ )
+ , pBinds( pBinds_ )
+ {
+ }
+
+ SparseImageOpaqueMemoryBindInfo( VkSparseImageOpaqueMemoryBindInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseImageOpaqueMemoryBindInfo ) );
+ }
+
+ SparseImageOpaqueMemoryBindInfo& operator=( VkSparseImageOpaqueMemoryBindInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseImageOpaqueMemoryBindInfo ) );
+ return *this;
+ }
+ SparseImageOpaqueMemoryBindInfo& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ SparseImageOpaqueMemoryBindInfo& setBindCount( uint32_t bindCount_ )
+ {
+ bindCount = bindCount_;
+ return *this;
+ }
+
+ SparseImageOpaqueMemoryBindInfo& setPBinds( const SparseMemoryBind* pBinds_ )
+ {
+ pBinds = pBinds_;
+ return *this;
+ }
+
+ operator const VkSparseImageOpaqueMemoryBindInfo&() const
+ {
+ return *reinterpret_cast<const VkSparseImageOpaqueMemoryBindInfo*>(this);
+ }
+
+ bool operator==( SparseImageOpaqueMemoryBindInfo const& rhs ) const
+ {
+ return ( image == rhs.image )
+ && ( bindCount == rhs.bindCount )
+ && ( pBinds == rhs.pBinds );
+ }
+
+ bool operator!=( SparseImageOpaqueMemoryBindInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Image image;
+ uint32_t bindCount;
+ const SparseMemoryBind* pBinds;
+ };
+ static_assert( sizeof( SparseImageOpaqueMemoryBindInfo ) == sizeof( VkSparseImageOpaqueMemoryBindInfo ), "struct and wrapper have different size!" );
+
+ struct SparseImageMemoryBindInfo
+ {
+ SparseImageMemoryBindInfo( Image image_ = Image(), uint32_t bindCount_ = 0, const SparseImageMemoryBind* pBinds_ = nullptr )
+ : image( image_ )
+ , bindCount( bindCount_ )
+ , pBinds( pBinds_ )
+ {
+ }
+
+ SparseImageMemoryBindInfo( VkSparseImageMemoryBindInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseImageMemoryBindInfo ) );
+ }
+
+ SparseImageMemoryBindInfo& operator=( VkSparseImageMemoryBindInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SparseImageMemoryBindInfo ) );
+ return *this;
+ }
+ SparseImageMemoryBindInfo& setImage( Image image_ )
+ {
+ image = image_;
+ return *this;
+ }
+
+ SparseImageMemoryBindInfo& setBindCount( uint32_t bindCount_ )
+ {
+ bindCount = bindCount_;
+ return *this;
+ }
+
+ SparseImageMemoryBindInfo& setPBinds( const SparseImageMemoryBind* pBinds_ )
+ {
+ pBinds = pBinds_;
+ return *this;
+ }
+
+ operator const VkSparseImageMemoryBindInfo&() const
+ {
+ return *reinterpret_cast<const VkSparseImageMemoryBindInfo*>(this);
+ }
+
+ bool operator==( SparseImageMemoryBindInfo const& rhs ) const
+ {
+ return ( image == rhs.image )
+ && ( bindCount == rhs.bindCount )
+ && ( pBinds == rhs.pBinds );
+ }
+
+ bool operator!=( SparseImageMemoryBindInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Image image;
+ uint32_t bindCount;
+ const SparseImageMemoryBind* pBinds;
+ };
+ static_assert( sizeof( SparseImageMemoryBindInfo ) == sizeof( VkSparseImageMemoryBindInfo ), "struct and wrapper have different size!" );
+
+ struct BindSparseInfo
+ {
+ BindSparseInfo( uint32_t waitSemaphoreCount_ = 0, const Semaphore* pWaitSemaphores_ = nullptr, uint32_t bufferBindCount_ = 0, const SparseBufferMemoryBindInfo* pBufferBinds_ = nullptr, uint32_t imageOpaqueBindCount_ = 0, const SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds_ = nullptr, uint32_t imageBindCount_ = 0, const SparseImageMemoryBindInfo* pImageBinds_ = nullptr, uint32_t signalSemaphoreCount_ = 0, const Semaphore* pSignalSemaphores_ = nullptr )
+ : waitSemaphoreCount( waitSemaphoreCount_ )
+ , pWaitSemaphores( pWaitSemaphores_ )
+ , bufferBindCount( bufferBindCount_ )
+ , pBufferBinds( pBufferBinds_ )
+ , imageOpaqueBindCount( imageOpaqueBindCount_ )
+ , pImageOpaqueBinds( pImageOpaqueBinds_ )
+ , imageBindCount( imageBindCount_ )
+ , pImageBinds( pImageBinds_ )
+ , signalSemaphoreCount( signalSemaphoreCount_ )
+ , pSignalSemaphores( pSignalSemaphores_ )
+ {
+ }
+
+ BindSparseInfo( VkBindSparseInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindSparseInfo ) );
+ }
+
+ BindSparseInfo& operator=( VkBindSparseInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BindSparseInfo ) );
+ return *this;
+ }
+ BindSparseInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ BindSparseInfo& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )
+ {
+ waitSemaphoreCount = waitSemaphoreCount_;
+ return *this;
+ }
+
+ BindSparseInfo& setPWaitSemaphores( const Semaphore* pWaitSemaphores_ )
+ {
+ pWaitSemaphores = pWaitSemaphores_;
+ return *this;
+ }
+
+ BindSparseInfo& setBufferBindCount( uint32_t bufferBindCount_ )
+ {
+ bufferBindCount = bufferBindCount_;
+ return *this;
+ }
+
+ BindSparseInfo& setPBufferBinds( const SparseBufferMemoryBindInfo* pBufferBinds_ )
+ {
+ pBufferBinds = pBufferBinds_;
+ return *this;
+ }
+
+ BindSparseInfo& setImageOpaqueBindCount( uint32_t imageOpaqueBindCount_ )
+ {
+ imageOpaqueBindCount = imageOpaqueBindCount_;
+ return *this;
+ }
+
+ BindSparseInfo& setPImageOpaqueBinds( const SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds_ )
+ {
+ pImageOpaqueBinds = pImageOpaqueBinds_;
+ return *this;
+ }
+
+ BindSparseInfo& setImageBindCount( uint32_t imageBindCount_ )
+ {
+ imageBindCount = imageBindCount_;
+ return *this;
+ }
+
+ BindSparseInfo& setPImageBinds( const SparseImageMemoryBindInfo* pImageBinds_ )
+ {
+ pImageBinds = pImageBinds_;
+ return *this;
+ }
+
+ BindSparseInfo& setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ )
+ {
+ signalSemaphoreCount = signalSemaphoreCount_;
+ return *this;
+ }
+
+ BindSparseInfo& setPSignalSemaphores( const Semaphore* pSignalSemaphores_ )
+ {
+ pSignalSemaphores = pSignalSemaphores_;
+ return *this;
+ }
+
+ operator const VkBindSparseInfo&() const
+ {
+ return *reinterpret_cast<const VkBindSparseInfo*>(this);
+ }
+
+ bool operator==( BindSparseInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( waitSemaphoreCount == rhs.waitSemaphoreCount )
+ && ( pWaitSemaphores == rhs.pWaitSemaphores )
+ && ( bufferBindCount == rhs.bufferBindCount )
+ && ( pBufferBinds == rhs.pBufferBinds )
+ && ( imageOpaqueBindCount == rhs.imageOpaqueBindCount )
+ && ( pImageOpaqueBinds == rhs.pImageOpaqueBinds )
+ && ( imageBindCount == rhs.imageBindCount )
+ && ( pImageBinds == rhs.pImageBinds )
+ && ( signalSemaphoreCount == rhs.signalSemaphoreCount )
+ && ( pSignalSemaphores == rhs.pSignalSemaphores );
+ }
+
+ bool operator!=( BindSparseInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eBindSparseInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t waitSemaphoreCount;
+ const Semaphore* pWaitSemaphores;
+ uint32_t bufferBindCount;
+ const SparseBufferMemoryBindInfo* pBufferBinds;
+ uint32_t imageOpaqueBindCount;
+ const SparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds;
+ uint32_t imageBindCount;
+ const SparseImageMemoryBindInfo* pImageBinds;
+ uint32_t signalSemaphoreCount;
+ const Semaphore* pSignalSemaphores;
+ };
+ static_assert( sizeof( BindSparseInfo ) == sizeof( VkBindSparseInfo ), "struct and wrapper have different size!" );
+
+ enum class PipelineStageFlagBits
+ {
+ eTopOfPipe = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
+ eDrawIndirect = VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT,
+ eVertexInput = VK_PIPELINE_STAGE_VERTEX_INPUT_BIT,
+ eVertexShader = VK_PIPELINE_STAGE_VERTEX_SHADER_BIT,
+ eTessellationControlShader = VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT,
+ eTessellationEvaluationShader = VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT,
+ eGeometryShader = VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT,
+ eFragmentShader = VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,
+ eEarlyFragmentTests = VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT,
+ eLateFragmentTests = VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT,
+ eColorAttachmentOutput = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT,
+ eComputeShader = VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
+ eTransfer = VK_PIPELINE_STAGE_TRANSFER_BIT,
+ eBottomOfPipe = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT,
+ eHost = VK_PIPELINE_STAGE_HOST_BIT,
+ eAllGraphics = VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT,
+ eAllCommands = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
+ eCommandProcessNVX = VK_PIPELINE_STAGE_COMMAND_PROCESS_BIT_NVX
+ };
+
+ using PipelineStageFlags = Flags<PipelineStageFlagBits, VkPipelineStageFlags>;
+
+ VULKAN_HPP_INLINE PipelineStageFlags operator|( PipelineStageFlagBits bit0, PipelineStageFlagBits bit1 )
+ {
+ return PipelineStageFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE PipelineStageFlags operator~( PipelineStageFlagBits bits )
+ {
+ return ~( PipelineStageFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<PipelineStageFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(PipelineStageFlagBits::eTopOfPipe) | VkFlags(PipelineStageFlagBits::eDrawIndirect) | VkFlags(PipelineStageFlagBits::eVertexInput) | VkFlags(PipelineStageFlagBits::eVertexShader) | VkFlags(PipelineStageFlagBits::eTessellationControlShader) | VkFlags(PipelineStageFlagBits::eTessellationEvaluationShader) | VkFlags(PipelineStageFlagBits::eGeometryShader) | VkFlags(PipelineStageFlagBits::eFragmentShader) | VkFlags(PipelineStageFlagBits::eEarlyFragmentTests) | VkFlags(PipelineStageFlagBits::eLateFragmentTests) | VkFlags(PipelineStageFlagBits::eColorAttachmentOutput) | VkFlags(PipelineStageFlagBits::eComputeShader) | VkFlags(PipelineStageFlagBits::eTransfer) | VkFlags(PipelineStageFlagBits::eBottomOfPipe) | VkFlags(PipelineStageFlagBits::eHost) | VkFlags(PipelineStageFlagBits::eAllGraphics) | VkFlags(PipelineStageFlagBits::eAllCommands) | VkFlags(PipelineStageFlagBits::eCommandProcessNVX)
+ };
+ };
+
+ enum class CommandPoolCreateFlagBits
+ {
+ eTransient = VK_COMMAND_POOL_CREATE_TRANSIENT_BIT,
+ eResetCommandBuffer = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT,
+ eProtected = VK_COMMAND_POOL_CREATE_PROTECTED_BIT
+ };
+
+ using CommandPoolCreateFlags = Flags<CommandPoolCreateFlagBits, VkCommandPoolCreateFlags>;
+
+ VULKAN_HPP_INLINE CommandPoolCreateFlags operator|( CommandPoolCreateFlagBits bit0, CommandPoolCreateFlagBits bit1 )
+ {
+ return CommandPoolCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE CommandPoolCreateFlags operator~( CommandPoolCreateFlagBits bits )
+ {
+ return ~( CommandPoolCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<CommandPoolCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(CommandPoolCreateFlagBits::eTransient) | VkFlags(CommandPoolCreateFlagBits::eResetCommandBuffer) | VkFlags(CommandPoolCreateFlagBits::eProtected)
+ };
+ };
+
+ struct CommandPoolCreateInfo
+ {
+ CommandPoolCreateInfo( CommandPoolCreateFlags flags_ = CommandPoolCreateFlags(), uint32_t queueFamilyIndex_ = 0 )
+ : flags( flags_ )
+ , queueFamilyIndex( queueFamilyIndex_ )
+ {
+ }
+
+ CommandPoolCreateInfo( VkCommandPoolCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandPoolCreateInfo ) );
+ }
+
+ CommandPoolCreateInfo& operator=( VkCommandPoolCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CommandPoolCreateInfo ) );
+ return *this;
+ }
+ CommandPoolCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ CommandPoolCreateInfo& setFlags( CommandPoolCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ CommandPoolCreateInfo& setQueueFamilyIndex( uint32_t queueFamilyIndex_ )
+ {
+ queueFamilyIndex = queueFamilyIndex_;
+ return *this;
+ }
+
+ operator const VkCommandPoolCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkCommandPoolCreateInfo*>(this);
+ }
+
+ bool operator==( CommandPoolCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( queueFamilyIndex == rhs.queueFamilyIndex );
+ }
+
+ bool operator!=( CommandPoolCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eCommandPoolCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ CommandPoolCreateFlags flags;
+ uint32_t queueFamilyIndex;
+ };
+ static_assert( sizeof( CommandPoolCreateInfo ) == sizeof( VkCommandPoolCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class CommandPoolResetFlagBits
+ {
+ eReleaseResources = VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT
+ };
+
+ using CommandPoolResetFlags = Flags<CommandPoolResetFlagBits, VkCommandPoolResetFlags>;
+
+ VULKAN_HPP_INLINE CommandPoolResetFlags operator|( CommandPoolResetFlagBits bit0, CommandPoolResetFlagBits bit1 )
+ {
+ return CommandPoolResetFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE CommandPoolResetFlags operator~( CommandPoolResetFlagBits bits )
+ {
+ return ~( CommandPoolResetFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<CommandPoolResetFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(CommandPoolResetFlagBits::eReleaseResources)
+ };
+ };
+
+ enum class CommandBufferResetFlagBits
+ {
+ eReleaseResources = VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT
+ };
+
+ using CommandBufferResetFlags = Flags<CommandBufferResetFlagBits, VkCommandBufferResetFlags>;
+
+ VULKAN_HPP_INLINE CommandBufferResetFlags operator|( CommandBufferResetFlagBits bit0, CommandBufferResetFlagBits bit1 )
+ {
+ return CommandBufferResetFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE CommandBufferResetFlags operator~( CommandBufferResetFlagBits bits )
+ {
+ return ~( CommandBufferResetFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<CommandBufferResetFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(CommandBufferResetFlagBits::eReleaseResources)
+ };
+ };
+
+ enum class SampleCountFlagBits
+ {
+ e1 = VK_SAMPLE_COUNT_1_BIT,
+ e2 = VK_SAMPLE_COUNT_2_BIT,
+ e4 = VK_SAMPLE_COUNT_4_BIT,
+ e8 = VK_SAMPLE_COUNT_8_BIT,
+ e16 = VK_SAMPLE_COUNT_16_BIT,
+ e32 = VK_SAMPLE_COUNT_32_BIT,
+ e64 = VK_SAMPLE_COUNT_64_BIT
+ };
+
+ using SampleCountFlags = Flags<SampleCountFlagBits, VkSampleCountFlags>;
+
+ VULKAN_HPP_INLINE SampleCountFlags operator|( SampleCountFlagBits bit0, SampleCountFlagBits bit1 )
+ {
+ return SampleCountFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SampleCountFlags operator~( SampleCountFlagBits bits )
+ {
+ return ~( SampleCountFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<SampleCountFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(SampleCountFlagBits::e1) | VkFlags(SampleCountFlagBits::e2) | VkFlags(SampleCountFlagBits::e4) | VkFlags(SampleCountFlagBits::e8) | VkFlags(SampleCountFlagBits::e16) | VkFlags(SampleCountFlagBits::e32) | VkFlags(SampleCountFlagBits::e64)
+ };
+ };
+
+ struct ImageFormatProperties
+ {
+ operator const VkImageFormatProperties&() const
+ {
+ return *reinterpret_cast<const VkImageFormatProperties*>(this);
+ }
+
+ bool operator==( ImageFormatProperties const& rhs ) const
+ {
+ return ( maxExtent == rhs.maxExtent )
+ && ( maxMipLevels == rhs.maxMipLevels )
+ && ( maxArrayLayers == rhs.maxArrayLayers )
+ && ( sampleCounts == rhs.sampleCounts )
+ && ( maxResourceSize == rhs.maxResourceSize );
+ }
+
+ bool operator!=( ImageFormatProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Extent3D maxExtent;
+ uint32_t maxMipLevels;
+ uint32_t maxArrayLayers;
+ SampleCountFlags sampleCounts;
+ DeviceSize maxResourceSize;
+ };
+ static_assert( sizeof( ImageFormatProperties ) == sizeof( VkImageFormatProperties ), "struct and wrapper have different size!" );
+
+ struct ImageCreateInfo
+ {
+ ImageCreateInfo( ImageCreateFlags flags_ = ImageCreateFlags(), ImageType imageType_ = ImageType::e1D, Format format_ = Format::eUndefined, Extent3D extent_ = Extent3D(), uint32_t mipLevels_ = 0, uint32_t arrayLayers_ = 0, SampleCountFlagBits samples_ = SampleCountFlagBits::e1, ImageTiling tiling_ = ImageTiling::eOptimal, ImageUsageFlags usage_ = ImageUsageFlags(), SharingMode sharingMode_ = SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = 0, const uint32_t* pQueueFamilyIndices_ = nullptr, ImageLayout initialLayout_ = ImageLayout::eUndefined )
+ : flags( flags_ )
+ , imageType( imageType_ )
+ , format( format_ )
+ , extent( extent_ )
+ , mipLevels( mipLevels_ )
+ , arrayLayers( arrayLayers_ )
+ , samples( samples_ )
+ , tiling( tiling_ )
+ , usage( usage_ )
+ , sharingMode( sharingMode_ )
+ , queueFamilyIndexCount( queueFamilyIndexCount_ )
+ , pQueueFamilyIndices( pQueueFamilyIndices_ )
+ , initialLayout( initialLayout_ )
+ {
+ }
+
+ ImageCreateInfo( VkImageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageCreateInfo ) );
+ }
+
+ ImageCreateInfo& operator=( VkImageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImageCreateInfo ) );
+ return *this;
+ }
+ ImageCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImageCreateInfo& setFlags( ImageCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ImageCreateInfo& setImageType( ImageType imageType_ )
+ {
+ imageType = imageType_;
+ return *this;
+ }
+
+ ImageCreateInfo& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ ImageCreateInfo& setExtent( Extent3D extent_ )
+ {
+ extent = extent_;
+ return *this;
+ }
+
+ ImageCreateInfo& setMipLevels( uint32_t mipLevels_ )
+ {
+ mipLevels = mipLevels_;
+ return *this;
+ }
+
+ ImageCreateInfo& setArrayLayers( uint32_t arrayLayers_ )
+ {
+ arrayLayers = arrayLayers_;
+ return *this;
+ }
+
+ ImageCreateInfo& setSamples( SampleCountFlagBits samples_ )
+ {
+ samples = samples_;
+ return *this;
+ }
+
+ ImageCreateInfo& setTiling( ImageTiling tiling_ )
+ {
+ tiling = tiling_;
+ return *this;
+ }
+
+ ImageCreateInfo& setUsage( ImageUsageFlags usage_ )
+ {
+ usage = usage_;
+ return *this;
+ }
+
+ ImageCreateInfo& setSharingMode( SharingMode sharingMode_ )
+ {
+ sharingMode = sharingMode_;
+ return *this;
+ }
+
+ ImageCreateInfo& setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ )
+ {
+ queueFamilyIndexCount = queueFamilyIndexCount_;
+ return *this;
+ }
+
+ ImageCreateInfo& setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ )
+ {
+ pQueueFamilyIndices = pQueueFamilyIndices_;
+ return *this;
+ }
+
+ ImageCreateInfo& setInitialLayout( ImageLayout initialLayout_ )
+ {
+ initialLayout = initialLayout_;
+ return *this;
+ }
+
+ operator const VkImageCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkImageCreateInfo*>(this);
+ }
+
+ bool operator==( ImageCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( imageType == rhs.imageType )
+ && ( format == rhs.format )
+ && ( extent == rhs.extent )
+ && ( mipLevels == rhs.mipLevels )
+ && ( arrayLayers == rhs.arrayLayers )
+ && ( samples == rhs.samples )
+ && ( tiling == rhs.tiling )
+ && ( usage == rhs.usage )
+ && ( sharingMode == rhs.sharingMode )
+ && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount )
+ && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices )
+ && ( initialLayout == rhs.initialLayout );
+ }
+
+ bool operator!=( ImageCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ImageCreateFlags flags;
+ ImageType imageType;
+ Format format;
+ Extent3D extent;
+ uint32_t mipLevels;
+ uint32_t arrayLayers;
+ SampleCountFlagBits samples;
+ ImageTiling tiling;
+ ImageUsageFlags usage;
+ SharingMode sharingMode;
+ uint32_t queueFamilyIndexCount;
+ const uint32_t* pQueueFamilyIndices;
+ ImageLayout initialLayout;
+ };
+ static_assert( sizeof( ImageCreateInfo ) == sizeof( VkImageCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PipelineMultisampleStateCreateInfo
+ {
+ PipelineMultisampleStateCreateInfo( PipelineMultisampleStateCreateFlags flags_ = PipelineMultisampleStateCreateFlags(), SampleCountFlagBits rasterizationSamples_ = SampleCountFlagBits::e1, Bool32 sampleShadingEnable_ = 0, float minSampleShading_ = 0, const SampleMask* pSampleMask_ = nullptr, Bool32 alphaToCoverageEnable_ = 0, Bool32 alphaToOneEnable_ = 0 )
+ : flags( flags_ )
+ , rasterizationSamples( rasterizationSamples_ )
+ , sampleShadingEnable( sampleShadingEnable_ )
+ , minSampleShading( minSampleShading_ )
+ , pSampleMask( pSampleMask_ )
+ , alphaToCoverageEnable( alphaToCoverageEnable_ )
+ , alphaToOneEnable( alphaToOneEnable_ )
+ {
+ }
+
+ PipelineMultisampleStateCreateInfo( VkPipelineMultisampleStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineMultisampleStateCreateInfo ) );
+ }
+
+ PipelineMultisampleStateCreateInfo& operator=( VkPipelineMultisampleStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineMultisampleStateCreateInfo ) );
+ return *this;
+ }
+ PipelineMultisampleStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineMultisampleStateCreateInfo& setFlags( PipelineMultisampleStateCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineMultisampleStateCreateInfo& setRasterizationSamples( SampleCountFlagBits rasterizationSamples_ )
+ {
+ rasterizationSamples = rasterizationSamples_;
+ return *this;
+ }
+
+ PipelineMultisampleStateCreateInfo& setSampleShadingEnable( Bool32 sampleShadingEnable_ )
+ {
+ sampleShadingEnable = sampleShadingEnable_;
+ return *this;
+ }
+
+ PipelineMultisampleStateCreateInfo& setMinSampleShading( float minSampleShading_ )
+ {
+ minSampleShading = minSampleShading_;
+ return *this;
+ }
+
+ PipelineMultisampleStateCreateInfo& setPSampleMask( const SampleMask* pSampleMask_ )
+ {
+ pSampleMask = pSampleMask_;
+ return *this;
+ }
+
+ PipelineMultisampleStateCreateInfo& setAlphaToCoverageEnable( Bool32 alphaToCoverageEnable_ )
+ {
+ alphaToCoverageEnable = alphaToCoverageEnable_;
+ return *this;
+ }
+
+ PipelineMultisampleStateCreateInfo& setAlphaToOneEnable( Bool32 alphaToOneEnable_ )
+ {
+ alphaToOneEnable = alphaToOneEnable_;
+ return *this;
+ }
+
+ operator const VkPipelineMultisampleStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineMultisampleStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineMultisampleStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( rasterizationSamples == rhs.rasterizationSamples )
+ && ( sampleShadingEnable == rhs.sampleShadingEnable )
+ && ( minSampleShading == rhs.minSampleShading )
+ && ( pSampleMask == rhs.pSampleMask )
+ && ( alphaToCoverageEnable == rhs.alphaToCoverageEnable )
+ && ( alphaToOneEnable == rhs.alphaToOneEnable );
+ }
+
+ bool operator!=( PipelineMultisampleStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineMultisampleStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineMultisampleStateCreateFlags flags;
+ SampleCountFlagBits rasterizationSamples;
+ Bool32 sampleShadingEnable;
+ float minSampleShading;
+ const SampleMask* pSampleMask;
+ Bool32 alphaToCoverageEnable;
+ Bool32 alphaToOneEnable;
+ };
+ static_assert( sizeof( PipelineMultisampleStateCreateInfo ) == sizeof( VkPipelineMultisampleStateCreateInfo ), "struct and wrapper have different size!" );
+
+ struct GraphicsPipelineCreateInfo
+ {
+ GraphicsPipelineCreateInfo( PipelineCreateFlags flags_ = PipelineCreateFlags(), uint32_t stageCount_ = 0, const PipelineShaderStageCreateInfo* pStages_ = nullptr, const PipelineVertexInputStateCreateInfo* pVertexInputState_ = nullptr, const PipelineInputAssemblyStateCreateInfo* pInputAssemblyState_ = nullptr, const PipelineTessellationStateCreateInfo* pTessellationState_ = nullptr, const PipelineViewportStateCreateInfo* pViewportState_ = nullptr, const PipelineRasterizationStateCreateInfo* pRasterizationState_ = nullptr, const PipelineMultisampleStateCreateInfo* pMultisampleState_ = nullptr, const PipelineDepthStencilStateCreateInfo* pDepthStencilState_ = nullptr, const PipelineColorBlendStateCreateInfo* pColorBlendState_ = nullptr, const PipelineDynamicStateCreateInfo* pDynamicState_ = nullptr, PipelineLayout layout_ = PipelineLayout(), RenderPass renderPass_ = RenderPass(), uint32_t subpass_ = 0, Pipeline basePipelineHandle_ = Pipeline(), int32_t basePipelineIndex_ = 0 )
+ : flags( flags_ )
+ , stageCount( stageCount_ )
+ , pStages( pStages_ )
+ , pVertexInputState( pVertexInputState_ )
+ , pInputAssemblyState( pInputAssemblyState_ )
+ , pTessellationState( pTessellationState_ )
+ , pViewportState( pViewportState_ )
+ , pRasterizationState( pRasterizationState_ )
+ , pMultisampleState( pMultisampleState_ )
+ , pDepthStencilState( pDepthStencilState_ )
+ , pColorBlendState( pColorBlendState_ )
+ , pDynamicState( pDynamicState_ )
+ , layout( layout_ )
+ , renderPass( renderPass_ )
+ , subpass( subpass_ )
+ , basePipelineHandle( basePipelineHandle_ )
+ , basePipelineIndex( basePipelineIndex_ )
+ {
+ }
+
+ GraphicsPipelineCreateInfo( VkGraphicsPipelineCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( GraphicsPipelineCreateInfo ) );
+ }
+
+ GraphicsPipelineCreateInfo& operator=( VkGraphicsPipelineCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( GraphicsPipelineCreateInfo ) );
+ return *this;
+ }
+ GraphicsPipelineCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setFlags( PipelineCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setStageCount( uint32_t stageCount_ )
+ {
+ stageCount = stageCount_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPStages( const PipelineShaderStageCreateInfo* pStages_ )
+ {
+ pStages = pStages_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPVertexInputState( const PipelineVertexInputStateCreateInfo* pVertexInputState_ )
+ {
+ pVertexInputState = pVertexInputState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPInputAssemblyState( const PipelineInputAssemblyStateCreateInfo* pInputAssemblyState_ )
+ {
+ pInputAssemblyState = pInputAssemblyState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPTessellationState( const PipelineTessellationStateCreateInfo* pTessellationState_ )
+ {
+ pTessellationState = pTessellationState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPViewportState( const PipelineViewportStateCreateInfo* pViewportState_ )
+ {
+ pViewportState = pViewportState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPRasterizationState( const PipelineRasterizationStateCreateInfo* pRasterizationState_ )
+ {
+ pRasterizationState = pRasterizationState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPMultisampleState( const PipelineMultisampleStateCreateInfo* pMultisampleState_ )
+ {
+ pMultisampleState = pMultisampleState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPDepthStencilState( const PipelineDepthStencilStateCreateInfo* pDepthStencilState_ )
+ {
+ pDepthStencilState = pDepthStencilState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPColorBlendState( const PipelineColorBlendStateCreateInfo* pColorBlendState_ )
+ {
+ pColorBlendState = pColorBlendState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setPDynamicState( const PipelineDynamicStateCreateInfo* pDynamicState_ )
+ {
+ pDynamicState = pDynamicState_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setLayout( PipelineLayout layout_ )
+ {
+ layout = layout_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setRenderPass( RenderPass renderPass_ )
+ {
+ renderPass = renderPass_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setSubpass( uint32_t subpass_ )
+ {
+ subpass = subpass_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setBasePipelineHandle( Pipeline basePipelineHandle_ )
+ {
+ basePipelineHandle = basePipelineHandle_;
+ return *this;
+ }
+
+ GraphicsPipelineCreateInfo& setBasePipelineIndex( int32_t basePipelineIndex_ )
+ {
+ basePipelineIndex = basePipelineIndex_;
+ return *this;
+ }
+
+ operator const VkGraphicsPipelineCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkGraphicsPipelineCreateInfo*>(this);
+ }
+
+ bool operator==( GraphicsPipelineCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( stageCount == rhs.stageCount )
+ && ( pStages == rhs.pStages )
+ && ( pVertexInputState == rhs.pVertexInputState )
+ && ( pInputAssemblyState == rhs.pInputAssemblyState )
+ && ( pTessellationState == rhs.pTessellationState )
+ && ( pViewportState == rhs.pViewportState )
+ && ( pRasterizationState == rhs.pRasterizationState )
+ && ( pMultisampleState == rhs.pMultisampleState )
+ && ( pDepthStencilState == rhs.pDepthStencilState )
+ && ( pColorBlendState == rhs.pColorBlendState )
+ && ( pDynamicState == rhs.pDynamicState )
+ && ( layout == rhs.layout )
+ && ( renderPass == rhs.renderPass )
+ && ( subpass == rhs.subpass )
+ && ( basePipelineHandle == rhs.basePipelineHandle )
+ && ( basePipelineIndex == rhs.basePipelineIndex );
+ }
+
+ bool operator!=( GraphicsPipelineCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eGraphicsPipelineCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineCreateFlags flags;
+ uint32_t stageCount;
+ const PipelineShaderStageCreateInfo* pStages;
+ const PipelineVertexInputStateCreateInfo* pVertexInputState;
+ const PipelineInputAssemblyStateCreateInfo* pInputAssemblyState;
+ const PipelineTessellationStateCreateInfo* pTessellationState;
+ const PipelineViewportStateCreateInfo* pViewportState;
+ const PipelineRasterizationStateCreateInfo* pRasterizationState;
+ const PipelineMultisampleStateCreateInfo* pMultisampleState;
+ const PipelineDepthStencilStateCreateInfo* pDepthStencilState;
+ const PipelineColorBlendStateCreateInfo* pColorBlendState;
+ const PipelineDynamicStateCreateInfo* pDynamicState;
+ PipelineLayout layout;
+ RenderPass renderPass;
+ uint32_t subpass;
+ Pipeline basePipelineHandle;
+ int32_t basePipelineIndex;
+ };
+ static_assert( sizeof( GraphicsPipelineCreateInfo ) == sizeof( VkGraphicsPipelineCreateInfo ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceLimits
+ {
+ operator const VkPhysicalDeviceLimits&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceLimits*>(this);
+ }
+
+ bool operator==( PhysicalDeviceLimits const& rhs ) const
+ {
+ return ( maxImageDimension1D == rhs.maxImageDimension1D )
+ && ( maxImageDimension2D == rhs.maxImageDimension2D )
+ && ( maxImageDimension3D == rhs.maxImageDimension3D )
+ && ( maxImageDimensionCube == rhs.maxImageDimensionCube )
+ && ( maxImageArrayLayers == rhs.maxImageArrayLayers )
+ && ( maxTexelBufferElements == rhs.maxTexelBufferElements )
+ && ( maxUniformBufferRange == rhs.maxUniformBufferRange )
+ && ( maxStorageBufferRange == rhs.maxStorageBufferRange )
+ && ( maxPushConstantsSize == rhs.maxPushConstantsSize )
+ && ( maxMemoryAllocationCount == rhs.maxMemoryAllocationCount )
+ && ( maxSamplerAllocationCount == rhs.maxSamplerAllocationCount )
+ && ( bufferImageGranularity == rhs.bufferImageGranularity )
+ && ( sparseAddressSpaceSize == rhs.sparseAddressSpaceSize )
+ && ( maxBoundDescriptorSets == rhs.maxBoundDescriptorSets )
+ && ( maxPerStageDescriptorSamplers == rhs.maxPerStageDescriptorSamplers )
+ && ( maxPerStageDescriptorUniformBuffers == rhs.maxPerStageDescriptorUniformBuffers )
+ && ( maxPerStageDescriptorStorageBuffers == rhs.maxPerStageDescriptorStorageBuffers )
+ && ( maxPerStageDescriptorSampledImages == rhs.maxPerStageDescriptorSampledImages )
+ && ( maxPerStageDescriptorStorageImages == rhs.maxPerStageDescriptorStorageImages )
+ && ( maxPerStageDescriptorInputAttachments == rhs.maxPerStageDescriptorInputAttachments )
+ && ( maxPerStageResources == rhs.maxPerStageResources )
+ && ( maxDescriptorSetSamplers == rhs.maxDescriptorSetSamplers )
+ && ( maxDescriptorSetUniformBuffers == rhs.maxDescriptorSetUniformBuffers )
+ && ( maxDescriptorSetUniformBuffersDynamic == rhs.maxDescriptorSetUniformBuffersDynamic )
+ && ( maxDescriptorSetStorageBuffers == rhs.maxDescriptorSetStorageBuffers )
+ && ( maxDescriptorSetStorageBuffersDynamic == rhs.maxDescriptorSetStorageBuffersDynamic )
+ && ( maxDescriptorSetSampledImages == rhs.maxDescriptorSetSampledImages )
+ && ( maxDescriptorSetStorageImages == rhs.maxDescriptorSetStorageImages )
+ && ( maxDescriptorSetInputAttachments == rhs.maxDescriptorSetInputAttachments )
+ && ( maxVertexInputAttributes == rhs.maxVertexInputAttributes )
+ && ( maxVertexInputBindings == rhs.maxVertexInputBindings )
+ && ( maxVertexInputAttributeOffset == rhs.maxVertexInputAttributeOffset )
+ && ( maxVertexInputBindingStride == rhs.maxVertexInputBindingStride )
+ && ( maxVertexOutputComponents == rhs.maxVertexOutputComponents )
+ && ( maxTessellationGenerationLevel == rhs.maxTessellationGenerationLevel )
+ && ( maxTessellationPatchSize == rhs.maxTessellationPatchSize )
+ && ( maxTessellationControlPerVertexInputComponents == rhs.maxTessellationControlPerVertexInputComponents )
+ && ( maxTessellationControlPerVertexOutputComponents == rhs.maxTessellationControlPerVertexOutputComponents )
+ && ( maxTessellationControlPerPatchOutputComponents == rhs.maxTessellationControlPerPatchOutputComponents )
+ && ( maxTessellationControlTotalOutputComponents == rhs.maxTessellationControlTotalOutputComponents )
+ && ( maxTessellationEvaluationInputComponents == rhs.maxTessellationEvaluationInputComponents )
+ && ( maxTessellationEvaluationOutputComponents == rhs.maxTessellationEvaluationOutputComponents )
+ && ( maxGeometryShaderInvocations == rhs.maxGeometryShaderInvocations )
+ && ( maxGeometryInputComponents == rhs.maxGeometryInputComponents )
+ && ( maxGeometryOutputComponents == rhs.maxGeometryOutputComponents )
+ && ( maxGeometryOutputVertices == rhs.maxGeometryOutputVertices )
+ && ( maxGeometryTotalOutputComponents == rhs.maxGeometryTotalOutputComponents )
+ && ( maxFragmentInputComponents == rhs.maxFragmentInputComponents )
+ && ( maxFragmentOutputAttachments == rhs.maxFragmentOutputAttachments )
+ && ( maxFragmentDualSrcAttachments == rhs.maxFragmentDualSrcAttachments )
+ && ( maxFragmentCombinedOutputResources == rhs.maxFragmentCombinedOutputResources )
+ && ( maxComputeSharedMemorySize == rhs.maxComputeSharedMemorySize )
+ && ( memcmp( maxComputeWorkGroupCount, rhs.maxComputeWorkGroupCount, 3 * sizeof( uint32_t ) ) == 0 )
+ && ( maxComputeWorkGroupInvocations == rhs.maxComputeWorkGroupInvocations )
+ && ( memcmp( maxComputeWorkGroupSize, rhs.maxComputeWorkGroupSize, 3 * sizeof( uint32_t ) ) == 0 )
+ && ( subPixelPrecisionBits == rhs.subPixelPrecisionBits )
+ && ( subTexelPrecisionBits == rhs.subTexelPrecisionBits )
+ && ( mipmapPrecisionBits == rhs.mipmapPrecisionBits )
+ && ( maxDrawIndexedIndexValue == rhs.maxDrawIndexedIndexValue )
+ && ( maxDrawIndirectCount == rhs.maxDrawIndirectCount )
+ && ( maxSamplerLodBias == rhs.maxSamplerLodBias )
+ && ( maxSamplerAnisotropy == rhs.maxSamplerAnisotropy )
+ && ( maxViewports == rhs.maxViewports )
+ && ( memcmp( maxViewportDimensions, rhs.maxViewportDimensions, 2 * sizeof( uint32_t ) ) == 0 )
+ && ( memcmp( viewportBoundsRange, rhs.viewportBoundsRange, 2 * sizeof( float ) ) == 0 )
+ && ( viewportSubPixelBits == rhs.viewportSubPixelBits )
+ && ( minMemoryMapAlignment == rhs.minMemoryMapAlignment )
+ && ( minTexelBufferOffsetAlignment == rhs.minTexelBufferOffsetAlignment )
+ && ( minUniformBufferOffsetAlignment == rhs.minUniformBufferOffsetAlignment )
+ && ( minStorageBufferOffsetAlignment == rhs.minStorageBufferOffsetAlignment )
+ && ( minTexelOffset == rhs.minTexelOffset )
+ && ( maxTexelOffset == rhs.maxTexelOffset )
+ && ( minTexelGatherOffset == rhs.minTexelGatherOffset )
+ && ( maxTexelGatherOffset == rhs.maxTexelGatherOffset )
+ && ( minInterpolationOffset == rhs.minInterpolationOffset )
+ && ( maxInterpolationOffset == rhs.maxInterpolationOffset )
+ && ( subPixelInterpolationOffsetBits == rhs.subPixelInterpolationOffsetBits )
+ && ( maxFramebufferWidth == rhs.maxFramebufferWidth )
+ && ( maxFramebufferHeight == rhs.maxFramebufferHeight )
+ && ( maxFramebufferLayers == rhs.maxFramebufferLayers )
+ && ( framebufferColorSampleCounts == rhs.framebufferColorSampleCounts )
+ && ( framebufferDepthSampleCounts == rhs.framebufferDepthSampleCounts )
+ && ( framebufferStencilSampleCounts == rhs.framebufferStencilSampleCounts )
+ && ( framebufferNoAttachmentsSampleCounts == rhs.framebufferNoAttachmentsSampleCounts )
+ && ( maxColorAttachments == rhs.maxColorAttachments )
+ && ( sampledImageColorSampleCounts == rhs.sampledImageColorSampleCounts )
+ && ( sampledImageIntegerSampleCounts == rhs.sampledImageIntegerSampleCounts )
+ && ( sampledImageDepthSampleCounts == rhs.sampledImageDepthSampleCounts )
+ && ( sampledImageStencilSampleCounts == rhs.sampledImageStencilSampleCounts )
+ && ( storageImageSampleCounts == rhs.storageImageSampleCounts )
+ && ( maxSampleMaskWords == rhs.maxSampleMaskWords )
+ && ( timestampComputeAndGraphics == rhs.timestampComputeAndGraphics )
+ && ( timestampPeriod == rhs.timestampPeriod )
+ && ( maxClipDistances == rhs.maxClipDistances )
+ && ( maxCullDistances == rhs.maxCullDistances )
+ && ( maxCombinedClipAndCullDistances == rhs.maxCombinedClipAndCullDistances )
+ && ( discreteQueuePriorities == rhs.discreteQueuePriorities )
+ && ( memcmp( pointSizeRange, rhs.pointSizeRange, 2 * sizeof( float ) ) == 0 )
+ && ( memcmp( lineWidthRange, rhs.lineWidthRange, 2 * sizeof( float ) ) == 0 )
+ && ( pointSizeGranularity == rhs.pointSizeGranularity )
+ && ( lineWidthGranularity == rhs.lineWidthGranularity )
+ && ( strictLines == rhs.strictLines )
+ && ( standardSampleLocations == rhs.standardSampleLocations )
+ && ( optimalBufferCopyOffsetAlignment == rhs.optimalBufferCopyOffsetAlignment )
+ && ( optimalBufferCopyRowPitchAlignment == rhs.optimalBufferCopyRowPitchAlignment )
+ && ( nonCoherentAtomSize == rhs.nonCoherentAtomSize );
+ }
+
+ bool operator!=( PhysicalDeviceLimits const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t maxImageDimension1D;
+ uint32_t maxImageDimension2D;
+ uint32_t maxImageDimension3D;
+ uint32_t maxImageDimensionCube;
+ uint32_t maxImageArrayLayers;
+ uint32_t maxTexelBufferElements;
+ uint32_t maxUniformBufferRange;
+ uint32_t maxStorageBufferRange;
+ uint32_t maxPushConstantsSize;
+ uint32_t maxMemoryAllocationCount;
+ uint32_t maxSamplerAllocationCount;
+ DeviceSize bufferImageGranularity;
+ DeviceSize sparseAddressSpaceSize;
+ uint32_t maxBoundDescriptorSets;
+ uint32_t maxPerStageDescriptorSamplers;
+ uint32_t maxPerStageDescriptorUniformBuffers;
+ uint32_t maxPerStageDescriptorStorageBuffers;
+ uint32_t maxPerStageDescriptorSampledImages;
+ uint32_t maxPerStageDescriptorStorageImages;
+ uint32_t maxPerStageDescriptorInputAttachments;
+ uint32_t maxPerStageResources;
+ uint32_t maxDescriptorSetSamplers;
+ uint32_t maxDescriptorSetUniformBuffers;
+ uint32_t maxDescriptorSetUniformBuffersDynamic;
+ uint32_t maxDescriptorSetStorageBuffers;
+ uint32_t maxDescriptorSetStorageBuffersDynamic;
+ uint32_t maxDescriptorSetSampledImages;
+ uint32_t maxDescriptorSetStorageImages;
+ uint32_t maxDescriptorSetInputAttachments;
+ uint32_t maxVertexInputAttributes;
+ uint32_t maxVertexInputBindings;
+ uint32_t maxVertexInputAttributeOffset;
+ uint32_t maxVertexInputBindingStride;
+ uint32_t maxVertexOutputComponents;
+ uint32_t maxTessellationGenerationLevel;
+ uint32_t maxTessellationPatchSize;
+ uint32_t maxTessellationControlPerVertexInputComponents;
+ uint32_t maxTessellationControlPerVertexOutputComponents;
+ uint32_t maxTessellationControlPerPatchOutputComponents;
+ uint32_t maxTessellationControlTotalOutputComponents;
+ uint32_t maxTessellationEvaluationInputComponents;
+ uint32_t maxTessellationEvaluationOutputComponents;
+ uint32_t maxGeometryShaderInvocations;
+ uint32_t maxGeometryInputComponents;
+ uint32_t maxGeometryOutputComponents;
+ uint32_t maxGeometryOutputVertices;
+ uint32_t maxGeometryTotalOutputComponents;
+ uint32_t maxFragmentInputComponents;
+ uint32_t maxFragmentOutputAttachments;
+ uint32_t maxFragmentDualSrcAttachments;
+ uint32_t maxFragmentCombinedOutputResources;
+ uint32_t maxComputeSharedMemorySize;
+ uint32_t maxComputeWorkGroupCount[3];
+ uint32_t maxComputeWorkGroupInvocations;
+ uint32_t maxComputeWorkGroupSize[3];
+ uint32_t subPixelPrecisionBits;
+ uint32_t subTexelPrecisionBits;
+ uint32_t mipmapPrecisionBits;
+ uint32_t maxDrawIndexedIndexValue;
+ uint32_t maxDrawIndirectCount;
+ float maxSamplerLodBias;
+ float maxSamplerAnisotropy;
+ uint32_t maxViewports;
+ uint32_t maxViewportDimensions[2];
+ float viewportBoundsRange[2];
+ uint32_t viewportSubPixelBits;
+ size_t minMemoryMapAlignment;
+ DeviceSize minTexelBufferOffsetAlignment;
+ DeviceSize minUniformBufferOffsetAlignment;
+ DeviceSize minStorageBufferOffsetAlignment;
+ int32_t minTexelOffset;
+ uint32_t maxTexelOffset;
+ int32_t minTexelGatherOffset;
+ uint32_t maxTexelGatherOffset;
+ float minInterpolationOffset;
+ float maxInterpolationOffset;
+ uint32_t subPixelInterpolationOffsetBits;
+ uint32_t maxFramebufferWidth;
+ uint32_t maxFramebufferHeight;
+ uint32_t maxFramebufferLayers;
+ SampleCountFlags framebufferColorSampleCounts;
+ SampleCountFlags framebufferDepthSampleCounts;
+ SampleCountFlags framebufferStencilSampleCounts;
+ SampleCountFlags framebufferNoAttachmentsSampleCounts;
+ uint32_t maxColorAttachments;
+ SampleCountFlags sampledImageColorSampleCounts;
+ SampleCountFlags sampledImageIntegerSampleCounts;
+ SampleCountFlags sampledImageDepthSampleCounts;
+ SampleCountFlags sampledImageStencilSampleCounts;
+ SampleCountFlags storageImageSampleCounts;
+ uint32_t maxSampleMaskWords;
+ Bool32 timestampComputeAndGraphics;
+ float timestampPeriod;
+ uint32_t maxClipDistances;
+ uint32_t maxCullDistances;
+ uint32_t maxCombinedClipAndCullDistances;
+ uint32_t discreteQueuePriorities;
+ float pointSizeRange[2];
+ float lineWidthRange[2];
+ float pointSizeGranularity;
+ float lineWidthGranularity;
+ Bool32 strictLines;
+ Bool32 standardSampleLocations;
+ DeviceSize optimalBufferCopyOffsetAlignment;
+ DeviceSize optimalBufferCopyRowPitchAlignment;
+ DeviceSize nonCoherentAtomSize;
+ };
+ static_assert( sizeof( PhysicalDeviceLimits ) == sizeof( VkPhysicalDeviceLimits ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceProperties
+ {
+ operator const VkPhysicalDeviceProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceProperties const& rhs ) const
+ {
+ return ( apiVersion == rhs.apiVersion )
+ && ( driverVersion == rhs.driverVersion )
+ && ( vendorID == rhs.vendorID )
+ && ( deviceID == rhs.deviceID )
+ && ( deviceType == rhs.deviceType )
+ && ( memcmp( deviceName, rhs.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE * sizeof( char ) ) == 0 )
+ && ( memcmp( pipelineCacheUUID, rhs.pipelineCacheUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )
+ && ( limits == rhs.limits )
+ && ( sparseProperties == rhs.sparseProperties );
+ }
+
+ bool operator!=( PhysicalDeviceProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t apiVersion;
+ uint32_t driverVersion;
+ uint32_t vendorID;
+ uint32_t deviceID;
+ PhysicalDeviceType deviceType;
+ char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE];
+ uint8_t pipelineCacheUUID[VK_UUID_SIZE];
+ PhysicalDeviceLimits limits;
+ PhysicalDeviceSparseProperties sparseProperties;
+ };
+ static_assert( sizeof( PhysicalDeviceProperties ) == sizeof( VkPhysicalDeviceProperties ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceProperties2
+ {
+ operator const VkPhysicalDeviceProperties2&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceProperties2*>(this);
+ }
+
+ bool operator==( PhysicalDeviceProperties2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( properties == rhs.properties );
+ }
+
+ bool operator!=( PhysicalDeviceProperties2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceProperties2;
+
+ public:
+ void* pNext = nullptr;
+ PhysicalDeviceProperties properties;
+ };
+ static_assert( sizeof( PhysicalDeviceProperties2 ) == sizeof( VkPhysicalDeviceProperties2 ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceProperties2KHR = PhysicalDeviceProperties2;
+
+ struct ImageFormatProperties2
+ {
+ operator const VkImageFormatProperties2&() const
+ {
+ return *reinterpret_cast<const VkImageFormatProperties2*>(this);
+ }
+
+ bool operator==( ImageFormatProperties2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( imageFormatProperties == rhs.imageFormatProperties );
+ }
+
+ bool operator!=( ImageFormatProperties2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImageFormatProperties2;
+
+ public:
+ void* pNext = nullptr;
+ ImageFormatProperties imageFormatProperties;
+ };
+ static_assert( sizeof( ImageFormatProperties2 ) == sizeof( VkImageFormatProperties2 ), "struct and wrapper have different size!" );
+
+ using ImageFormatProperties2KHR = ImageFormatProperties2;
+
+ struct PhysicalDeviceSparseImageFormatInfo2
+ {
+ PhysicalDeviceSparseImageFormatInfo2( Format format_ = Format::eUndefined, ImageType type_ = ImageType::e1D, SampleCountFlagBits samples_ = SampleCountFlagBits::e1, ImageUsageFlags usage_ = ImageUsageFlags(), ImageTiling tiling_ = ImageTiling::eOptimal )
+ : format( format_ )
+ , type( type_ )
+ , samples( samples_ )
+ , usage( usage_ )
+ , tiling( tiling_ )
+ {
+ }
+
+ PhysicalDeviceSparseImageFormatInfo2( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceSparseImageFormatInfo2 ) );
+ }
+
+ PhysicalDeviceSparseImageFormatInfo2& operator=( VkPhysicalDeviceSparseImageFormatInfo2 const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceSparseImageFormatInfo2 ) );
+ return *this;
+ }
+ PhysicalDeviceSparseImageFormatInfo2& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceSparseImageFormatInfo2& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ PhysicalDeviceSparseImageFormatInfo2& setType( ImageType type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ PhysicalDeviceSparseImageFormatInfo2& setSamples( SampleCountFlagBits samples_ )
+ {
+ samples = samples_;
+ return *this;
+ }
+
+ PhysicalDeviceSparseImageFormatInfo2& setUsage( ImageUsageFlags usage_ )
+ {
+ usage = usage_;
+ return *this;
+ }
+
+ PhysicalDeviceSparseImageFormatInfo2& setTiling( ImageTiling tiling_ )
+ {
+ tiling = tiling_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceSparseImageFormatInfo2&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>(this);
+ }
+
+ bool operator==( PhysicalDeviceSparseImageFormatInfo2 const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( format == rhs.format )
+ && ( type == rhs.type )
+ && ( samples == rhs.samples )
+ && ( usage == rhs.usage )
+ && ( tiling == rhs.tiling );
+ }
+
+ bool operator!=( PhysicalDeviceSparseImageFormatInfo2 const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceSparseImageFormatInfo2;
+
+ public:
+ const void* pNext = nullptr;
+ Format format;
+ ImageType type;
+ SampleCountFlagBits samples;
+ ImageUsageFlags usage;
+ ImageTiling tiling;
+ };
+ static_assert( sizeof( PhysicalDeviceSparseImageFormatInfo2 ) == sizeof( VkPhysicalDeviceSparseImageFormatInfo2 ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceSparseImageFormatInfo2KHR = PhysicalDeviceSparseImageFormatInfo2;
+
+ struct SampleLocationsInfoEXT
+ {
+ SampleLocationsInfoEXT( SampleCountFlagBits sampleLocationsPerPixel_ = SampleCountFlagBits::e1, Extent2D sampleLocationGridSize_ = Extent2D(), uint32_t sampleLocationsCount_ = 0, const SampleLocationEXT* pSampleLocations_ = nullptr )
+ : sampleLocationsPerPixel( sampleLocationsPerPixel_ )
+ , sampleLocationGridSize( sampleLocationGridSize_ )
+ , sampleLocationsCount( sampleLocationsCount_ )
+ , pSampleLocations( pSampleLocations_ )
+ {
+ }
+
+ SampleLocationsInfoEXT( VkSampleLocationsInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SampleLocationsInfoEXT ) );
+ }
+
+ SampleLocationsInfoEXT& operator=( VkSampleLocationsInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SampleLocationsInfoEXT ) );
+ return *this;
+ }
+ SampleLocationsInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SampleLocationsInfoEXT& setSampleLocationsPerPixel( SampleCountFlagBits sampleLocationsPerPixel_ )
+ {
+ sampleLocationsPerPixel = sampleLocationsPerPixel_;
+ return *this;
+ }
+
+ SampleLocationsInfoEXT& setSampleLocationGridSize( Extent2D sampleLocationGridSize_ )
+ {
+ sampleLocationGridSize = sampleLocationGridSize_;
+ return *this;
+ }
+
+ SampleLocationsInfoEXT& setSampleLocationsCount( uint32_t sampleLocationsCount_ )
+ {
+ sampleLocationsCount = sampleLocationsCount_;
+ return *this;
+ }
+
+ SampleLocationsInfoEXT& setPSampleLocations( const SampleLocationEXT* pSampleLocations_ )
+ {
+ pSampleLocations = pSampleLocations_;
+ return *this;
+ }
+
+ operator const VkSampleLocationsInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkSampleLocationsInfoEXT*>(this);
+ }
+
+ bool operator==( SampleLocationsInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( sampleLocationsPerPixel == rhs.sampleLocationsPerPixel )
+ && ( sampleLocationGridSize == rhs.sampleLocationGridSize )
+ && ( sampleLocationsCount == rhs.sampleLocationsCount )
+ && ( pSampleLocations == rhs.pSampleLocations );
+ }
+
+ bool operator!=( SampleLocationsInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSampleLocationsInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ SampleCountFlagBits sampleLocationsPerPixel;
+ Extent2D sampleLocationGridSize;
+ uint32_t sampleLocationsCount;
+ const SampleLocationEXT* pSampleLocations;
+ };
+ static_assert( sizeof( SampleLocationsInfoEXT ) == sizeof( VkSampleLocationsInfoEXT ), "struct and wrapper have different size!" );
+
+ struct AttachmentSampleLocationsEXT
+ {
+ AttachmentSampleLocationsEXT( uint32_t attachmentIndex_ = 0, SampleLocationsInfoEXT sampleLocationsInfo_ = SampleLocationsInfoEXT() )
+ : attachmentIndex( attachmentIndex_ )
+ , sampleLocationsInfo( sampleLocationsInfo_ )
+ {
+ }
+
+ AttachmentSampleLocationsEXT( VkAttachmentSampleLocationsEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AttachmentSampleLocationsEXT ) );
+ }
+
+ AttachmentSampleLocationsEXT& operator=( VkAttachmentSampleLocationsEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AttachmentSampleLocationsEXT ) );
+ return *this;
+ }
+ AttachmentSampleLocationsEXT& setAttachmentIndex( uint32_t attachmentIndex_ )
+ {
+ attachmentIndex = attachmentIndex_;
+ return *this;
+ }
+
+ AttachmentSampleLocationsEXT& setSampleLocationsInfo( SampleLocationsInfoEXT sampleLocationsInfo_ )
+ {
+ sampleLocationsInfo = sampleLocationsInfo_;
+ return *this;
+ }
+
+ operator const VkAttachmentSampleLocationsEXT&() const
+ {
+ return *reinterpret_cast<const VkAttachmentSampleLocationsEXT*>(this);
+ }
+
+ bool operator==( AttachmentSampleLocationsEXT const& rhs ) const
+ {
+ return ( attachmentIndex == rhs.attachmentIndex )
+ && ( sampleLocationsInfo == rhs.sampleLocationsInfo );
+ }
+
+ bool operator!=( AttachmentSampleLocationsEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t attachmentIndex;
+ SampleLocationsInfoEXT sampleLocationsInfo;
+ };
+ static_assert( sizeof( AttachmentSampleLocationsEXT ) == sizeof( VkAttachmentSampleLocationsEXT ), "struct and wrapper have different size!" );
+
+ struct SubpassSampleLocationsEXT
+ {
+ SubpassSampleLocationsEXT( uint32_t subpassIndex_ = 0, SampleLocationsInfoEXT sampleLocationsInfo_ = SampleLocationsInfoEXT() )
+ : subpassIndex( subpassIndex_ )
+ , sampleLocationsInfo( sampleLocationsInfo_ )
+ {
+ }
+
+ SubpassSampleLocationsEXT( VkSubpassSampleLocationsEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubpassSampleLocationsEXT ) );
+ }
+
+ SubpassSampleLocationsEXT& operator=( VkSubpassSampleLocationsEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubpassSampleLocationsEXT ) );
+ return *this;
+ }
+ SubpassSampleLocationsEXT& setSubpassIndex( uint32_t subpassIndex_ )
+ {
+ subpassIndex = subpassIndex_;
+ return *this;
+ }
+
+ SubpassSampleLocationsEXT& setSampleLocationsInfo( SampleLocationsInfoEXT sampleLocationsInfo_ )
+ {
+ sampleLocationsInfo = sampleLocationsInfo_;
+ return *this;
+ }
+
+ operator const VkSubpassSampleLocationsEXT&() const
+ {
+ return *reinterpret_cast<const VkSubpassSampleLocationsEXT*>(this);
+ }
+
+ bool operator==( SubpassSampleLocationsEXT const& rhs ) const
+ {
+ return ( subpassIndex == rhs.subpassIndex )
+ && ( sampleLocationsInfo == rhs.sampleLocationsInfo );
+ }
+
+ bool operator!=( SubpassSampleLocationsEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t subpassIndex;
+ SampleLocationsInfoEXT sampleLocationsInfo;
+ };
+ static_assert( sizeof( SubpassSampleLocationsEXT ) == sizeof( VkSubpassSampleLocationsEXT ), "struct and wrapper have different size!" );
+
+ struct RenderPassSampleLocationsBeginInfoEXT
+ {
+ RenderPassSampleLocationsBeginInfoEXT( uint32_t attachmentInitialSampleLocationsCount_ = 0, const AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations_ = nullptr, uint32_t postSubpassSampleLocationsCount_ = 0, const SubpassSampleLocationsEXT* pPostSubpassSampleLocations_ = nullptr )
+ : attachmentInitialSampleLocationsCount( attachmentInitialSampleLocationsCount_ )
+ , pAttachmentInitialSampleLocations( pAttachmentInitialSampleLocations_ )
+ , postSubpassSampleLocationsCount( postSubpassSampleLocationsCount_ )
+ , pPostSubpassSampleLocations( pPostSubpassSampleLocations_ )
+ {
+ }
+
+ RenderPassSampleLocationsBeginInfoEXT( VkRenderPassSampleLocationsBeginInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassSampleLocationsBeginInfoEXT ) );
+ }
+
+ RenderPassSampleLocationsBeginInfoEXT& operator=( VkRenderPassSampleLocationsBeginInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassSampleLocationsBeginInfoEXT ) );
+ return *this;
+ }
+ RenderPassSampleLocationsBeginInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ RenderPassSampleLocationsBeginInfoEXT& setAttachmentInitialSampleLocationsCount( uint32_t attachmentInitialSampleLocationsCount_ )
+ {
+ attachmentInitialSampleLocationsCount = attachmentInitialSampleLocationsCount_;
+ return *this;
+ }
+
+ RenderPassSampleLocationsBeginInfoEXT& setPAttachmentInitialSampleLocations( const AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations_ )
+ {
+ pAttachmentInitialSampleLocations = pAttachmentInitialSampleLocations_;
+ return *this;
+ }
+
+ RenderPassSampleLocationsBeginInfoEXT& setPostSubpassSampleLocationsCount( uint32_t postSubpassSampleLocationsCount_ )
+ {
+ postSubpassSampleLocationsCount = postSubpassSampleLocationsCount_;
+ return *this;
+ }
+
+ RenderPassSampleLocationsBeginInfoEXT& setPPostSubpassSampleLocations( const SubpassSampleLocationsEXT* pPostSubpassSampleLocations_ )
+ {
+ pPostSubpassSampleLocations = pPostSubpassSampleLocations_;
+ return *this;
+ }
+
+ operator const VkRenderPassSampleLocationsBeginInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkRenderPassSampleLocationsBeginInfoEXT*>(this);
+ }
+
+ bool operator==( RenderPassSampleLocationsBeginInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( attachmentInitialSampleLocationsCount == rhs.attachmentInitialSampleLocationsCount )
+ && ( pAttachmentInitialSampleLocations == rhs.pAttachmentInitialSampleLocations )
+ && ( postSubpassSampleLocationsCount == rhs.postSubpassSampleLocationsCount )
+ && ( pPostSubpassSampleLocations == rhs.pPostSubpassSampleLocations );
+ }
+
+ bool operator!=( RenderPassSampleLocationsBeginInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eRenderPassSampleLocationsBeginInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t attachmentInitialSampleLocationsCount;
+ const AttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations;
+ uint32_t postSubpassSampleLocationsCount;
+ const SubpassSampleLocationsEXT* pPostSubpassSampleLocations;
+ };
+ static_assert( sizeof( RenderPassSampleLocationsBeginInfoEXT ) == sizeof( VkRenderPassSampleLocationsBeginInfoEXT ), "struct and wrapper have different size!" );
+
+ struct PipelineSampleLocationsStateCreateInfoEXT
+ {
+ PipelineSampleLocationsStateCreateInfoEXT( Bool32 sampleLocationsEnable_ = 0, SampleLocationsInfoEXT sampleLocationsInfo_ = SampleLocationsInfoEXT() )
+ : sampleLocationsEnable( sampleLocationsEnable_ )
+ , sampleLocationsInfo( sampleLocationsInfo_ )
+ {
+ }
+
+ PipelineSampleLocationsStateCreateInfoEXT( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineSampleLocationsStateCreateInfoEXT ) );
+ }
+
+ PipelineSampleLocationsStateCreateInfoEXT& operator=( VkPipelineSampleLocationsStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineSampleLocationsStateCreateInfoEXT ) );
+ return *this;
+ }
+ PipelineSampleLocationsStateCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineSampleLocationsStateCreateInfoEXT& setSampleLocationsEnable( Bool32 sampleLocationsEnable_ )
+ {
+ sampleLocationsEnable = sampleLocationsEnable_;
+ return *this;
+ }
+
+ PipelineSampleLocationsStateCreateInfoEXT& setSampleLocationsInfo( SampleLocationsInfoEXT sampleLocationsInfo_ )
+ {
+ sampleLocationsInfo = sampleLocationsInfo_;
+ return *this;
+ }
+
+ operator const VkPipelineSampleLocationsStateCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkPipelineSampleLocationsStateCreateInfoEXT*>(this);
+ }
+
+ bool operator==( PipelineSampleLocationsStateCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( sampleLocationsEnable == rhs.sampleLocationsEnable )
+ && ( sampleLocationsInfo == rhs.sampleLocationsInfo );
+ }
+
+ bool operator!=( PipelineSampleLocationsStateCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineSampleLocationsStateCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ Bool32 sampleLocationsEnable;
+ SampleLocationsInfoEXT sampleLocationsInfo;
+ };
+ static_assert( sizeof( PipelineSampleLocationsStateCreateInfoEXT ) == sizeof( VkPipelineSampleLocationsStateCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceSampleLocationsPropertiesEXT
+ {
+ operator const VkPhysicalDeviceSampleLocationsPropertiesEXT&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceSampleLocationsPropertiesEXT*>(this);
+ }
+
+ bool operator==( PhysicalDeviceSampleLocationsPropertiesEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( sampleLocationSampleCounts == rhs.sampleLocationSampleCounts )
+ && ( maxSampleLocationGridSize == rhs.maxSampleLocationGridSize )
+ && ( memcmp( sampleLocationCoordinateRange, rhs.sampleLocationCoordinateRange, 2 * sizeof( float ) ) == 0 )
+ && ( sampleLocationSubPixelBits == rhs.sampleLocationSubPixelBits )
+ && ( variableSampleLocations == rhs.variableSampleLocations );
+ }
+
+ bool operator!=( PhysicalDeviceSampleLocationsPropertiesEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT;
+
+ public:
+ void* pNext = nullptr;
+ SampleCountFlags sampleLocationSampleCounts;
+ Extent2D maxSampleLocationGridSize;
+ float sampleLocationCoordinateRange[2];
+ uint32_t sampleLocationSubPixelBits;
+ Bool32 variableSampleLocations;
+ };
+ static_assert( sizeof( PhysicalDeviceSampleLocationsPropertiesEXT ) == sizeof( VkPhysicalDeviceSampleLocationsPropertiesEXT ), "struct and wrapper have different size!" );
+
+ enum class AttachmentDescriptionFlagBits
+ {
+ eMayAlias = VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT
+ };
+
+ using AttachmentDescriptionFlags = Flags<AttachmentDescriptionFlagBits, VkAttachmentDescriptionFlags>;
+
+ VULKAN_HPP_INLINE AttachmentDescriptionFlags operator|( AttachmentDescriptionFlagBits bit0, AttachmentDescriptionFlagBits bit1 )
+ {
+ return AttachmentDescriptionFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE AttachmentDescriptionFlags operator~( AttachmentDescriptionFlagBits bits )
+ {
+ return ~( AttachmentDescriptionFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<AttachmentDescriptionFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(AttachmentDescriptionFlagBits::eMayAlias)
+ };
+ };
+
+ struct AttachmentDescription
+ {
+ AttachmentDescription( AttachmentDescriptionFlags flags_ = AttachmentDescriptionFlags(), Format format_ = Format::eUndefined, SampleCountFlagBits samples_ = SampleCountFlagBits::e1, AttachmentLoadOp loadOp_ = AttachmentLoadOp::eLoad, AttachmentStoreOp storeOp_ = AttachmentStoreOp::eStore, AttachmentLoadOp stencilLoadOp_ = AttachmentLoadOp::eLoad, AttachmentStoreOp stencilStoreOp_ = AttachmentStoreOp::eStore, ImageLayout initialLayout_ = ImageLayout::eUndefined, ImageLayout finalLayout_ = ImageLayout::eUndefined )
+ : flags( flags_ )
+ , format( format_ )
+ , samples( samples_ )
+ , loadOp( loadOp_ )
+ , storeOp( storeOp_ )
+ , stencilLoadOp( stencilLoadOp_ )
+ , stencilStoreOp( stencilStoreOp_ )
+ , initialLayout( initialLayout_ )
+ , finalLayout( finalLayout_ )
+ {
+ }
+
+ AttachmentDescription( VkAttachmentDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AttachmentDescription ) );
+ }
+
+ AttachmentDescription& operator=( VkAttachmentDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( AttachmentDescription ) );
+ return *this;
+ }
+ AttachmentDescription& setFlags( AttachmentDescriptionFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ AttachmentDescription& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ AttachmentDescription& setSamples( SampleCountFlagBits samples_ )
+ {
+ samples = samples_;
+ return *this;
+ }
+
+ AttachmentDescription& setLoadOp( AttachmentLoadOp loadOp_ )
+ {
+ loadOp = loadOp_;
+ return *this;
+ }
+
+ AttachmentDescription& setStoreOp( AttachmentStoreOp storeOp_ )
+ {
+ storeOp = storeOp_;
+ return *this;
+ }
+
+ AttachmentDescription& setStencilLoadOp( AttachmentLoadOp stencilLoadOp_ )
+ {
+ stencilLoadOp = stencilLoadOp_;
+ return *this;
+ }
+
+ AttachmentDescription& setStencilStoreOp( AttachmentStoreOp stencilStoreOp_ )
+ {
+ stencilStoreOp = stencilStoreOp_;
+ return *this;
+ }
+
+ AttachmentDescription& setInitialLayout( ImageLayout initialLayout_ )
+ {
+ initialLayout = initialLayout_;
+ return *this;
+ }
+
+ AttachmentDescription& setFinalLayout( ImageLayout finalLayout_ )
+ {
+ finalLayout = finalLayout_;
+ return *this;
+ }
+
+ operator const VkAttachmentDescription&() const
+ {
+ return *reinterpret_cast<const VkAttachmentDescription*>(this);
+ }
+
+ bool operator==( AttachmentDescription const& rhs ) const
+ {
+ return ( flags == rhs.flags )
+ && ( format == rhs.format )
+ && ( samples == rhs.samples )
+ && ( loadOp == rhs.loadOp )
+ && ( storeOp == rhs.storeOp )
+ && ( stencilLoadOp == rhs.stencilLoadOp )
+ && ( stencilStoreOp == rhs.stencilStoreOp )
+ && ( initialLayout == rhs.initialLayout )
+ && ( finalLayout == rhs.finalLayout );
+ }
+
+ bool operator!=( AttachmentDescription const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ AttachmentDescriptionFlags flags;
+ Format format;
+ SampleCountFlagBits samples;
+ AttachmentLoadOp loadOp;
+ AttachmentStoreOp storeOp;
+ AttachmentLoadOp stencilLoadOp;
+ AttachmentStoreOp stencilStoreOp;
+ ImageLayout initialLayout;
+ ImageLayout finalLayout;
+ };
+ static_assert( sizeof( AttachmentDescription ) == sizeof( VkAttachmentDescription ), "struct and wrapper have different size!" );
+
+ enum class StencilFaceFlagBits
+ {
+ eFront = VK_STENCIL_FACE_FRONT_BIT,
+ eBack = VK_STENCIL_FACE_BACK_BIT,
+ eVkStencilFrontAndBack = VK_STENCIL_FRONT_AND_BACK
+ };
+
+ using StencilFaceFlags = Flags<StencilFaceFlagBits, VkStencilFaceFlags>;
+
+ VULKAN_HPP_INLINE StencilFaceFlags operator|( StencilFaceFlagBits bit0, StencilFaceFlagBits bit1 )
+ {
+ return StencilFaceFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE StencilFaceFlags operator~( StencilFaceFlagBits bits )
+ {
+ return ~( StencilFaceFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<StencilFaceFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(StencilFaceFlagBits::eFront) | VkFlags(StencilFaceFlagBits::eBack) | VkFlags(StencilFaceFlagBits::eVkStencilFrontAndBack)
+ };
+ };
+
+ enum class DescriptorPoolCreateFlagBits
+ {
+ eFreeDescriptorSet = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
+ eUpdateAfterBindEXT = VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT
+ };
+
+ using DescriptorPoolCreateFlags = Flags<DescriptorPoolCreateFlagBits, VkDescriptorPoolCreateFlags>;
+
+ VULKAN_HPP_INLINE DescriptorPoolCreateFlags operator|( DescriptorPoolCreateFlagBits bit0, DescriptorPoolCreateFlagBits bit1 )
+ {
+ return DescriptorPoolCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DescriptorPoolCreateFlags operator~( DescriptorPoolCreateFlagBits bits )
+ {
+ return ~( DescriptorPoolCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<DescriptorPoolCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(DescriptorPoolCreateFlagBits::eFreeDescriptorSet) | VkFlags(DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT)
+ };
+ };
+
+ struct DescriptorPoolCreateInfo
+ {
+ DescriptorPoolCreateInfo( DescriptorPoolCreateFlags flags_ = DescriptorPoolCreateFlags(), uint32_t maxSets_ = 0, uint32_t poolSizeCount_ = 0, const DescriptorPoolSize* pPoolSizes_ = nullptr )
+ : flags( flags_ )
+ , maxSets( maxSets_ )
+ , poolSizeCount( poolSizeCount_ )
+ , pPoolSizes( pPoolSizes_ )
+ {
+ }
+
+ DescriptorPoolCreateInfo( VkDescriptorPoolCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorPoolCreateInfo ) );
+ }
+
+ DescriptorPoolCreateInfo& operator=( VkDescriptorPoolCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorPoolCreateInfo ) );
+ return *this;
+ }
+ DescriptorPoolCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DescriptorPoolCreateInfo& setFlags( DescriptorPoolCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DescriptorPoolCreateInfo& setMaxSets( uint32_t maxSets_ )
+ {
+ maxSets = maxSets_;
+ return *this;
+ }
+
+ DescriptorPoolCreateInfo& setPoolSizeCount( uint32_t poolSizeCount_ )
+ {
+ poolSizeCount = poolSizeCount_;
+ return *this;
+ }
+
+ DescriptorPoolCreateInfo& setPPoolSizes( const DescriptorPoolSize* pPoolSizes_ )
+ {
+ pPoolSizes = pPoolSizes_;
+ return *this;
+ }
+
+ operator const VkDescriptorPoolCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkDescriptorPoolCreateInfo*>(this);
+ }
+
+ bool operator==( DescriptorPoolCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( maxSets == rhs.maxSets )
+ && ( poolSizeCount == rhs.poolSizeCount )
+ && ( pPoolSizes == rhs.pPoolSizes );
+ }
+
+ bool operator!=( DescriptorPoolCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorPoolCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ DescriptorPoolCreateFlags flags;
+ uint32_t maxSets;
+ uint32_t poolSizeCount;
+ const DescriptorPoolSize* pPoolSizes;
+ };
+ static_assert( sizeof( DescriptorPoolCreateInfo ) == sizeof( VkDescriptorPoolCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class DependencyFlagBits
+ {
+ eByRegion = VK_DEPENDENCY_BY_REGION_BIT,
+ eDeviceGroup = VK_DEPENDENCY_DEVICE_GROUP_BIT,
+ eDeviceGroupKHR = VK_DEPENDENCY_DEVICE_GROUP_BIT,
+ eViewLocal = VK_DEPENDENCY_VIEW_LOCAL_BIT,
+ eViewLocalKHR = VK_DEPENDENCY_VIEW_LOCAL_BIT
+ };
+
+ using DependencyFlags = Flags<DependencyFlagBits, VkDependencyFlags>;
+
+ VULKAN_HPP_INLINE DependencyFlags operator|( DependencyFlagBits bit0, DependencyFlagBits bit1 )
+ {
+ return DependencyFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DependencyFlags operator~( DependencyFlagBits bits )
+ {
+ return ~( DependencyFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<DependencyFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(DependencyFlagBits::eByRegion) | VkFlags(DependencyFlagBits::eDeviceGroup) | VkFlags(DependencyFlagBits::eViewLocal)
+ };
+ };
+
+ struct SubpassDependency
+ {
+ SubpassDependency( uint32_t srcSubpass_ = 0, uint32_t dstSubpass_ = 0, PipelineStageFlags srcStageMask_ = PipelineStageFlags(), PipelineStageFlags dstStageMask_ = PipelineStageFlags(), AccessFlags srcAccessMask_ = AccessFlags(), AccessFlags dstAccessMask_ = AccessFlags(), DependencyFlags dependencyFlags_ = DependencyFlags() )
+ : srcSubpass( srcSubpass_ )
+ , dstSubpass( dstSubpass_ )
+ , srcStageMask( srcStageMask_ )
+ , dstStageMask( dstStageMask_ )
+ , srcAccessMask( srcAccessMask_ )
+ , dstAccessMask( dstAccessMask_ )
+ , dependencyFlags( dependencyFlags_ )
+ {
+ }
+
+ SubpassDependency( VkSubpassDependency const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubpassDependency ) );
+ }
+
+ SubpassDependency& operator=( VkSubpassDependency const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubpassDependency ) );
+ return *this;
+ }
+ SubpassDependency& setSrcSubpass( uint32_t srcSubpass_ )
+ {
+ srcSubpass = srcSubpass_;
+ return *this;
+ }
+
+ SubpassDependency& setDstSubpass( uint32_t dstSubpass_ )
+ {
+ dstSubpass = dstSubpass_;
+ return *this;
+ }
+
+ SubpassDependency& setSrcStageMask( PipelineStageFlags srcStageMask_ )
+ {
+ srcStageMask = srcStageMask_;
+ return *this;
+ }
+
+ SubpassDependency& setDstStageMask( PipelineStageFlags dstStageMask_ )
+ {
+ dstStageMask = dstStageMask_;
+ return *this;
+ }
+
+ SubpassDependency& setSrcAccessMask( AccessFlags srcAccessMask_ )
+ {
+ srcAccessMask = srcAccessMask_;
+ return *this;
+ }
+
+ SubpassDependency& setDstAccessMask( AccessFlags dstAccessMask_ )
+ {
+ dstAccessMask = dstAccessMask_;
+ return *this;
+ }
+
+ SubpassDependency& setDependencyFlags( DependencyFlags dependencyFlags_ )
+ {
+ dependencyFlags = dependencyFlags_;
+ return *this;
+ }
+
+ operator const VkSubpassDependency&() const
+ {
+ return *reinterpret_cast<const VkSubpassDependency*>(this);
+ }
+
+ bool operator==( SubpassDependency const& rhs ) const
+ {
+ return ( srcSubpass == rhs.srcSubpass )
+ && ( dstSubpass == rhs.dstSubpass )
+ && ( srcStageMask == rhs.srcStageMask )
+ && ( dstStageMask == rhs.dstStageMask )
+ && ( srcAccessMask == rhs.srcAccessMask )
+ && ( dstAccessMask == rhs.dstAccessMask )
+ && ( dependencyFlags == rhs.dependencyFlags );
+ }
+
+ bool operator!=( SubpassDependency const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t srcSubpass;
+ uint32_t dstSubpass;
+ PipelineStageFlags srcStageMask;
+ PipelineStageFlags dstStageMask;
+ AccessFlags srcAccessMask;
+ AccessFlags dstAccessMask;
+ DependencyFlags dependencyFlags;
+ };
+ static_assert( sizeof( SubpassDependency ) == sizeof( VkSubpassDependency ), "struct and wrapper have different size!" );
+
+ enum class PresentModeKHR
+ {
+ eImmediate = VK_PRESENT_MODE_IMMEDIATE_KHR,
+ eMailbox = VK_PRESENT_MODE_MAILBOX_KHR,
+ eFifo = VK_PRESENT_MODE_FIFO_KHR,
+ eFifoRelaxed = VK_PRESENT_MODE_FIFO_RELAXED_KHR,
+ eSharedDemandRefresh = VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR,
+ eSharedContinuousRefresh = VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR
+ };
+
+ enum class ColorSpaceKHR
+ {
+ eSrgbNonlinear = VK_COLOR_SPACE_SRGB_NONLINEAR_KHR,
+ eDisplayP3NonlinearEXT = VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT,
+ eExtendedSrgbLinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT,
+ eDciP3LinearEXT = VK_COLOR_SPACE_DCI_P3_LINEAR_EXT,
+ eDciP3NonlinearEXT = VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT,
+ eBt709LinearEXT = VK_COLOR_SPACE_BT709_LINEAR_EXT,
+ eBt709NonlinearEXT = VK_COLOR_SPACE_BT709_NONLINEAR_EXT,
+ eBt2020LinearEXT = VK_COLOR_SPACE_BT2020_LINEAR_EXT,
+ eHdr10St2084EXT = VK_COLOR_SPACE_HDR10_ST2084_EXT,
+ eDolbyvisionEXT = VK_COLOR_SPACE_DOLBYVISION_EXT,
+ eHdr10HlgEXT = VK_COLOR_SPACE_HDR10_HLG_EXT,
+ eAdobergbLinearEXT = VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT,
+ eAdobergbNonlinearEXT = VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT,
+ ePassThroughEXT = VK_COLOR_SPACE_PASS_THROUGH_EXT,
+ eExtendedSrgbNonlinearEXT = VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT
+ };
+
+ struct SurfaceFormatKHR
+ {
+ operator const VkSurfaceFormatKHR&() const
+ {
+ return *reinterpret_cast<const VkSurfaceFormatKHR*>(this);
+ }
+
+ bool operator==( SurfaceFormatKHR const& rhs ) const
+ {
+ return ( format == rhs.format )
+ && ( colorSpace == rhs.colorSpace );
+ }
+
+ bool operator!=( SurfaceFormatKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ Format format;
+ ColorSpaceKHR colorSpace;
+ };
+ static_assert( sizeof( SurfaceFormatKHR ) == sizeof( VkSurfaceFormatKHR ), "struct and wrapper have different size!" );
+
+ struct SurfaceFormat2KHR
+ {
+ operator const VkSurfaceFormat2KHR&() const
+ {
+ return *reinterpret_cast<const VkSurfaceFormat2KHR*>(this);
+ }
+
+ bool operator==( SurfaceFormat2KHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( surfaceFormat == rhs.surfaceFormat );
+ }
+
+ bool operator!=( SurfaceFormat2KHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSurfaceFormat2KHR;
+
+ public:
+ void* pNext = nullptr;
+ SurfaceFormatKHR surfaceFormat;
+ };
+ static_assert( sizeof( SurfaceFormat2KHR ) == sizeof( VkSurfaceFormat2KHR ), "struct and wrapper have different size!" );
+
+ enum class DisplayPlaneAlphaFlagBitsKHR
+ {
+ eOpaque = VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR,
+ eGlobal = VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR,
+ ePerPixel = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR,
+ ePerPixelPremultiplied = VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR
+ };
+
+ using DisplayPlaneAlphaFlagsKHR = Flags<DisplayPlaneAlphaFlagBitsKHR, VkDisplayPlaneAlphaFlagsKHR>;
+
+ VULKAN_HPP_INLINE DisplayPlaneAlphaFlagsKHR operator|( DisplayPlaneAlphaFlagBitsKHR bit0, DisplayPlaneAlphaFlagBitsKHR bit1 )
+ {
+ return DisplayPlaneAlphaFlagsKHR( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DisplayPlaneAlphaFlagsKHR operator~( DisplayPlaneAlphaFlagBitsKHR bits )
+ {
+ return ~( DisplayPlaneAlphaFlagsKHR( bits ) );
+ }
+
+ template <> struct FlagTraits<DisplayPlaneAlphaFlagBitsKHR>
+ {
+ enum
+ {
+ allFlags = VkFlags(DisplayPlaneAlphaFlagBitsKHR::eOpaque) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::eGlobal) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::ePerPixel) | VkFlags(DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied)
+ };
+ };
+
+ struct DisplayPlaneCapabilitiesKHR
+ {
+ operator const VkDisplayPlaneCapabilitiesKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplayPlaneCapabilitiesKHR*>(this);
+ }
+
+ bool operator==( DisplayPlaneCapabilitiesKHR const& rhs ) const
+ {
+ return ( supportedAlpha == rhs.supportedAlpha )
+ && ( minSrcPosition == rhs.minSrcPosition )
+ && ( maxSrcPosition == rhs.maxSrcPosition )
+ && ( minSrcExtent == rhs.minSrcExtent )
+ && ( maxSrcExtent == rhs.maxSrcExtent )
+ && ( minDstPosition == rhs.minDstPosition )
+ && ( maxDstPosition == rhs.maxDstPosition )
+ && ( minDstExtent == rhs.minDstExtent )
+ && ( maxDstExtent == rhs.maxDstExtent );
+ }
+
+ bool operator!=( DisplayPlaneCapabilitiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DisplayPlaneAlphaFlagsKHR supportedAlpha;
+ Offset2D minSrcPosition;
+ Offset2D maxSrcPosition;
+ Extent2D minSrcExtent;
+ Extent2D maxSrcExtent;
+ Offset2D minDstPosition;
+ Offset2D maxDstPosition;
+ Extent2D minDstExtent;
+ Extent2D maxDstExtent;
+ };
+ static_assert( sizeof( DisplayPlaneCapabilitiesKHR ) == sizeof( VkDisplayPlaneCapabilitiesKHR ), "struct and wrapper have different size!" );
+
+ enum class CompositeAlphaFlagBitsKHR
+ {
+ eOpaque = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR,
+ ePreMultiplied = VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR,
+ ePostMultiplied = VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR,
+ eInherit = VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR
+ };
+
+ using CompositeAlphaFlagsKHR = Flags<CompositeAlphaFlagBitsKHR, VkCompositeAlphaFlagsKHR>;
+
+ VULKAN_HPP_INLINE CompositeAlphaFlagsKHR operator|( CompositeAlphaFlagBitsKHR bit0, CompositeAlphaFlagBitsKHR bit1 )
+ {
+ return CompositeAlphaFlagsKHR( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE CompositeAlphaFlagsKHR operator~( CompositeAlphaFlagBitsKHR bits )
+ {
+ return ~( CompositeAlphaFlagsKHR( bits ) );
+ }
+
+ template <> struct FlagTraits<CompositeAlphaFlagBitsKHR>
+ {
+ enum
+ {
+ allFlags = VkFlags(CompositeAlphaFlagBitsKHR::eOpaque) | VkFlags(CompositeAlphaFlagBitsKHR::ePreMultiplied) | VkFlags(CompositeAlphaFlagBitsKHR::ePostMultiplied) | VkFlags(CompositeAlphaFlagBitsKHR::eInherit)
+ };
+ };
+
+ enum class SurfaceTransformFlagBitsKHR
+ {
+ eIdentity = VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR,
+ eRotate90 = VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR,
+ eRotate180 = VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR,
+ eRotate270 = VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR,
+ eHorizontalMirror = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR,
+ eHorizontalMirrorRotate90 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR,
+ eHorizontalMirrorRotate180 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR,
+ eHorizontalMirrorRotate270 = VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR,
+ eInherit = VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR
+ };
+
+ using SurfaceTransformFlagsKHR = Flags<SurfaceTransformFlagBitsKHR, VkSurfaceTransformFlagsKHR>;
+
+ VULKAN_HPP_INLINE SurfaceTransformFlagsKHR operator|( SurfaceTransformFlagBitsKHR bit0, SurfaceTransformFlagBitsKHR bit1 )
+ {
+ return SurfaceTransformFlagsKHR( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SurfaceTransformFlagsKHR operator~( SurfaceTransformFlagBitsKHR bits )
+ {
+ return ~( SurfaceTransformFlagsKHR( bits ) );
+ }
+
+ template <> struct FlagTraits<SurfaceTransformFlagBitsKHR>
+ {
+ enum
+ {
+ allFlags = VkFlags(SurfaceTransformFlagBitsKHR::eIdentity) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate90) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate180) | VkFlags(SurfaceTransformFlagBitsKHR::eRotate270) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirror) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180) | VkFlags(SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270) | VkFlags(SurfaceTransformFlagBitsKHR::eInherit)
+ };
+ };
+
+ struct DisplayPropertiesKHR
+ {
+ operator const VkDisplayPropertiesKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplayPropertiesKHR*>(this);
+ }
+
+ bool operator==( DisplayPropertiesKHR const& rhs ) const
+ {
+ return ( display == rhs.display )
+ && ( displayName == rhs.displayName )
+ && ( physicalDimensions == rhs.physicalDimensions )
+ && ( physicalResolution == rhs.physicalResolution )
+ && ( supportedTransforms == rhs.supportedTransforms )
+ && ( planeReorderPossible == rhs.planeReorderPossible )
+ && ( persistentContent == rhs.persistentContent );
+ }
+
+ bool operator!=( DisplayPropertiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ DisplayKHR display;
+ const char* displayName;
+ Extent2D physicalDimensions;
+ Extent2D physicalResolution;
+ SurfaceTransformFlagsKHR supportedTransforms;
+ Bool32 planeReorderPossible;
+ Bool32 persistentContent;
+ };
+ static_assert( sizeof( DisplayPropertiesKHR ) == sizeof( VkDisplayPropertiesKHR ), "struct and wrapper have different size!" );
+
+ struct DisplaySurfaceCreateInfoKHR
+ {
+ DisplaySurfaceCreateInfoKHR( DisplaySurfaceCreateFlagsKHR flags_ = DisplaySurfaceCreateFlagsKHR(), DisplayModeKHR displayMode_ = DisplayModeKHR(), uint32_t planeIndex_ = 0, uint32_t planeStackIndex_ = 0, SurfaceTransformFlagBitsKHR transform_ = SurfaceTransformFlagBitsKHR::eIdentity, float globalAlpha_ = 0, DisplayPlaneAlphaFlagBitsKHR alphaMode_ = DisplayPlaneAlphaFlagBitsKHR::eOpaque, Extent2D imageExtent_ = Extent2D() )
+ : flags( flags_ )
+ , displayMode( displayMode_ )
+ , planeIndex( planeIndex_ )
+ , planeStackIndex( planeStackIndex_ )
+ , transform( transform_ )
+ , globalAlpha( globalAlpha_ )
+ , alphaMode( alphaMode_ )
+ , imageExtent( imageExtent_ )
+ {
+ }
+
+ DisplaySurfaceCreateInfoKHR( VkDisplaySurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplaySurfaceCreateInfoKHR ) );
+ }
+
+ DisplaySurfaceCreateInfoKHR& operator=( VkDisplaySurfaceCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplaySurfaceCreateInfoKHR ) );
+ return *this;
+ }
+ DisplaySurfaceCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setFlags( DisplaySurfaceCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setDisplayMode( DisplayModeKHR displayMode_ )
+ {
+ displayMode = displayMode_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setPlaneIndex( uint32_t planeIndex_ )
+ {
+ planeIndex = planeIndex_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setPlaneStackIndex( uint32_t planeStackIndex_ )
+ {
+ planeStackIndex = planeStackIndex_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setTransform( SurfaceTransformFlagBitsKHR transform_ )
+ {
+ transform = transform_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setGlobalAlpha( float globalAlpha_ )
+ {
+ globalAlpha = globalAlpha_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setAlphaMode( DisplayPlaneAlphaFlagBitsKHR alphaMode_ )
+ {
+ alphaMode = alphaMode_;
+ return *this;
+ }
+
+ DisplaySurfaceCreateInfoKHR& setImageExtent( Extent2D imageExtent_ )
+ {
+ imageExtent = imageExtent_;
+ return *this;
+ }
+
+ operator const VkDisplaySurfaceCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>(this);
+ }
+
+ bool operator==( DisplaySurfaceCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( displayMode == rhs.displayMode )
+ && ( planeIndex == rhs.planeIndex )
+ && ( planeStackIndex == rhs.planeStackIndex )
+ && ( transform == rhs.transform )
+ && ( globalAlpha == rhs.globalAlpha )
+ && ( alphaMode == rhs.alphaMode )
+ && ( imageExtent == rhs.imageExtent );
+ }
+
+ bool operator!=( DisplaySurfaceCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDisplaySurfaceCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ DisplaySurfaceCreateFlagsKHR flags;
+ DisplayModeKHR displayMode;
+ uint32_t planeIndex;
+ uint32_t planeStackIndex;
+ SurfaceTransformFlagBitsKHR transform;
+ float globalAlpha;
+ DisplayPlaneAlphaFlagBitsKHR alphaMode;
+ Extent2D imageExtent;
+ };
+ static_assert( sizeof( DisplaySurfaceCreateInfoKHR ) == sizeof( VkDisplaySurfaceCreateInfoKHR ), "struct and wrapper have different size!" );
+
+ struct SurfaceCapabilitiesKHR
+ {
+ operator const VkSurfaceCapabilitiesKHR&() const
+ {
+ return *reinterpret_cast<const VkSurfaceCapabilitiesKHR*>(this);
+ }
+
+ bool operator==( SurfaceCapabilitiesKHR const& rhs ) const
+ {
+ return ( minImageCount == rhs.minImageCount )
+ && ( maxImageCount == rhs.maxImageCount )
+ && ( currentExtent == rhs.currentExtent )
+ && ( minImageExtent == rhs.minImageExtent )
+ && ( maxImageExtent == rhs.maxImageExtent )
+ && ( maxImageArrayLayers == rhs.maxImageArrayLayers )
+ && ( supportedTransforms == rhs.supportedTransforms )
+ && ( currentTransform == rhs.currentTransform )
+ && ( supportedCompositeAlpha == rhs.supportedCompositeAlpha )
+ && ( supportedUsageFlags == rhs.supportedUsageFlags );
+ }
+
+ bool operator!=( SurfaceCapabilitiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ uint32_t minImageCount;
+ uint32_t maxImageCount;
+ Extent2D currentExtent;
+ Extent2D minImageExtent;
+ Extent2D maxImageExtent;
+ uint32_t maxImageArrayLayers;
+ SurfaceTransformFlagsKHR supportedTransforms;
+ SurfaceTransformFlagBitsKHR currentTransform;
+ CompositeAlphaFlagsKHR supportedCompositeAlpha;
+ ImageUsageFlags supportedUsageFlags;
+ };
+ static_assert( sizeof( SurfaceCapabilitiesKHR ) == sizeof( VkSurfaceCapabilitiesKHR ), "struct and wrapper have different size!" );
+
+ struct SurfaceCapabilities2KHR
+ {
+ operator const VkSurfaceCapabilities2KHR&() const
+ {
+ return *reinterpret_cast<const VkSurfaceCapabilities2KHR*>(this);
+ }
+
+ bool operator==( SurfaceCapabilities2KHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( surfaceCapabilities == rhs.surfaceCapabilities );
+ }
+
+ bool operator!=( SurfaceCapabilities2KHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSurfaceCapabilities2KHR;
+
+ public:
+ void* pNext = nullptr;
+ SurfaceCapabilitiesKHR surfaceCapabilities;
+ };
+ static_assert( sizeof( SurfaceCapabilities2KHR ) == sizeof( VkSurfaceCapabilities2KHR ), "struct and wrapper have different size!" );
+
+ enum class DebugReportFlagBitsEXT
+ {
+ eInformation = VK_DEBUG_REPORT_INFORMATION_BIT_EXT,
+ eWarning = VK_DEBUG_REPORT_WARNING_BIT_EXT,
+ ePerformanceWarning = VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT,
+ eError = VK_DEBUG_REPORT_ERROR_BIT_EXT,
+ eDebug = VK_DEBUG_REPORT_DEBUG_BIT_EXT
+ };
+
+ using DebugReportFlagsEXT = Flags<DebugReportFlagBitsEXT, VkDebugReportFlagsEXT>;
+
+ VULKAN_HPP_INLINE DebugReportFlagsEXT operator|( DebugReportFlagBitsEXT bit0, DebugReportFlagBitsEXT bit1 )
+ {
+ return DebugReportFlagsEXT( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DebugReportFlagsEXT operator~( DebugReportFlagBitsEXT bits )
+ {
+ return ~( DebugReportFlagsEXT( bits ) );
+ }
+
+ template <> struct FlagTraits<DebugReportFlagBitsEXT>
+ {
+ enum
+ {
+ allFlags = VkFlags(DebugReportFlagBitsEXT::eInformation) | VkFlags(DebugReportFlagBitsEXT::eWarning) | VkFlags(DebugReportFlagBitsEXT::ePerformanceWarning) | VkFlags(DebugReportFlagBitsEXT::eError) | VkFlags(DebugReportFlagBitsEXT::eDebug)
+ };
+ };
+
+ struct DebugReportCallbackCreateInfoEXT
+ {
+ DebugReportCallbackCreateInfoEXT( DebugReportFlagsEXT flags_ = DebugReportFlagsEXT(), PFN_vkDebugReportCallbackEXT pfnCallback_ = nullptr, void* pUserData_ = nullptr )
+ : flags( flags_ )
+ , pfnCallback( pfnCallback_ )
+ , pUserData( pUserData_ )
+ {
+ }
+
+ DebugReportCallbackCreateInfoEXT( VkDebugReportCallbackCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugReportCallbackCreateInfoEXT ) );
+ }
+
+ DebugReportCallbackCreateInfoEXT& operator=( VkDebugReportCallbackCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugReportCallbackCreateInfoEXT ) );
+ return *this;
+ }
+ DebugReportCallbackCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugReportCallbackCreateInfoEXT& setFlags( DebugReportFlagsEXT flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DebugReportCallbackCreateInfoEXT& setPfnCallback( PFN_vkDebugReportCallbackEXT pfnCallback_ )
+ {
+ pfnCallback = pfnCallback_;
+ return *this;
+ }
+
+ DebugReportCallbackCreateInfoEXT& setPUserData( void* pUserData_ )
+ {
+ pUserData = pUserData_;
+ return *this;
+ }
+
+ operator const VkDebugReportCallbackCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>(this);
+ }
+
+ bool operator==( DebugReportCallbackCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( pfnCallback == rhs.pfnCallback )
+ && ( pUserData == rhs.pUserData );
+ }
+
+ bool operator!=( DebugReportCallbackCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugReportCallbackCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DebugReportFlagsEXT flags;
+ PFN_vkDebugReportCallbackEXT pfnCallback;
+ void* pUserData;
+ };
+ static_assert( sizeof( DebugReportCallbackCreateInfoEXT ) == sizeof( VkDebugReportCallbackCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class DebugReportObjectTypeEXT
+ {
+ eUnknown = VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT,
+ eInstance = VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT,
+ ePhysicalDevice = VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT,
+ eDevice = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT,
+ eQueue = VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT,
+ eSemaphore = VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT,
+ eCommandBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT,
+ eFence = VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT,
+ eDeviceMemory = VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT,
+ eBuffer = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT,
+ eImage = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT,
+ eEvent = VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT,
+ eQueryPool = VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT,
+ eBufferView = VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT,
+ eImageView = VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT,
+ eShaderModule = VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT,
+ ePipelineCache = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT,
+ ePipelineLayout = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT,
+ eRenderPass = VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT,
+ ePipeline = VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT,
+ eDescriptorSetLayout = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT,
+ eSampler = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT,
+ eDescriptorPool = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT,
+ eDescriptorSet = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT,
+ eFramebuffer = VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT,
+ eCommandPool = VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT,
+ eSurfaceKhr = VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT,
+ eSwapchainKhr = VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT,
+ eDebugReportCallbackExt = VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT,
+ eDisplayKhr = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT,
+ eDisplayModeKhr = VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT,
+ eObjectTableNvx = VK_DEBUG_REPORT_OBJECT_TYPE_OBJECT_TABLE_NVX_EXT,
+ eIndirectCommandsLayoutNvx = VK_DEBUG_REPORT_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX_EXT,
+ eValidationCacheExt = VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT,
+ eSamplerYcbcrConversion = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT,
+ eSamplerYcbcrConversionKHR = VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT,
+ eDescriptorUpdateTemplate = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT,
+ eDescriptorUpdateTemplateKHR = VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT
+ };
+
+ struct DebugMarkerObjectNameInfoEXT
+ {
+ DebugMarkerObjectNameInfoEXT( DebugReportObjectTypeEXT objectType_ = DebugReportObjectTypeEXT::eUnknown, uint64_t object_ = 0, const char* pObjectName_ = nullptr )
+ : objectType( objectType_ )
+ , object( object_ )
+ , pObjectName( pObjectName_ )
+ {
+ }
+
+ DebugMarkerObjectNameInfoEXT( VkDebugMarkerObjectNameInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugMarkerObjectNameInfoEXT ) );
+ }
+
+ DebugMarkerObjectNameInfoEXT& operator=( VkDebugMarkerObjectNameInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugMarkerObjectNameInfoEXT ) );
+ return *this;
+ }
+ DebugMarkerObjectNameInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugMarkerObjectNameInfoEXT& setObjectType( DebugReportObjectTypeEXT objectType_ )
+ {
+ objectType = objectType_;
+ return *this;
+ }
+
+ DebugMarkerObjectNameInfoEXT& setObject( uint64_t object_ )
+ {
+ object = object_;
+ return *this;
+ }
+
+ DebugMarkerObjectNameInfoEXT& setPObjectName( const char* pObjectName_ )
+ {
+ pObjectName = pObjectName_;
+ return *this;
+ }
+
+ operator const VkDebugMarkerObjectNameInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugMarkerObjectNameInfoEXT*>(this);
+ }
+
+ bool operator==( DebugMarkerObjectNameInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( objectType == rhs.objectType )
+ && ( object == rhs.object )
+ && ( pObjectName == rhs.pObjectName );
+ }
+
+ bool operator!=( DebugMarkerObjectNameInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugMarkerObjectNameInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DebugReportObjectTypeEXT objectType;
+ uint64_t object;
+ const char* pObjectName;
+ };
+ static_assert( sizeof( DebugMarkerObjectNameInfoEXT ) == sizeof( VkDebugMarkerObjectNameInfoEXT ), "struct and wrapper have different size!" );
+
+ struct DebugMarkerObjectTagInfoEXT
+ {
+ DebugMarkerObjectTagInfoEXT( DebugReportObjectTypeEXT objectType_ = DebugReportObjectTypeEXT::eUnknown, uint64_t object_ = 0, uint64_t tagName_ = 0, size_t tagSize_ = 0, const void* pTag_ = nullptr )
+ : objectType( objectType_ )
+ , object( object_ )
+ , tagName( tagName_ )
+ , tagSize( tagSize_ )
+ , pTag( pTag_ )
+ {
+ }
+
+ DebugMarkerObjectTagInfoEXT( VkDebugMarkerObjectTagInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugMarkerObjectTagInfoEXT ) );
+ }
+
+ DebugMarkerObjectTagInfoEXT& operator=( VkDebugMarkerObjectTagInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugMarkerObjectTagInfoEXT ) );
+ return *this;
+ }
+ DebugMarkerObjectTagInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugMarkerObjectTagInfoEXT& setObjectType( DebugReportObjectTypeEXT objectType_ )
+ {
+ objectType = objectType_;
+ return *this;
+ }
+
+ DebugMarkerObjectTagInfoEXT& setObject( uint64_t object_ )
+ {
+ object = object_;
+ return *this;
+ }
+
+ DebugMarkerObjectTagInfoEXT& setTagName( uint64_t tagName_ )
+ {
+ tagName = tagName_;
+ return *this;
+ }
+
+ DebugMarkerObjectTagInfoEXT& setTagSize( size_t tagSize_ )
+ {
+ tagSize = tagSize_;
+ return *this;
+ }
+
+ DebugMarkerObjectTagInfoEXT& setPTag( const void* pTag_ )
+ {
+ pTag = pTag_;
+ return *this;
+ }
+
+ operator const VkDebugMarkerObjectTagInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugMarkerObjectTagInfoEXT*>(this);
+ }
+
+ bool operator==( DebugMarkerObjectTagInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( objectType == rhs.objectType )
+ && ( object == rhs.object )
+ && ( tagName == rhs.tagName )
+ && ( tagSize == rhs.tagSize )
+ && ( pTag == rhs.pTag );
+ }
+
+ bool operator!=( DebugMarkerObjectTagInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugMarkerObjectTagInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DebugReportObjectTypeEXT objectType;
+ uint64_t object;
+ uint64_t tagName;
+ size_t tagSize;
+ const void* pTag;
+ };
+ static_assert( sizeof( DebugMarkerObjectTagInfoEXT ) == sizeof( VkDebugMarkerObjectTagInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class RasterizationOrderAMD
+ {
+ eStrict = VK_RASTERIZATION_ORDER_STRICT_AMD,
+ eRelaxed = VK_RASTERIZATION_ORDER_RELAXED_AMD
+ };
+
+ struct PipelineRasterizationStateRasterizationOrderAMD
+ {
+ PipelineRasterizationStateRasterizationOrderAMD( RasterizationOrderAMD rasterizationOrder_ = RasterizationOrderAMD::eStrict )
+ : rasterizationOrder( rasterizationOrder_ )
+ {
+ }
+
+ PipelineRasterizationStateRasterizationOrderAMD( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineRasterizationStateRasterizationOrderAMD ) );
+ }
+
+ PipelineRasterizationStateRasterizationOrderAMD& operator=( VkPipelineRasterizationStateRasterizationOrderAMD const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineRasterizationStateRasterizationOrderAMD ) );
+ return *this;
+ }
+ PipelineRasterizationStateRasterizationOrderAMD& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineRasterizationStateRasterizationOrderAMD& setRasterizationOrder( RasterizationOrderAMD rasterizationOrder_ )
+ {
+ rasterizationOrder = rasterizationOrder_;
+ return *this;
+ }
+
+ operator const VkPipelineRasterizationStateRasterizationOrderAMD&() const
+ {
+ return *reinterpret_cast<const VkPipelineRasterizationStateRasterizationOrderAMD*>(this);
+ }
+
+ bool operator==( PipelineRasterizationStateRasterizationOrderAMD const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( rasterizationOrder == rhs.rasterizationOrder );
+ }
+
+ bool operator!=( PipelineRasterizationStateRasterizationOrderAMD const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineRasterizationStateRasterizationOrderAMD;
+
+ public:
+ const void* pNext = nullptr;
+ RasterizationOrderAMD rasterizationOrder;
+ };
+ static_assert( sizeof( PipelineRasterizationStateRasterizationOrderAMD ) == sizeof( VkPipelineRasterizationStateRasterizationOrderAMD ), "struct and wrapper have different size!" );
+
+ enum class ExternalMemoryHandleTypeFlagBitsNV
+ {
+ eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV,
+ eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV,
+ eD3D11Image = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV,
+ eD3D11ImageKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV
+ };
+
+ using ExternalMemoryHandleTypeFlagsNV = Flags<ExternalMemoryHandleTypeFlagBitsNV, VkExternalMemoryHandleTypeFlagsNV>;
+
+ VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlagsNV operator|( ExternalMemoryHandleTypeFlagBitsNV bit0, ExternalMemoryHandleTypeFlagBitsNV bit1 )
+ {
+ return ExternalMemoryHandleTypeFlagsNV( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlagsNV operator~( ExternalMemoryHandleTypeFlagBitsNV bits )
+ {
+ return ~( ExternalMemoryHandleTypeFlagsNV( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalMemoryHandleTypeFlagBitsNV>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image) | VkFlags(ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt)
+ };
+ };
+
+ struct ExternalMemoryImageCreateInfoNV
+ {
+ ExternalMemoryImageCreateInfoNV( ExternalMemoryHandleTypeFlagsNV handleTypes_ = ExternalMemoryHandleTypeFlagsNV() )
+ : handleTypes( handleTypes_ )
+ {
+ }
+
+ ExternalMemoryImageCreateInfoNV( VkExternalMemoryImageCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfoNV ) );
+ }
+
+ ExternalMemoryImageCreateInfoNV& operator=( VkExternalMemoryImageCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfoNV ) );
+ return *this;
+ }
+ ExternalMemoryImageCreateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExternalMemoryImageCreateInfoNV& setHandleTypes( ExternalMemoryHandleTypeFlagsNV handleTypes_ )
+ {
+ handleTypes = handleTypes_;
+ return *this;
+ }
+
+ operator const VkExternalMemoryImageCreateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkExternalMemoryImageCreateInfoNV*>(this);
+ }
+
+ bool operator==( ExternalMemoryImageCreateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleTypes == rhs.handleTypes );
+ }
+
+ bool operator!=( ExternalMemoryImageCreateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalMemoryImageCreateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlagsNV handleTypes;
+ };
+ static_assert( sizeof( ExternalMemoryImageCreateInfoNV ) == sizeof( VkExternalMemoryImageCreateInfoNV ), "struct and wrapper have different size!" );
+
+ struct ExportMemoryAllocateInfoNV
+ {
+ ExportMemoryAllocateInfoNV( ExternalMemoryHandleTypeFlagsNV handleTypes_ = ExternalMemoryHandleTypeFlagsNV() )
+ : handleTypes( handleTypes_ )
+ {
+ }
+
+ ExportMemoryAllocateInfoNV( VkExportMemoryAllocateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfoNV ) );
+ }
+
+ ExportMemoryAllocateInfoNV& operator=( VkExportMemoryAllocateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfoNV ) );
+ return *this;
+ }
+ ExportMemoryAllocateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportMemoryAllocateInfoNV& setHandleTypes( ExternalMemoryHandleTypeFlagsNV handleTypes_ )
+ {
+ handleTypes = handleTypes_;
+ return *this;
+ }
+
+ operator const VkExportMemoryAllocateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkExportMemoryAllocateInfoNV*>(this);
+ }
+
+ bool operator==( ExportMemoryAllocateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleTypes == rhs.handleTypes );
+ }
+
+ bool operator!=( ExportMemoryAllocateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportMemoryAllocateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlagsNV handleTypes;
+ };
+ static_assert( sizeof( ExportMemoryAllocateInfoNV ) == sizeof( VkExportMemoryAllocateInfoNV ), "struct and wrapper have different size!" );
+
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ struct ImportMemoryWin32HandleInfoNV
+ {
+ ImportMemoryWin32HandleInfoNV( ExternalMemoryHandleTypeFlagsNV handleType_ = ExternalMemoryHandleTypeFlagsNV(), HANDLE handle_ = 0 )
+ : handleType( handleType_ )
+ , handle( handle_ )
+ {
+ }
+
+ ImportMemoryWin32HandleInfoNV( VkImportMemoryWin32HandleInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoNV ) );
+ }
+
+ ImportMemoryWin32HandleInfoNV& operator=( VkImportMemoryWin32HandleInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoNV ) );
+ return *this;
+ }
+ ImportMemoryWin32HandleInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportMemoryWin32HandleInfoNV& setHandleType( ExternalMemoryHandleTypeFlagsNV handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportMemoryWin32HandleInfoNV& setHandle( HANDLE handle_ )
+ {
+ handle = handle_;
+ return *this;
+ }
+
+ operator const VkImportMemoryWin32HandleInfoNV&() const
+ {
+ return *reinterpret_cast<const VkImportMemoryWin32HandleInfoNV*>(this);
+ }
+
+ bool operator==( ImportMemoryWin32HandleInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleType == rhs.handleType )
+ && ( handle == rhs.handle );
+ }
+
+ bool operator!=( ImportMemoryWin32HandleInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportMemoryWin32HandleInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlagsNV handleType;
+ HANDLE handle;
+ };
+ static_assert( sizeof( ImportMemoryWin32HandleInfoNV ) == sizeof( VkImportMemoryWin32HandleInfoNV ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+
+ enum class ExternalMemoryFeatureFlagBitsNV
+ {
+ eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV,
+ eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV,
+ eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV
+ };
+
+ using ExternalMemoryFeatureFlagsNV = Flags<ExternalMemoryFeatureFlagBitsNV, VkExternalMemoryFeatureFlagsNV>;
+
+ VULKAN_HPP_INLINE ExternalMemoryFeatureFlagsNV operator|( ExternalMemoryFeatureFlagBitsNV bit0, ExternalMemoryFeatureFlagBitsNV bit1 )
+ {
+ return ExternalMemoryFeatureFlagsNV( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalMemoryFeatureFlagsNV operator~( ExternalMemoryFeatureFlagBitsNV bits )
+ {
+ return ~( ExternalMemoryFeatureFlagsNV( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalMemoryFeatureFlagBitsNV>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly) | VkFlags(ExternalMemoryFeatureFlagBitsNV::eExportable) | VkFlags(ExternalMemoryFeatureFlagBitsNV::eImportable)
+ };
+ };
+
+ struct ExternalImageFormatPropertiesNV
+ {
+ operator const VkExternalImageFormatPropertiesNV&() const
+ {
+ return *reinterpret_cast<const VkExternalImageFormatPropertiesNV*>(this);
+ }
+
+ bool operator==( ExternalImageFormatPropertiesNV const& rhs ) const
+ {
+ return ( imageFormatProperties == rhs.imageFormatProperties )
+ && ( externalMemoryFeatures == rhs.externalMemoryFeatures )
+ && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )
+ && ( compatibleHandleTypes == rhs.compatibleHandleTypes );
+ }
+
+ bool operator!=( ExternalImageFormatPropertiesNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ImageFormatProperties imageFormatProperties;
+ ExternalMemoryFeatureFlagsNV externalMemoryFeatures;
+ ExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes;
+ ExternalMemoryHandleTypeFlagsNV compatibleHandleTypes;
+ };
+ static_assert( sizeof( ExternalImageFormatPropertiesNV ) == sizeof( VkExternalImageFormatPropertiesNV ), "struct and wrapper have different size!" );
+
+ enum class ValidationCheckEXT
+ {
+ eAll = VK_VALIDATION_CHECK_ALL_EXT,
+ eShaders = VK_VALIDATION_CHECK_SHADERS_EXT
+ };
+
+ struct ValidationFlagsEXT
+ {
+ ValidationFlagsEXT( uint32_t disabledValidationCheckCount_ = 0, ValidationCheckEXT* pDisabledValidationChecks_ = nullptr )
+ : disabledValidationCheckCount( disabledValidationCheckCount_ )
+ , pDisabledValidationChecks( pDisabledValidationChecks_ )
+ {
+ }
+
+ ValidationFlagsEXT( VkValidationFlagsEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ValidationFlagsEXT ) );
+ }
+
+ ValidationFlagsEXT& operator=( VkValidationFlagsEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ValidationFlagsEXT ) );
+ return *this;
+ }
+ ValidationFlagsEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ValidationFlagsEXT& setDisabledValidationCheckCount( uint32_t disabledValidationCheckCount_ )
+ {
+ disabledValidationCheckCount = disabledValidationCheckCount_;
+ return *this;
+ }
+
+ ValidationFlagsEXT& setPDisabledValidationChecks( ValidationCheckEXT* pDisabledValidationChecks_ )
+ {
+ pDisabledValidationChecks = pDisabledValidationChecks_;
+ return *this;
+ }
+
+ operator const VkValidationFlagsEXT&() const
+ {
+ return *reinterpret_cast<const VkValidationFlagsEXT*>(this);
+ }
+
+ bool operator==( ValidationFlagsEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( disabledValidationCheckCount == rhs.disabledValidationCheckCount )
+ && ( pDisabledValidationChecks == rhs.pDisabledValidationChecks );
+ }
+
+ bool operator!=( ValidationFlagsEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eValidationFlagsEXT;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t disabledValidationCheckCount;
+ ValidationCheckEXT* pDisabledValidationChecks;
+ };
+ static_assert( sizeof( ValidationFlagsEXT ) == sizeof( VkValidationFlagsEXT ), "struct and wrapper have different size!" );
+
+ enum class SubgroupFeatureFlagBits
+ {
+ eBasic = VK_SUBGROUP_FEATURE_BASIC_BIT,
+ eVote = VK_SUBGROUP_FEATURE_VOTE_BIT,
+ eArithmetic = VK_SUBGROUP_FEATURE_ARITHMETIC_BIT,
+ eBallot = VK_SUBGROUP_FEATURE_BALLOT_BIT,
+ eShuffle = VK_SUBGROUP_FEATURE_SHUFFLE_BIT,
+ eShuffleRelative = VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT,
+ eClustered = VK_SUBGROUP_FEATURE_CLUSTERED_BIT,
+ eQuad = VK_SUBGROUP_FEATURE_QUAD_BIT,
+ ePartitionedNV = VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV
+ };
+
+ using SubgroupFeatureFlags = Flags<SubgroupFeatureFlagBits, VkSubgroupFeatureFlags>;
+
+ VULKAN_HPP_INLINE SubgroupFeatureFlags operator|( SubgroupFeatureFlagBits bit0, SubgroupFeatureFlagBits bit1 )
+ {
+ return SubgroupFeatureFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SubgroupFeatureFlags operator~( SubgroupFeatureFlagBits bits )
+ {
+ return ~( SubgroupFeatureFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<SubgroupFeatureFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(SubgroupFeatureFlagBits::eBasic) | VkFlags(SubgroupFeatureFlagBits::eVote) | VkFlags(SubgroupFeatureFlagBits::eArithmetic) | VkFlags(SubgroupFeatureFlagBits::eBallot) | VkFlags(SubgroupFeatureFlagBits::eShuffle) | VkFlags(SubgroupFeatureFlagBits::eShuffleRelative) | VkFlags(SubgroupFeatureFlagBits::eClustered) | VkFlags(SubgroupFeatureFlagBits::eQuad) | VkFlags(SubgroupFeatureFlagBits::ePartitionedNV)
+ };
+ };
+
+ struct PhysicalDeviceSubgroupProperties
+ {
+ operator const VkPhysicalDeviceSubgroupProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceSubgroupProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceSubgroupProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( subgroupSize == rhs.subgroupSize )
+ && ( supportedStages == rhs.supportedStages )
+ && ( supportedOperations == rhs.supportedOperations )
+ && ( quadOperationsInAllStages == rhs.quadOperationsInAllStages );
+ }
+
+ bool operator!=( PhysicalDeviceSubgroupProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceSubgroupProperties;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t subgroupSize;
+ ShaderStageFlags supportedStages;
+ SubgroupFeatureFlags supportedOperations;
+ Bool32 quadOperationsInAllStages;
+ };
+ static_assert( sizeof( PhysicalDeviceSubgroupProperties ) == sizeof( VkPhysicalDeviceSubgroupProperties ), "struct and wrapper have different size!" );
+
+ enum class IndirectCommandsLayoutUsageFlagBitsNVX
+ {
+ eUnorderedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NVX,
+ eSparseSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_SPARSE_SEQUENCES_BIT_NVX,
+ eEmptyExecutions = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EMPTY_EXECUTIONS_BIT_NVX,
+ eIndexedSequences = VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX
+ };
+
+ using IndirectCommandsLayoutUsageFlagsNVX = Flags<IndirectCommandsLayoutUsageFlagBitsNVX, VkIndirectCommandsLayoutUsageFlagsNVX>;
+
+ VULKAN_HPP_INLINE IndirectCommandsLayoutUsageFlagsNVX operator|( IndirectCommandsLayoutUsageFlagBitsNVX bit0, IndirectCommandsLayoutUsageFlagBitsNVX bit1 )
+ {
+ return IndirectCommandsLayoutUsageFlagsNVX( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE IndirectCommandsLayoutUsageFlagsNVX operator~( IndirectCommandsLayoutUsageFlagBitsNVX bits )
+ {
+ return ~( IndirectCommandsLayoutUsageFlagsNVX( bits ) );
+ }
+
+ template <> struct FlagTraits<IndirectCommandsLayoutUsageFlagBitsNVX>
+ {
+ enum
+ {
+ allFlags = VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions) | VkFlags(IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences)
+ };
+ };
+
+ enum class ObjectEntryUsageFlagBitsNVX
+ {
+ eGraphics = VK_OBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVX,
+ eCompute = VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX
+ };
+
+ using ObjectEntryUsageFlagsNVX = Flags<ObjectEntryUsageFlagBitsNVX, VkObjectEntryUsageFlagsNVX>;
+
+ VULKAN_HPP_INLINE ObjectEntryUsageFlagsNVX operator|( ObjectEntryUsageFlagBitsNVX bit0, ObjectEntryUsageFlagBitsNVX bit1 )
+ {
+ return ObjectEntryUsageFlagsNVX( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ObjectEntryUsageFlagsNVX operator~( ObjectEntryUsageFlagBitsNVX bits )
+ {
+ return ~( ObjectEntryUsageFlagsNVX( bits ) );
+ }
+
+ template <> struct FlagTraits<ObjectEntryUsageFlagBitsNVX>
+ {
+ enum
+ {
+ allFlags = VkFlags(ObjectEntryUsageFlagBitsNVX::eGraphics) | VkFlags(ObjectEntryUsageFlagBitsNVX::eCompute)
+ };
+ };
+
+ enum class IndirectCommandsTokenTypeNVX
+ {
+ ePipeline = VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX,
+ eDescriptorSet = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DESCRIPTOR_SET_NVX,
+ eIndexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NVX,
+ eVertexBuffer = VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NVX,
+ ePushConstant = VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NVX,
+ eDrawIndexed = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX,
+ eDraw = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX,
+ eDispatch = VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX
+ };
+
+ struct IndirectCommandsTokenNVX
+ {
+ IndirectCommandsTokenNVX( IndirectCommandsTokenTypeNVX tokenType_ = IndirectCommandsTokenTypeNVX::ePipeline, Buffer buffer_ = Buffer(), DeviceSize offset_ = 0 )
+ : tokenType( tokenType_ )
+ , buffer( buffer_ )
+ , offset( offset_ )
+ {
+ }
+
+ IndirectCommandsTokenNVX( VkIndirectCommandsTokenNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IndirectCommandsTokenNVX ) );
+ }
+
+ IndirectCommandsTokenNVX& operator=( VkIndirectCommandsTokenNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IndirectCommandsTokenNVX ) );
+ return *this;
+ }
+ IndirectCommandsTokenNVX& setTokenType( IndirectCommandsTokenTypeNVX tokenType_ )
+ {
+ tokenType = tokenType_;
+ return *this;
+ }
+
+ IndirectCommandsTokenNVX& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ IndirectCommandsTokenNVX& setOffset( DeviceSize offset_ )
+ {
+ offset = offset_;
+ return *this;
+ }
+
+ operator const VkIndirectCommandsTokenNVX&() const
+ {
+ return *reinterpret_cast<const VkIndirectCommandsTokenNVX*>(this);
+ }
+
+ bool operator==( IndirectCommandsTokenNVX const& rhs ) const
+ {
+ return ( tokenType == rhs.tokenType )
+ && ( buffer == rhs.buffer )
+ && ( offset == rhs.offset );
+ }
+
+ bool operator!=( IndirectCommandsTokenNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ IndirectCommandsTokenTypeNVX tokenType;
+ Buffer buffer;
+ DeviceSize offset;
+ };
+ static_assert( sizeof( IndirectCommandsTokenNVX ) == sizeof( VkIndirectCommandsTokenNVX ), "struct and wrapper have different size!" );
+
+ struct IndirectCommandsLayoutTokenNVX
+ {
+ IndirectCommandsLayoutTokenNVX( IndirectCommandsTokenTypeNVX tokenType_ = IndirectCommandsTokenTypeNVX::ePipeline, uint32_t bindingUnit_ = 0, uint32_t dynamicCount_ = 0, uint32_t divisor_ = 0 )
+ : tokenType( tokenType_ )
+ , bindingUnit( bindingUnit_ )
+ , dynamicCount( dynamicCount_ )
+ , divisor( divisor_ )
+ {
+ }
+
+ IndirectCommandsLayoutTokenNVX( VkIndirectCommandsLayoutTokenNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IndirectCommandsLayoutTokenNVX ) );
+ }
+
+ IndirectCommandsLayoutTokenNVX& operator=( VkIndirectCommandsLayoutTokenNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IndirectCommandsLayoutTokenNVX ) );
+ return *this;
+ }
+ IndirectCommandsLayoutTokenNVX& setTokenType( IndirectCommandsTokenTypeNVX tokenType_ )
+ {
+ tokenType = tokenType_;
+ return *this;
+ }
+
+ IndirectCommandsLayoutTokenNVX& setBindingUnit( uint32_t bindingUnit_ )
+ {
+ bindingUnit = bindingUnit_;
+ return *this;
+ }
+
+ IndirectCommandsLayoutTokenNVX& setDynamicCount( uint32_t dynamicCount_ )
+ {
+ dynamicCount = dynamicCount_;
+ return *this;
+ }
+
+ IndirectCommandsLayoutTokenNVX& setDivisor( uint32_t divisor_ )
+ {
+ divisor = divisor_;
+ return *this;
+ }
+
+ operator const VkIndirectCommandsLayoutTokenNVX&() const
+ {
+ return *reinterpret_cast<const VkIndirectCommandsLayoutTokenNVX*>(this);
+ }
+
+ bool operator==( IndirectCommandsLayoutTokenNVX const& rhs ) const
+ {
+ return ( tokenType == rhs.tokenType )
+ && ( bindingUnit == rhs.bindingUnit )
+ && ( dynamicCount == rhs.dynamicCount )
+ && ( divisor == rhs.divisor );
+ }
+
+ bool operator!=( IndirectCommandsLayoutTokenNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ IndirectCommandsTokenTypeNVX tokenType;
+ uint32_t bindingUnit;
+ uint32_t dynamicCount;
+ uint32_t divisor;
+ };
+ static_assert( sizeof( IndirectCommandsLayoutTokenNVX ) == sizeof( VkIndirectCommandsLayoutTokenNVX ), "struct and wrapper have different size!" );
+
+ struct IndirectCommandsLayoutCreateInfoNVX
+ {
+ IndirectCommandsLayoutCreateInfoNVX( PipelineBindPoint pipelineBindPoint_ = PipelineBindPoint::eGraphics, IndirectCommandsLayoutUsageFlagsNVX flags_ = IndirectCommandsLayoutUsageFlagsNVX(), uint32_t tokenCount_ = 0, const IndirectCommandsLayoutTokenNVX* pTokens_ = nullptr )
+ : pipelineBindPoint( pipelineBindPoint_ )
+ , flags( flags_ )
+ , tokenCount( tokenCount_ )
+ , pTokens( pTokens_ )
+ {
+ }
+
+ IndirectCommandsLayoutCreateInfoNVX( VkIndirectCommandsLayoutCreateInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IndirectCommandsLayoutCreateInfoNVX ) );
+ }
+
+ IndirectCommandsLayoutCreateInfoNVX& operator=( VkIndirectCommandsLayoutCreateInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( IndirectCommandsLayoutCreateInfoNVX ) );
+ return *this;
+ }
+ IndirectCommandsLayoutCreateInfoNVX& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ IndirectCommandsLayoutCreateInfoNVX& setPipelineBindPoint( PipelineBindPoint pipelineBindPoint_ )
+ {
+ pipelineBindPoint = pipelineBindPoint_;
+ return *this;
+ }
+
+ IndirectCommandsLayoutCreateInfoNVX& setFlags( IndirectCommandsLayoutUsageFlagsNVX flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ IndirectCommandsLayoutCreateInfoNVX& setTokenCount( uint32_t tokenCount_ )
+ {
+ tokenCount = tokenCount_;
+ return *this;
+ }
+
+ IndirectCommandsLayoutCreateInfoNVX& setPTokens( const IndirectCommandsLayoutTokenNVX* pTokens_ )
+ {
+ pTokens = pTokens_;
+ return *this;
+ }
+
+ operator const VkIndirectCommandsLayoutCreateInfoNVX&() const
+ {
+ return *reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>(this);
+ }
+
+ bool operator==( IndirectCommandsLayoutCreateInfoNVX const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pipelineBindPoint == rhs.pipelineBindPoint )
+ && ( flags == rhs.flags )
+ && ( tokenCount == rhs.tokenCount )
+ && ( pTokens == rhs.pTokens );
+ }
+
+ bool operator!=( IndirectCommandsLayoutCreateInfoNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eIndirectCommandsLayoutCreateInfoNVX;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineBindPoint pipelineBindPoint;
+ IndirectCommandsLayoutUsageFlagsNVX flags;
+ uint32_t tokenCount;
+ const IndirectCommandsLayoutTokenNVX* pTokens;
+ };
+ static_assert( sizeof( IndirectCommandsLayoutCreateInfoNVX ) == sizeof( VkIndirectCommandsLayoutCreateInfoNVX ), "struct and wrapper have different size!" );
+
+ enum class ObjectEntryTypeNVX
+ {
+ eDescriptorSet = VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX,
+ ePipeline = VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX,
+ eIndexBuffer = VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX,
+ eVertexBuffer = VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX,
+ ePushConstant = VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX
+ };
+
+ struct ObjectTableCreateInfoNVX
+ {
+ ObjectTableCreateInfoNVX( uint32_t objectCount_ = 0, const ObjectEntryTypeNVX* pObjectEntryTypes_ = nullptr, const uint32_t* pObjectEntryCounts_ = nullptr, const ObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags_ = nullptr, uint32_t maxUniformBuffersPerDescriptor_ = 0, uint32_t maxStorageBuffersPerDescriptor_ = 0, uint32_t maxStorageImagesPerDescriptor_ = 0, uint32_t maxSampledImagesPerDescriptor_ = 0, uint32_t maxPipelineLayouts_ = 0 )
+ : objectCount( objectCount_ )
+ , pObjectEntryTypes( pObjectEntryTypes_ )
+ , pObjectEntryCounts( pObjectEntryCounts_ )
+ , pObjectEntryUsageFlags( pObjectEntryUsageFlags_ )
+ , maxUniformBuffersPerDescriptor( maxUniformBuffersPerDescriptor_ )
+ , maxStorageBuffersPerDescriptor( maxStorageBuffersPerDescriptor_ )
+ , maxStorageImagesPerDescriptor( maxStorageImagesPerDescriptor_ )
+ , maxSampledImagesPerDescriptor( maxSampledImagesPerDescriptor_ )
+ , maxPipelineLayouts( maxPipelineLayouts_ )
+ {
+ }
+
+ ObjectTableCreateInfoNVX( VkObjectTableCreateInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableCreateInfoNVX ) );
+ }
+
+ ObjectTableCreateInfoNVX& operator=( VkObjectTableCreateInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableCreateInfoNVX ) );
+ return *this;
+ }
+ ObjectTableCreateInfoNVX& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setObjectCount( uint32_t objectCount_ )
+ {
+ objectCount = objectCount_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setPObjectEntryTypes( const ObjectEntryTypeNVX* pObjectEntryTypes_ )
+ {
+ pObjectEntryTypes = pObjectEntryTypes_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setPObjectEntryCounts( const uint32_t* pObjectEntryCounts_ )
+ {
+ pObjectEntryCounts = pObjectEntryCounts_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setPObjectEntryUsageFlags( const ObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags_ )
+ {
+ pObjectEntryUsageFlags = pObjectEntryUsageFlags_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setMaxUniformBuffersPerDescriptor( uint32_t maxUniformBuffersPerDescriptor_ )
+ {
+ maxUniformBuffersPerDescriptor = maxUniformBuffersPerDescriptor_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setMaxStorageBuffersPerDescriptor( uint32_t maxStorageBuffersPerDescriptor_ )
+ {
+ maxStorageBuffersPerDescriptor = maxStorageBuffersPerDescriptor_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setMaxStorageImagesPerDescriptor( uint32_t maxStorageImagesPerDescriptor_ )
+ {
+ maxStorageImagesPerDescriptor = maxStorageImagesPerDescriptor_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setMaxSampledImagesPerDescriptor( uint32_t maxSampledImagesPerDescriptor_ )
+ {
+ maxSampledImagesPerDescriptor = maxSampledImagesPerDescriptor_;
+ return *this;
+ }
+
+ ObjectTableCreateInfoNVX& setMaxPipelineLayouts( uint32_t maxPipelineLayouts_ )
+ {
+ maxPipelineLayouts = maxPipelineLayouts_;
+ return *this;
+ }
+
+ operator const VkObjectTableCreateInfoNVX&() const
+ {
+ return *reinterpret_cast<const VkObjectTableCreateInfoNVX*>(this);
+ }
+
+ bool operator==( ObjectTableCreateInfoNVX const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( objectCount == rhs.objectCount )
+ && ( pObjectEntryTypes == rhs.pObjectEntryTypes )
+ && ( pObjectEntryCounts == rhs.pObjectEntryCounts )
+ && ( pObjectEntryUsageFlags == rhs.pObjectEntryUsageFlags )
+ && ( maxUniformBuffersPerDescriptor == rhs.maxUniformBuffersPerDescriptor )
+ && ( maxStorageBuffersPerDescriptor == rhs.maxStorageBuffersPerDescriptor )
+ && ( maxStorageImagesPerDescriptor == rhs.maxStorageImagesPerDescriptor )
+ && ( maxSampledImagesPerDescriptor == rhs.maxSampledImagesPerDescriptor )
+ && ( maxPipelineLayouts == rhs.maxPipelineLayouts );
+ }
+
+ bool operator!=( ObjectTableCreateInfoNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eObjectTableCreateInfoNVX;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t objectCount;
+ const ObjectEntryTypeNVX* pObjectEntryTypes;
+ const uint32_t* pObjectEntryCounts;
+ const ObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags;
+ uint32_t maxUniformBuffersPerDescriptor;
+ uint32_t maxStorageBuffersPerDescriptor;
+ uint32_t maxStorageImagesPerDescriptor;
+ uint32_t maxSampledImagesPerDescriptor;
+ uint32_t maxPipelineLayouts;
+ };
+ static_assert( sizeof( ObjectTableCreateInfoNVX ) == sizeof( VkObjectTableCreateInfoNVX ), "struct and wrapper have different size!" );
+
+ struct ObjectTableEntryNVX
+ {
+ ObjectTableEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX() )
+ : type( type_ )
+ , flags( flags_ )
+ {
+ }
+
+ ObjectTableEntryNVX( VkObjectTableEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableEntryNVX ) );
+ }
+
+ ObjectTableEntryNVX& operator=( VkObjectTableEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableEntryNVX ) );
+ return *this;
+ }
+ ObjectTableEntryNVX& setType( ObjectEntryTypeNVX type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ ObjectTableEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ operator const VkObjectTableEntryNVX&() const
+ {
+ return *reinterpret_cast<const VkObjectTableEntryNVX*>(this);
+ }
+
+ bool operator==( ObjectTableEntryNVX const& rhs ) const
+ {
+ return ( type == rhs.type )
+ && ( flags == rhs.flags );
+ }
+
+ bool operator!=( ObjectTableEntryNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ObjectEntryTypeNVX type;
+ ObjectEntryUsageFlagsNVX flags;
+ };
+ static_assert( sizeof( ObjectTableEntryNVX ) == sizeof( VkObjectTableEntryNVX ), "struct and wrapper have different size!" );
+
+ struct ObjectTablePipelineEntryNVX
+ {
+ ObjectTablePipelineEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), Pipeline pipeline_ = Pipeline() )
+ : type( type_ )
+ , flags( flags_ )
+ , pipeline( pipeline_ )
+ {
+ }
+
+ explicit ObjectTablePipelineEntryNVX( ObjectTableEntryNVX const& objectTableEntryNVX, Pipeline pipeline_ = Pipeline() )
+ : type( objectTableEntryNVX.type )
+ , flags( objectTableEntryNVX.flags )
+ , pipeline( pipeline_ )
+ {}
+
+ ObjectTablePipelineEntryNVX( VkObjectTablePipelineEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTablePipelineEntryNVX ) );
+ }
+
+ ObjectTablePipelineEntryNVX& operator=( VkObjectTablePipelineEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTablePipelineEntryNVX ) );
+ return *this;
+ }
+ ObjectTablePipelineEntryNVX& setType( ObjectEntryTypeNVX type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ ObjectTablePipelineEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ObjectTablePipelineEntryNVX& setPipeline( Pipeline pipeline_ )
+ {
+ pipeline = pipeline_;
+ return *this;
+ }
+
+ operator const VkObjectTablePipelineEntryNVX&() const
+ {
+ return *reinterpret_cast<const VkObjectTablePipelineEntryNVX*>(this);
+ }
+
+ bool operator==( ObjectTablePipelineEntryNVX const& rhs ) const
+ {
+ return ( type == rhs.type )
+ && ( flags == rhs.flags )
+ && ( pipeline == rhs.pipeline );
+ }
+
+ bool operator!=( ObjectTablePipelineEntryNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ObjectEntryTypeNVX type;
+ ObjectEntryUsageFlagsNVX flags;
+ Pipeline pipeline;
+ };
+ static_assert( sizeof( ObjectTablePipelineEntryNVX ) == sizeof( VkObjectTablePipelineEntryNVX ), "struct and wrapper have different size!" );
+
+ struct ObjectTableDescriptorSetEntryNVX
+ {
+ ObjectTableDescriptorSetEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), PipelineLayout pipelineLayout_ = PipelineLayout(), DescriptorSet descriptorSet_ = DescriptorSet() )
+ : type( type_ )
+ , flags( flags_ )
+ , pipelineLayout( pipelineLayout_ )
+ , descriptorSet( descriptorSet_ )
+ {
+ }
+
+ explicit ObjectTableDescriptorSetEntryNVX( ObjectTableEntryNVX const& objectTableEntryNVX, PipelineLayout pipelineLayout_ = PipelineLayout(), DescriptorSet descriptorSet_ = DescriptorSet() )
+ : type( objectTableEntryNVX.type )
+ , flags( objectTableEntryNVX.flags )
+ , pipelineLayout( pipelineLayout_ )
+ , descriptorSet( descriptorSet_ )
+ {}
+
+ ObjectTableDescriptorSetEntryNVX( VkObjectTableDescriptorSetEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableDescriptorSetEntryNVX ) );
+ }
+
+ ObjectTableDescriptorSetEntryNVX& operator=( VkObjectTableDescriptorSetEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableDescriptorSetEntryNVX ) );
+ return *this;
+ }
+ ObjectTableDescriptorSetEntryNVX& setType( ObjectEntryTypeNVX type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ ObjectTableDescriptorSetEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ObjectTableDescriptorSetEntryNVX& setPipelineLayout( PipelineLayout pipelineLayout_ )
+ {
+ pipelineLayout = pipelineLayout_;
+ return *this;
+ }
+
+ ObjectTableDescriptorSetEntryNVX& setDescriptorSet( DescriptorSet descriptorSet_ )
+ {
+ descriptorSet = descriptorSet_;
+ return *this;
+ }
+
+ operator const VkObjectTableDescriptorSetEntryNVX&() const
+ {
+ return *reinterpret_cast<const VkObjectTableDescriptorSetEntryNVX*>(this);
+ }
+
+ bool operator==( ObjectTableDescriptorSetEntryNVX const& rhs ) const
+ {
+ return ( type == rhs.type )
+ && ( flags == rhs.flags )
+ && ( pipelineLayout == rhs.pipelineLayout )
+ && ( descriptorSet == rhs.descriptorSet );
+ }
+
+ bool operator!=( ObjectTableDescriptorSetEntryNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ObjectEntryTypeNVX type;
+ ObjectEntryUsageFlagsNVX flags;
+ PipelineLayout pipelineLayout;
+ DescriptorSet descriptorSet;
+ };
+ static_assert( sizeof( ObjectTableDescriptorSetEntryNVX ) == sizeof( VkObjectTableDescriptorSetEntryNVX ), "struct and wrapper have different size!" );
+
+ struct ObjectTableVertexBufferEntryNVX
+ {
+ ObjectTableVertexBufferEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), Buffer buffer_ = Buffer() )
+ : type( type_ )
+ , flags( flags_ )
+ , buffer( buffer_ )
+ {
+ }
+
+ explicit ObjectTableVertexBufferEntryNVX( ObjectTableEntryNVX const& objectTableEntryNVX, Buffer buffer_ = Buffer() )
+ : type( objectTableEntryNVX.type )
+ , flags( objectTableEntryNVX.flags )
+ , buffer( buffer_ )
+ {}
+
+ ObjectTableVertexBufferEntryNVX( VkObjectTableVertexBufferEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableVertexBufferEntryNVX ) );
+ }
+
+ ObjectTableVertexBufferEntryNVX& operator=( VkObjectTableVertexBufferEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableVertexBufferEntryNVX ) );
+ return *this;
+ }
+ ObjectTableVertexBufferEntryNVX& setType( ObjectEntryTypeNVX type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ ObjectTableVertexBufferEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ObjectTableVertexBufferEntryNVX& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ operator const VkObjectTableVertexBufferEntryNVX&() const
+ {
+ return *reinterpret_cast<const VkObjectTableVertexBufferEntryNVX*>(this);
+ }
+
+ bool operator==( ObjectTableVertexBufferEntryNVX const& rhs ) const
+ {
+ return ( type == rhs.type )
+ && ( flags == rhs.flags )
+ && ( buffer == rhs.buffer );
+ }
+
+ bool operator!=( ObjectTableVertexBufferEntryNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ObjectEntryTypeNVX type;
+ ObjectEntryUsageFlagsNVX flags;
+ Buffer buffer;
+ };
+ static_assert( sizeof( ObjectTableVertexBufferEntryNVX ) == sizeof( VkObjectTableVertexBufferEntryNVX ), "struct and wrapper have different size!" );
+
+ struct ObjectTableIndexBufferEntryNVX
+ {
+ ObjectTableIndexBufferEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), Buffer buffer_ = Buffer(), IndexType indexType_ = IndexType::eUint16 )
+ : type( type_ )
+ , flags( flags_ )
+ , buffer( buffer_ )
+ , indexType( indexType_ )
+ {
+ }
+
+ explicit ObjectTableIndexBufferEntryNVX( ObjectTableEntryNVX const& objectTableEntryNVX, Buffer buffer_ = Buffer(), IndexType indexType_ = IndexType::eUint16 )
+ : type( objectTableEntryNVX.type )
+ , flags( objectTableEntryNVX.flags )
+ , buffer( buffer_ )
+ , indexType( indexType_ )
+ {}
+
+ ObjectTableIndexBufferEntryNVX( VkObjectTableIndexBufferEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableIndexBufferEntryNVX ) );
+ }
+
+ ObjectTableIndexBufferEntryNVX& operator=( VkObjectTableIndexBufferEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTableIndexBufferEntryNVX ) );
+ return *this;
+ }
+ ObjectTableIndexBufferEntryNVX& setType( ObjectEntryTypeNVX type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ ObjectTableIndexBufferEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ObjectTableIndexBufferEntryNVX& setBuffer( Buffer buffer_ )
+ {
+ buffer = buffer_;
+ return *this;
+ }
+
+ ObjectTableIndexBufferEntryNVX& setIndexType( IndexType indexType_ )
+ {
+ indexType = indexType_;
+ return *this;
+ }
+
+ operator const VkObjectTableIndexBufferEntryNVX&() const
+ {
+ return *reinterpret_cast<const VkObjectTableIndexBufferEntryNVX*>(this);
+ }
+
+ bool operator==( ObjectTableIndexBufferEntryNVX const& rhs ) const
+ {
+ return ( type == rhs.type )
+ && ( flags == rhs.flags )
+ && ( buffer == rhs.buffer )
+ && ( indexType == rhs.indexType );
+ }
+
+ bool operator!=( ObjectTableIndexBufferEntryNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ObjectEntryTypeNVX type;
+ ObjectEntryUsageFlagsNVX flags;
+ Buffer buffer;
+ IndexType indexType;
+ };
+ static_assert( sizeof( ObjectTableIndexBufferEntryNVX ) == sizeof( VkObjectTableIndexBufferEntryNVX ), "struct and wrapper have different size!" );
+
+ struct ObjectTablePushConstantEntryNVX
+ {
+ ObjectTablePushConstantEntryNVX( ObjectEntryTypeNVX type_ = ObjectEntryTypeNVX::eDescriptorSet, ObjectEntryUsageFlagsNVX flags_ = ObjectEntryUsageFlagsNVX(), PipelineLayout pipelineLayout_ = PipelineLayout(), ShaderStageFlags stageFlags_ = ShaderStageFlags() )
+ : type( type_ )
+ , flags( flags_ )
+ , pipelineLayout( pipelineLayout_ )
+ , stageFlags( stageFlags_ )
+ {
+ }
+
+ explicit ObjectTablePushConstantEntryNVX( ObjectTableEntryNVX const& objectTableEntryNVX, PipelineLayout pipelineLayout_ = PipelineLayout(), ShaderStageFlags stageFlags_ = ShaderStageFlags() )
+ : type( objectTableEntryNVX.type )
+ , flags( objectTableEntryNVX.flags )
+ , pipelineLayout( pipelineLayout_ )
+ , stageFlags( stageFlags_ )
+ {}
+
+ ObjectTablePushConstantEntryNVX( VkObjectTablePushConstantEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTablePushConstantEntryNVX ) );
+ }
+
+ ObjectTablePushConstantEntryNVX& operator=( VkObjectTablePushConstantEntryNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ObjectTablePushConstantEntryNVX ) );
+ return *this;
+ }
+ ObjectTablePushConstantEntryNVX& setType( ObjectEntryTypeNVX type_ )
+ {
+ type = type_;
+ return *this;
+ }
+
+ ObjectTablePushConstantEntryNVX& setFlags( ObjectEntryUsageFlagsNVX flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ObjectTablePushConstantEntryNVX& setPipelineLayout( PipelineLayout pipelineLayout_ )
+ {
+ pipelineLayout = pipelineLayout_;
+ return *this;
+ }
+
+ ObjectTablePushConstantEntryNVX& setStageFlags( ShaderStageFlags stageFlags_ )
+ {
+ stageFlags = stageFlags_;
+ return *this;
+ }
+
+ operator const VkObjectTablePushConstantEntryNVX&() const
+ {
+ return *reinterpret_cast<const VkObjectTablePushConstantEntryNVX*>(this);
+ }
+
+ bool operator==( ObjectTablePushConstantEntryNVX const& rhs ) const
+ {
+ return ( type == rhs.type )
+ && ( flags == rhs.flags )
+ && ( pipelineLayout == rhs.pipelineLayout )
+ && ( stageFlags == rhs.stageFlags );
+ }
+
+ bool operator!=( ObjectTablePushConstantEntryNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ObjectEntryTypeNVX type;
+ ObjectEntryUsageFlagsNVX flags;
+ PipelineLayout pipelineLayout;
+ ShaderStageFlags stageFlags;
+ };
+ static_assert( sizeof( ObjectTablePushConstantEntryNVX ) == sizeof( VkObjectTablePushConstantEntryNVX ), "struct and wrapper have different size!" );
+
+ enum class DescriptorSetLayoutCreateFlagBits
+ {
+ ePushDescriptorKHR = VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR,
+ eUpdateAfterBindPoolEXT = VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT
+ };
+
+ using DescriptorSetLayoutCreateFlags = Flags<DescriptorSetLayoutCreateFlagBits, VkDescriptorSetLayoutCreateFlags>;
+
+ VULKAN_HPP_INLINE DescriptorSetLayoutCreateFlags operator|( DescriptorSetLayoutCreateFlagBits bit0, DescriptorSetLayoutCreateFlagBits bit1 )
+ {
+ return DescriptorSetLayoutCreateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DescriptorSetLayoutCreateFlags operator~( DescriptorSetLayoutCreateFlagBits bits )
+ {
+ return ~( DescriptorSetLayoutCreateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<DescriptorSetLayoutCreateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR) | VkFlags(DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT)
+ };
+ };
+
+ struct DescriptorSetLayoutCreateInfo
+ {
+ DescriptorSetLayoutCreateInfo( DescriptorSetLayoutCreateFlags flags_ = DescriptorSetLayoutCreateFlags(), uint32_t bindingCount_ = 0, const DescriptorSetLayoutBinding* pBindings_ = nullptr )
+ : flags( flags_ )
+ , bindingCount( bindingCount_ )
+ , pBindings( pBindings_ )
+ {
+ }
+
+ DescriptorSetLayoutCreateInfo( VkDescriptorSetLayoutCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetLayoutCreateInfo ) );
+ }
+
+ DescriptorSetLayoutCreateInfo& operator=( VkDescriptorSetLayoutCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetLayoutCreateInfo ) );
+ return *this;
+ }
+ DescriptorSetLayoutCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DescriptorSetLayoutCreateInfo& setFlags( DescriptorSetLayoutCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DescriptorSetLayoutCreateInfo& setBindingCount( uint32_t bindingCount_ )
+ {
+ bindingCount = bindingCount_;
+ return *this;
+ }
+
+ DescriptorSetLayoutCreateInfo& setPBindings( const DescriptorSetLayoutBinding* pBindings_ )
+ {
+ pBindings = pBindings_;
+ return *this;
+ }
+
+ operator const VkDescriptorSetLayoutCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>(this);
+ }
+
+ bool operator==( DescriptorSetLayoutCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( bindingCount == rhs.bindingCount )
+ && ( pBindings == rhs.pBindings );
+ }
+
+ bool operator!=( DescriptorSetLayoutCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorSetLayoutCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ DescriptorSetLayoutCreateFlags flags;
+ uint32_t bindingCount;
+ const DescriptorSetLayoutBinding* pBindings;
+ };
+ static_assert( sizeof( DescriptorSetLayoutCreateInfo ) == sizeof( VkDescriptorSetLayoutCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class ExternalMemoryHandleTypeFlagBits
+ {
+ eOpaqueFd = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT,
+ eOpaqueFdKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT,
+ eOpaqueWin32 = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT,
+ eOpaqueWin32KHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT,
+ eOpaqueWin32Kmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,
+ eOpaqueWin32KmtKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,
+ eD3D11Texture = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT,
+ eD3D11TextureKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT,
+ eD3D11TextureKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT,
+ eD3D11TextureKmtKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT,
+ eD3D12Heap = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT,
+ eD3D12HeapKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT,
+ eD3D12Resource = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT,
+ eD3D12ResourceKHR = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT,
+ eDmaBufEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT,
+ eAndroidHardwareBufferANDROID = VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID,
+ eHostAllocationEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT,
+ eHostMappedForeignMemoryEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT
+ };
+
+ using ExternalMemoryHandleTypeFlags = Flags<ExternalMemoryHandleTypeFlagBits, VkExternalMemoryHandleTypeFlags>;
+
+ VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlags operator|( ExternalMemoryHandleTypeFlagBits bit0, ExternalMemoryHandleTypeFlagBits bit1 )
+ {
+ return ExternalMemoryHandleTypeFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalMemoryHandleTypeFlags operator~( ExternalMemoryHandleTypeFlagBits bits )
+ {
+ return ~( ExternalMemoryHandleTypeFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalMemoryHandleTypeFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D11Texture) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D12Heap) | VkFlags(ExternalMemoryHandleTypeFlagBits::eD3D12Resource) | VkFlags(ExternalMemoryHandleTypeFlagBits::eDmaBufEXT) | VkFlags(ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID) | VkFlags(ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT) | VkFlags(ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT)
+ };
+ };
+
+ using ExternalMemoryHandleTypeFlagsKHR = ExternalMemoryHandleTypeFlags;
+
+ struct PhysicalDeviceExternalImageFormatInfo
+ {
+ PhysicalDeviceExternalImageFormatInfo( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )
+ : handleType( handleType_ )
+ {
+ }
+
+ PhysicalDeviceExternalImageFormatInfo( VkPhysicalDeviceExternalImageFormatInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) );
+ }
+
+ PhysicalDeviceExternalImageFormatInfo& operator=( VkPhysicalDeviceExternalImageFormatInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) );
+ return *this;
+ }
+ PhysicalDeviceExternalImageFormatInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceExternalImageFormatInfo& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceExternalImageFormatInfo&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceExternalImageFormatInfo*>(this);
+ }
+
+ bool operator==( PhysicalDeviceExternalImageFormatInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( PhysicalDeviceExternalImageFormatInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceExternalImageFormatInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( PhysicalDeviceExternalImageFormatInfo ) == sizeof( VkPhysicalDeviceExternalImageFormatInfo ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceExternalImageFormatInfoKHR = PhysicalDeviceExternalImageFormatInfo;
+
+ struct PhysicalDeviceExternalBufferInfo
+ {
+ PhysicalDeviceExternalBufferInfo( BufferCreateFlags flags_ = BufferCreateFlags(), BufferUsageFlags usage_ = BufferUsageFlags(), ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )
+ : flags( flags_ )
+ , usage( usage_ )
+ , handleType( handleType_ )
+ {
+ }
+
+ PhysicalDeviceExternalBufferInfo( VkPhysicalDeviceExternalBufferInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalBufferInfo ) );
+ }
+
+ PhysicalDeviceExternalBufferInfo& operator=( VkPhysicalDeviceExternalBufferInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalBufferInfo ) );
+ return *this;
+ }
+ PhysicalDeviceExternalBufferInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceExternalBufferInfo& setFlags( BufferCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PhysicalDeviceExternalBufferInfo& setUsage( BufferUsageFlags usage_ )
+ {
+ usage = usage_;
+ return *this;
+ }
+
+ PhysicalDeviceExternalBufferInfo& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceExternalBufferInfo&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>(this);
+ }
+
+ bool operator==( PhysicalDeviceExternalBufferInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( usage == rhs.usage )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( PhysicalDeviceExternalBufferInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceExternalBufferInfo;
+
+ public:
+ const void* pNext = nullptr;
+ BufferCreateFlags flags;
+ BufferUsageFlags usage;
+ ExternalMemoryHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( PhysicalDeviceExternalBufferInfo ) == sizeof( VkPhysicalDeviceExternalBufferInfo ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceExternalBufferInfoKHR = PhysicalDeviceExternalBufferInfo;
+
+ struct ExternalMemoryImageCreateInfo
+ {
+ ExternalMemoryImageCreateInfo( ExternalMemoryHandleTypeFlags handleTypes_ = ExternalMemoryHandleTypeFlags() )
+ : handleTypes( handleTypes_ )
+ {
+ }
+
+ ExternalMemoryImageCreateInfo( VkExternalMemoryImageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfo ) );
+ }
+
+ ExternalMemoryImageCreateInfo& operator=( VkExternalMemoryImageCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalMemoryImageCreateInfo ) );
+ return *this;
+ }
+ ExternalMemoryImageCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExternalMemoryImageCreateInfo& setHandleTypes( ExternalMemoryHandleTypeFlags handleTypes_ )
+ {
+ handleTypes = handleTypes_;
+ return *this;
+ }
+
+ operator const VkExternalMemoryImageCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkExternalMemoryImageCreateInfo*>(this);
+ }
+
+ bool operator==( ExternalMemoryImageCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleTypes == rhs.handleTypes );
+ }
+
+ bool operator!=( ExternalMemoryImageCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalMemoryImageCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlags handleTypes;
+ };
+ static_assert( sizeof( ExternalMemoryImageCreateInfo ) == sizeof( VkExternalMemoryImageCreateInfo ), "struct and wrapper have different size!" );
+
+ using ExternalMemoryImageCreateInfoKHR = ExternalMemoryImageCreateInfo;
+
+ struct ExternalMemoryBufferCreateInfo
+ {
+ ExternalMemoryBufferCreateInfo( ExternalMemoryHandleTypeFlags handleTypes_ = ExternalMemoryHandleTypeFlags() )
+ : handleTypes( handleTypes_ )
+ {
+ }
+
+ ExternalMemoryBufferCreateInfo( VkExternalMemoryBufferCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalMemoryBufferCreateInfo ) );
+ }
+
+ ExternalMemoryBufferCreateInfo& operator=( VkExternalMemoryBufferCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExternalMemoryBufferCreateInfo ) );
+ return *this;
+ }
+ ExternalMemoryBufferCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExternalMemoryBufferCreateInfo& setHandleTypes( ExternalMemoryHandleTypeFlags handleTypes_ )
+ {
+ handleTypes = handleTypes_;
+ return *this;
+ }
+
+ operator const VkExternalMemoryBufferCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkExternalMemoryBufferCreateInfo*>(this);
+ }
+
+ bool operator==( ExternalMemoryBufferCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleTypes == rhs.handleTypes );
+ }
+
+ bool operator!=( ExternalMemoryBufferCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalMemoryBufferCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlags handleTypes;
+ };
+ static_assert( sizeof( ExternalMemoryBufferCreateInfo ) == sizeof( VkExternalMemoryBufferCreateInfo ), "struct and wrapper have different size!" );
+
+ using ExternalMemoryBufferCreateInfoKHR = ExternalMemoryBufferCreateInfo;
+
+ struct ExportMemoryAllocateInfo
+ {
+ ExportMemoryAllocateInfo( ExternalMemoryHandleTypeFlags handleTypes_ = ExternalMemoryHandleTypeFlags() )
+ : handleTypes( handleTypes_ )
+ {
+ }
+
+ ExportMemoryAllocateInfo( VkExportMemoryAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfo ) );
+ }
+
+ ExportMemoryAllocateInfo& operator=( VkExportMemoryAllocateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportMemoryAllocateInfo ) );
+ return *this;
+ }
+ ExportMemoryAllocateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportMemoryAllocateInfo& setHandleTypes( ExternalMemoryHandleTypeFlags handleTypes_ )
+ {
+ handleTypes = handleTypes_;
+ return *this;
+ }
+
+ operator const VkExportMemoryAllocateInfo&() const
+ {
+ return *reinterpret_cast<const VkExportMemoryAllocateInfo*>(this);
+ }
+
+ bool operator==( ExportMemoryAllocateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleTypes == rhs.handleTypes );
+ }
+
+ bool operator!=( ExportMemoryAllocateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportMemoryAllocateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlags handleTypes;
+ };
+ static_assert( sizeof( ExportMemoryAllocateInfo ) == sizeof( VkExportMemoryAllocateInfo ), "struct and wrapper have different size!" );
+
+ using ExportMemoryAllocateInfoKHR = ExportMemoryAllocateInfo;
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct ImportMemoryWin32HandleInfoKHR
+ {
+ ImportMemoryWin32HandleInfoKHR( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = 0, LPCWSTR name_ = 0 )
+ : handleType( handleType_ )
+ , handle( handle_ )
+ , name( name_ )
+ {
+ }
+
+ ImportMemoryWin32HandleInfoKHR( VkImportMemoryWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoKHR ) );
+ }
+
+ ImportMemoryWin32HandleInfoKHR& operator=( VkImportMemoryWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryWin32HandleInfoKHR ) );
+ return *this;
+ }
+ ImportMemoryWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportMemoryWin32HandleInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportMemoryWin32HandleInfoKHR& setHandle( HANDLE handle_ )
+ {
+ handle = handle_;
+ return *this;
+ }
+
+ ImportMemoryWin32HandleInfoKHR& setName( LPCWSTR name_ )
+ {
+ name = name_;
+ return *this;
+ }
+
+ operator const VkImportMemoryWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImportMemoryWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( ImportMemoryWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleType == rhs.handleType )
+ && ( handle == rhs.handle )
+ && ( name == rhs.name );
+ }
+
+ bool operator!=( ImportMemoryWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportMemoryWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlagBits handleType;
+ HANDLE handle;
+ LPCWSTR name;
+ };
+ static_assert( sizeof( ImportMemoryWin32HandleInfoKHR ) == sizeof( VkImportMemoryWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct MemoryGetWin32HandleInfoKHR
+ {
+ MemoryGetWin32HandleInfoKHR( DeviceMemory memory_ = DeviceMemory(), ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )
+ : memory( memory_ )
+ , handleType( handleType_ )
+ {
+ }
+
+ MemoryGetWin32HandleInfoKHR( VkMemoryGetWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryGetWin32HandleInfoKHR ) );
+ }
+
+ MemoryGetWin32HandleInfoKHR& operator=( VkMemoryGetWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryGetWin32HandleInfoKHR ) );
+ return *this;
+ }
+ MemoryGetWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryGetWin32HandleInfoKHR& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ MemoryGetWin32HandleInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkMemoryGetWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkMemoryGetWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( MemoryGetWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memory == rhs.memory )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( MemoryGetWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryGetWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceMemory memory;
+ ExternalMemoryHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( MemoryGetWin32HandleInfoKHR ) == sizeof( VkMemoryGetWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ struct ImportMemoryFdInfoKHR
+ {
+ ImportMemoryFdInfoKHR( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd, int fd_ = 0 )
+ : handleType( handleType_ )
+ , fd( fd_ )
+ {
+ }
+
+ ImportMemoryFdInfoKHR( VkImportMemoryFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryFdInfoKHR ) );
+ }
+
+ ImportMemoryFdInfoKHR& operator=( VkImportMemoryFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryFdInfoKHR ) );
+ return *this;
+ }
+ ImportMemoryFdInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportMemoryFdInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportMemoryFdInfoKHR& setFd( int fd_ )
+ {
+ fd = fd_;
+ return *this;
+ }
+
+ operator const VkImportMemoryFdInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImportMemoryFdInfoKHR*>(this);
+ }
+
+ bool operator==( ImportMemoryFdInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleType == rhs.handleType )
+ && ( fd == rhs.fd );
+ }
+
+ bool operator!=( ImportMemoryFdInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportMemoryFdInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlagBits handleType;
+ int fd;
+ };
+ static_assert( sizeof( ImportMemoryFdInfoKHR ) == sizeof( VkImportMemoryFdInfoKHR ), "struct and wrapper have different size!" );
+
+ struct MemoryGetFdInfoKHR
+ {
+ MemoryGetFdInfoKHR( DeviceMemory memory_ = DeviceMemory(), ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd )
+ : memory( memory_ )
+ , handleType( handleType_ )
+ {
+ }
+
+ MemoryGetFdInfoKHR( VkMemoryGetFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryGetFdInfoKHR ) );
+ }
+
+ MemoryGetFdInfoKHR& operator=( VkMemoryGetFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryGetFdInfoKHR ) );
+ return *this;
+ }
+ MemoryGetFdInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryGetFdInfoKHR& setMemory( DeviceMemory memory_ )
+ {
+ memory = memory_;
+ return *this;
+ }
+
+ MemoryGetFdInfoKHR& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkMemoryGetFdInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkMemoryGetFdInfoKHR*>(this);
+ }
+
+ bool operator==( MemoryGetFdInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memory == rhs.memory )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( MemoryGetFdInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryGetFdInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceMemory memory;
+ ExternalMemoryHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( MemoryGetFdInfoKHR ) == sizeof( VkMemoryGetFdInfoKHR ), "struct and wrapper have different size!" );
+
+ struct ImportMemoryHostPointerInfoEXT
+ {
+ ImportMemoryHostPointerInfoEXT( ExternalMemoryHandleTypeFlagBits handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd, void* pHostPointer_ = nullptr )
+ : handleType( handleType_ )
+ , pHostPointer( pHostPointer_ )
+ {
+ }
+
+ ImportMemoryHostPointerInfoEXT( VkImportMemoryHostPointerInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );
+ }
+
+ ImportMemoryHostPointerInfoEXT& operator=( VkImportMemoryHostPointerInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );
+ return *this;
+ }
+ ImportMemoryHostPointerInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportMemoryHostPointerInfoEXT& setHandleType( ExternalMemoryHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportMemoryHostPointerInfoEXT& setPHostPointer( void* pHostPointer_ )
+ {
+ pHostPointer = pHostPointer_;
+ return *this;
+ }
+
+ operator const VkImportMemoryHostPointerInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkImportMemoryHostPointerInfoEXT*>(this);
+ }
+
+ bool operator==( ImportMemoryHostPointerInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleType == rhs.handleType )
+ && ( pHostPointer == rhs.pHostPointer );
+ }
+
+ bool operator!=( ImportMemoryHostPointerInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportMemoryHostPointerInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalMemoryHandleTypeFlagBits handleType;
+ void* pHostPointer;
+ };
+ static_assert( sizeof( ImportMemoryHostPointerInfoEXT ) == sizeof( VkImportMemoryHostPointerInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class ExternalMemoryFeatureFlagBits
+ {
+ eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT,
+ eDedicatedOnlyKHR = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT,
+ eExportable = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT,
+ eExportableKHR = VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT,
+ eImportable = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT,
+ eImportableKHR = VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT
+ };
+
+ using ExternalMemoryFeatureFlags = Flags<ExternalMemoryFeatureFlagBits, VkExternalMemoryFeatureFlags>;
+
+ VULKAN_HPP_INLINE ExternalMemoryFeatureFlags operator|( ExternalMemoryFeatureFlagBits bit0, ExternalMemoryFeatureFlagBits bit1 )
+ {
+ return ExternalMemoryFeatureFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalMemoryFeatureFlags operator~( ExternalMemoryFeatureFlagBits bits )
+ {
+ return ~( ExternalMemoryFeatureFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalMemoryFeatureFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalMemoryFeatureFlagBits::eDedicatedOnly) | VkFlags(ExternalMemoryFeatureFlagBits::eExportable) | VkFlags(ExternalMemoryFeatureFlagBits::eImportable)
+ };
+ };
+
+ using ExternalMemoryFeatureFlagsKHR = ExternalMemoryFeatureFlags;
+
+ struct ExternalMemoryProperties
+ {
+ operator const VkExternalMemoryProperties&() const
+ {
+ return *reinterpret_cast<const VkExternalMemoryProperties*>(this);
+ }
+
+ bool operator==( ExternalMemoryProperties const& rhs ) const
+ {
+ return ( externalMemoryFeatures == rhs.externalMemoryFeatures )
+ && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )
+ && ( compatibleHandleTypes == rhs.compatibleHandleTypes );
+ }
+
+ bool operator!=( ExternalMemoryProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ExternalMemoryFeatureFlags externalMemoryFeatures;
+ ExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;
+ ExternalMemoryHandleTypeFlags compatibleHandleTypes;
+ };
+ static_assert( sizeof( ExternalMemoryProperties ) == sizeof( VkExternalMemoryProperties ), "struct and wrapper have different size!" );
+
+ using ExternalMemoryPropertiesKHR = ExternalMemoryProperties;
+
+ struct ExternalImageFormatProperties
+ {
+ operator const VkExternalImageFormatProperties&() const
+ {
+ return *reinterpret_cast<const VkExternalImageFormatProperties*>(this);
+ }
+
+ bool operator==( ExternalImageFormatProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( externalMemoryProperties == rhs.externalMemoryProperties );
+ }
+
+ bool operator!=( ExternalImageFormatProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalImageFormatProperties;
+
+ public:
+ void* pNext = nullptr;
+ ExternalMemoryProperties externalMemoryProperties;
+ };
+ static_assert( sizeof( ExternalImageFormatProperties ) == sizeof( VkExternalImageFormatProperties ), "struct and wrapper have different size!" );
+
+ using ExternalImageFormatPropertiesKHR = ExternalImageFormatProperties;
+
+ struct ExternalBufferProperties
+ {
+ operator const VkExternalBufferProperties&() const
+ {
+ return *reinterpret_cast<const VkExternalBufferProperties*>(this);
+ }
+
+ bool operator==( ExternalBufferProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( externalMemoryProperties == rhs.externalMemoryProperties );
+ }
+
+ bool operator!=( ExternalBufferProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalBufferProperties;
+
+ public:
+ void* pNext = nullptr;
+ ExternalMemoryProperties externalMemoryProperties;
+ };
+ static_assert( sizeof( ExternalBufferProperties ) == sizeof( VkExternalBufferProperties ), "struct and wrapper have different size!" );
+
+ using ExternalBufferPropertiesKHR = ExternalBufferProperties;
+
+ enum class ExternalSemaphoreHandleTypeFlagBits
+ {
+ eOpaqueFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT,
+ eOpaqueFdKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT,
+ eOpaqueWin32 = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT,
+ eOpaqueWin32KHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT,
+ eOpaqueWin32Kmt = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,
+ eOpaqueWin32KmtKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,
+ eD3D12Fence = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT,
+ eD3D12FenceKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT,
+ eSyncFd = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT,
+ eSyncFdKHR = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT
+ };
+
+ using ExternalSemaphoreHandleTypeFlags = Flags<ExternalSemaphoreHandleTypeFlagBits, VkExternalSemaphoreHandleTypeFlags>;
+
+ VULKAN_HPP_INLINE ExternalSemaphoreHandleTypeFlags operator|( ExternalSemaphoreHandleTypeFlagBits bit0, ExternalSemaphoreHandleTypeFlagBits bit1 )
+ {
+ return ExternalSemaphoreHandleTypeFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalSemaphoreHandleTypeFlags operator~( ExternalSemaphoreHandleTypeFlagBits bits )
+ {
+ return ~( ExternalSemaphoreHandleTypeFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalSemaphoreHandleTypeFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence) | VkFlags(ExternalSemaphoreHandleTypeFlagBits::eSyncFd)
+ };
+ };
+
+ using ExternalSemaphoreHandleTypeFlagsKHR = ExternalSemaphoreHandleTypeFlags;
+
+ struct PhysicalDeviceExternalSemaphoreInfo
+ {
+ PhysicalDeviceExternalSemaphoreInfo( ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd )
+ : handleType( handleType_ )
+ {
+ }
+
+ PhysicalDeviceExternalSemaphoreInfo( VkPhysicalDeviceExternalSemaphoreInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) );
+ }
+
+ PhysicalDeviceExternalSemaphoreInfo& operator=( VkPhysicalDeviceExternalSemaphoreInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalSemaphoreInfo ) );
+ return *this;
+ }
+ PhysicalDeviceExternalSemaphoreInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceExternalSemaphoreInfo& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceExternalSemaphoreInfo&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>(this);
+ }
+
+ bool operator==( PhysicalDeviceExternalSemaphoreInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( PhysicalDeviceExternalSemaphoreInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceExternalSemaphoreInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalSemaphoreHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( PhysicalDeviceExternalSemaphoreInfo ) == sizeof( VkPhysicalDeviceExternalSemaphoreInfo ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceExternalSemaphoreInfoKHR = PhysicalDeviceExternalSemaphoreInfo;
+
+ struct ExportSemaphoreCreateInfo
+ {
+ ExportSemaphoreCreateInfo( ExternalSemaphoreHandleTypeFlags handleTypes_ = ExternalSemaphoreHandleTypeFlags() )
+ : handleTypes( handleTypes_ )
+ {
+ }
+
+ ExportSemaphoreCreateInfo( VkExportSemaphoreCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportSemaphoreCreateInfo ) );
+ }
+
+ ExportSemaphoreCreateInfo& operator=( VkExportSemaphoreCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportSemaphoreCreateInfo ) );
+ return *this;
+ }
+ ExportSemaphoreCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportSemaphoreCreateInfo& setHandleTypes( ExternalSemaphoreHandleTypeFlags handleTypes_ )
+ {
+ handleTypes = handleTypes_;
+ return *this;
+ }
+
+ operator const VkExportSemaphoreCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkExportSemaphoreCreateInfo*>(this);
+ }
+
+ bool operator==( ExportSemaphoreCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleTypes == rhs.handleTypes );
+ }
+
+ bool operator!=( ExportSemaphoreCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportSemaphoreCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalSemaphoreHandleTypeFlags handleTypes;
+ };
+ static_assert( sizeof( ExportSemaphoreCreateInfo ) == sizeof( VkExportSemaphoreCreateInfo ), "struct and wrapper have different size!" );
+
+ using ExportSemaphoreCreateInfoKHR = ExportSemaphoreCreateInfo;
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct SemaphoreGetWin32HandleInfoKHR
+ {
+ SemaphoreGetWin32HandleInfoKHR( Semaphore semaphore_ = Semaphore(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd )
+ : semaphore( semaphore_ )
+ , handleType( handleType_ )
+ {
+ }
+
+ SemaphoreGetWin32HandleInfoKHR( VkSemaphoreGetWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SemaphoreGetWin32HandleInfoKHR ) );
+ }
+
+ SemaphoreGetWin32HandleInfoKHR& operator=( VkSemaphoreGetWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SemaphoreGetWin32HandleInfoKHR ) );
+ return *this;
+ }
+ SemaphoreGetWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SemaphoreGetWin32HandleInfoKHR& setSemaphore( Semaphore semaphore_ )
+ {
+ semaphore = semaphore_;
+ return *this;
+ }
+
+ SemaphoreGetWin32HandleInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkSemaphoreGetWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkSemaphoreGetWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( SemaphoreGetWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( semaphore == rhs.semaphore )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( SemaphoreGetWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSemaphoreGetWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Semaphore semaphore;
+ ExternalSemaphoreHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( SemaphoreGetWin32HandleInfoKHR ) == sizeof( VkSemaphoreGetWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ struct SemaphoreGetFdInfoKHR
+ {
+ SemaphoreGetFdInfoKHR( Semaphore semaphore_ = Semaphore(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd )
+ : semaphore( semaphore_ )
+ , handleType( handleType_ )
+ {
+ }
+
+ SemaphoreGetFdInfoKHR( VkSemaphoreGetFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SemaphoreGetFdInfoKHR ) );
+ }
+
+ SemaphoreGetFdInfoKHR& operator=( VkSemaphoreGetFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SemaphoreGetFdInfoKHR ) );
+ return *this;
+ }
+ SemaphoreGetFdInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SemaphoreGetFdInfoKHR& setSemaphore( Semaphore semaphore_ )
+ {
+ semaphore = semaphore_;
+ return *this;
+ }
+
+ SemaphoreGetFdInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkSemaphoreGetFdInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkSemaphoreGetFdInfoKHR*>(this);
+ }
+
+ bool operator==( SemaphoreGetFdInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( semaphore == rhs.semaphore )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( SemaphoreGetFdInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSemaphoreGetFdInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Semaphore semaphore;
+ ExternalSemaphoreHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( SemaphoreGetFdInfoKHR ) == sizeof( VkSemaphoreGetFdInfoKHR ), "struct and wrapper have different size!" );
+
+ enum class ExternalSemaphoreFeatureFlagBits
+ {
+ eExportable = VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT,
+ eExportableKHR = VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT,
+ eImportable = VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT,
+ eImportableKHR = VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT
+ };
+
+ using ExternalSemaphoreFeatureFlags = Flags<ExternalSemaphoreFeatureFlagBits, VkExternalSemaphoreFeatureFlags>;
+
+ VULKAN_HPP_INLINE ExternalSemaphoreFeatureFlags operator|( ExternalSemaphoreFeatureFlagBits bit0, ExternalSemaphoreFeatureFlagBits bit1 )
+ {
+ return ExternalSemaphoreFeatureFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalSemaphoreFeatureFlags operator~( ExternalSemaphoreFeatureFlagBits bits )
+ {
+ return ~( ExternalSemaphoreFeatureFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalSemaphoreFeatureFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalSemaphoreFeatureFlagBits::eExportable) | VkFlags(ExternalSemaphoreFeatureFlagBits::eImportable)
+ };
+ };
+
+ using ExternalSemaphoreFeatureFlagsKHR = ExternalSemaphoreFeatureFlags;
+
+ struct ExternalSemaphoreProperties
+ {
+ operator const VkExternalSemaphoreProperties&() const
+ {
+ return *reinterpret_cast<const VkExternalSemaphoreProperties*>(this);
+ }
+
+ bool operator==( ExternalSemaphoreProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )
+ && ( compatibleHandleTypes == rhs.compatibleHandleTypes )
+ && ( externalSemaphoreFeatures == rhs.externalSemaphoreFeatures );
+ }
+
+ bool operator!=( ExternalSemaphoreProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalSemaphoreProperties;
+
+ public:
+ void* pNext = nullptr;
+ ExternalSemaphoreHandleTypeFlags exportFromImportedHandleTypes;
+ ExternalSemaphoreHandleTypeFlags compatibleHandleTypes;
+ ExternalSemaphoreFeatureFlags externalSemaphoreFeatures;
+ };
+ static_assert( sizeof( ExternalSemaphoreProperties ) == sizeof( VkExternalSemaphoreProperties ), "struct and wrapper have different size!" );
+
+ using ExternalSemaphorePropertiesKHR = ExternalSemaphoreProperties;
+
+ enum class SemaphoreImportFlagBits
+ {
+ eTemporary = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT,
+ eTemporaryKHR = VK_SEMAPHORE_IMPORT_TEMPORARY_BIT
+ };
+
+ using SemaphoreImportFlags = Flags<SemaphoreImportFlagBits, VkSemaphoreImportFlags>;
+
+ VULKAN_HPP_INLINE SemaphoreImportFlags operator|( SemaphoreImportFlagBits bit0, SemaphoreImportFlagBits bit1 )
+ {
+ return SemaphoreImportFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SemaphoreImportFlags operator~( SemaphoreImportFlagBits bits )
+ {
+ return ~( SemaphoreImportFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<SemaphoreImportFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(SemaphoreImportFlagBits::eTemporary)
+ };
+ };
+
+ using SemaphoreImportFlagsKHR = SemaphoreImportFlags;
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct ImportSemaphoreWin32HandleInfoKHR
+ {
+ ImportSemaphoreWin32HandleInfoKHR( Semaphore semaphore_ = Semaphore(), SemaphoreImportFlags flags_ = SemaphoreImportFlags(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = 0, LPCWSTR name_ = 0 )
+ : semaphore( semaphore_ )
+ , flags( flags_ )
+ , handleType( handleType_ )
+ , handle( handle_ )
+ , name( name_ )
+ {
+ }
+
+ ImportSemaphoreWin32HandleInfoKHR( VkImportSemaphoreWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportSemaphoreWin32HandleInfoKHR ) );
+ }
+
+ ImportSemaphoreWin32HandleInfoKHR& operator=( VkImportSemaphoreWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportSemaphoreWin32HandleInfoKHR ) );
+ return *this;
+ }
+ ImportSemaphoreWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportSemaphoreWin32HandleInfoKHR& setSemaphore( Semaphore semaphore_ )
+ {
+ semaphore = semaphore_;
+ return *this;
+ }
+
+ ImportSemaphoreWin32HandleInfoKHR& setFlags( SemaphoreImportFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ImportSemaphoreWin32HandleInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportSemaphoreWin32HandleInfoKHR& setHandle( HANDLE handle_ )
+ {
+ handle = handle_;
+ return *this;
+ }
+
+ ImportSemaphoreWin32HandleInfoKHR& setName( LPCWSTR name_ )
+ {
+ name = name_;
+ return *this;
+ }
+
+ operator const VkImportSemaphoreWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImportSemaphoreWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( ImportSemaphoreWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( semaphore == rhs.semaphore )
+ && ( flags == rhs.flags )
+ && ( handleType == rhs.handleType )
+ && ( handle == rhs.handle )
+ && ( name == rhs.name );
+ }
+
+ bool operator!=( ImportSemaphoreWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportSemaphoreWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Semaphore semaphore;
+ SemaphoreImportFlags flags;
+ ExternalSemaphoreHandleTypeFlagBits handleType;
+ HANDLE handle;
+ LPCWSTR name;
+ };
+ static_assert( sizeof( ImportSemaphoreWin32HandleInfoKHR ) == sizeof( VkImportSemaphoreWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ struct ImportSemaphoreFdInfoKHR
+ {
+ ImportSemaphoreFdInfoKHR( Semaphore semaphore_ = Semaphore(), SemaphoreImportFlags flags_ = SemaphoreImportFlags(), ExternalSemaphoreHandleTypeFlagBits handleType_ = ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd, int fd_ = 0 )
+ : semaphore( semaphore_ )
+ , flags( flags_ )
+ , handleType( handleType_ )
+ , fd( fd_ )
+ {
+ }
+
+ ImportSemaphoreFdInfoKHR( VkImportSemaphoreFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportSemaphoreFdInfoKHR ) );
+ }
+
+ ImportSemaphoreFdInfoKHR& operator=( VkImportSemaphoreFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportSemaphoreFdInfoKHR ) );
+ return *this;
+ }
+ ImportSemaphoreFdInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportSemaphoreFdInfoKHR& setSemaphore( Semaphore semaphore_ )
+ {
+ semaphore = semaphore_;
+ return *this;
+ }
+
+ ImportSemaphoreFdInfoKHR& setFlags( SemaphoreImportFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ImportSemaphoreFdInfoKHR& setHandleType( ExternalSemaphoreHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportSemaphoreFdInfoKHR& setFd( int fd_ )
+ {
+ fd = fd_;
+ return *this;
+ }
+
+ operator const VkImportSemaphoreFdInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImportSemaphoreFdInfoKHR*>(this);
+ }
+
+ bool operator==( ImportSemaphoreFdInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( semaphore == rhs.semaphore )
+ && ( flags == rhs.flags )
+ && ( handleType == rhs.handleType )
+ && ( fd == rhs.fd );
+ }
+
+ bool operator!=( ImportSemaphoreFdInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportSemaphoreFdInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Semaphore semaphore;
+ SemaphoreImportFlags flags;
+ ExternalSemaphoreHandleTypeFlagBits handleType;
+ int fd;
+ };
+ static_assert( sizeof( ImportSemaphoreFdInfoKHR ) == sizeof( VkImportSemaphoreFdInfoKHR ), "struct and wrapper have different size!" );
+
+ enum class ExternalFenceHandleTypeFlagBits
+ {
+ eOpaqueFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT,
+ eOpaqueFdKHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT,
+ eOpaqueWin32 = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT,
+ eOpaqueWin32KHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT,
+ eOpaqueWin32Kmt = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,
+ eOpaqueWin32KmtKHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT,
+ eSyncFd = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT,
+ eSyncFdKHR = VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT
+ };
+
+ using ExternalFenceHandleTypeFlags = Flags<ExternalFenceHandleTypeFlagBits, VkExternalFenceHandleTypeFlags>;
+
+ VULKAN_HPP_INLINE ExternalFenceHandleTypeFlags operator|( ExternalFenceHandleTypeFlagBits bit0, ExternalFenceHandleTypeFlagBits bit1 )
+ {
+ return ExternalFenceHandleTypeFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalFenceHandleTypeFlags operator~( ExternalFenceHandleTypeFlagBits bits )
+ {
+ return ~( ExternalFenceHandleTypeFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalFenceHandleTypeFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueFd) | VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueWin32) | VkFlags(ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt) | VkFlags(ExternalFenceHandleTypeFlagBits::eSyncFd)
+ };
+ };
+
+ using ExternalFenceHandleTypeFlagsKHR = ExternalFenceHandleTypeFlags;
+
+ struct PhysicalDeviceExternalFenceInfo
+ {
+ PhysicalDeviceExternalFenceInfo( ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd )
+ : handleType( handleType_ )
+ {
+ }
+
+ PhysicalDeviceExternalFenceInfo( VkPhysicalDeviceExternalFenceInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalFenceInfo ) );
+ }
+
+ PhysicalDeviceExternalFenceInfo& operator=( VkPhysicalDeviceExternalFenceInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PhysicalDeviceExternalFenceInfo ) );
+ return *this;
+ }
+ PhysicalDeviceExternalFenceInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PhysicalDeviceExternalFenceInfo& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkPhysicalDeviceExternalFenceInfo&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>(this);
+ }
+
+ bool operator==( PhysicalDeviceExternalFenceInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( PhysicalDeviceExternalFenceInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceExternalFenceInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalFenceHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( PhysicalDeviceExternalFenceInfo ) == sizeof( VkPhysicalDeviceExternalFenceInfo ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceExternalFenceInfoKHR = PhysicalDeviceExternalFenceInfo;
+
+ struct ExportFenceCreateInfo
+ {
+ ExportFenceCreateInfo( ExternalFenceHandleTypeFlags handleTypes_ = ExternalFenceHandleTypeFlags() )
+ : handleTypes( handleTypes_ )
+ {
+ }
+
+ ExportFenceCreateInfo( VkExportFenceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportFenceCreateInfo ) );
+ }
+
+ ExportFenceCreateInfo& operator=( VkExportFenceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ExportFenceCreateInfo ) );
+ return *this;
+ }
+ ExportFenceCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ExportFenceCreateInfo& setHandleTypes( ExternalFenceHandleTypeFlags handleTypes_ )
+ {
+ handleTypes = handleTypes_;
+ return *this;
+ }
+
+ operator const VkExportFenceCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkExportFenceCreateInfo*>(this);
+ }
+
+ bool operator==( ExportFenceCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( handleTypes == rhs.handleTypes );
+ }
+
+ bool operator!=( ExportFenceCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExportFenceCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ ExternalFenceHandleTypeFlags handleTypes;
+ };
+ static_assert( sizeof( ExportFenceCreateInfo ) == sizeof( VkExportFenceCreateInfo ), "struct and wrapper have different size!" );
+
+ using ExportFenceCreateInfoKHR = ExportFenceCreateInfo;
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct FenceGetWin32HandleInfoKHR
+ {
+ FenceGetWin32HandleInfoKHR( Fence fence_ = Fence(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd )
+ : fence( fence_ )
+ , handleType( handleType_ )
+ {
+ }
+
+ FenceGetWin32HandleInfoKHR( VkFenceGetWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FenceGetWin32HandleInfoKHR ) );
+ }
+
+ FenceGetWin32HandleInfoKHR& operator=( VkFenceGetWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FenceGetWin32HandleInfoKHR ) );
+ return *this;
+ }
+ FenceGetWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ FenceGetWin32HandleInfoKHR& setFence( Fence fence_ )
+ {
+ fence = fence_;
+ return *this;
+ }
+
+ FenceGetWin32HandleInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkFenceGetWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkFenceGetWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( FenceGetWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( fence == rhs.fence )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( FenceGetWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eFenceGetWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Fence fence;
+ ExternalFenceHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( FenceGetWin32HandleInfoKHR ) == sizeof( VkFenceGetWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ struct FenceGetFdInfoKHR
+ {
+ FenceGetFdInfoKHR( Fence fence_ = Fence(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd )
+ : fence( fence_ )
+ , handleType( handleType_ )
+ {
+ }
+
+ FenceGetFdInfoKHR( VkFenceGetFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FenceGetFdInfoKHR ) );
+ }
+
+ FenceGetFdInfoKHR& operator=( VkFenceGetFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( FenceGetFdInfoKHR ) );
+ return *this;
+ }
+ FenceGetFdInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ FenceGetFdInfoKHR& setFence( Fence fence_ )
+ {
+ fence = fence_;
+ return *this;
+ }
+
+ FenceGetFdInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ operator const VkFenceGetFdInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkFenceGetFdInfoKHR*>(this);
+ }
+
+ bool operator==( FenceGetFdInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( fence == rhs.fence )
+ && ( handleType == rhs.handleType );
+ }
+
+ bool operator!=( FenceGetFdInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eFenceGetFdInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Fence fence;
+ ExternalFenceHandleTypeFlagBits handleType;
+ };
+ static_assert( sizeof( FenceGetFdInfoKHR ) == sizeof( VkFenceGetFdInfoKHR ), "struct and wrapper have different size!" );
+
+ enum class ExternalFenceFeatureFlagBits
+ {
+ eExportable = VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT,
+ eExportableKHR = VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT,
+ eImportable = VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT,
+ eImportableKHR = VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT
+ };
+
+ using ExternalFenceFeatureFlags = Flags<ExternalFenceFeatureFlagBits, VkExternalFenceFeatureFlags>;
+
+ VULKAN_HPP_INLINE ExternalFenceFeatureFlags operator|( ExternalFenceFeatureFlagBits bit0, ExternalFenceFeatureFlagBits bit1 )
+ {
+ return ExternalFenceFeatureFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE ExternalFenceFeatureFlags operator~( ExternalFenceFeatureFlagBits bits )
+ {
+ return ~( ExternalFenceFeatureFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<ExternalFenceFeatureFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(ExternalFenceFeatureFlagBits::eExportable) | VkFlags(ExternalFenceFeatureFlagBits::eImportable)
+ };
+ };
+
+ using ExternalFenceFeatureFlagsKHR = ExternalFenceFeatureFlags;
+
+ struct ExternalFenceProperties
+ {
+ operator const VkExternalFenceProperties&() const
+ {
+ return *reinterpret_cast<const VkExternalFenceProperties*>(this);
+ }
+
+ bool operator==( ExternalFenceProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( exportFromImportedHandleTypes == rhs.exportFromImportedHandleTypes )
+ && ( compatibleHandleTypes == rhs.compatibleHandleTypes )
+ && ( externalFenceFeatures == rhs.externalFenceFeatures );
+ }
+
+ bool operator!=( ExternalFenceProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eExternalFenceProperties;
+
+ public:
+ void* pNext = nullptr;
+ ExternalFenceHandleTypeFlags exportFromImportedHandleTypes;
+ ExternalFenceHandleTypeFlags compatibleHandleTypes;
+ ExternalFenceFeatureFlags externalFenceFeatures;
+ };
+ static_assert( sizeof( ExternalFenceProperties ) == sizeof( VkExternalFenceProperties ), "struct and wrapper have different size!" );
+
+ using ExternalFencePropertiesKHR = ExternalFenceProperties;
+
+ enum class FenceImportFlagBits
+ {
+ eTemporary = VK_FENCE_IMPORT_TEMPORARY_BIT,
+ eTemporaryKHR = VK_FENCE_IMPORT_TEMPORARY_BIT
+ };
+
+ using FenceImportFlags = Flags<FenceImportFlagBits, VkFenceImportFlags>;
+
+ VULKAN_HPP_INLINE FenceImportFlags operator|( FenceImportFlagBits bit0, FenceImportFlagBits bit1 )
+ {
+ return FenceImportFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE FenceImportFlags operator~( FenceImportFlagBits bits )
+ {
+ return ~( FenceImportFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<FenceImportFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(FenceImportFlagBits::eTemporary)
+ };
+ };
+
+ using FenceImportFlagsKHR = FenceImportFlags;
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ struct ImportFenceWin32HandleInfoKHR
+ {
+ ImportFenceWin32HandleInfoKHR( Fence fence_ = Fence(), FenceImportFlags flags_ = FenceImportFlags(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd, HANDLE handle_ = 0, LPCWSTR name_ = 0 )
+ : fence( fence_ )
+ , flags( flags_ )
+ , handleType( handleType_ )
+ , handle( handle_ )
+ , name( name_ )
+ {
+ }
+
+ ImportFenceWin32HandleInfoKHR( VkImportFenceWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportFenceWin32HandleInfoKHR ) );
+ }
+
+ ImportFenceWin32HandleInfoKHR& operator=( VkImportFenceWin32HandleInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportFenceWin32HandleInfoKHR ) );
+ return *this;
+ }
+ ImportFenceWin32HandleInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportFenceWin32HandleInfoKHR& setFence( Fence fence_ )
+ {
+ fence = fence_;
+ return *this;
+ }
+
+ ImportFenceWin32HandleInfoKHR& setFlags( FenceImportFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ImportFenceWin32HandleInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportFenceWin32HandleInfoKHR& setHandle( HANDLE handle_ )
+ {
+ handle = handle_;
+ return *this;
+ }
+
+ ImportFenceWin32HandleInfoKHR& setName( LPCWSTR name_ )
+ {
+ name = name_;
+ return *this;
+ }
+
+ operator const VkImportFenceWin32HandleInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImportFenceWin32HandleInfoKHR*>(this);
+ }
+
+ bool operator==( ImportFenceWin32HandleInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( fence == rhs.fence )
+ && ( flags == rhs.flags )
+ && ( handleType == rhs.handleType )
+ && ( handle == rhs.handle )
+ && ( name == rhs.name );
+ }
+
+ bool operator!=( ImportFenceWin32HandleInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportFenceWin32HandleInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Fence fence;
+ FenceImportFlags flags;
+ ExternalFenceHandleTypeFlagBits handleType;
+ HANDLE handle;
+ LPCWSTR name;
+ };
+ static_assert( sizeof( ImportFenceWin32HandleInfoKHR ) == sizeof( VkImportFenceWin32HandleInfoKHR ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ struct ImportFenceFdInfoKHR
+ {
+ ImportFenceFdInfoKHR( Fence fence_ = Fence(), FenceImportFlags flags_ = FenceImportFlags(), ExternalFenceHandleTypeFlagBits handleType_ = ExternalFenceHandleTypeFlagBits::eOpaqueFd, int fd_ = 0 )
+ : fence( fence_ )
+ , flags( flags_ )
+ , handleType( handleType_ )
+ , fd( fd_ )
+ {
+ }
+
+ ImportFenceFdInfoKHR( VkImportFenceFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportFenceFdInfoKHR ) );
+ }
+
+ ImportFenceFdInfoKHR& operator=( VkImportFenceFdInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ImportFenceFdInfoKHR ) );
+ return *this;
+ }
+ ImportFenceFdInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ ImportFenceFdInfoKHR& setFence( Fence fence_ )
+ {
+ fence = fence_;
+ return *this;
+ }
+
+ ImportFenceFdInfoKHR& setFlags( FenceImportFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ ImportFenceFdInfoKHR& setHandleType( ExternalFenceHandleTypeFlagBits handleType_ )
+ {
+ handleType = handleType_;
+ return *this;
+ }
+
+ ImportFenceFdInfoKHR& setFd( int fd_ )
+ {
+ fd = fd_;
+ return *this;
+ }
+
+ operator const VkImportFenceFdInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkImportFenceFdInfoKHR*>(this);
+ }
+
+ bool operator==( ImportFenceFdInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( fence == rhs.fence )
+ && ( flags == rhs.flags )
+ && ( handleType == rhs.handleType )
+ && ( fd == rhs.fd );
+ }
+
+ bool operator!=( ImportFenceFdInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eImportFenceFdInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ Fence fence;
+ FenceImportFlags flags;
+ ExternalFenceHandleTypeFlagBits handleType;
+ int fd;
+ };
+ static_assert( sizeof( ImportFenceFdInfoKHR ) == sizeof( VkImportFenceFdInfoKHR ), "struct and wrapper have different size!" );
+
+ enum class SurfaceCounterFlagBitsEXT
+ {
+ eVblank = VK_SURFACE_COUNTER_VBLANK_EXT
+ };
+
+ using SurfaceCounterFlagsEXT = Flags<SurfaceCounterFlagBitsEXT, VkSurfaceCounterFlagsEXT>;
+
+ VULKAN_HPP_INLINE SurfaceCounterFlagsEXT operator|( SurfaceCounterFlagBitsEXT bit0, SurfaceCounterFlagBitsEXT bit1 )
+ {
+ return SurfaceCounterFlagsEXT( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SurfaceCounterFlagsEXT operator~( SurfaceCounterFlagBitsEXT bits )
+ {
+ return ~( SurfaceCounterFlagsEXT( bits ) );
+ }
+
+ template <> struct FlagTraits<SurfaceCounterFlagBitsEXT>
+ {
+ enum
+ {
+ allFlags = VkFlags(SurfaceCounterFlagBitsEXT::eVblank)
+ };
+ };
+
+ struct SurfaceCapabilities2EXT
+ {
+ operator const VkSurfaceCapabilities2EXT&() const
+ {
+ return *reinterpret_cast<const VkSurfaceCapabilities2EXT*>(this);
+ }
+
+ bool operator==( SurfaceCapabilities2EXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( minImageCount == rhs.minImageCount )
+ && ( maxImageCount == rhs.maxImageCount )
+ && ( currentExtent == rhs.currentExtent )
+ && ( minImageExtent == rhs.minImageExtent )
+ && ( maxImageExtent == rhs.maxImageExtent )
+ && ( maxImageArrayLayers == rhs.maxImageArrayLayers )
+ && ( supportedTransforms == rhs.supportedTransforms )
+ && ( currentTransform == rhs.currentTransform )
+ && ( supportedCompositeAlpha == rhs.supportedCompositeAlpha )
+ && ( supportedUsageFlags == rhs.supportedUsageFlags )
+ && ( supportedSurfaceCounters == rhs.supportedSurfaceCounters );
+ }
+
+ bool operator!=( SurfaceCapabilities2EXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSurfaceCapabilities2EXT;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t minImageCount;
+ uint32_t maxImageCount;
+ Extent2D currentExtent;
+ Extent2D minImageExtent;
+ Extent2D maxImageExtent;
+ uint32_t maxImageArrayLayers;
+ SurfaceTransformFlagsKHR supportedTransforms;
+ SurfaceTransformFlagBitsKHR currentTransform;
+ CompositeAlphaFlagsKHR supportedCompositeAlpha;
+ ImageUsageFlags supportedUsageFlags;
+ SurfaceCounterFlagsEXT supportedSurfaceCounters;
+ };
+ static_assert( sizeof( SurfaceCapabilities2EXT ) == sizeof( VkSurfaceCapabilities2EXT ), "struct and wrapper have different size!" );
+
+ struct SwapchainCounterCreateInfoEXT
+ {
+ SwapchainCounterCreateInfoEXT( SurfaceCounterFlagsEXT surfaceCounters_ = SurfaceCounterFlagsEXT() )
+ : surfaceCounters( surfaceCounters_ )
+ {
+ }
+
+ SwapchainCounterCreateInfoEXT( VkSwapchainCounterCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SwapchainCounterCreateInfoEXT ) );
+ }
+
+ SwapchainCounterCreateInfoEXT& operator=( VkSwapchainCounterCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SwapchainCounterCreateInfoEXT ) );
+ return *this;
+ }
+ SwapchainCounterCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SwapchainCounterCreateInfoEXT& setSurfaceCounters( SurfaceCounterFlagsEXT surfaceCounters_ )
+ {
+ surfaceCounters = surfaceCounters_;
+ return *this;
+ }
+
+ operator const VkSwapchainCounterCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkSwapchainCounterCreateInfoEXT*>(this);
+ }
+
+ bool operator==( SwapchainCounterCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( surfaceCounters == rhs.surfaceCounters );
+ }
+
+ bool operator!=( SwapchainCounterCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSwapchainCounterCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ SurfaceCounterFlagsEXT surfaceCounters;
+ };
+ static_assert( sizeof( SwapchainCounterCreateInfoEXT ) == sizeof( VkSwapchainCounterCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class DisplayPowerStateEXT
+ {
+ eOff = VK_DISPLAY_POWER_STATE_OFF_EXT,
+ eSuspend = VK_DISPLAY_POWER_STATE_SUSPEND_EXT,
+ eOn = VK_DISPLAY_POWER_STATE_ON_EXT
+ };
+
+ struct DisplayPowerInfoEXT
+ {
+ DisplayPowerInfoEXT( DisplayPowerStateEXT powerState_ = DisplayPowerStateEXT::eOff )
+ : powerState( powerState_ )
+ {
+ }
+
+ DisplayPowerInfoEXT( VkDisplayPowerInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayPowerInfoEXT ) );
+ }
+
+ DisplayPowerInfoEXT& operator=( VkDisplayPowerInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayPowerInfoEXT ) );
+ return *this;
+ }
+ DisplayPowerInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DisplayPowerInfoEXT& setPowerState( DisplayPowerStateEXT powerState_ )
+ {
+ powerState = powerState_;
+ return *this;
+ }
+
+ operator const VkDisplayPowerInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDisplayPowerInfoEXT*>(this);
+ }
+
+ bool operator==( DisplayPowerInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( powerState == rhs.powerState );
+ }
+
+ bool operator!=( DisplayPowerInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDisplayPowerInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DisplayPowerStateEXT powerState;
+ };
+ static_assert( sizeof( DisplayPowerInfoEXT ) == sizeof( VkDisplayPowerInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class DeviceEventTypeEXT
+ {
+ eDisplayHotplug = VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT
+ };
+
+ struct DeviceEventInfoEXT
+ {
+ DeviceEventInfoEXT( DeviceEventTypeEXT deviceEvent_ = DeviceEventTypeEXT::eDisplayHotplug )
+ : deviceEvent( deviceEvent_ )
+ {
+ }
+
+ DeviceEventInfoEXT( VkDeviceEventInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceEventInfoEXT ) );
+ }
+
+ DeviceEventInfoEXT& operator=( VkDeviceEventInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceEventInfoEXT ) );
+ return *this;
+ }
+ DeviceEventInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceEventInfoEXT& setDeviceEvent( DeviceEventTypeEXT deviceEvent_ )
+ {
+ deviceEvent = deviceEvent_;
+ return *this;
+ }
+
+ operator const VkDeviceEventInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDeviceEventInfoEXT*>(this);
+ }
+
+ bool operator==( DeviceEventInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( deviceEvent == rhs.deviceEvent );
+ }
+
+ bool operator!=( DeviceEventInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceEventInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceEventTypeEXT deviceEvent;
+ };
+ static_assert( sizeof( DeviceEventInfoEXT ) == sizeof( VkDeviceEventInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class DisplayEventTypeEXT
+ {
+ eFirstPixelOut = VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT
+ };
+
+ struct DisplayEventInfoEXT
+ {
+ DisplayEventInfoEXT( DisplayEventTypeEXT displayEvent_ = DisplayEventTypeEXT::eFirstPixelOut )
+ : displayEvent( displayEvent_ )
+ {
+ }
+
+ DisplayEventInfoEXT( VkDisplayEventInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayEventInfoEXT ) );
+ }
+
+ DisplayEventInfoEXT& operator=( VkDisplayEventInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DisplayEventInfoEXT ) );
+ return *this;
+ }
+ DisplayEventInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DisplayEventInfoEXT& setDisplayEvent( DisplayEventTypeEXT displayEvent_ )
+ {
+ displayEvent = displayEvent_;
+ return *this;
+ }
+
+ operator const VkDisplayEventInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDisplayEventInfoEXT*>(this);
+ }
+
+ bool operator==( DisplayEventInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( displayEvent == rhs.displayEvent );
+ }
+
+ bool operator!=( DisplayEventInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDisplayEventInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DisplayEventTypeEXT displayEvent;
+ };
+ static_assert( sizeof( DisplayEventInfoEXT ) == sizeof( VkDisplayEventInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class PeerMemoryFeatureFlagBits
+ {
+ eCopySrc = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT,
+ eCopySrcKHR = VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT,
+ eCopyDst = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT,
+ eCopyDstKHR = VK_PEER_MEMORY_FEATURE_COPY_DST_BIT,
+ eGenericSrc = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT,
+ eGenericSrcKHR = VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT,
+ eGenericDst = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT,
+ eGenericDstKHR = VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT
+ };
+
+ using PeerMemoryFeatureFlags = Flags<PeerMemoryFeatureFlagBits, VkPeerMemoryFeatureFlags>;
+
+ VULKAN_HPP_INLINE PeerMemoryFeatureFlags operator|( PeerMemoryFeatureFlagBits bit0, PeerMemoryFeatureFlagBits bit1 )
+ {
+ return PeerMemoryFeatureFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE PeerMemoryFeatureFlags operator~( PeerMemoryFeatureFlagBits bits )
+ {
+ return ~( PeerMemoryFeatureFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<PeerMemoryFeatureFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(PeerMemoryFeatureFlagBits::eCopySrc) | VkFlags(PeerMemoryFeatureFlagBits::eCopyDst) | VkFlags(PeerMemoryFeatureFlagBits::eGenericSrc) | VkFlags(PeerMemoryFeatureFlagBits::eGenericDst)
+ };
+ };
+
+ using PeerMemoryFeatureFlagsKHR = PeerMemoryFeatureFlags;
+
+ enum class MemoryAllocateFlagBits
+ {
+ eDeviceMask = VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT,
+ eDeviceMaskKHR = VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT
+ };
+
+ using MemoryAllocateFlags = Flags<MemoryAllocateFlagBits, VkMemoryAllocateFlags>;
+
+ VULKAN_HPP_INLINE MemoryAllocateFlags operator|( MemoryAllocateFlagBits bit0, MemoryAllocateFlagBits bit1 )
+ {
+ return MemoryAllocateFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE MemoryAllocateFlags operator~( MemoryAllocateFlagBits bits )
+ {
+ return ~( MemoryAllocateFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<MemoryAllocateFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(MemoryAllocateFlagBits::eDeviceMask)
+ };
+ };
+
+ using MemoryAllocateFlagsKHR = MemoryAllocateFlags;
+
+ struct MemoryAllocateFlagsInfo
+ {
+ MemoryAllocateFlagsInfo( MemoryAllocateFlags flags_ = MemoryAllocateFlags(), uint32_t deviceMask_ = 0 )
+ : flags( flags_ )
+ , deviceMask( deviceMask_ )
+ {
+ }
+
+ MemoryAllocateFlagsInfo( VkMemoryAllocateFlagsInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryAllocateFlagsInfo ) );
+ }
+
+ MemoryAllocateFlagsInfo& operator=( VkMemoryAllocateFlagsInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( MemoryAllocateFlagsInfo ) );
+ return *this;
+ }
+ MemoryAllocateFlagsInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ MemoryAllocateFlagsInfo& setFlags( MemoryAllocateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ MemoryAllocateFlagsInfo& setDeviceMask( uint32_t deviceMask_ )
+ {
+ deviceMask = deviceMask_;
+ return *this;
+ }
+
+ operator const VkMemoryAllocateFlagsInfo&() const
+ {
+ return *reinterpret_cast<const VkMemoryAllocateFlagsInfo*>(this);
+ }
+
+ bool operator==( MemoryAllocateFlagsInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( deviceMask == rhs.deviceMask );
+ }
+
+ bool operator!=( MemoryAllocateFlagsInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eMemoryAllocateFlagsInfo;
+
+ public:
+ const void* pNext = nullptr;
+ MemoryAllocateFlags flags;
+ uint32_t deviceMask;
+ };
+ static_assert( sizeof( MemoryAllocateFlagsInfo ) == sizeof( VkMemoryAllocateFlagsInfo ), "struct and wrapper have different size!" );
+
+ using MemoryAllocateFlagsInfoKHR = MemoryAllocateFlagsInfo;
+
+ enum class DeviceGroupPresentModeFlagBitsKHR
+ {
+ eLocal = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR,
+ eRemote = VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR,
+ eSum = VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR,
+ eLocalMultiDevice = VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR
+ };
+
+ using DeviceGroupPresentModeFlagsKHR = Flags<DeviceGroupPresentModeFlagBitsKHR, VkDeviceGroupPresentModeFlagsKHR>;
+
+ VULKAN_HPP_INLINE DeviceGroupPresentModeFlagsKHR operator|( DeviceGroupPresentModeFlagBitsKHR bit0, DeviceGroupPresentModeFlagBitsKHR bit1 )
+ {
+ return DeviceGroupPresentModeFlagsKHR( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DeviceGroupPresentModeFlagsKHR operator~( DeviceGroupPresentModeFlagBitsKHR bits )
+ {
+ return ~( DeviceGroupPresentModeFlagsKHR( bits ) );
+ }
+
+ template <> struct FlagTraits<DeviceGroupPresentModeFlagBitsKHR>
+ {
+ enum
+ {
+ allFlags = VkFlags(DeviceGroupPresentModeFlagBitsKHR::eLocal) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eRemote) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eSum) | VkFlags(DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice)
+ };
+ };
+
+ struct DeviceGroupPresentCapabilitiesKHR
+ {
+ operator const VkDeviceGroupPresentCapabilitiesKHR&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupPresentCapabilitiesKHR*>(this);
+ }
+
+ bool operator==( DeviceGroupPresentCapabilitiesKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( memcmp( presentMask, rhs.presentMask, VK_MAX_DEVICE_GROUP_SIZE * sizeof( uint32_t ) ) == 0 )
+ && ( modes == rhs.modes );
+ }
+
+ bool operator!=( DeviceGroupPresentCapabilitiesKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupPresentCapabilitiesKHR;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t presentMask[VK_MAX_DEVICE_GROUP_SIZE];
+ DeviceGroupPresentModeFlagsKHR modes;
+ };
+ static_assert( sizeof( DeviceGroupPresentCapabilitiesKHR ) == sizeof( VkDeviceGroupPresentCapabilitiesKHR ), "struct and wrapper have different size!" );
+
+ struct DeviceGroupPresentInfoKHR
+ {
+ DeviceGroupPresentInfoKHR( uint32_t swapchainCount_ = 0, const uint32_t* pDeviceMasks_ = nullptr, DeviceGroupPresentModeFlagBitsKHR mode_ = DeviceGroupPresentModeFlagBitsKHR::eLocal )
+ : swapchainCount( swapchainCount_ )
+ , pDeviceMasks( pDeviceMasks_ )
+ , mode( mode_ )
+ {
+ }
+
+ DeviceGroupPresentInfoKHR( VkDeviceGroupPresentInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupPresentInfoKHR ) );
+ }
+
+ DeviceGroupPresentInfoKHR& operator=( VkDeviceGroupPresentInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupPresentInfoKHR ) );
+ return *this;
+ }
+ DeviceGroupPresentInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGroupPresentInfoKHR& setSwapchainCount( uint32_t swapchainCount_ )
+ {
+ swapchainCount = swapchainCount_;
+ return *this;
+ }
+
+ DeviceGroupPresentInfoKHR& setPDeviceMasks( const uint32_t* pDeviceMasks_ )
+ {
+ pDeviceMasks = pDeviceMasks_;
+ return *this;
+ }
+
+ DeviceGroupPresentInfoKHR& setMode( DeviceGroupPresentModeFlagBitsKHR mode_ )
+ {
+ mode = mode_;
+ return *this;
+ }
+
+ operator const VkDeviceGroupPresentInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupPresentInfoKHR*>(this);
+ }
+
+ bool operator==( DeviceGroupPresentInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( swapchainCount == rhs.swapchainCount )
+ && ( pDeviceMasks == rhs.pDeviceMasks )
+ && ( mode == rhs.mode );
+ }
+
+ bool operator!=( DeviceGroupPresentInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupPresentInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t swapchainCount;
+ const uint32_t* pDeviceMasks;
+ DeviceGroupPresentModeFlagBitsKHR mode;
+ };
+ static_assert( sizeof( DeviceGroupPresentInfoKHR ) == sizeof( VkDeviceGroupPresentInfoKHR ), "struct and wrapper have different size!" );
+
+ struct DeviceGroupSwapchainCreateInfoKHR
+ {
+ DeviceGroupSwapchainCreateInfoKHR( DeviceGroupPresentModeFlagsKHR modes_ = DeviceGroupPresentModeFlagsKHR() )
+ : modes( modes_ )
+ {
+ }
+
+ DeviceGroupSwapchainCreateInfoKHR( VkDeviceGroupSwapchainCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupSwapchainCreateInfoKHR ) );
+ }
+
+ DeviceGroupSwapchainCreateInfoKHR& operator=( VkDeviceGroupSwapchainCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupSwapchainCreateInfoKHR ) );
+ return *this;
+ }
+ DeviceGroupSwapchainCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGroupSwapchainCreateInfoKHR& setModes( DeviceGroupPresentModeFlagsKHR modes_ )
+ {
+ modes = modes_;
+ return *this;
+ }
+
+ operator const VkDeviceGroupSwapchainCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupSwapchainCreateInfoKHR*>(this);
+ }
+
+ bool operator==( DeviceGroupSwapchainCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( modes == rhs.modes );
+ }
+
+ bool operator!=( DeviceGroupSwapchainCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupSwapchainCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ DeviceGroupPresentModeFlagsKHR modes;
+ };
+ static_assert( sizeof( DeviceGroupSwapchainCreateInfoKHR ) == sizeof( VkDeviceGroupSwapchainCreateInfoKHR ), "struct and wrapper have different size!" );
+
+ enum class SwapchainCreateFlagBitsKHR
+ {
+ eSplitInstanceBindRegions = VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR,
+ eProtected = VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR
+ };
+
+ using SwapchainCreateFlagsKHR = Flags<SwapchainCreateFlagBitsKHR, VkSwapchainCreateFlagsKHR>;
+
+ VULKAN_HPP_INLINE SwapchainCreateFlagsKHR operator|( SwapchainCreateFlagBitsKHR bit0, SwapchainCreateFlagBitsKHR bit1 )
+ {
+ return SwapchainCreateFlagsKHR( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SwapchainCreateFlagsKHR operator~( SwapchainCreateFlagBitsKHR bits )
+ {
+ return ~( SwapchainCreateFlagsKHR( bits ) );
+ }
+
+ template <> struct FlagTraits<SwapchainCreateFlagBitsKHR>
+ {
+ enum
+ {
+ allFlags = VkFlags(SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions) | VkFlags(SwapchainCreateFlagBitsKHR::eProtected)
+ };
+ };
+
+ struct SwapchainCreateInfoKHR
+ {
+ SwapchainCreateInfoKHR( SwapchainCreateFlagsKHR flags_ = SwapchainCreateFlagsKHR(), SurfaceKHR surface_ = SurfaceKHR(), uint32_t minImageCount_ = 0, Format imageFormat_ = Format::eUndefined, ColorSpaceKHR imageColorSpace_ = ColorSpaceKHR::eSrgbNonlinear, Extent2D imageExtent_ = Extent2D(), uint32_t imageArrayLayers_ = 0, ImageUsageFlags imageUsage_ = ImageUsageFlags(), SharingMode imageSharingMode_ = SharingMode::eExclusive, uint32_t queueFamilyIndexCount_ = 0, const uint32_t* pQueueFamilyIndices_ = nullptr, SurfaceTransformFlagBitsKHR preTransform_ = SurfaceTransformFlagBitsKHR::eIdentity, CompositeAlphaFlagBitsKHR compositeAlpha_ = CompositeAlphaFlagBitsKHR::eOpaque, PresentModeKHR presentMode_ = PresentModeKHR::eImmediate, Bool32 clipped_ = 0, SwapchainKHR oldSwapchain_ = SwapchainKHR() )
+ : flags( flags_ )
+ , surface( surface_ )
+ , minImageCount( minImageCount_ )
+ , imageFormat( imageFormat_ )
+ , imageColorSpace( imageColorSpace_ )
+ , imageExtent( imageExtent_ )
+ , imageArrayLayers( imageArrayLayers_ )
+ , imageUsage( imageUsage_ )
+ , imageSharingMode( imageSharingMode_ )
+ , queueFamilyIndexCount( queueFamilyIndexCount_ )
+ , pQueueFamilyIndices( pQueueFamilyIndices_ )
+ , preTransform( preTransform_ )
+ , compositeAlpha( compositeAlpha_ )
+ , presentMode( presentMode_ )
+ , clipped( clipped_ )
+ , oldSwapchain( oldSwapchain_ )
+ {
+ }
+
+ SwapchainCreateInfoKHR( VkSwapchainCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SwapchainCreateInfoKHR ) );
+ }
+
+ SwapchainCreateInfoKHR& operator=( VkSwapchainCreateInfoKHR const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SwapchainCreateInfoKHR ) );
+ return *this;
+ }
+ SwapchainCreateInfoKHR& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setFlags( SwapchainCreateFlagsKHR flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setSurface( SurfaceKHR surface_ )
+ {
+ surface = surface_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setMinImageCount( uint32_t minImageCount_ )
+ {
+ minImageCount = minImageCount_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setImageFormat( Format imageFormat_ )
+ {
+ imageFormat = imageFormat_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setImageColorSpace( ColorSpaceKHR imageColorSpace_ )
+ {
+ imageColorSpace = imageColorSpace_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setImageExtent( Extent2D imageExtent_ )
+ {
+ imageExtent = imageExtent_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setImageArrayLayers( uint32_t imageArrayLayers_ )
+ {
+ imageArrayLayers = imageArrayLayers_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setImageUsage( ImageUsageFlags imageUsage_ )
+ {
+ imageUsage = imageUsage_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setImageSharingMode( SharingMode imageSharingMode_ )
+ {
+ imageSharingMode = imageSharingMode_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ )
+ {
+ queueFamilyIndexCount = queueFamilyIndexCount_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ )
+ {
+ pQueueFamilyIndices = pQueueFamilyIndices_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setPreTransform( SurfaceTransformFlagBitsKHR preTransform_ )
+ {
+ preTransform = preTransform_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setCompositeAlpha( CompositeAlphaFlagBitsKHR compositeAlpha_ )
+ {
+ compositeAlpha = compositeAlpha_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setPresentMode( PresentModeKHR presentMode_ )
+ {
+ presentMode = presentMode_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setClipped( Bool32 clipped_ )
+ {
+ clipped = clipped_;
+ return *this;
+ }
+
+ SwapchainCreateInfoKHR& setOldSwapchain( SwapchainKHR oldSwapchain_ )
+ {
+ oldSwapchain = oldSwapchain_;
+ return *this;
+ }
+
+ operator const VkSwapchainCreateInfoKHR&() const
+ {
+ return *reinterpret_cast<const VkSwapchainCreateInfoKHR*>(this);
+ }
+
+ bool operator==( SwapchainCreateInfoKHR const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( surface == rhs.surface )
+ && ( minImageCount == rhs.minImageCount )
+ && ( imageFormat == rhs.imageFormat )
+ && ( imageColorSpace == rhs.imageColorSpace )
+ && ( imageExtent == rhs.imageExtent )
+ && ( imageArrayLayers == rhs.imageArrayLayers )
+ && ( imageUsage == rhs.imageUsage )
+ && ( imageSharingMode == rhs.imageSharingMode )
+ && ( queueFamilyIndexCount == rhs.queueFamilyIndexCount )
+ && ( pQueueFamilyIndices == rhs.pQueueFamilyIndices )
+ && ( preTransform == rhs.preTransform )
+ && ( compositeAlpha == rhs.compositeAlpha )
+ && ( presentMode == rhs.presentMode )
+ && ( clipped == rhs.clipped )
+ && ( oldSwapchain == rhs.oldSwapchain );
+ }
+
+ bool operator!=( SwapchainCreateInfoKHR const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSwapchainCreateInfoKHR;
+
+ public:
+ const void* pNext = nullptr;
+ SwapchainCreateFlagsKHR flags;
+ SurfaceKHR surface;
+ uint32_t minImageCount;
+ Format imageFormat;
+ ColorSpaceKHR imageColorSpace;
+ Extent2D imageExtent;
+ uint32_t imageArrayLayers;
+ ImageUsageFlags imageUsage;
+ SharingMode imageSharingMode;
+ uint32_t queueFamilyIndexCount;
+ const uint32_t* pQueueFamilyIndices;
+ SurfaceTransformFlagBitsKHR preTransform;
+ CompositeAlphaFlagBitsKHR compositeAlpha;
+ PresentModeKHR presentMode;
+ Bool32 clipped;
+ SwapchainKHR oldSwapchain;
+ };
+ static_assert( sizeof( SwapchainCreateInfoKHR ) == sizeof( VkSwapchainCreateInfoKHR ), "struct and wrapper have different size!" );
+
+ enum class ViewportCoordinateSwizzleNV
+ {
+ ePositiveX = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV,
+ eNegativeX = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV,
+ ePositiveY = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV,
+ eNegativeY = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV,
+ ePositiveZ = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV,
+ eNegativeZ = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV,
+ ePositiveW = VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV,
+ eNegativeW = VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV
+ };
+
+ struct ViewportSwizzleNV
+ {
+ ViewportSwizzleNV( ViewportCoordinateSwizzleNV x_ = ViewportCoordinateSwizzleNV::ePositiveX, ViewportCoordinateSwizzleNV y_ = ViewportCoordinateSwizzleNV::ePositiveX, ViewportCoordinateSwizzleNV z_ = ViewportCoordinateSwizzleNV::ePositiveX, ViewportCoordinateSwizzleNV w_ = ViewportCoordinateSwizzleNV::ePositiveX )
+ : x( x_ )
+ , y( y_ )
+ , z( z_ )
+ , w( w_ )
+ {
+ }
+
+ ViewportSwizzleNV( VkViewportSwizzleNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ViewportSwizzleNV ) );
+ }
+
+ ViewportSwizzleNV& operator=( VkViewportSwizzleNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( ViewportSwizzleNV ) );
+ return *this;
+ }
+ ViewportSwizzleNV& setX( ViewportCoordinateSwizzleNV x_ )
+ {
+ x = x_;
+ return *this;
+ }
+
+ ViewportSwizzleNV& setY( ViewportCoordinateSwizzleNV y_ )
+ {
+ y = y_;
+ return *this;
+ }
+
+ ViewportSwizzleNV& setZ( ViewportCoordinateSwizzleNV z_ )
+ {
+ z = z_;
+ return *this;
+ }
+
+ ViewportSwizzleNV& setW( ViewportCoordinateSwizzleNV w_ )
+ {
+ w = w_;
+ return *this;
+ }
+
+ operator const VkViewportSwizzleNV&() const
+ {
+ return *reinterpret_cast<const VkViewportSwizzleNV*>(this);
+ }
+
+ bool operator==( ViewportSwizzleNV const& rhs ) const
+ {
+ return ( x == rhs.x )
+ && ( y == rhs.y )
+ && ( z == rhs.z )
+ && ( w == rhs.w );
+ }
+
+ bool operator!=( ViewportSwizzleNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ ViewportCoordinateSwizzleNV x;
+ ViewportCoordinateSwizzleNV y;
+ ViewportCoordinateSwizzleNV z;
+ ViewportCoordinateSwizzleNV w;
+ };
+ static_assert( sizeof( ViewportSwizzleNV ) == sizeof( VkViewportSwizzleNV ), "struct and wrapper have different size!" );
+
+ struct PipelineViewportSwizzleStateCreateInfoNV
+ {
+ PipelineViewportSwizzleStateCreateInfoNV( PipelineViewportSwizzleStateCreateFlagsNV flags_ = PipelineViewportSwizzleStateCreateFlagsNV(), uint32_t viewportCount_ = 0, const ViewportSwizzleNV* pViewportSwizzles_ = nullptr )
+ : flags( flags_ )
+ , viewportCount( viewportCount_ )
+ , pViewportSwizzles( pViewportSwizzles_ )
+ {
+ }
+
+ PipelineViewportSwizzleStateCreateInfoNV( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineViewportSwizzleStateCreateInfoNV ) );
+ }
+
+ PipelineViewportSwizzleStateCreateInfoNV& operator=( VkPipelineViewportSwizzleStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineViewportSwizzleStateCreateInfoNV ) );
+ return *this;
+ }
+ PipelineViewportSwizzleStateCreateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineViewportSwizzleStateCreateInfoNV& setFlags( PipelineViewportSwizzleStateCreateFlagsNV flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineViewportSwizzleStateCreateInfoNV& setViewportCount( uint32_t viewportCount_ )
+ {
+ viewportCount = viewportCount_;
+ return *this;
+ }
+
+ PipelineViewportSwizzleStateCreateInfoNV& setPViewportSwizzles( const ViewportSwizzleNV* pViewportSwizzles_ )
+ {
+ pViewportSwizzles = pViewportSwizzles_;
+ return *this;
+ }
+
+ operator const VkPipelineViewportSwizzleStateCreateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkPipelineViewportSwizzleStateCreateInfoNV*>(this);
+ }
+
+ bool operator==( PipelineViewportSwizzleStateCreateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( viewportCount == rhs.viewportCount )
+ && ( pViewportSwizzles == rhs.pViewportSwizzles );
+ }
+
+ bool operator!=( PipelineViewportSwizzleStateCreateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineViewportSwizzleStateCreateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineViewportSwizzleStateCreateFlagsNV flags;
+ uint32_t viewportCount;
+ const ViewportSwizzleNV* pViewportSwizzles;
+ };
+ static_assert( sizeof( PipelineViewportSwizzleStateCreateInfoNV ) == sizeof( VkPipelineViewportSwizzleStateCreateInfoNV ), "struct and wrapper have different size!" );
+
+ enum class DiscardRectangleModeEXT
+ {
+ eInclusive = VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT,
+ eExclusive = VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT
+ };
+
+ struct PipelineDiscardRectangleStateCreateInfoEXT
+ {
+ PipelineDiscardRectangleStateCreateInfoEXT( PipelineDiscardRectangleStateCreateFlagsEXT flags_ = PipelineDiscardRectangleStateCreateFlagsEXT(), DiscardRectangleModeEXT discardRectangleMode_ = DiscardRectangleModeEXT::eInclusive, uint32_t discardRectangleCount_ = 0, const Rect2D* pDiscardRectangles_ = nullptr )
+ : flags( flags_ )
+ , discardRectangleMode( discardRectangleMode_ )
+ , discardRectangleCount( discardRectangleCount_ )
+ , pDiscardRectangles( pDiscardRectangles_ )
+ {
+ }
+
+ PipelineDiscardRectangleStateCreateInfoEXT( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) );
+ }
+
+ PipelineDiscardRectangleStateCreateInfoEXT& operator=( VkPipelineDiscardRectangleStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) );
+ return *this;
+ }
+ PipelineDiscardRectangleStateCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineDiscardRectangleStateCreateInfoEXT& setFlags( PipelineDiscardRectangleStateCreateFlagsEXT flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineDiscardRectangleStateCreateInfoEXT& setDiscardRectangleMode( DiscardRectangleModeEXT discardRectangleMode_ )
+ {
+ discardRectangleMode = discardRectangleMode_;
+ return *this;
+ }
+
+ PipelineDiscardRectangleStateCreateInfoEXT& setDiscardRectangleCount( uint32_t discardRectangleCount_ )
+ {
+ discardRectangleCount = discardRectangleCount_;
+ return *this;
+ }
+
+ PipelineDiscardRectangleStateCreateInfoEXT& setPDiscardRectangles( const Rect2D* pDiscardRectangles_ )
+ {
+ pDiscardRectangles = pDiscardRectangles_;
+ return *this;
+ }
+
+ operator const VkPipelineDiscardRectangleStateCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkPipelineDiscardRectangleStateCreateInfoEXT*>(this);
+ }
+
+ bool operator==( PipelineDiscardRectangleStateCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( discardRectangleMode == rhs.discardRectangleMode )
+ && ( discardRectangleCount == rhs.discardRectangleCount )
+ && ( pDiscardRectangles == rhs.pDiscardRectangles );
+ }
+
+ bool operator!=( PipelineDiscardRectangleStateCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineDiscardRectangleStateCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineDiscardRectangleStateCreateFlagsEXT flags;
+ DiscardRectangleModeEXT discardRectangleMode;
+ uint32_t discardRectangleCount;
+ const Rect2D* pDiscardRectangles;
+ };
+ static_assert( sizeof( PipelineDiscardRectangleStateCreateInfoEXT ) == sizeof( VkPipelineDiscardRectangleStateCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class SubpassDescriptionFlagBits
+ {
+ ePerViewAttributesNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX,
+ ePerViewPositionXOnlyNVX = VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX
+ };
+
+ using SubpassDescriptionFlags = Flags<SubpassDescriptionFlagBits, VkSubpassDescriptionFlags>;
+
+ VULKAN_HPP_INLINE SubpassDescriptionFlags operator|( SubpassDescriptionFlagBits bit0, SubpassDescriptionFlagBits bit1 )
+ {
+ return SubpassDescriptionFlags( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE SubpassDescriptionFlags operator~( SubpassDescriptionFlagBits bits )
+ {
+ return ~( SubpassDescriptionFlags( bits ) );
+ }
+
+ template <> struct FlagTraits<SubpassDescriptionFlagBits>
+ {
+ enum
+ {
+ allFlags = VkFlags(SubpassDescriptionFlagBits::ePerViewAttributesNVX) | VkFlags(SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX)
+ };
+ };
+
+ struct SubpassDescription
+ {
+ SubpassDescription( SubpassDescriptionFlags flags_ = SubpassDescriptionFlags(), PipelineBindPoint pipelineBindPoint_ = PipelineBindPoint::eGraphics, uint32_t inputAttachmentCount_ = 0, const AttachmentReference* pInputAttachments_ = nullptr, uint32_t colorAttachmentCount_ = 0, const AttachmentReference* pColorAttachments_ = nullptr, const AttachmentReference* pResolveAttachments_ = nullptr, const AttachmentReference* pDepthStencilAttachment_ = nullptr, uint32_t preserveAttachmentCount_ = 0, const uint32_t* pPreserveAttachments_ = nullptr )
+ : flags( flags_ )
+ , pipelineBindPoint( pipelineBindPoint_ )
+ , inputAttachmentCount( inputAttachmentCount_ )
+ , pInputAttachments( pInputAttachments_ )
+ , colorAttachmentCount( colorAttachmentCount_ )
+ , pColorAttachments( pColorAttachments_ )
+ , pResolveAttachments( pResolveAttachments_ )
+ , pDepthStencilAttachment( pDepthStencilAttachment_ )
+ , preserveAttachmentCount( preserveAttachmentCount_ )
+ , pPreserveAttachments( pPreserveAttachments_ )
+ {
+ }
+
+ SubpassDescription( VkSubpassDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubpassDescription ) );
+ }
+
+ SubpassDescription& operator=( VkSubpassDescription const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubpassDescription ) );
+ return *this;
+ }
+ SubpassDescription& setFlags( SubpassDescriptionFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ SubpassDescription& setPipelineBindPoint( PipelineBindPoint pipelineBindPoint_ )
+ {
+ pipelineBindPoint = pipelineBindPoint_;
+ return *this;
+ }
+
+ SubpassDescription& setInputAttachmentCount( uint32_t inputAttachmentCount_ )
+ {
+ inputAttachmentCount = inputAttachmentCount_;
+ return *this;
+ }
+
+ SubpassDescription& setPInputAttachments( const AttachmentReference* pInputAttachments_ )
+ {
+ pInputAttachments = pInputAttachments_;
+ return *this;
+ }
+
+ SubpassDescription& setColorAttachmentCount( uint32_t colorAttachmentCount_ )
+ {
+ colorAttachmentCount = colorAttachmentCount_;
+ return *this;
+ }
+
+ SubpassDescription& setPColorAttachments( const AttachmentReference* pColorAttachments_ )
+ {
+ pColorAttachments = pColorAttachments_;
+ return *this;
+ }
+
+ SubpassDescription& setPResolveAttachments( const AttachmentReference* pResolveAttachments_ )
+ {
+ pResolveAttachments = pResolveAttachments_;
+ return *this;
+ }
+
+ SubpassDescription& setPDepthStencilAttachment( const AttachmentReference* pDepthStencilAttachment_ )
+ {
+ pDepthStencilAttachment = pDepthStencilAttachment_;
+ return *this;
+ }
+
+ SubpassDescription& setPreserveAttachmentCount( uint32_t preserveAttachmentCount_ )
+ {
+ preserveAttachmentCount = preserveAttachmentCount_;
+ return *this;
+ }
+
+ SubpassDescription& setPPreserveAttachments( const uint32_t* pPreserveAttachments_ )
+ {
+ pPreserveAttachments = pPreserveAttachments_;
+ return *this;
+ }
+
+ operator const VkSubpassDescription&() const
+ {
+ return *reinterpret_cast<const VkSubpassDescription*>(this);
+ }
+
+ bool operator==( SubpassDescription const& rhs ) const
+ {
+ return ( flags == rhs.flags )
+ && ( pipelineBindPoint == rhs.pipelineBindPoint )
+ && ( inputAttachmentCount == rhs.inputAttachmentCount )
+ && ( pInputAttachments == rhs.pInputAttachments )
+ && ( colorAttachmentCount == rhs.colorAttachmentCount )
+ && ( pColorAttachments == rhs.pColorAttachments )
+ && ( pResolveAttachments == rhs.pResolveAttachments )
+ && ( pDepthStencilAttachment == rhs.pDepthStencilAttachment )
+ && ( preserveAttachmentCount == rhs.preserveAttachmentCount )
+ && ( pPreserveAttachments == rhs.pPreserveAttachments );
+ }
+
+ bool operator!=( SubpassDescription const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ SubpassDescriptionFlags flags;
+ PipelineBindPoint pipelineBindPoint;
+ uint32_t inputAttachmentCount;
+ const AttachmentReference* pInputAttachments;
+ uint32_t colorAttachmentCount;
+ const AttachmentReference* pColorAttachments;
+ const AttachmentReference* pResolveAttachments;
+ const AttachmentReference* pDepthStencilAttachment;
+ uint32_t preserveAttachmentCount;
+ const uint32_t* pPreserveAttachments;
+ };
+ static_assert( sizeof( SubpassDescription ) == sizeof( VkSubpassDescription ), "struct and wrapper have different size!" );
+
+ struct RenderPassCreateInfo
+ {
+ RenderPassCreateInfo( RenderPassCreateFlags flags_ = RenderPassCreateFlags(), uint32_t attachmentCount_ = 0, const AttachmentDescription* pAttachments_ = nullptr, uint32_t subpassCount_ = 0, const SubpassDescription* pSubpasses_ = nullptr, uint32_t dependencyCount_ = 0, const SubpassDependency* pDependencies_ = nullptr )
+ : flags( flags_ )
+ , attachmentCount( attachmentCount_ )
+ , pAttachments( pAttachments_ )
+ , subpassCount( subpassCount_ )
+ , pSubpasses( pSubpasses_ )
+ , dependencyCount( dependencyCount_ )
+ , pDependencies( pDependencies_ )
+ {
+ }
+
+ RenderPassCreateInfo( VkRenderPassCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassCreateInfo ) );
+ }
+
+ RenderPassCreateInfo& operator=( VkRenderPassCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( RenderPassCreateInfo ) );
+ return *this;
+ }
+ RenderPassCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ RenderPassCreateInfo& setFlags( RenderPassCreateFlags flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ RenderPassCreateInfo& setAttachmentCount( uint32_t attachmentCount_ )
+ {
+ attachmentCount = attachmentCount_;
+ return *this;
+ }
+
+ RenderPassCreateInfo& setPAttachments( const AttachmentDescription* pAttachments_ )
+ {
+ pAttachments = pAttachments_;
+ return *this;
+ }
+
+ RenderPassCreateInfo& setSubpassCount( uint32_t subpassCount_ )
+ {
+ subpassCount = subpassCount_;
+ return *this;
+ }
+
+ RenderPassCreateInfo& setPSubpasses( const SubpassDescription* pSubpasses_ )
+ {
+ pSubpasses = pSubpasses_;
+ return *this;
+ }
+
+ RenderPassCreateInfo& setDependencyCount( uint32_t dependencyCount_ )
+ {
+ dependencyCount = dependencyCount_;
+ return *this;
+ }
+
+ RenderPassCreateInfo& setPDependencies( const SubpassDependency* pDependencies_ )
+ {
+ pDependencies = pDependencies_;
+ return *this;
+ }
+
+ operator const VkRenderPassCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkRenderPassCreateInfo*>(this);
+ }
+
+ bool operator==( RenderPassCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( attachmentCount == rhs.attachmentCount )
+ && ( pAttachments == rhs.pAttachments )
+ && ( subpassCount == rhs.subpassCount )
+ && ( pSubpasses == rhs.pSubpasses )
+ && ( dependencyCount == rhs.dependencyCount )
+ && ( pDependencies == rhs.pDependencies );
+ }
+
+ bool operator!=( RenderPassCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eRenderPassCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ RenderPassCreateFlags flags;
+ uint32_t attachmentCount;
+ const AttachmentDescription* pAttachments;
+ uint32_t subpassCount;
+ const SubpassDescription* pSubpasses;
+ uint32_t dependencyCount;
+ const SubpassDependency* pDependencies;
+ };
+ static_assert( sizeof( RenderPassCreateInfo ) == sizeof( VkRenderPassCreateInfo ), "struct and wrapper have different size!" );
+
+ enum class PointClippingBehavior
+ {
+ eAllClipPlanes = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES,
+ eAllClipPlanesKHR = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES,
+ eUserClipPlanesOnly = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY,
+ eUserClipPlanesOnlyKHR = VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY
+ };
+
+ struct PhysicalDevicePointClippingProperties
+ {
+ operator const VkPhysicalDevicePointClippingProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDevicePointClippingProperties*>(this);
+ }
+
+ bool operator==( PhysicalDevicePointClippingProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( pointClippingBehavior == rhs.pointClippingBehavior );
+ }
+
+ bool operator!=( PhysicalDevicePointClippingProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDevicePointClippingProperties;
+
+ public:
+ void* pNext = nullptr;
+ PointClippingBehavior pointClippingBehavior;
+ };
+ static_assert( sizeof( PhysicalDevicePointClippingProperties ) == sizeof( VkPhysicalDevicePointClippingProperties ), "struct and wrapper have different size!" );
+
+ using PhysicalDevicePointClippingPropertiesKHR = PhysicalDevicePointClippingProperties;
+
+ enum class SamplerReductionModeEXT
+ {
+ eWeightedAverage = VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT,
+ eMin = VK_SAMPLER_REDUCTION_MODE_MIN_EXT,
+ eMax = VK_SAMPLER_REDUCTION_MODE_MAX_EXT
+ };
+
+ struct SamplerReductionModeCreateInfoEXT
+ {
+ SamplerReductionModeCreateInfoEXT( SamplerReductionModeEXT reductionMode_ = SamplerReductionModeEXT::eWeightedAverage )
+ : reductionMode( reductionMode_ )
+ {
+ }
+
+ SamplerReductionModeCreateInfoEXT( VkSamplerReductionModeCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerReductionModeCreateInfoEXT ) );
+ }
+
+ SamplerReductionModeCreateInfoEXT& operator=( VkSamplerReductionModeCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerReductionModeCreateInfoEXT ) );
+ return *this;
+ }
+ SamplerReductionModeCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SamplerReductionModeCreateInfoEXT& setReductionMode( SamplerReductionModeEXT reductionMode_ )
+ {
+ reductionMode = reductionMode_;
+ return *this;
+ }
+
+ operator const VkSamplerReductionModeCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkSamplerReductionModeCreateInfoEXT*>(this);
+ }
+
+ bool operator==( SamplerReductionModeCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( reductionMode == rhs.reductionMode );
+ }
+
+ bool operator!=( SamplerReductionModeCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSamplerReductionModeCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ SamplerReductionModeEXT reductionMode;
+ };
+ static_assert( sizeof( SamplerReductionModeCreateInfoEXT ) == sizeof( VkSamplerReductionModeCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class TessellationDomainOrigin
+ {
+ eUpperLeft = VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT,
+ eUpperLeftKHR = VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT,
+ eLowerLeft = VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT,
+ eLowerLeftKHR = VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT
+ };
+
+ struct PipelineTessellationDomainOriginStateCreateInfo
+ {
+ PipelineTessellationDomainOriginStateCreateInfo( TessellationDomainOrigin domainOrigin_ = TessellationDomainOrigin::eUpperLeft )
+ : domainOrigin( domainOrigin_ )
+ {
+ }
+
+ PipelineTessellationDomainOriginStateCreateInfo( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineTessellationDomainOriginStateCreateInfo ) );
+ }
+
+ PipelineTessellationDomainOriginStateCreateInfo& operator=( VkPipelineTessellationDomainOriginStateCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineTessellationDomainOriginStateCreateInfo ) );
+ return *this;
+ }
+ PipelineTessellationDomainOriginStateCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineTessellationDomainOriginStateCreateInfo& setDomainOrigin( TessellationDomainOrigin domainOrigin_ )
+ {
+ domainOrigin = domainOrigin_;
+ return *this;
+ }
+
+ operator const VkPipelineTessellationDomainOriginStateCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkPipelineTessellationDomainOriginStateCreateInfo*>(this);
+ }
+
+ bool operator==( PipelineTessellationDomainOriginStateCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( domainOrigin == rhs.domainOrigin );
+ }
+
+ bool operator!=( PipelineTessellationDomainOriginStateCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineTessellationDomainOriginStateCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ TessellationDomainOrigin domainOrigin;
+ };
+ static_assert( sizeof( PipelineTessellationDomainOriginStateCreateInfo ) == sizeof( VkPipelineTessellationDomainOriginStateCreateInfo ), "struct and wrapper have different size!" );
+
+ using PipelineTessellationDomainOriginStateCreateInfoKHR = PipelineTessellationDomainOriginStateCreateInfo;
+
+ enum class SamplerYcbcrModelConversion
+ {
+ eRgbIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY,
+ eRgbIdentityKHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY,
+ eYcbcrIdentity = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY,
+ eYcbcrIdentityKHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY,
+ eYcbcr709 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709,
+ eYcbcr709KHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709,
+ eYcbcr601 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601,
+ eYcbcr601KHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601,
+ eYcbcr2020 = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020,
+ eYcbcr2020KHR = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020
+ };
+
+ enum class SamplerYcbcrRange
+ {
+ eItuFull = VK_SAMPLER_YCBCR_RANGE_ITU_FULL,
+ eItuFullKHR = VK_SAMPLER_YCBCR_RANGE_ITU_FULL,
+ eItuNarrow = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW,
+ eItuNarrowKHR = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW
+ };
+
+ enum class ChromaLocation
+ {
+ eCositedEven = VK_CHROMA_LOCATION_COSITED_EVEN,
+ eCositedEvenKHR = VK_CHROMA_LOCATION_COSITED_EVEN,
+ eMidpoint = VK_CHROMA_LOCATION_MIDPOINT,
+ eMidpointKHR = VK_CHROMA_LOCATION_MIDPOINT
+ };
+
+ struct SamplerYcbcrConversionCreateInfo
+ {
+ SamplerYcbcrConversionCreateInfo( Format format_ = Format::eUndefined, SamplerYcbcrModelConversion ycbcrModel_ = SamplerYcbcrModelConversion::eRgbIdentity, SamplerYcbcrRange ycbcrRange_ = SamplerYcbcrRange::eItuFull, ComponentMapping components_ = ComponentMapping(), ChromaLocation xChromaOffset_ = ChromaLocation::eCositedEven, ChromaLocation yChromaOffset_ = ChromaLocation::eCositedEven, Filter chromaFilter_ = Filter::eNearest, Bool32 forceExplicitReconstruction_ = 0 )
+ : format( format_ )
+ , ycbcrModel( ycbcrModel_ )
+ , ycbcrRange( ycbcrRange_ )
+ , components( components_ )
+ , xChromaOffset( xChromaOffset_ )
+ , yChromaOffset( yChromaOffset_ )
+ , chromaFilter( chromaFilter_ )
+ , forceExplicitReconstruction( forceExplicitReconstruction_ )
+ {
+ }
+
+ SamplerYcbcrConversionCreateInfo( VkSamplerYcbcrConversionCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerYcbcrConversionCreateInfo ) );
+ }
+
+ SamplerYcbcrConversionCreateInfo& operator=( VkSamplerYcbcrConversionCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SamplerYcbcrConversionCreateInfo ) );
+ return *this;
+ }
+ SamplerYcbcrConversionCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setFormat( Format format_ )
+ {
+ format = format_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setYcbcrModel( SamplerYcbcrModelConversion ycbcrModel_ )
+ {
+ ycbcrModel = ycbcrModel_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setYcbcrRange( SamplerYcbcrRange ycbcrRange_ )
+ {
+ ycbcrRange = ycbcrRange_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setComponents( ComponentMapping components_ )
+ {
+ components = components_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setXChromaOffset( ChromaLocation xChromaOffset_ )
+ {
+ xChromaOffset = xChromaOffset_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setYChromaOffset( ChromaLocation yChromaOffset_ )
+ {
+ yChromaOffset = yChromaOffset_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setChromaFilter( Filter chromaFilter_ )
+ {
+ chromaFilter = chromaFilter_;
+ return *this;
+ }
+
+ SamplerYcbcrConversionCreateInfo& setForceExplicitReconstruction( Bool32 forceExplicitReconstruction_ )
+ {
+ forceExplicitReconstruction = forceExplicitReconstruction_;
+ return *this;
+ }
+
+ operator const VkSamplerYcbcrConversionCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>(this);
+ }
+
+ bool operator==( SamplerYcbcrConversionCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( format == rhs.format )
+ && ( ycbcrModel == rhs.ycbcrModel )
+ && ( ycbcrRange == rhs.ycbcrRange )
+ && ( components == rhs.components )
+ && ( xChromaOffset == rhs.xChromaOffset )
+ && ( yChromaOffset == rhs.yChromaOffset )
+ && ( chromaFilter == rhs.chromaFilter )
+ && ( forceExplicitReconstruction == rhs.forceExplicitReconstruction );
+ }
+
+ bool operator!=( SamplerYcbcrConversionCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSamplerYcbcrConversionCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ Format format;
+ SamplerYcbcrModelConversion ycbcrModel;
+ SamplerYcbcrRange ycbcrRange;
+ ComponentMapping components;
+ ChromaLocation xChromaOffset;
+ ChromaLocation yChromaOffset;
+ Filter chromaFilter;
+ Bool32 forceExplicitReconstruction;
+ };
+ static_assert( sizeof( SamplerYcbcrConversionCreateInfo ) == sizeof( VkSamplerYcbcrConversionCreateInfo ), "struct and wrapper have different size!" );
+
+ using SamplerYcbcrConversionCreateInfoKHR = SamplerYcbcrConversionCreateInfo;
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ struct AndroidHardwareBufferFormatPropertiesANDROID
+ {
+ operator const VkAndroidHardwareBufferFormatPropertiesANDROID&() const
+ {
+ return *reinterpret_cast<const VkAndroidHardwareBufferFormatPropertiesANDROID*>(this);
+ }
+
+ bool operator==( AndroidHardwareBufferFormatPropertiesANDROID const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( format == rhs.format )
+ && ( externalFormat == rhs.externalFormat )
+ && ( formatFeatures == rhs.formatFeatures )
+ && ( samplerYcbcrConversionComponents == rhs.samplerYcbcrConversionComponents )
+ && ( suggestedYcbcrModel == rhs.suggestedYcbcrModel )
+ && ( suggestedYcbcrRange == rhs.suggestedYcbcrRange )
+ && ( suggestedXChromaOffset == rhs.suggestedXChromaOffset )
+ && ( suggestedYChromaOffset == rhs.suggestedYChromaOffset );
+ }
+
+ bool operator!=( AndroidHardwareBufferFormatPropertiesANDROID const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eAndroidHardwareBufferFormatPropertiesANDROID;
+
+ public:
+ void* pNext = nullptr;
+ Format format;
+ uint64_t externalFormat;
+ FormatFeatureFlags formatFeatures;
+ ComponentMapping samplerYcbcrConversionComponents;
+ SamplerYcbcrModelConversion suggestedYcbcrModel;
+ SamplerYcbcrRange suggestedYcbcrRange;
+ ChromaLocation suggestedXChromaOffset;
+ ChromaLocation suggestedYChromaOffset;
+ };
+ static_assert( sizeof( AndroidHardwareBufferFormatPropertiesANDROID ) == sizeof( VkAndroidHardwareBufferFormatPropertiesANDROID ), "struct and wrapper have different size!" );
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+ enum class BlendOverlapEXT
+ {
+ eUncorrelated = VK_BLEND_OVERLAP_UNCORRELATED_EXT,
+ eDisjoint = VK_BLEND_OVERLAP_DISJOINT_EXT,
+ eConjoint = VK_BLEND_OVERLAP_CONJOINT_EXT
+ };
+
+ struct PipelineColorBlendAdvancedStateCreateInfoEXT
+ {
+ PipelineColorBlendAdvancedStateCreateInfoEXT( Bool32 srcPremultiplied_ = 0, Bool32 dstPremultiplied_ = 0, BlendOverlapEXT blendOverlap_ = BlendOverlapEXT::eUncorrelated )
+ : srcPremultiplied( srcPremultiplied_ )
+ , dstPremultiplied( dstPremultiplied_ )
+ , blendOverlap( blendOverlap_ )
+ {
+ }
+
+ PipelineColorBlendAdvancedStateCreateInfoEXT( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) );
+ }
+
+ PipelineColorBlendAdvancedStateCreateInfoEXT& operator=( VkPipelineColorBlendAdvancedStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) );
+ return *this;
+ }
+ PipelineColorBlendAdvancedStateCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineColorBlendAdvancedStateCreateInfoEXT& setSrcPremultiplied( Bool32 srcPremultiplied_ )
+ {
+ srcPremultiplied = srcPremultiplied_;
+ return *this;
+ }
+
+ PipelineColorBlendAdvancedStateCreateInfoEXT& setDstPremultiplied( Bool32 dstPremultiplied_ )
+ {
+ dstPremultiplied = dstPremultiplied_;
+ return *this;
+ }
+
+ PipelineColorBlendAdvancedStateCreateInfoEXT& setBlendOverlap( BlendOverlapEXT blendOverlap_ )
+ {
+ blendOverlap = blendOverlap_;
+ return *this;
+ }
+
+ operator const VkPipelineColorBlendAdvancedStateCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkPipelineColorBlendAdvancedStateCreateInfoEXT*>(this);
+ }
+
+ bool operator==( PipelineColorBlendAdvancedStateCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( srcPremultiplied == rhs.srcPremultiplied )
+ && ( dstPremultiplied == rhs.dstPremultiplied )
+ && ( blendOverlap == rhs.blendOverlap );
+ }
+
+ bool operator!=( PipelineColorBlendAdvancedStateCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ Bool32 srcPremultiplied;
+ Bool32 dstPremultiplied;
+ BlendOverlapEXT blendOverlap;
+ };
+ static_assert( sizeof( PipelineColorBlendAdvancedStateCreateInfoEXT ) == sizeof( VkPipelineColorBlendAdvancedStateCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class CoverageModulationModeNV
+ {
+ eNone = VK_COVERAGE_MODULATION_MODE_NONE_NV,
+ eRgb = VK_COVERAGE_MODULATION_MODE_RGB_NV,
+ eAlpha = VK_COVERAGE_MODULATION_MODE_ALPHA_NV,
+ eRgba = VK_COVERAGE_MODULATION_MODE_RGBA_NV
+ };
+
+ struct PipelineCoverageModulationStateCreateInfoNV
+ {
+ PipelineCoverageModulationStateCreateInfoNV( PipelineCoverageModulationStateCreateFlagsNV flags_ = PipelineCoverageModulationStateCreateFlagsNV(), CoverageModulationModeNV coverageModulationMode_ = CoverageModulationModeNV::eNone, Bool32 coverageModulationTableEnable_ = 0, uint32_t coverageModulationTableCount_ = 0, const float* pCoverageModulationTable_ = nullptr )
+ : flags( flags_ )
+ , coverageModulationMode( coverageModulationMode_ )
+ , coverageModulationTableEnable( coverageModulationTableEnable_ )
+ , coverageModulationTableCount( coverageModulationTableCount_ )
+ , pCoverageModulationTable( pCoverageModulationTable_ )
+ {
+ }
+
+ PipelineCoverageModulationStateCreateInfoNV( VkPipelineCoverageModulationStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineCoverageModulationStateCreateInfoNV ) );
+ }
+
+ PipelineCoverageModulationStateCreateInfoNV& operator=( VkPipelineCoverageModulationStateCreateInfoNV const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineCoverageModulationStateCreateInfoNV ) );
+ return *this;
+ }
+ PipelineCoverageModulationStateCreateInfoNV& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineCoverageModulationStateCreateInfoNV& setFlags( PipelineCoverageModulationStateCreateFlagsNV flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineCoverageModulationStateCreateInfoNV& setCoverageModulationMode( CoverageModulationModeNV coverageModulationMode_ )
+ {
+ coverageModulationMode = coverageModulationMode_;
+ return *this;
+ }
+
+ PipelineCoverageModulationStateCreateInfoNV& setCoverageModulationTableEnable( Bool32 coverageModulationTableEnable_ )
+ {
+ coverageModulationTableEnable = coverageModulationTableEnable_;
+ return *this;
+ }
+
+ PipelineCoverageModulationStateCreateInfoNV& setCoverageModulationTableCount( uint32_t coverageModulationTableCount_ )
+ {
+ coverageModulationTableCount = coverageModulationTableCount_;
+ return *this;
+ }
+
+ PipelineCoverageModulationStateCreateInfoNV& setPCoverageModulationTable( const float* pCoverageModulationTable_ )
+ {
+ pCoverageModulationTable = pCoverageModulationTable_;
+ return *this;
+ }
+
+ operator const VkPipelineCoverageModulationStateCreateInfoNV&() const
+ {
+ return *reinterpret_cast<const VkPipelineCoverageModulationStateCreateInfoNV*>(this);
+ }
+
+ bool operator==( PipelineCoverageModulationStateCreateInfoNV const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( coverageModulationMode == rhs.coverageModulationMode )
+ && ( coverageModulationTableEnable == rhs.coverageModulationTableEnable )
+ && ( coverageModulationTableCount == rhs.coverageModulationTableCount )
+ && ( pCoverageModulationTable == rhs.pCoverageModulationTable );
+ }
+
+ bool operator!=( PipelineCoverageModulationStateCreateInfoNV const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineCoverageModulationStateCreateInfoNV;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineCoverageModulationStateCreateFlagsNV flags;
+ CoverageModulationModeNV coverageModulationMode;
+ Bool32 coverageModulationTableEnable;
+ uint32_t coverageModulationTableCount;
+ const float* pCoverageModulationTable;
+ };
+ static_assert( sizeof( PipelineCoverageModulationStateCreateInfoNV ) == sizeof( VkPipelineCoverageModulationStateCreateInfoNV ), "struct and wrapper have different size!" );
+
+ enum class ValidationCacheHeaderVersionEXT
+ {
+ eOne = VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT
+ };
+
+ enum class ShaderInfoTypeAMD
+ {
+ eStatistics = VK_SHADER_INFO_TYPE_STATISTICS_AMD,
+ eBinary = VK_SHADER_INFO_TYPE_BINARY_AMD,
+ eDisassembly = VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD
+ };
+
+ enum class QueueGlobalPriorityEXT
+ {
+ eLow = VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT,
+ eMedium = VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT,
+ eHigh = VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT,
+ eRealtime = VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT
+ };
+
+ struct DeviceQueueGlobalPriorityCreateInfoEXT
+ {
+ DeviceQueueGlobalPriorityCreateInfoEXT( QueueGlobalPriorityEXT globalPriority_ = QueueGlobalPriorityEXT::eLow )
+ : globalPriority( globalPriority_ )
+ {
+ }
+
+ DeviceQueueGlobalPriorityCreateInfoEXT( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) );
+ }
+
+ DeviceQueueGlobalPriorityCreateInfoEXT& operator=( VkDeviceQueueGlobalPriorityCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) );
+ return *this;
+ }
+ DeviceQueueGlobalPriorityCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceQueueGlobalPriorityCreateInfoEXT& setGlobalPriority( QueueGlobalPriorityEXT globalPriority_ )
+ {
+ globalPriority = globalPriority_;
+ return *this;
+ }
+
+ operator const VkDeviceQueueGlobalPriorityCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDeviceQueueGlobalPriorityCreateInfoEXT*>(this);
+ }
+
+ bool operator==( DeviceQueueGlobalPriorityCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( globalPriority == rhs.globalPriority );
+ }
+
+ bool operator!=( DeviceQueueGlobalPriorityCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ QueueGlobalPriorityEXT globalPriority;
+ };
+ static_assert( sizeof( DeviceQueueGlobalPriorityCreateInfoEXT ) == sizeof( VkDeviceQueueGlobalPriorityCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class DebugUtilsMessageSeverityFlagBitsEXT
+ {
+ eVerbose = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT,
+ eInfo = VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT,
+ eWarning = VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT,
+ eError = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT
+ };
+
+ using DebugUtilsMessageSeverityFlagsEXT = Flags<DebugUtilsMessageSeverityFlagBitsEXT, VkDebugUtilsMessageSeverityFlagsEXT>;
+
+ VULKAN_HPP_INLINE DebugUtilsMessageSeverityFlagsEXT operator|( DebugUtilsMessageSeverityFlagBitsEXT bit0, DebugUtilsMessageSeverityFlagBitsEXT bit1 )
+ {
+ return DebugUtilsMessageSeverityFlagsEXT( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DebugUtilsMessageSeverityFlagsEXT operator~( DebugUtilsMessageSeverityFlagBitsEXT bits )
+ {
+ return ~( DebugUtilsMessageSeverityFlagsEXT( bits ) );
+ }
+
+ template <> struct FlagTraits<DebugUtilsMessageSeverityFlagBitsEXT>
+ {
+ enum
+ {
+ allFlags = VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eVerbose) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eInfo) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eWarning) | VkFlags(DebugUtilsMessageSeverityFlagBitsEXT::eError)
+ };
+ };
+
+ enum class DebugUtilsMessageTypeFlagBitsEXT
+ {
+ eGeneral = VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT,
+ eValidation = VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT,
+ ePerformance = VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT
+ };
+
+ using DebugUtilsMessageTypeFlagsEXT = Flags<DebugUtilsMessageTypeFlagBitsEXT, VkDebugUtilsMessageTypeFlagsEXT>;
+
+ VULKAN_HPP_INLINE DebugUtilsMessageTypeFlagsEXT operator|( DebugUtilsMessageTypeFlagBitsEXT bit0, DebugUtilsMessageTypeFlagBitsEXT bit1 )
+ {
+ return DebugUtilsMessageTypeFlagsEXT( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DebugUtilsMessageTypeFlagsEXT operator~( DebugUtilsMessageTypeFlagBitsEXT bits )
+ {
+ return ~( DebugUtilsMessageTypeFlagsEXT( bits ) );
+ }
+
+ template <> struct FlagTraits<DebugUtilsMessageTypeFlagBitsEXT>
+ {
+ enum
+ {
+ allFlags = VkFlags(DebugUtilsMessageTypeFlagBitsEXT::eGeneral) | VkFlags(DebugUtilsMessageTypeFlagBitsEXT::eValidation) | VkFlags(DebugUtilsMessageTypeFlagBitsEXT::ePerformance)
+ };
+ };
+
+ struct DebugUtilsMessengerCreateInfoEXT
+ {
+ DebugUtilsMessengerCreateInfoEXT( DebugUtilsMessengerCreateFlagsEXT flags_ = DebugUtilsMessengerCreateFlagsEXT(), DebugUtilsMessageSeverityFlagsEXT messageSeverity_ = DebugUtilsMessageSeverityFlagsEXT(), DebugUtilsMessageTypeFlagsEXT messageType_ = DebugUtilsMessageTypeFlagsEXT(), PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ = nullptr, void* pUserData_ = nullptr )
+ : flags( flags_ )
+ , messageSeverity( messageSeverity_ )
+ , messageType( messageType_ )
+ , pfnUserCallback( pfnUserCallback_ )
+ , pUserData( pUserData_ )
+ {
+ }
+
+ DebugUtilsMessengerCreateInfoEXT( VkDebugUtilsMessengerCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsMessengerCreateInfoEXT ) );
+ }
+
+ DebugUtilsMessengerCreateInfoEXT& operator=( VkDebugUtilsMessengerCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DebugUtilsMessengerCreateInfoEXT ) );
+ return *this;
+ }
+ DebugUtilsMessengerCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCreateInfoEXT& setFlags( DebugUtilsMessengerCreateFlagsEXT flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCreateInfoEXT& setMessageSeverity( DebugUtilsMessageSeverityFlagsEXT messageSeverity_ )
+ {
+ messageSeverity = messageSeverity_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCreateInfoEXT& setMessageType( DebugUtilsMessageTypeFlagsEXT messageType_ )
+ {
+ messageType = messageType_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCreateInfoEXT& setPfnUserCallback( PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback_ )
+ {
+ pfnUserCallback = pfnUserCallback_;
+ return *this;
+ }
+
+ DebugUtilsMessengerCreateInfoEXT& setPUserData( void* pUserData_ )
+ {
+ pUserData = pUserData_;
+ return *this;
+ }
+
+ operator const VkDebugUtilsMessengerCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>(this);
+ }
+
+ bool operator==( DebugUtilsMessengerCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( messageSeverity == rhs.messageSeverity )
+ && ( messageType == rhs.messageType )
+ && ( pfnUserCallback == rhs.pfnUserCallback )
+ && ( pUserData == rhs.pUserData );
+ }
+
+ bool operator!=( DebugUtilsMessengerCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDebugUtilsMessengerCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ DebugUtilsMessengerCreateFlagsEXT flags;
+ DebugUtilsMessageSeverityFlagsEXT messageSeverity;
+ DebugUtilsMessageTypeFlagsEXT messageType;
+ PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback;
+ void* pUserData;
+ };
+ static_assert( sizeof( DebugUtilsMessengerCreateInfoEXT ) == sizeof( VkDebugUtilsMessengerCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class ConservativeRasterizationModeEXT
+ {
+ eDisabled = VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT,
+ eOverestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT,
+ eUnderestimate = VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT
+ };
+
+ struct PipelineRasterizationConservativeStateCreateInfoEXT
+ {
+ PipelineRasterizationConservativeStateCreateInfoEXT( PipelineRasterizationConservativeStateCreateFlagsEXT flags_ = PipelineRasterizationConservativeStateCreateFlagsEXT(), ConservativeRasterizationModeEXT conservativeRasterizationMode_ = ConservativeRasterizationModeEXT::eDisabled, float extraPrimitiveOverestimationSize_ = 0 )
+ : flags( flags_ )
+ , conservativeRasterizationMode( conservativeRasterizationMode_ )
+ , extraPrimitiveOverestimationSize( extraPrimitiveOverestimationSize_ )
+ {
+ }
+
+ PipelineRasterizationConservativeStateCreateInfoEXT( VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) );
+ }
+
+ PipelineRasterizationConservativeStateCreateInfoEXT& operator=( VkPipelineRasterizationConservativeStateCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) );
+ return *this;
+ }
+ PipelineRasterizationConservativeStateCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ PipelineRasterizationConservativeStateCreateInfoEXT& setFlags( PipelineRasterizationConservativeStateCreateFlagsEXT flags_ )
+ {
+ flags = flags_;
+ return *this;
+ }
+
+ PipelineRasterizationConservativeStateCreateInfoEXT& setConservativeRasterizationMode( ConservativeRasterizationModeEXT conservativeRasterizationMode_ )
+ {
+ conservativeRasterizationMode = conservativeRasterizationMode_;
+ return *this;
+ }
+
+ PipelineRasterizationConservativeStateCreateInfoEXT& setExtraPrimitiveOverestimationSize( float extraPrimitiveOverestimationSize_ )
+ {
+ extraPrimitiveOverestimationSize = extraPrimitiveOverestimationSize_;
+ return *this;
+ }
+
+ operator const VkPipelineRasterizationConservativeStateCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkPipelineRasterizationConservativeStateCreateInfoEXT*>(this);
+ }
+
+ bool operator==( PipelineRasterizationConservativeStateCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( flags == rhs.flags )
+ && ( conservativeRasterizationMode == rhs.conservativeRasterizationMode )
+ && ( extraPrimitiveOverestimationSize == rhs.extraPrimitiveOverestimationSize );
+ }
+
+ bool operator!=( PipelineRasterizationConservativeStateCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ PipelineRasterizationConservativeStateCreateFlagsEXT flags;
+ ConservativeRasterizationModeEXT conservativeRasterizationMode;
+ float extraPrimitiveOverestimationSize;
+ };
+ static_assert( sizeof( PipelineRasterizationConservativeStateCreateInfoEXT ) == sizeof( VkPipelineRasterizationConservativeStateCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ enum class DescriptorBindingFlagBitsEXT
+ {
+ eUpdateAfterBind = VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT,
+ eUpdateUnusedWhilePending = VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT,
+ ePartiallyBound = VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT,
+ eVariableDescriptorCount = VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT
+ };
+
+ using DescriptorBindingFlagsEXT = Flags<DescriptorBindingFlagBitsEXT, VkDescriptorBindingFlagsEXT>;
+
+ VULKAN_HPP_INLINE DescriptorBindingFlagsEXT operator|( DescriptorBindingFlagBitsEXT bit0, DescriptorBindingFlagBitsEXT bit1 )
+ {
+ return DescriptorBindingFlagsEXT( bit0 ) | bit1;
+ }
+
+ VULKAN_HPP_INLINE DescriptorBindingFlagsEXT operator~( DescriptorBindingFlagBitsEXT bits )
+ {
+ return ~( DescriptorBindingFlagsEXT( bits ) );
+ }
+
+ template <> struct FlagTraits<DescriptorBindingFlagBitsEXT>
+ {
+ enum
+ {
+ allFlags = VkFlags(DescriptorBindingFlagBitsEXT::eUpdateAfterBind) | VkFlags(DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending) | VkFlags(DescriptorBindingFlagBitsEXT::ePartiallyBound) | VkFlags(DescriptorBindingFlagBitsEXT::eVariableDescriptorCount)
+ };
+ };
+
+ struct DescriptorSetLayoutBindingFlagsCreateInfoEXT
+ {
+ DescriptorSetLayoutBindingFlagsCreateInfoEXT( uint32_t bindingCount_ = 0, const DescriptorBindingFlagsEXT* pBindingFlags_ = nullptr )
+ : bindingCount( bindingCount_ )
+ , pBindingFlags( pBindingFlags_ )
+ {
+ }
+
+ DescriptorSetLayoutBindingFlagsCreateInfoEXT( VkDescriptorSetLayoutBindingFlagsCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetLayoutBindingFlagsCreateInfoEXT ) );
+ }
+
+ DescriptorSetLayoutBindingFlagsCreateInfoEXT& operator=( VkDescriptorSetLayoutBindingFlagsCreateInfoEXT const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DescriptorSetLayoutBindingFlagsCreateInfoEXT ) );
+ return *this;
+ }
+ DescriptorSetLayoutBindingFlagsCreateInfoEXT& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DescriptorSetLayoutBindingFlagsCreateInfoEXT& setBindingCount( uint32_t bindingCount_ )
+ {
+ bindingCount = bindingCount_;
+ return *this;
+ }
+
+ DescriptorSetLayoutBindingFlagsCreateInfoEXT& setPBindingFlags( const DescriptorBindingFlagsEXT* pBindingFlags_ )
+ {
+ pBindingFlags = pBindingFlags_;
+ return *this;
+ }
+
+ operator const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT&() const
+ {
+ return *reinterpret_cast<const VkDescriptorSetLayoutBindingFlagsCreateInfoEXT*>(this);
+ }
+
+ bool operator==( DescriptorSetLayoutBindingFlagsCreateInfoEXT const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( bindingCount == rhs.bindingCount )
+ && ( pBindingFlags == rhs.pBindingFlags );
+ }
+
+ bool operator!=( DescriptorSetLayoutBindingFlagsCreateInfoEXT const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDescriptorSetLayoutBindingFlagsCreateInfoEXT;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t bindingCount;
+ const DescriptorBindingFlagsEXT* pBindingFlags;
+ };
+ static_assert( sizeof( DescriptorSetLayoutBindingFlagsCreateInfoEXT ) == sizeof( VkDescriptorSetLayoutBindingFlagsCreateInfoEXT ), "struct and wrapper have different size!" );
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumerateInstanceVersion( uint32_t* pApiVersion, Dispatch const &d = Dispatch() );
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<uint32_t>::type enumerateInstanceVersion(Dispatch const &d = Dispatch() );
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result enumerateInstanceVersion( uint32_t* pApiVersion, Dispatch const &d)
+ {
+ return static_cast<Result>( d.vkEnumerateInstanceVersion( pApiVersion ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<uint32_t>::type enumerateInstanceVersion(Dispatch const &d )
+ {
+ uint32_t apiVersion;
+ Result result = static_cast<Result>( d.vkEnumerateInstanceVersion( &apiVersion ) );
+ return createResultValue( result, apiVersion, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceVersion" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumerateInstanceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d = Dispatch() );
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<LayerProperties>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<LayerProperties,Allocator>>::type enumerateInstanceLayerProperties(Dispatch const &d = Dispatch() );
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result enumerateInstanceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d)
+ {
+ return static_cast<Result>( d.vkEnumerateInstanceLayerProperties( pPropertyCount, reinterpret_cast<VkLayerProperties*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<LayerProperties,Allocator>>::type enumerateInstanceLayerProperties(Dispatch const &d )
+ {
+ std::vector<LayerProperties,Allocator> properties;
+ uint32_t propertyCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkEnumerateInstanceLayerProperties( &propertyCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && propertyCount )
+ {
+ properties.resize( propertyCount );
+ result = static_cast<Result>( d.vkEnumerateInstanceLayerProperties( &propertyCount, reinterpret_cast<VkLayerProperties*>( properties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( propertyCount <= properties.size() );
+ properties.resize( propertyCount );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceLayerProperties" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d = Dispatch() );
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<ExtensionProperties>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type enumerateInstanceExtensionProperties( Optional<const std::string> layerName = nullptr, Dispatch const &d = Dispatch() );
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result enumerateInstanceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d)
+ {
+ return static_cast<Result>( d.vkEnumerateInstanceExtensionProperties( pLayerName, pPropertyCount, reinterpret_cast<VkExtensionProperties*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type enumerateInstanceExtensionProperties( Optional<const std::string> layerName, Dispatch const &d )
+ {
+ std::vector<ExtensionProperties,Allocator> properties;
+ uint32_t propertyCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && propertyCount )
+ {
+ properties.resize( propertyCount );
+ result = static_cast<Result>( d.vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast<VkExtensionProperties*>( properties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( propertyCount <= properties.size() );
+ properties.resize( propertyCount );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::enumerateInstanceExtensionProperties" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+
+ // forward declarations
+ struct CmdProcessCommandsInfoNVX;
+
+ class CommandBuffer
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR CommandBuffer()
+ : m_commandBuffer(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR CommandBuffer( std::nullptr_t )
+ : m_commandBuffer(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT CommandBuffer( VkCommandBuffer commandBuffer )
+ : m_commandBuffer( commandBuffer )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ CommandBuffer & operator=(VkCommandBuffer commandBuffer)
+ {
+ m_commandBuffer = commandBuffer;
+ return *this;
+ }
+#endif
+
+ CommandBuffer & operator=( std::nullptr_t )
+ {
+ m_commandBuffer = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( CommandBuffer const & rhs ) const
+ {
+ return m_commandBuffer == rhs.m_commandBuffer;
+ }
+
+ bool operator!=(CommandBuffer const & rhs ) const
+ {
+ return m_commandBuffer != rhs.m_commandBuffer;
+ }
+
+ bool operator<(CommandBuffer const & rhs ) const
+ {
+ return m_commandBuffer < rhs.m_commandBuffer;
+ }
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result begin( const CommandBufferBeginInfo* pBeginInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type begin( const CommandBufferBeginInfo & beginInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result end(Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type end(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result reset( CommandBufferResetFlags flags, Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type reset( CommandBufferResetFlags flags, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setViewport( uint32_t firstViewport, uint32_t viewportCount, const Viewport* pViewports, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setViewport( uint32_t firstViewport, ArrayProxy<const Viewport> viewports, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setScissor( uint32_t firstScissor, uint32_t scissorCount, const Rect2D* pScissors, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setScissor( uint32_t firstScissor, ArrayProxy<const Rect2D> scissors, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setLineWidth( float lineWidth, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setBlendConstants( const float blendConstants[4], Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, ArrayProxy<const DescriptorSet> descriptorSets, ArrayProxy<const uint32_t> dynamicOffsets, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const Buffer* pBuffers, const DeviceSize* pOffsets, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void bindVertexBuffers( uint32_t firstBinding, ArrayProxy<const Buffer> buffers, ArrayProxy<const DeviceSize> offsets, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyBuffer( Buffer srcBuffer, Buffer dstBuffer, uint32_t regionCount, const BufferCopy* pRegions, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyBuffer( Buffer srcBuffer, Buffer dstBuffer, ArrayProxy<const BufferCopy> regions, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageCopy* pRegions, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageCopy> regions, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageBlit* pRegions, Filter filter, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageBlit> regions, Filter filter, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize dataSize, const void* pData, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename T, typename Dispatch = DispatchLoaderStatic>
+ void updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, ArrayProxy<const T> data, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue* pColor, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue & color, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue & depthStencil, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void clearAttachments( uint32_t attachmentCount, const ClearAttachment* pAttachments, uint32_t rectCount, const ClearRect* pRects, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void clearAttachments( ArrayProxy<const ClearAttachment> attachments, ArrayProxy<const ClearRect> rects, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageResolve* pRegions, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageResolve> regions, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void waitEvents( uint32_t eventCount, const Event* pEvents, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void waitEvents( ArrayProxy<const Event> events, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void endQuery( QueryPool queryPool, uint32_t query, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Buffer dstBuffer, DeviceSize dstOffset, DeviceSize stride, QueryResultFlags flags, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename T, typename Dispatch = DispatchLoaderStatic>
+ void pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, ArrayProxy<const T> values, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void beginRenderPass( const RenderPassBeginInfo* pRenderPassBegin, SubpassContents contents, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void beginRenderPass( const RenderPassBeginInfo & renderPassBegin, SubpassContents contents, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void nextSubpass( SubpassContents contents, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void endRenderPass(Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void executeCommands( uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void executeCommands( ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void debugMarkerEndEXT(Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void processCommandsNVX( const CmdProcessCommandsInfoNVX* pProcessCommandsInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void processCommandsNVX( const CmdProcessCommandsInfoNVX & processCommandsInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX & reserveSpaceInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, ArrayProxy<const WriteDescriptorSet> descriptorWrites, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setDeviceMask( uint32_t deviceMask, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setDeviceMaskKHR( uint32_t deviceMask, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, const void* pData, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const ViewportWScalingNV* pViewportWScalings, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setViewportWScalingNV( uint32_t firstViewport, ArrayProxy<const ViewportWScalingNV> viewportWScalings, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const Rect2D* pDiscardRectangles, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy<const Rect2D> discardRectangles, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setSampleLocationsEXT( const SampleLocationsInfoEXT* pSampleLocationsInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void endDebugUtilsLabelEXT(Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const &d = Dispatch() ) const;
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkCommandBuffer() const
+ {
+ return m_commandBuffer;
+ }
+
+ explicit operator bool() const
+ {
+ return m_commandBuffer != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_commandBuffer == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkCommandBuffer m_commandBuffer;
+ };
+
+ static_assert( sizeof( CommandBuffer ) == sizeof( VkCommandBuffer ), "handle and wrapper have different size!" );
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result CommandBuffer::begin( const CommandBufferBeginInfo* pBeginInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast<const VkCommandBufferBeginInfo*>( pBeginInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type CommandBuffer::begin( const CommandBufferBeginInfo & beginInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast<const VkCommandBufferBeginInfo*>( &beginInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::CommandBuffer::begin" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result CommandBuffer::end(Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkEndCommandBuffer( m_commandBuffer ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type CommandBuffer::end(Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkEndCommandBuffer( m_commandBuffer ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::CommandBuffer::end" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result CommandBuffer::reset( CommandBufferResetFlags flags, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkResetCommandBuffer( m_commandBuffer, static_cast<VkCommandBufferResetFlags>( flags ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type CommandBuffer::reset( CommandBufferResetFlags flags, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkResetCommandBuffer( m_commandBuffer, static_cast<VkCommandBufferResetFlags>( flags ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::CommandBuffer::reset" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const &d) const
+ {
+ d.vkCmdBindPipeline( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipeline>( pipeline ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const &d ) const
+ {
+ d.vkCmdBindPipeline( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipeline>( pipeline ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, uint32_t viewportCount, const Viewport* pViewports, Dispatch const &d) const
+ {
+ d.vkCmdSetViewport( m_commandBuffer, firstViewport, viewportCount, reinterpret_cast<const VkViewport*>( pViewports ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, ArrayProxy<const Viewport> viewports, Dispatch const &d ) const
+ {
+ d.vkCmdSetViewport( m_commandBuffer, firstViewport, viewports.size() , reinterpret_cast<const VkViewport*>( viewports.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, uint32_t scissorCount, const Rect2D* pScissors, Dispatch const &d) const
+ {
+ d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissorCount, reinterpret_cast<const VkRect2D*>( pScissors ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, ArrayProxy<const Rect2D> scissors, Dispatch const &d ) const
+ {
+ d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissors.size() , reinterpret_cast<const VkRect2D*>( scissors.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth, Dispatch const &d) const
+ {
+ d.vkCmdSetLineWidth( m_commandBuffer, lineWidth );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth, Dispatch const &d ) const
+ {
+ d.vkCmdSetLineWidth( m_commandBuffer, lineWidth );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const &d) const
+ {
+ d.vkCmdSetDepthBias( m_commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const &d ) const
+ {
+ d.vkCmdSetDepthBias( m_commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( const float blendConstants[4], Dispatch const &d) const
+ {
+ d.vkCmdSetBlendConstants( m_commandBuffer, blendConstants );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( const float blendConstants[4], Dispatch const &d ) const
+ {
+ d.vkCmdSetBlendConstants( m_commandBuffer, blendConstants );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const &d) const
+ {
+ d.vkCmdSetDepthBounds( m_commandBuffer, minDepthBounds, maxDepthBounds );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const &d ) const
+ {
+ d.vkCmdSetDepthBounds( m_commandBuffer, minDepthBounds, maxDepthBounds );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const &d) const
+ {
+ d.vkCmdSetStencilCompareMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), compareMask );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const &d ) const
+ {
+ d.vkCmdSetStencilCompareMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), compareMask );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const &d) const
+ {
+ d.vkCmdSetStencilWriteMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), writeMask );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const &d ) const
+ {
+ d.vkCmdSetStencilWriteMask( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), writeMask );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const &d) const
+ {
+ d.vkCmdSetStencilReference( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), reference );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const &d ) const
+ {
+ d.vkCmdSetStencilReference( m_commandBuffer, static_cast<VkStencilFaceFlags>( faceMask ), reference );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, const uint32_t* pDynamicOffsets, Dispatch const &d) const
+ {
+ d.vkCmdBindDescriptorSets( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), firstSet, descriptorSetCount, reinterpret_cast<const VkDescriptorSet*>( pDescriptorSets ), dynamicOffsetCount, pDynamicOffsets );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, ArrayProxy<const DescriptorSet> descriptorSets, ArrayProxy<const uint32_t> dynamicOffsets, Dispatch const &d ) const
+ {
+ d.vkCmdBindDescriptorSets( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), firstSet, descriptorSets.size() , reinterpret_cast<const VkDescriptorSet*>( descriptorSets.data() ), dynamicOffsets.size() , dynamicOffsets.data() );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const &d) const
+ {
+ d.vkCmdBindIndexBuffer( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkIndexType>( indexType ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const &d ) const
+ {
+ d.vkCmdBindIndexBuffer( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkIndexType>( indexType ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const Buffer* pBuffers, const DeviceSize* pOffsets, Dispatch const &d) const
+ {
+ d.vkCmdBindVertexBuffers( m_commandBuffer, firstBinding, bindingCount, reinterpret_cast<const VkBuffer*>( pBuffers ), pOffsets );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, ArrayProxy<const Buffer> buffers, ArrayProxy<const DeviceSize> offsets, Dispatch const &d ) const
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( buffers.size() == offsets.size() );
+#else
+ if ( buffers.size() != offsets.size() )
+ {
+ throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers: buffers.size() != offsets.size()" );
+ }
+#endif // VULKAN_HPP_NO_EXCEPTIONS
+ d.vkCmdBindVertexBuffers( m_commandBuffer, firstBinding, buffers.size() , reinterpret_cast<const VkBuffer*>( buffers.data() ), offsets.data() );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const &d) const
+ {
+ d.vkCmdDraw( m_commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const &d ) const
+ {
+ d.vkCmdDraw( m_commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const &d) const
+ {
+ d.vkCmdDrawIndexed( m_commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const &d ) const
+ {
+ d.vkCmdDrawIndexed( m_commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d) const
+ {
+ d.vkCmdDrawIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d ) const
+ {
+ d.vkCmdDrawIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d) const
+ {
+ d.vkCmdDrawIndexedIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const &d ) const
+ {
+ d.vkCmdDrawIndexedIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, drawCount, stride );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d) const
+ {
+ d.vkCmdDispatch( m_commandBuffer, groupCountX, groupCountY, groupCountZ );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d ) const
+ {
+ d.vkCmdDispatch( m_commandBuffer, groupCountX, groupCountY, groupCountZ );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const &d) const
+ {
+ d.vkCmdDispatchIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const &d ) const
+ {
+ d.vkCmdDispatchIndirect( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( Buffer srcBuffer, Buffer dstBuffer, uint32_t regionCount, const BufferCopy* pRegions, Dispatch const &d) const
+ {
+ d.vkCmdCopyBuffer( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkBuffer>( dstBuffer ), regionCount, reinterpret_cast<const VkBufferCopy*>( pRegions ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( Buffer srcBuffer, Buffer dstBuffer, ArrayProxy<const BufferCopy> regions, Dispatch const &d ) const
+ {
+ d.vkCmdCopyBuffer( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkBuffer>( dstBuffer ), regions.size() , reinterpret_cast<const VkBufferCopy*>( regions.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageCopy* pRegions, Dispatch const &d) const
+ {
+ d.vkCmdCopyImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageCopy*>( pRegions ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageCopy> regions, Dispatch const &d ) const
+ {
+ d.vkCmdCopyImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkImageCopy*>( regions.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageBlit* pRegions, Filter filter, Dispatch const &d) const
+ {
+ d.vkCmdBlitImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageBlit*>( pRegions ), static_cast<VkFilter>( filter ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageBlit> regions, Filter filter, Dispatch const &d ) const
+ {
+ d.vkCmdBlitImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkImageBlit*>( regions.data() ), static_cast<VkFilter>( filter ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d) const
+ {
+ d.vkCmdCopyBufferToImage( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkBufferImageCopy*>( pRegions ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d ) const
+ {
+ d.vkCmdCopyBufferToImage( m_commandBuffer, static_cast<VkBuffer>( srcBuffer ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkBufferImageCopy*>( regions.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, uint32_t regionCount, const BufferImageCopy* pRegions, Dispatch const &d) const
+ {
+ d.vkCmdCopyImageToBuffer( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkBuffer>( dstBuffer ), regionCount, reinterpret_cast<const VkBufferImageCopy*>( pRegions ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, ArrayProxy<const BufferImageCopy> regions, Dispatch const &d ) const
+ {
+ d.vkCmdCopyImageToBuffer( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkBuffer>( dstBuffer ), regions.size() , reinterpret_cast<const VkBufferImageCopy*>( regions.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize dataSize, const void* pData, Dispatch const &d) const
+ {
+ d.vkCmdUpdateBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, dataSize, pData );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename T, typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, ArrayProxy<const T> data, Dispatch const &d ) const
+ {
+ d.vkCmdUpdateBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, data.size() * sizeof( T ) , reinterpret_cast<const void*>( data.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const &d) const
+ {
+ d.vkCmdFillBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, size, data );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const &d ) const
+ {
+ d.vkCmdFillBuffer( m_commandBuffer, static_cast<VkBuffer>( dstBuffer ), dstOffset, size, data );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue* pColor, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d) const
+ {
+ d.vkCmdClearColorImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearColorValue*>( pColor ), rangeCount, reinterpret_cast<const VkImageSubresourceRange*>( pRanges ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( Image image, ImageLayout imageLayout, const ClearColorValue & color, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d ) const
+ {
+ d.vkCmdClearColorImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearColorValue*>( &color ), ranges.size() , reinterpret_cast<const VkImageSubresourceRange*>( ranges.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue* pDepthStencil, uint32_t rangeCount, const ImageSubresourceRange* pRanges, Dispatch const &d) const
+ {
+ d.vkCmdClearDepthStencilImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearDepthStencilValue*>( pDepthStencil ), rangeCount, reinterpret_cast<const VkImageSubresourceRange*>( pRanges ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( Image image, ImageLayout imageLayout, const ClearDepthStencilValue & depthStencil, ArrayProxy<const ImageSubresourceRange> ranges, Dispatch const &d ) const
+ {
+ d.vkCmdClearDepthStencilImage( m_commandBuffer, static_cast<VkImage>( image ), static_cast<VkImageLayout>( imageLayout ), reinterpret_cast<const VkClearDepthStencilValue*>( &depthStencil ), ranges.size() , reinterpret_cast<const VkImageSubresourceRange*>( ranges.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( uint32_t attachmentCount, const ClearAttachment* pAttachments, uint32_t rectCount, const ClearRect* pRects, Dispatch const &d) const
+ {
+ d.vkCmdClearAttachments( m_commandBuffer, attachmentCount, reinterpret_cast<const VkClearAttachment*>( pAttachments ), rectCount, reinterpret_cast<const VkClearRect*>( pRects ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( ArrayProxy<const ClearAttachment> attachments, ArrayProxy<const ClearRect> rects, Dispatch const &d ) const
+ {
+ d.vkCmdClearAttachments( m_commandBuffer, attachments.size() , reinterpret_cast<const VkClearAttachment*>( attachments.data() ), rects.size() , reinterpret_cast<const VkClearRect*>( rects.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, const ImageResolve* pRegions, Dispatch const &d) const
+ {
+ d.vkCmdResolveImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regionCount, reinterpret_cast<const VkImageResolve*>( pRegions ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy<const ImageResolve> regions, Dispatch const &d ) const
+ {
+ d.vkCmdResolveImage( m_commandBuffer, static_cast<VkImage>( srcImage ), static_cast<VkImageLayout>( srcImageLayout ), static_cast<VkImage>( dstImage ), static_cast<VkImageLayout>( dstImageLayout ), regions.size() , reinterpret_cast<const VkImageResolve*>( regions.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d) const
+ {
+ d.vkCmdSetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d ) const
+ {
+ d.vkCmdSetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d) const
+ {
+ d.vkCmdResetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const &d ) const
+ {
+ d.vkCmdResetEvent( m_commandBuffer, static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::waitEvents( uint32_t eventCount, const Event* pEvents, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d) const
+ {
+ d.vkCmdWaitEvents( m_commandBuffer, eventCount, reinterpret_cast<const VkEvent*>( pEvents ), static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), memoryBarrierCount, reinterpret_cast<const VkMemoryBarrier*>( pMemoryBarriers ), bufferMemoryBarrierCount, reinterpret_cast<const VkBufferMemoryBarrier*>( pBufferMemoryBarriers ), imageMemoryBarrierCount, reinterpret_cast<const VkImageMemoryBarrier*>( pImageMemoryBarriers ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::waitEvents( ArrayProxy<const Event> events, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d ) const
+ {
+ d.vkCmdWaitEvents( m_commandBuffer, events.size() , reinterpret_cast<const VkEvent*>( events.data() ), static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), memoryBarriers.size() , reinterpret_cast<const VkMemoryBarrier*>( memoryBarriers.data() ), bufferMemoryBarriers.size() , reinterpret_cast<const VkBufferMemoryBarrier*>( bufferMemoryBarriers.data() ), imageMemoryBarriers.size() , reinterpret_cast<const VkImageMemoryBarrier*>( imageMemoryBarriers.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const MemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const BufferMemoryBarrier* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const ImageMemoryBarrier* pImageMemoryBarriers, Dispatch const &d) const
+ {
+ d.vkCmdPipelineBarrier( m_commandBuffer, static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), static_cast<VkDependencyFlags>( dependencyFlags ), memoryBarrierCount, reinterpret_cast<const VkMemoryBarrier*>( pMemoryBarriers ), bufferMemoryBarrierCount, reinterpret_cast<const VkBufferMemoryBarrier*>( pBufferMemoryBarriers ), imageMemoryBarrierCount, reinterpret_cast<const VkImageMemoryBarrier*>( pImageMemoryBarriers ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, ArrayProxy<const MemoryBarrier> memoryBarriers, ArrayProxy<const BufferMemoryBarrier> bufferMemoryBarriers, ArrayProxy<const ImageMemoryBarrier> imageMemoryBarriers, Dispatch const &d ) const
+ {
+ d.vkCmdPipelineBarrier( m_commandBuffer, static_cast<VkPipelineStageFlags>( srcStageMask ), static_cast<VkPipelineStageFlags>( dstStageMask ), static_cast<VkDependencyFlags>( dependencyFlags ), memoryBarriers.size() , reinterpret_cast<const VkMemoryBarrier*>( memoryBarriers.data() ), bufferMemoryBarriers.size() , reinterpret_cast<const VkBufferMemoryBarrier*>( bufferMemoryBarriers.data() ), imageMemoryBarriers.size() , reinterpret_cast<const VkImageMemoryBarrier*>( imageMemoryBarriers.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const &d) const
+ {
+ d.vkCmdBeginQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query, static_cast<VkQueryControlFlags>( flags ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const &d ) const
+ {
+ d.vkCmdBeginQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query, static_cast<VkQueryControlFlags>( flags ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::endQuery( QueryPool queryPool, uint32_t query, Dispatch const &d) const
+ {
+ d.vkCmdEndQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::endQuery( QueryPool queryPool, uint32_t query, Dispatch const &d ) const
+ {
+ d.vkCmdEndQuery( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), query );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const &d) const
+ {
+ d.vkCmdResetQueryPool( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const &d ) const
+ {
+ d.vkCmdResetQueryPool( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const &d) const
+ {
+ d.vkCmdWriteTimestamp( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkQueryPool>( queryPool ), query );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const &d ) const
+ {
+ d.vkCmdWriteTimestamp( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkQueryPool>( queryPool ), query );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Buffer dstBuffer, DeviceSize dstOffset, DeviceSize stride, QueryResultFlags flags, Dispatch const &d) const
+ {
+ d.vkCmdCopyQueryPoolResults( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, static_cast<VkBuffer>( dstBuffer ), dstOffset, stride, static_cast<VkQueryResultFlags>( flags ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Buffer dstBuffer, DeviceSize dstOffset, DeviceSize stride, QueryResultFlags flags, Dispatch const &d ) const
+ {
+ d.vkCmdCopyQueryPoolResults( m_commandBuffer, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, static_cast<VkBuffer>( dstBuffer ), dstOffset, stride, static_cast<VkQueryResultFlags>( flags ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues, Dispatch const &d) const
+ {
+ d.vkCmdPushConstants( m_commandBuffer, static_cast<VkPipelineLayout>( layout ), static_cast<VkShaderStageFlags>( stageFlags ), offset, size, pValues );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename T, typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, ArrayProxy<const T> values, Dispatch const &d ) const
+ {
+ d.vkCmdPushConstants( m_commandBuffer, static_cast<VkPipelineLayout>( layout ), static_cast<VkShaderStageFlags>( stageFlags ), offset, values.size() * sizeof( T ) , reinterpret_cast<const void*>( values.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const RenderPassBeginInfo* pRenderPassBegin, SubpassContents contents, Dispatch const &d) const
+ {
+ d.vkCmdBeginRenderPass( m_commandBuffer, reinterpret_cast<const VkRenderPassBeginInfo*>( pRenderPassBegin ), static_cast<VkSubpassContents>( contents ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const RenderPassBeginInfo & renderPassBegin, SubpassContents contents, Dispatch const &d ) const
+ {
+ d.vkCmdBeginRenderPass( m_commandBuffer, reinterpret_cast<const VkRenderPassBeginInfo*>( &renderPassBegin ), static_cast<VkSubpassContents>( contents ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( SubpassContents contents, Dispatch const &d) const
+ {
+ d.vkCmdNextSubpass( m_commandBuffer, static_cast<VkSubpassContents>( contents ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( SubpassContents contents, Dispatch const &d ) const
+ {
+ d.vkCmdNextSubpass( m_commandBuffer, static_cast<VkSubpassContents>( contents ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::endRenderPass(Dispatch const &d) const
+ {
+ d.vkCmdEndRenderPass( m_commandBuffer );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::endRenderPass(Dispatch const &d ) const
+ {
+ d.vkCmdEndRenderPass( m_commandBuffer );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::executeCommands( uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d) const
+ {
+ d.vkCmdExecuteCommands( m_commandBuffer, commandBufferCount, reinterpret_cast<const VkCommandBuffer*>( pCommandBuffers ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::executeCommands( ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d ) const
+ {
+ d.vkCmdExecuteCommands( m_commandBuffer, commandBuffers.size() , reinterpret_cast<const VkCommandBuffer*>( commandBuffers.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d) const
+ {
+ d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( pMarkerInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d ) const
+ {
+ d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( &markerInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT(Dispatch const &d) const
+ {
+ d.vkCmdDebugMarkerEndEXT( m_commandBuffer );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT(Dispatch const &d ) const
+ {
+ d.vkCmdDebugMarkerEndEXT( m_commandBuffer );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT* pMarkerInfo, Dispatch const &d) const
+ {
+ d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( pMarkerInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo, Dispatch const &d ) const
+ {
+ d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>( &markerInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d) const
+ {
+ d.vkCmdDrawIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d ) const
+ {
+ d.vkCmdDrawIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d) const
+ {
+ d.vkCmdDrawIndexedIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const &d ) const
+ {
+ d.vkCmdDrawIndexedIndirectCountAMD( m_commandBuffer, static_cast<VkBuffer>( buffer ), offset, static_cast<VkBuffer>( countBuffer ), countBufferOffset, maxDrawCount, stride );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::processCommandsNVX( const CmdProcessCommandsInfoNVX* pProcessCommandsInfo, Dispatch const &d) const
+ {
+ d.vkCmdProcessCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdProcessCommandsInfoNVX*>( pProcessCommandsInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::processCommandsNVX( const CmdProcessCommandsInfoNVX & processCommandsInfo, Dispatch const &d ) const
+ {
+ d.vkCmdProcessCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdProcessCommandsInfoNVX*>( &processCommandsInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo, Dispatch const &d) const
+ {
+ d.vkCmdReserveSpaceForCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdReserveSpaceForCommandsInfoNVX*>( pReserveSpaceInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::reserveSpaceForCommandsNVX( const CmdReserveSpaceForCommandsInfoNVX & reserveSpaceInfo, Dispatch const &d ) const
+ {
+ d.vkCmdReserveSpaceForCommandsNVX( m_commandBuffer, reinterpret_cast<const VkCmdReserveSpaceForCommandsInfoNVX*>( &reserveSpaceInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, Dispatch const &d) const
+ {
+ d.vkCmdPushDescriptorSetKHR( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), set, descriptorWriteCount, reinterpret_cast<const VkWriteDescriptorSet*>( pDescriptorWrites ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, ArrayProxy<const WriteDescriptorSet> descriptorWrites, Dispatch const &d ) const
+ {
+ d.vkCmdPushDescriptorSetKHR( m_commandBuffer, static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), set, descriptorWrites.size() , reinterpret_cast<const VkWriteDescriptorSet*>( descriptorWrites.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask, Dispatch const &d) const
+ {
+ d.vkCmdSetDeviceMask( m_commandBuffer, deviceMask );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask, Dispatch const &d ) const
+ {
+ d.vkCmdSetDeviceMask( m_commandBuffer, deviceMask );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask, Dispatch const &d) const
+ {
+ d.vkCmdSetDeviceMaskKHR( m_commandBuffer, deviceMask );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask, Dispatch const &d ) const
+ {
+ d.vkCmdSetDeviceMaskKHR( m_commandBuffer, deviceMask );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d) const
+ {
+ d.vkCmdDispatchBase( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d ) const
+ {
+ d.vkCmdDispatchBase( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d) const
+ {
+ d.vkCmdDispatchBaseKHR( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const &d ) const
+ {
+ d.vkCmdDispatchBaseKHR( m_commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, const void* pData, Dispatch const &d) const
+ {
+ d.vkCmdPushDescriptorSetWithTemplateKHR( m_commandBuffer, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), static_cast<VkPipelineLayout>( layout ), set, pData );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, const void* pData, Dispatch const &d ) const
+ {
+ d.vkCmdPushDescriptorSetWithTemplateKHR( m_commandBuffer, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), static_cast<VkPipelineLayout>( layout ), set, pData );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const ViewportWScalingNV* pViewportWScalings, Dispatch const &d) const
+ {
+ d.vkCmdSetViewportWScalingNV( m_commandBuffer, firstViewport, viewportCount, reinterpret_cast<const VkViewportWScalingNV*>( pViewportWScalings ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, ArrayProxy<const ViewportWScalingNV> viewportWScalings, Dispatch const &d ) const
+ {
+ d.vkCmdSetViewportWScalingNV( m_commandBuffer, firstViewport, viewportWScalings.size() , reinterpret_cast<const VkViewportWScalingNV*>( viewportWScalings.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const Rect2D* pDiscardRectangles, Dispatch const &d) const
+ {
+ d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, firstDiscardRectangle, discardRectangleCount, reinterpret_cast<const VkRect2D*>( pDiscardRectangles ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy<const Rect2D> discardRectangles, Dispatch const &d ) const
+ {
+ d.vkCmdSetDiscardRectangleEXT( m_commandBuffer, firstDiscardRectangle, discardRectangles.size() , reinterpret_cast<const VkRect2D*>( discardRectangles.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const SampleLocationsInfoEXT* pSampleLocationsInfo, Dispatch const &d) const
+ {
+ d.vkCmdSetSampleLocationsEXT( m_commandBuffer, reinterpret_cast<const VkSampleLocationsInfoEXT*>( pSampleLocationsInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo, Dispatch const &d ) const
+ {
+ d.vkCmdSetSampleLocationsEXT( m_commandBuffer, reinterpret_cast<const VkSampleLocationsInfoEXT*>( &sampleLocationsInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const
+ {
+ d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const
+ {
+ d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT(Dispatch const &d) const
+ {
+ d.vkCmdEndDebugUtilsLabelEXT( m_commandBuffer );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT(Dispatch const &d ) const
+ {
+ d.vkCmdEndDebugUtilsLabelEXT( m_commandBuffer );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const
+ {
+ d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const
+ {
+ d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const &d) const
+ {
+ d.vkCmdWriteBufferMarkerAMD( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkBuffer>( dstBuffer ), dstOffset, marker );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const &d ) const
+ {
+ d.vkCmdWriteBufferMarkerAMD( m_commandBuffer, static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkBuffer>( dstBuffer ), dstOffset, marker );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ struct SubmitInfo
+ {
+ SubmitInfo( uint32_t waitSemaphoreCount_ = 0, const Semaphore* pWaitSemaphores_ = nullptr, const PipelineStageFlags* pWaitDstStageMask_ = nullptr, uint32_t commandBufferCount_ = 0, const CommandBuffer* pCommandBuffers_ = nullptr, uint32_t signalSemaphoreCount_ = 0, const Semaphore* pSignalSemaphores_ = nullptr )
+ : waitSemaphoreCount( waitSemaphoreCount_ )
+ , pWaitSemaphores( pWaitSemaphores_ )
+ , pWaitDstStageMask( pWaitDstStageMask_ )
+ , commandBufferCount( commandBufferCount_ )
+ , pCommandBuffers( pCommandBuffers_ )
+ , signalSemaphoreCount( signalSemaphoreCount_ )
+ , pSignalSemaphores( pSignalSemaphores_ )
+ {
+ }
+
+ SubmitInfo( VkSubmitInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubmitInfo ) );
+ }
+
+ SubmitInfo& operator=( VkSubmitInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( SubmitInfo ) );
+ return *this;
+ }
+ SubmitInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ SubmitInfo& setWaitSemaphoreCount( uint32_t waitSemaphoreCount_ )
+ {
+ waitSemaphoreCount = waitSemaphoreCount_;
+ return *this;
+ }
+
+ SubmitInfo& setPWaitSemaphores( const Semaphore* pWaitSemaphores_ )
+ {
+ pWaitSemaphores = pWaitSemaphores_;
+ return *this;
+ }
+
+ SubmitInfo& setPWaitDstStageMask( const PipelineStageFlags* pWaitDstStageMask_ )
+ {
+ pWaitDstStageMask = pWaitDstStageMask_;
+ return *this;
+ }
+
+ SubmitInfo& setCommandBufferCount( uint32_t commandBufferCount_ )
+ {
+ commandBufferCount = commandBufferCount_;
+ return *this;
+ }
+
+ SubmitInfo& setPCommandBuffers( const CommandBuffer* pCommandBuffers_ )
+ {
+ pCommandBuffers = pCommandBuffers_;
+ return *this;
+ }
+
+ SubmitInfo& setSignalSemaphoreCount( uint32_t signalSemaphoreCount_ )
+ {
+ signalSemaphoreCount = signalSemaphoreCount_;
+ return *this;
+ }
+
+ SubmitInfo& setPSignalSemaphores( const Semaphore* pSignalSemaphores_ )
+ {
+ pSignalSemaphores = pSignalSemaphores_;
+ return *this;
+ }
+
+ operator const VkSubmitInfo&() const
+ {
+ return *reinterpret_cast<const VkSubmitInfo*>(this);
+ }
+
+ bool operator==( SubmitInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( waitSemaphoreCount == rhs.waitSemaphoreCount )
+ && ( pWaitSemaphores == rhs.pWaitSemaphores )
+ && ( pWaitDstStageMask == rhs.pWaitDstStageMask )
+ && ( commandBufferCount == rhs.commandBufferCount )
+ && ( pCommandBuffers == rhs.pCommandBuffers )
+ && ( signalSemaphoreCount == rhs.signalSemaphoreCount )
+ && ( pSignalSemaphores == rhs.pSignalSemaphores );
+ }
+
+ bool operator!=( SubmitInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eSubmitInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t waitSemaphoreCount;
+ const Semaphore* pWaitSemaphores;
+ const PipelineStageFlags* pWaitDstStageMask;
+ uint32_t commandBufferCount;
+ const CommandBuffer* pCommandBuffers;
+ uint32_t signalSemaphoreCount;
+ const Semaphore* pSignalSemaphores;
+ };
+ static_assert( sizeof( SubmitInfo ) == sizeof( VkSubmitInfo ), "struct and wrapper have different size!" );
+
+ class Queue
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Queue()
+ : m_queue(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Queue( std::nullptr_t )
+ : m_queue(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Queue( VkQueue queue )
+ : m_queue( queue )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Queue & operator=(VkQueue queue)
+ {
+ m_queue = queue;
+ return *this;
+ }
+#endif
+
+ Queue & operator=( std::nullptr_t )
+ {
+ m_queue = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Queue const & rhs ) const
+ {
+ return m_queue == rhs.m_queue;
+ }
+
+ bool operator!=(Queue const & rhs ) const
+ {
+ return m_queue != rhs.m_queue;
+ }
+
+ bool operator<(Queue const & rhs ) const
+ {
+ return m_queue < rhs.m_queue;
+ }
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result submit( uint32_t submitCount, const SubmitInfo* pSubmits, Fence fence, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type submit( ArrayProxy<const SubmitInfo> submits, Fence fence, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result waitIdle(Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type waitIdle(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result bindSparse( uint32_t bindInfoCount, const BindSparseInfo* pBindInfo, Fence fence, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type bindSparse( ArrayProxy<const BindSparseInfo> bindInfo, Fence fence, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result presentKHR( const PresentInfoKHR* pPresentInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result presentKHR( const PresentInfoKHR & presentInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void endDebugUtilsLabelEXT(Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkQueue() const
+ {
+ return m_queue;
+ }
+
+ explicit operator bool() const
+ {
+ return m_queue != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_queue == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkQueue m_queue;
+ };
+
+ static_assert( sizeof( Queue ) == sizeof( VkQueue ), "handle and wrapper have different size!" );
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Queue::submit( uint32_t submitCount, const SubmitInfo* pSubmits, Fence fence, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkQueueSubmit( m_queue, submitCount, reinterpret_cast<const VkSubmitInfo*>( pSubmits ), static_cast<VkFence>( fence ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Queue::submit( ArrayProxy<const SubmitInfo> submits, Fence fence, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkQueueSubmit( m_queue, submits.size() , reinterpret_cast<const VkSubmitInfo*>( submits.data() ), static_cast<VkFence>( fence ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::submit" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Queue::waitIdle(Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkQueueWaitIdle( m_queue ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Queue::waitIdle(Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkQueueWaitIdle( m_queue ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::waitIdle" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Queue::bindSparse( uint32_t bindInfoCount, const BindSparseInfo* pBindInfo, Fence fence, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkQueueBindSparse( m_queue, bindInfoCount, reinterpret_cast<const VkBindSparseInfo*>( pBindInfo ), static_cast<VkFence>( fence ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Queue::bindSparse( ArrayProxy<const BindSparseInfo> bindInfo, Fence fence, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkQueueBindSparse( m_queue, bindInfo.size() , reinterpret_cast<const VkBindSparseInfo*>( bindInfo.data() ), static_cast<VkFence>( fence ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::bindSparse" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Queue::presentKHR( const PresentInfoKHR* pPresentInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkQueuePresentKHR( m_queue, reinterpret_cast<const VkPresentInfoKHR*>( pPresentInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Queue::presentKHR( const PresentInfoKHR & presentInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkQueuePresentKHR( m_queue, reinterpret_cast<const VkPresentInfoKHR*>( &presentInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Queue::presentKHR", { Result::eSuccess, Result::eSuboptimalKHR } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const
+ {
+ d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const
+ {
+ d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT(Dispatch const &d) const
+ {
+ d.vkQueueEndDebugUtilsLabelEXT( m_queue );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT(Dispatch const &d ) const
+ {
+ d.vkQueueEndDebugUtilsLabelEXT( m_queue );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT* pLabelInfo, Dispatch const &d) const
+ {
+ d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( pLabelInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo, Dispatch const &d ) const
+ {
+ d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast<const VkDebugUtilsLabelEXT*>( &labelInfo ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ class Device;
+
+ template <> class UniqueHandleTraits<Buffer> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueBuffer = UniqueHandle<Buffer>;
+ template <> class UniqueHandleTraits<BufferView> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueBufferView = UniqueHandle<BufferView>;
+ template <> class UniqueHandleTraits<CommandBuffer> {public: using deleter = PoolFree<Device, CommandPool>; };
+ using UniqueCommandBuffer = UniqueHandle<CommandBuffer>;
+ template <> class UniqueHandleTraits<CommandPool> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueCommandPool = UniqueHandle<CommandPool>;
+ template <> class UniqueHandleTraits<DescriptorPool> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueDescriptorPool = UniqueHandle<DescriptorPool>;
+ template <> class UniqueHandleTraits<DescriptorSet> {public: using deleter = PoolFree<Device, DescriptorPool>; };
+ using UniqueDescriptorSet = UniqueHandle<DescriptorSet>;
+ template <> class UniqueHandleTraits<DescriptorSetLayout> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueDescriptorSetLayout = UniqueHandle<DescriptorSetLayout>;
+ template <> class UniqueHandleTraits<DescriptorUpdateTemplate> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueDescriptorUpdateTemplate = UniqueHandle<DescriptorUpdateTemplate>;
+ template <> class UniqueHandleTraits<DeviceMemory> {public: using deleter = ObjectFree<Device>; };
+ using UniqueDeviceMemory = UniqueHandle<DeviceMemory>;
+ template <> class UniqueHandleTraits<Event> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueEvent = UniqueHandle<Event>;
+ template <> class UniqueHandleTraits<Fence> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueFence = UniqueHandle<Fence>;
+ template <> class UniqueHandleTraits<Framebuffer> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueFramebuffer = UniqueHandle<Framebuffer>;
+ template <> class UniqueHandleTraits<Image> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueImage = UniqueHandle<Image>;
+ template <> class UniqueHandleTraits<ImageView> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueImageView = UniqueHandle<ImageView>;
+ template <> class UniqueHandleTraits<IndirectCommandsLayoutNVX> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueIndirectCommandsLayoutNVX = UniqueHandle<IndirectCommandsLayoutNVX>;
+ template <> class UniqueHandleTraits<ObjectTableNVX> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueObjectTableNVX = UniqueHandle<ObjectTableNVX>;
+ template <> class UniqueHandleTraits<Pipeline> {public: using deleter = ObjectDestroy<Device>; };
+ using UniquePipeline = UniqueHandle<Pipeline>;
+ template <> class UniqueHandleTraits<PipelineCache> {public: using deleter = ObjectDestroy<Device>; };
+ using UniquePipelineCache = UniqueHandle<PipelineCache>;
+ template <> class UniqueHandleTraits<PipelineLayout> {public: using deleter = ObjectDestroy<Device>; };
+ using UniquePipelineLayout = UniqueHandle<PipelineLayout>;
+ template <> class UniqueHandleTraits<QueryPool> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueQueryPool = UniqueHandle<QueryPool>;
+ template <> class UniqueHandleTraits<RenderPass> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueRenderPass = UniqueHandle<RenderPass>;
+ template <> class UniqueHandleTraits<Sampler> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueSampler = UniqueHandle<Sampler>;
+ template <> class UniqueHandleTraits<SamplerYcbcrConversion> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueSamplerYcbcrConversion = UniqueHandle<SamplerYcbcrConversion>;
+ template <> class UniqueHandleTraits<Semaphore> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueSemaphore = UniqueHandle<Semaphore>;
+ template <> class UniqueHandleTraits<ShaderModule> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueShaderModule = UniqueHandle<ShaderModule>;
+ template <> class UniqueHandleTraits<SwapchainKHR> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueSwapchainKHR = UniqueHandle<SwapchainKHR>;
+ template <> class UniqueHandleTraits<ValidationCacheEXT> {public: using deleter = ObjectDestroy<Device>; };
+ using UniqueValidationCacheEXT = UniqueHandle<ValidationCacheEXT>;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+
+ class Device
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Device()
+ : m_device(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Device( std::nullptr_t )
+ : m_device(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Device( VkDevice device )
+ : m_device( device )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Device & operator=(VkDevice device)
+ {
+ m_device = device;
+ return *this;
+ }
+#endif
+
+ Device & operator=( std::nullptr_t )
+ {
+ m_device = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Device const & rhs ) const
+ {
+ return m_device == rhs.m_device;
+ }
+
+ bool operator!=(Device const & rhs ) const
+ {
+ return m_device != rhs.m_device;
+ }
+
+ bool operator<(Device const & rhs ) const
+ {
+ return m_device < rhs.m_device;
+ }
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ PFN_vkVoidFunction getProcAddr( const char* pName, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PFN_vkVoidFunction getProcAddr( const std::string & name, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Queue* pQueue, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Queue getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result waitIdle(Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type waitIdle(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result allocateMemory( const MemoryAllocateInfo* pAllocateInfo, const AllocationCallbacks* pAllocator, DeviceMemory* pMemory, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DeviceMemory>::type allocateMemory( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDeviceMemory>::type allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void freeMemory( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void freeMemory( DeviceMemory memory, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void free( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void free( DeviceMemory memory, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, void** ppData, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void*>::type mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags = MemoryMapFlags(), Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void unmapMemory( DeviceMemory memory, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result flushMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type flushMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result invalidateMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type invalidateMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getMemoryCommitment( DeviceMemory memory, DeviceSize* pCommittedMemoryInBytes, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ DeviceSize getMemoryCommitment( DeviceMemory memory, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getBufferMemoryRequirements( Buffer buffer, MemoryRequirements* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ MemoryRequirements getBufferMemoryRequirements( Buffer buffer, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getImageMemoryRequirements( Image image, MemoryRequirements* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ MemoryRequirements getImageMemoryRequirements( Image image, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getImageSparseMemoryRequirements( Image image, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements* pSparseMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SparseImageMemoryRequirements>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<SparseImageMemoryRequirements,Allocator> getImageSparseMemoryRequirements( Image image, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createFence( const FenceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Fence>::type createFence( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueFence>::type createFenceUnique( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyFence( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyFence( Fence fence, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Fence fence, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result resetFences( uint32_t fenceCount, const Fence* pFences, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type resetFences( ArrayProxy<const Fence> fences, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getFenceStatus( Fence fence, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result waitForFences( uint32_t fenceCount, const Fence* pFences, Bool32 waitAll, uint64_t timeout, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result waitForFences( ArrayProxy<const Fence> fences, Bool32 waitAll, uint64_t timeout, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createSemaphore( const SemaphoreCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Semaphore* pSemaphore, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Semaphore>::type createSemaphore( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSemaphore>::type createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySemaphore( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySemaphore( Semaphore semaphore, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Semaphore semaphore, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createEvent( const EventCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Event* pEvent, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Event>::type createEvent( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueEvent>::type createEventUnique( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyEvent( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyEvent( Event event, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Event event, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getEventStatus( Event event, Dispatch const &d = Dispatch() ) const;
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result setEvent( Event event, Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type setEvent( Event event, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result resetEvent( Event event, Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type resetEvent( Event event, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createQueryPool( const QueryPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, QueryPool* pQueryPool, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<QueryPool>::type createQueryPool( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueQueryPool>::type createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyQueryPool( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyQueryPool( QueryPool queryPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( QueryPool queryPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, DeviceSize stride, QueryResultFlags flags, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename T, typename Dispatch = DispatchLoaderStatic>
+ Result getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, ArrayProxy<T> data, DeviceSize stride, QueryResultFlags flags, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createBuffer( const BufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Buffer* pBuffer, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Buffer>::type createBuffer( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueBuffer>::type createBufferUnique( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyBuffer( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyBuffer( Buffer buffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Buffer buffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createBufferView( const BufferViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, BufferView* pView, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<BufferView>::type createBufferView( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueBufferView>::type createBufferViewUnique( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyBufferView( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyBufferView( BufferView bufferView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( BufferView bufferView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createImage( const ImageCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Image* pImage, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Image>::type createImage( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueImage>::type createImageUnique( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyImage( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyImage( Image image, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Image image, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getImageSubresourceLayout( Image image, const ImageSubresource* pSubresource, SubresourceLayout* pLayout, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ SubresourceLayout getImageSubresourceLayout( Image image, const ImageSubresource & subresource, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createImageView( const ImageViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ImageView* pView, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ImageView>::type createImageView( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueImageView>::type createImageViewUnique( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyImageView( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyImageView( ImageView imageView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ImageView imageView, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createShaderModule( const ShaderModuleCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ShaderModule* pShaderModule, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ShaderModule>::type createShaderModule( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueShaderModule>::type createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyShaderModule( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyShaderModule( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createPipelineCache( const PipelineCacheCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineCache* pPipelineCache, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<PipelineCache>::type createPipelineCache( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniquePipelineCache>::type createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyPipelineCache( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyPipelineCache( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getPipelineCacheData( PipelineCache pipelineCache, size_t* pDataSize, void* pData, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<uint8_t>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<uint8_t,Allocator>>::type getPipelineCacheData( PipelineCache pipelineCache, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result mergePipelineCaches( PipelineCache dstCache, uint32_t srcCacheCount, const PipelineCache* pSrcCaches, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type mergePipelineCaches( PipelineCache dstCache, ArrayProxy<const PipelineCache> srcCaches, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createGraphicsPipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const GraphicsPipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<Pipeline,Allocator>>::type createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+ template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Pipeline>::type createGraphicsPipeline( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+ template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniquePipeline>::type createGraphicsPipelineUnique( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createComputePipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const ComputePipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<Pipeline,Allocator>>::type createComputePipelines( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+ template <typename Allocator = std::allocator<Pipeline>, typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Pipeline>::type createComputePipeline( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+ template <typename Allocator = std::allocator<UniquePipeline>, typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniquePipeline>::type createComputePipelineUnique( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyPipeline( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyPipeline( Pipeline pipeline, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Pipeline pipeline, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createPipelineLayout( const PipelineLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineLayout* pPipelineLayout, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<PipelineLayout>::type createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniquePipelineLayout>::type createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyPipelineLayout( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyPipelineLayout( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createSampler( const SamplerCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Sampler* pSampler, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Sampler>::type createSampler( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSampler>::type createSamplerUnique( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySampler( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySampler( Sampler sampler, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Sampler sampler, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorSetLayout* pSetLayout, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DescriptorSetLayout>::type createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDescriptorSetLayout>::type createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDescriptorPool( const DescriptorPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorPool* pDescriptorPool, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DescriptorPool>::type createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDescriptorPool>::type createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorPool( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorPool( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags = DescriptorPoolResetFlags(), Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags = DescriptorPoolResetFlags(), Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result allocateDescriptorSets( const DescriptorSetAllocateInfo* pAllocateInfo, DescriptorSet* pDescriptorSets, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<DescriptorSet>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<DescriptorSet,Allocator>>::type allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator = std::allocator<UniqueDescriptorSet>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<UniqueDescriptorSet,Allocator>>::type allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result freeDescriptorSets( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type freeDescriptorSets( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result free( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type free( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void updateDescriptorSets( uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const CopyDescriptorSet* pDescriptorCopies, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void updateDescriptorSets( ArrayProxy<const WriteDescriptorSet> descriptorWrites, ArrayProxy<const CopyDescriptorSet> descriptorCopies, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createFramebuffer( const FramebufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Framebuffer* pFramebuffer, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Framebuffer>::type createFramebuffer( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueFramebuffer>::type createFramebufferUnique( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyFramebuffer( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyFramebuffer( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createRenderPass( const RenderPassCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, RenderPass* pRenderPass, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<RenderPass>::type createRenderPass( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueRenderPass>::type createRenderPassUnique( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyRenderPass( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyRenderPass( RenderPass renderPass, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( RenderPass renderPass, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getRenderAreaGranularity( RenderPass renderPass, Extent2D* pGranularity, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Extent2D getRenderAreaGranularity( RenderPass renderPass, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createCommandPool( const CommandPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, CommandPool* pCommandPool, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<CommandPool>::type createCommandPool( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueCommandPool>::type createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyCommandPool( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyCommandPool( CommandPool commandPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( CommandPool commandPool, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result allocateCommandBuffers( const CommandBufferAllocateInfo* pAllocateInfo, CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<CommandBuffer>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<CommandBuffer,Allocator>>::type allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator = std::allocator<UniqueCommandBuffer>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<UniqueCommandBuffer,Allocator>>::type allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void freeCommandBuffers( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void freeCommandBuffers( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void free( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void free( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createSharedSwapchainsKHR( uint32_t swapchainCount, const SwapchainCreateInfoKHR* pCreateInfos, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchains, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SwapchainKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<SwapchainKHR,Allocator>>::type createSharedSwapchainsKHR( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+ template <typename Allocator = std::allocator<SwapchainKHR>, typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SwapchainKHR>::type createSharedSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator = std::allocator<UniqueSwapchainKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<UniqueSwapchainKHR,Allocator>>::type createSharedSwapchainsKHRUnique( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+ template <typename Allocator = std::allocator<UniqueSwapchainKHR>, typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSwapchainKHR>::type createSharedSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createSwapchainKHR( const SwapchainCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchain, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SwapchainKHR>::type createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSwapchainKHR>::type createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySwapchainKHR( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySwapchainKHR( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSwapchainImagesKHR( SwapchainKHR swapchain, uint32_t* pSwapchainImageCount, Image* pSwapchainImages, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<Image>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<Image,Allocator>>::type getSwapchainImagesKHR( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, uint32_t* pImageIndex, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValue<uint32_t> acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT* pNameInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT* pTagInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<HANDLE>::type getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, IndirectCommandsLayoutNVX* pIndirectCommandsLayout, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<IndirectCommandsLayoutNVX>::type createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueIndirectCommandsLayoutNVX>::type createIndirectCommandsLayoutNVXUnique( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createObjectTableNVX( const ObjectTableCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, ObjectTableNVX* pObjectTable, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ObjectTableNVX>::type createObjectTableNVX( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueObjectTableNVX>::type createObjectTableNVXUnique( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyObjectTableNVX( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyObjectTableNVX( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result registerObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectTableEntryNVX* const* ppObjectTableEntries, const uint32_t* pObjectIndices, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type registerObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectTableEntryNVX* const> pObjectTableEntries, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result unregisterObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectEntryTypeNVX* pObjectEntryTypes, const uint32_t* pObjectIndices, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type unregisterObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectEntryTypeNVX> objectEntryTypes, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags = CommandPoolTrimFlags(), Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags = CommandPoolTrimFlags(), Dispatch const &d = Dispatch() ) const;
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<HANDLE>::type getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<MemoryWin32HandlePropertiesKHR>::type getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getMemoryFdKHR( const MemoryGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<int>::type getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, MemoryFdPropertiesKHR* pMemoryFdProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<MemoryFdPropertiesKHR>::type getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<HANDLE>::type getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<int>::type getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<HANDLE>::type getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getFenceFdKHR( const FenceGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<int>::type getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result importFenceFdKHR( const ImportFenceFdInfoKHR* pImportFenceFdInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT* pDisplayPowerInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT & displayPowerInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result registerEventEXT( const DeviceEventInfoEXT* pDeviceEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Fence>::type registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT* pDisplayEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Fence>::type registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<uint64_t>::type getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PeerMemoryFeatureFlags getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PeerMemoryFeatureFlags getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result bindBufferMemory2( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type bindBufferMemory2( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result bindBufferMemory2KHR( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type bindBufferMemory2KHR( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result bindImageMemory2( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type bindImageMemory2( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result bindImageMemory2KHR( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type bindImageMemory2KHR( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DeviceGroupPresentCapabilitiesKHR>::type getGroupPresentCapabilitiesKHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getGroupSurfacePresentModesKHR( SurfaceKHR surface, DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DeviceGroupPresentModeFlagsKHR>::type getGroupSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result acquireNextImage2KHR( const AcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValue<uint32_t> acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DescriptorUpdateTemplate>::type createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDescriptorUpdateTemplate>::type createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DescriptorUpdateTemplate>::type createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDescriptorUpdateTemplate>::type createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setHdrMetadataEXT( uint32_t swapchainCount, const SwapchainKHR* pSwapchains, const HdrMetadataEXT* pMetadata, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void setHdrMetadataEXT( ArrayProxy<const SwapchainKHR> swapchains, ArrayProxy<const HdrMetadataEXT> metadata, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, RefreshCycleDurationGOOGLE* pDisplayTimingProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<RefreshCycleDurationGOOGLE>::type getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, uint32_t* pPresentationTimingCount, PastPresentationTimingGOOGLE* pPresentationTimings, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<PastPresentationTimingGOOGLE>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<PastPresentationTimingGOOGLE,Allocator>>::type getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ MemoryRequirements2 getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ MemoryRequirements2 getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ MemoryRequirements2 getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ MemoryRequirements2 getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SparseImageMemoryRequirements2>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<SparseImageMemoryRequirements2,Allocator> getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SparseImageMemoryRequirements2>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<SparseImageMemoryRequirements2,Allocator> getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SamplerYcbcrConversion>::type createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSamplerYcbcrConversion>::type createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SamplerYcbcrConversion>::type createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSamplerYcbcrConversion>::type createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getQueue2( const DeviceQueueInfo2* pQueueInfo, Queue* pQueue, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Queue getQueue2( const DeviceQueueInfo2 & queueInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createValidationCacheEXT( const ValidationCacheCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, ValidationCacheEXT* pValidationCache, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ValidationCacheEXT>::type createValidationCacheEXT( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueValidationCacheEXT>::type createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyValidationCacheEXT( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyValidationCacheEXT( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getValidationCacheDataEXT( ValidationCacheEXT validationCache, size_t* pDataSize, void* pData, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<uint8_t>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<uint8_t,Allocator>>::type getValidationCacheDataEXT( ValidationCacheEXT validationCache, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result mergeValidationCachesEXT( ValidationCacheEXT dstCache, uint32_t srcCacheCount, const ValidationCacheEXT* pSrcCaches, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type mergeValidationCachesEXT( ValidationCacheEXT dstCache, ArrayProxy<const ValidationCacheEXT> srcCaches, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ DescriptorSetLayoutSupport getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ DescriptorSetLayoutSupport getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<uint8_t>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<uint8_t,Allocator>>::type getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT* pNameInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT* pTagInfo, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<MemoryHostPointerPropertiesEXT>::type getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer* buffer, AndroidHardwareBufferPropertiesANDROID* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<AndroidHardwareBufferPropertiesANDROID>::type getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<StructureChain<T...>>::type getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<struct AHardwareBuffer*>::type getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDevice() const
+ {
+ return m_device;
+ }
+
+ explicit operator bool() const
+ {
+ return m_device != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_device == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkDevice m_device;
+ };
+
+ static_assert( sizeof( Device ) == sizeof( VkDevice ), "handle and wrapper have different size!" );
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const char* pName, Dispatch const &d) const
+ {
+ return d.vkGetDeviceProcAddr( m_device, pName );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( const std::string & name, Dispatch const &d ) const
+ {
+ return d.vkGetDeviceProcAddr( m_device, name.c_str() );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDevice( m_device, reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDevice( m_device, reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Queue* pQueue, Dispatch const &d) const
+ {
+ d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue*>( pQueue ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Queue Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const &d ) const
+ {
+ Queue queue;
+ d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue*>( &queue ) );
+ return queue;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::waitIdle(Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkDeviceWaitIdle( m_device ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::waitIdle(Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkDeviceWaitIdle( m_device ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::waitIdle" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::allocateMemory( const MemoryAllocateInfo* pAllocateInfo, const AllocationCallbacks* pAllocator, DeviceMemory* pMemory, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkAllocateMemory( m_device, reinterpret_cast<const VkMemoryAllocateInfo*>( pAllocateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDeviceMemory*>( pMemory ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DeviceMemory>::type Device::allocateMemory( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DeviceMemory memory;
+ Result result = static_cast<Result>( d.vkAllocateMemory( m_device, reinterpret_cast<const VkMemoryAllocateInfo*>( &allocateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDeviceMemory*>( &memory ) ) );
+ return createResultValue( result, memory, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateMemory" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDeviceMemory>::type Device::allocateMemoryUnique( const MemoryAllocateInfo & allocateInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DeviceMemory memory;
+ Result result = static_cast<Result>( d.vkAllocateMemory( m_device, reinterpret_cast<const VkMemoryAllocateInfo*>( &allocateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDeviceMemory*>( &memory ) ) );
+
+ ObjectFree<Device> deleter( *this, allocator );
+ return createResultValue( result, memory, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateMemoryUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::freeMemory( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::freeMemory( DeviceMemory memory, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::free( DeviceMemory memory, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::free( DeviceMemory memory, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkFreeMemory( m_device, static_cast<VkDeviceMemory>( memory ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, void** ppData, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkMapMemory( m_device, static_cast<VkDeviceMemory>( memory ), offset, size, static_cast<VkMemoryMapFlags>( flags ), ppData ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void*>::type Device::mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, Dispatch const &d ) const
+ {
+ void* pData;
+ Result result = static_cast<Result>( d.vkMapMemory( m_device, static_cast<VkDeviceMemory>( memory ), offset, size, static_cast<VkMemoryMapFlags>( flags ), &pData ) );
+ return createResultValue( result, pData, VULKAN_HPP_NAMESPACE_STRING"::Device::mapMemory" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::unmapMemory( DeviceMemory memory, Dispatch const &d) const
+ {
+ d.vkUnmapMemory( m_device, static_cast<VkDeviceMemory>( memory ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::unmapMemory( DeviceMemory memory, Dispatch const &d ) const
+ {
+ d.vkUnmapMemory( m_device, static_cast<VkDeviceMemory>( memory ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::flushMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkFlushMappedMemoryRanges( m_device, memoryRangeCount, reinterpret_cast<const VkMappedMemoryRange*>( pMemoryRanges ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::flushMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkFlushMappedMemoryRanges( m_device, memoryRanges.size() , reinterpret_cast<const VkMappedMemoryRange*>( memoryRanges.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::flushMappedMemoryRanges" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::invalidateMappedMemoryRanges( uint32_t memoryRangeCount, const MappedMemoryRange* pMemoryRanges, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkInvalidateMappedMemoryRanges( m_device, memoryRangeCount, reinterpret_cast<const VkMappedMemoryRange*>( pMemoryRanges ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::invalidateMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> memoryRanges, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkInvalidateMappedMemoryRanges( m_device, memoryRanges.size() , reinterpret_cast<const VkMappedMemoryRange*>( memoryRanges.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::invalidateMappedMemoryRanges" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getMemoryCommitment( DeviceMemory memory, DeviceSize* pCommittedMemoryInBytes, Dispatch const &d) const
+ {
+ d.vkGetDeviceMemoryCommitment( m_device, static_cast<VkDeviceMemory>( memory ), pCommittedMemoryInBytes );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE DeviceSize Device::getMemoryCommitment( DeviceMemory memory, Dispatch const &d ) const
+ {
+ DeviceSize committedMemoryInBytes;
+ d.vkGetDeviceMemoryCommitment( m_device, static_cast<VkDeviceMemory>( memory ), &committedMemoryInBytes );
+ return committedMemoryInBytes;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements( Buffer buffer, MemoryRequirements* pMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetBufferMemoryRequirements( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements*>( pMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE MemoryRequirements Device::getBufferMemoryRequirements( Buffer buffer, Dispatch const &d ) const
+ {
+ MemoryRequirements memoryRequirements;
+ d.vkGetBufferMemoryRequirements( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<VkMemoryRequirements*>( &memoryRequirements ) );
+ return memoryRequirements;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkBindBufferMemory( m_device, static_cast<VkBuffer>( buffer ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkBindBufferMemory( m_device, static_cast<VkBuffer>( buffer ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindBufferMemory" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getImageMemoryRequirements( Image image, MemoryRequirements* pMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetImageMemoryRequirements( m_device, static_cast<VkImage>( image ), reinterpret_cast<VkMemoryRequirements*>( pMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE MemoryRequirements Device::getImageMemoryRequirements( Image image, Dispatch const &d ) const
+ {
+ MemoryRequirements memoryRequirements;
+ d.vkGetImageMemoryRequirements( m_device, static_cast<VkImage>( image ), reinterpret_cast<VkMemoryRequirements*>( &memoryRequirements ) );
+ return memoryRequirements;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkBindImageMemory( m_device, static_cast<VkImage>( image ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkBindImageMemory( m_device, static_cast<VkImage>( image ), static_cast<VkDeviceMemory>( memory ), memoryOffset ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindImageMemory" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements( Image image, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements* pSparseMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetImageSparseMemoryRequirements( m_device, static_cast<VkImage>( image ), pSparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements*>( pSparseMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements,Allocator> Device::getImageSparseMemoryRequirements( Image image, Dispatch const &d ) const
+ {
+ std::vector<SparseImageMemoryRequirements,Allocator> sparseMemoryRequirements;
+ uint32_t sparseMemoryRequirementCount;
+ d.vkGetImageSparseMemoryRequirements( m_device, static_cast<VkImage>( image ), &sparseMemoryRequirementCount, nullptr );
+ sparseMemoryRequirements.resize( sparseMemoryRequirementCount );
+ d.vkGetImageSparseMemoryRequirements( m_device, static_cast<VkImage>( image ), &sparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements*>( sparseMemoryRequirements.data() ) );
+ return sparseMemoryRequirements;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createFence( const FenceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateFence( m_device, reinterpret_cast<const VkFenceCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFence*>( pFence ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Fence>::type Device::createFence( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Fence fence;
+ Result result = static_cast<Result>( d.vkCreateFence( m_device, reinterpret_cast<const VkFenceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );
+ return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::createFence" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueFence>::type Device::createFenceUnique( const FenceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Fence fence;
+ Result result = static_cast<Result>( d.vkCreateFence( m_device, reinterpret_cast<const VkFenceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::createFenceUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyFence( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyFence( Fence fence, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Fence fence, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Fence fence, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyFence( m_device, static_cast<VkFence>( fence ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::resetFences( uint32_t fenceCount, const Fence* pFences, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkResetFences( m_device, fenceCount, reinterpret_cast<const VkFence*>( pFences ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetFences( ArrayProxy<const Fence> fences, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkResetFences( m_device, fences.size() , reinterpret_cast<const VkFence*>( fences.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetFences" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getFenceStatus( Fence fence, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetFenceStatus( m_device, static_cast<VkFence>( fence ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getFenceStatus( Fence fence, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkGetFenceStatus( m_device, static_cast<VkFence>( fence ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getFenceStatus", { Result::eSuccess, Result::eNotReady } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::waitForFences( uint32_t fenceCount, const Fence* pFences, Bool32 waitAll, uint64_t timeout, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkWaitForFences( m_device, fenceCount, reinterpret_cast<const VkFence*>( pFences ), waitAll, timeout ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::waitForFences( ArrayProxy<const Fence> fences, Bool32 waitAll, uint64_t timeout, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkWaitForFences( m_device, fences.size() , reinterpret_cast<const VkFence*>( fences.data() ), waitAll, timeout ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::waitForFences", { Result::eSuccess, Result::eTimeout } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createSemaphore( const SemaphoreCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Semaphore* pSemaphore, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateSemaphore( m_device, reinterpret_cast<const VkSemaphoreCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSemaphore*>( pSemaphore ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Semaphore>::type Device::createSemaphore( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Semaphore semaphore;
+ Result result = static_cast<Result>( d.vkCreateSemaphore( m_device, reinterpret_cast<const VkSemaphoreCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSemaphore*>( &semaphore ) ) );
+ return createResultValue( result, semaphore, VULKAN_HPP_NAMESPACE_STRING"::Device::createSemaphore" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSemaphore>::type Device::createSemaphoreUnique( const SemaphoreCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Semaphore semaphore;
+ Result result = static_cast<Result>( d.vkCreateSemaphore( m_device, reinterpret_cast<const VkSemaphoreCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSemaphore*>( &semaphore ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, semaphore, VULKAN_HPP_NAMESPACE_STRING"::Device::createSemaphoreUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySemaphore( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySemaphore( Semaphore semaphore, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Semaphore semaphore, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Semaphore semaphore, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySemaphore( m_device, static_cast<VkSemaphore>( semaphore ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createEvent( const EventCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Event* pEvent, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateEvent( m_device, reinterpret_cast<const VkEventCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkEvent*>( pEvent ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Event>::type Device::createEvent( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Event event;
+ Result result = static_cast<Result>( d.vkCreateEvent( m_device, reinterpret_cast<const VkEventCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkEvent*>( &event ) ) );
+ return createResultValue( result, event, VULKAN_HPP_NAMESPACE_STRING"::Device::createEvent" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueEvent>::type Device::createEventUnique( const EventCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Event event;
+ Result result = static_cast<Result>( d.vkCreateEvent( m_device, reinterpret_cast<const VkEventCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkEvent*>( &event ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, event, VULKAN_HPP_NAMESPACE_STRING"::Device::createEventUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyEvent( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyEvent( Event event, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Event event, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Event event, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyEvent( m_device, static_cast<VkEvent>( event ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getEventStatus( Event event, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetEventStatus( m_device, static_cast<VkEvent>( event ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getEventStatus( Event event, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkGetEventStatus( m_device, static_cast<VkEvent>( event ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getEventStatus", { Result::eEventSet, Result::eEventReset } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::setEvent( Event event, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkSetEvent( m_device, static_cast<VkEvent>( event ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::setEvent( Event event, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkSetEvent( m_device, static_cast<VkEvent>( event ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::setEvent" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::resetEvent( Event event, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkResetEvent( m_device, static_cast<VkEvent>( event ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetEvent( Event event, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkResetEvent( m_device, static_cast<VkEvent>( event ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetEvent" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createQueryPool( const QueryPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, QueryPool* pQueryPool, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateQueryPool( m_device, reinterpret_cast<const VkQueryPoolCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkQueryPool*>( pQueryPool ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<QueryPool>::type Device::createQueryPool( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ QueryPool queryPool;
+ Result result = static_cast<Result>( d.vkCreateQueryPool( m_device, reinterpret_cast<const VkQueryPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkQueryPool*>( &queryPool ) ) );
+ return createResultValue( result, queryPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createQueryPool" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueQueryPool>::type Device::createQueryPoolUnique( const QueryPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ QueryPool queryPool;
+ Result result = static_cast<Result>( d.vkCreateQueryPool( m_device, reinterpret_cast<const VkQueryPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkQueryPool*>( &queryPool ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, queryPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createQueryPoolUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyQueryPool( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyQueryPool( QueryPool queryPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( QueryPool queryPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( QueryPool queryPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyQueryPool( m_device, static_cast<VkQueryPool>( queryPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, DeviceSize stride, QueryResultFlags flags, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetQueryPoolResults( m_device, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, dataSize, pData, stride, static_cast<VkQueryResultFlags>( flags ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename T, typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, ArrayProxy<T> data, DeviceSize stride, QueryResultFlags flags, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkGetQueryPoolResults( m_device, static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount, data.size() * sizeof( T ) , reinterpret_cast<void*>( data.data() ), stride, static_cast<VkQueryResultFlags>( flags ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getQueryPoolResults", { Result::eSuccess, Result::eNotReady } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createBuffer( const BufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Buffer* pBuffer, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateBuffer( m_device, reinterpret_cast<const VkBufferCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkBuffer*>( pBuffer ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Buffer>::type Device::createBuffer( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Buffer buffer;
+ Result result = static_cast<Result>( d.vkCreateBuffer( m_device, reinterpret_cast<const VkBufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBuffer*>( &buffer ) ) );
+ return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createBuffer" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueBuffer>::type Device::createBufferUnique( const BufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Buffer buffer;
+ Result result = static_cast<Result>( d.vkCreateBuffer( m_device, reinterpret_cast<const VkBufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBuffer*>( &buffer ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createBufferUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyBuffer( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyBuffer( Buffer buffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Buffer buffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Buffer buffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyBuffer( m_device, static_cast<VkBuffer>( buffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createBufferView( const BufferViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, BufferView* pView, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateBufferView( m_device, reinterpret_cast<const VkBufferViewCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkBufferView*>( pView ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<BufferView>::type Device::createBufferView( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ BufferView view;
+ Result result = static_cast<Result>( d.vkCreateBufferView( m_device, reinterpret_cast<const VkBufferViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBufferView*>( &view ) ) );
+ return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createBufferView" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueBufferView>::type Device::createBufferViewUnique( const BufferViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ BufferView view;
+ Result result = static_cast<Result>( d.vkCreateBufferView( m_device, reinterpret_cast<const VkBufferViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkBufferView*>( &view ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createBufferViewUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyBufferView( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyBufferView( BufferView bufferView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( BufferView bufferView, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( BufferView bufferView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyBufferView( m_device, static_cast<VkBufferView>( bufferView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createImage( const ImageCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Image* pImage, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateImage( m_device, reinterpret_cast<const VkImageCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkImage*>( pImage ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Image>::type Device::createImage( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Image image;
+ Result result = static_cast<Result>( d.vkCreateImage( m_device, reinterpret_cast<const VkImageCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImage*>( &image ) ) );
+ return createResultValue( result, image, VULKAN_HPP_NAMESPACE_STRING"::Device::createImage" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueImage>::type Device::createImageUnique( const ImageCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Image image;
+ Result result = static_cast<Result>( d.vkCreateImage( m_device, reinterpret_cast<const VkImageCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImage*>( &image ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, image, VULKAN_HPP_NAMESPACE_STRING"::Device::createImageUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyImage( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyImage( Image image, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Image image, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Image image, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyImage( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getImageSubresourceLayout( Image image, const ImageSubresource* pSubresource, SubresourceLayout* pLayout, Dispatch const &d) const
+ {
+ d.vkGetImageSubresourceLayout( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkImageSubresource*>( pSubresource ), reinterpret_cast<VkSubresourceLayout*>( pLayout ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE SubresourceLayout Device::getImageSubresourceLayout( Image image, const ImageSubresource & subresource, Dispatch const &d ) const
+ {
+ SubresourceLayout layout;
+ d.vkGetImageSubresourceLayout( m_device, static_cast<VkImage>( image ), reinterpret_cast<const VkImageSubresource*>( &subresource ), reinterpret_cast<VkSubresourceLayout*>( &layout ) );
+ return layout;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createImageView( const ImageViewCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ImageView* pView, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateImageView( m_device, reinterpret_cast<const VkImageViewCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkImageView*>( pView ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ImageView>::type Device::createImageView( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ImageView view;
+ Result result = static_cast<Result>( d.vkCreateImageView( m_device, reinterpret_cast<const VkImageViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImageView*>( &view ) ) );
+ return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createImageView" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueImageView>::type Device::createImageViewUnique( const ImageViewCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ImageView view;
+ Result result = static_cast<Result>( d.vkCreateImageView( m_device, reinterpret_cast<const VkImageViewCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkImageView*>( &view ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, view, VULKAN_HPP_NAMESPACE_STRING"::Device::createImageViewUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyImageView( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyImageView( ImageView imageView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ImageView imageView, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ImageView imageView, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyImageView( m_device, static_cast<VkImageView>( imageView ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createShaderModule( const ShaderModuleCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, ShaderModule* pShaderModule, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateShaderModule( m_device, reinterpret_cast<const VkShaderModuleCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkShaderModule*>( pShaderModule ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ShaderModule>::type Device::createShaderModule( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ShaderModule shaderModule;
+ Result result = static_cast<Result>( d.vkCreateShaderModule( m_device, reinterpret_cast<const VkShaderModuleCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkShaderModule*>( &shaderModule ) ) );
+ return createResultValue( result, shaderModule, VULKAN_HPP_NAMESPACE_STRING"::Device::createShaderModule" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueShaderModule>::type Device::createShaderModuleUnique( const ShaderModuleCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ShaderModule shaderModule;
+ Result result = static_cast<Result>( d.vkCreateShaderModule( m_device, reinterpret_cast<const VkShaderModuleCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkShaderModule*>( &shaderModule ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, shaderModule, VULKAN_HPP_NAMESPACE_STRING"::Device::createShaderModuleUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyShaderModule( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyShaderModule( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ShaderModule shaderModule, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ShaderModule shaderModule, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyShaderModule( m_device, static_cast<VkShaderModule>( shaderModule ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createPipelineCache( const PipelineCacheCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineCache* pPipelineCache, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreatePipelineCache( m_device, reinterpret_cast<const VkPipelineCacheCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipelineCache*>( pPipelineCache ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<PipelineCache>::type Device::createPipelineCache( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ PipelineCache pipelineCache;
+ Result result = static_cast<Result>( d.vkCreatePipelineCache( m_device, reinterpret_cast<const VkPipelineCacheCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineCache*>( &pipelineCache ) ) );
+ return createResultValue( result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineCache" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniquePipelineCache>::type Device::createPipelineCacheUnique( const PipelineCacheCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ PipelineCache pipelineCache;
+ Result result = static_cast<Result>( d.vkCreatePipelineCache( m_device, reinterpret_cast<const VkPipelineCacheCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineCache*>( &pipelineCache ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, pipelineCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineCacheUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyPipelineCache( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyPipelineCache( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( PipelineCache pipelineCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( PipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyPipelineCache( m_device, static_cast<VkPipelineCache>( pipelineCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getPipelineCacheData( PipelineCache pipelineCache, size_t* pDataSize, void* pData, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPipelineCacheData( m_device, static_cast<VkPipelineCache>( pipelineCache ), pDataSize, pData ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t,Allocator>>::type Device::getPipelineCacheData( PipelineCache pipelineCache, Dispatch const &d ) const
+ {
+ std::vector<uint8_t,Allocator> data;
+ size_t dataSize;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPipelineCacheData( m_device, static_cast<VkPipelineCache>( pipelineCache ), &dataSize, nullptr ) );
+ if ( ( result == Result::eSuccess ) && dataSize )
+ {
+ data.resize( dataSize );
+ result = static_cast<Result>( d.vkGetPipelineCacheData( m_device, static_cast<VkPipelineCache>( pipelineCache ), &dataSize, reinterpret_cast<void*>( data.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( dataSize <= data.size() );
+ data.resize( dataSize );
+ return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getPipelineCacheData" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::mergePipelineCaches( PipelineCache dstCache, uint32_t srcCacheCount, const PipelineCache* pSrcCaches, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkMergePipelineCaches( m_device, static_cast<VkPipelineCache>( dstCache ), srcCacheCount, reinterpret_cast<const VkPipelineCache*>( pSrcCaches ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::mergePipelineCaches( PipelineCache dstCache, ArrayProxy<const PipelineCache> srcCaches, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkMergePipelineCaches( m_device, static_cast<VkPipelineCache>( dstCache ), srcCaches.size() , reinterpret_cast<const VkPipelineCache*>( srcCaches.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::mergePipelineCaches" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createGraphicsPipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const GraphicsPipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfoCount, reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( pCreateInfos ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipeline*>( pPipelines ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline,Allocator>>::type Device::createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ std::vector<Pipeline,Allocator> pipelines( createInfos.size() );
+ Result result = static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( pipelines.data() ) ) );
+ return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING"::Device::createGraphicsPipelines" );
+ }
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Pipeline>::type Device::createGraphicsPipeline( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Pipeline pipeline;
+ Result result = static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );
+ return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createGraphicsPipeline" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type Device::createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const GraphicsPipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ static_assert( sizeof( Pipeline ) <= sizeof( UniquePipeline ), "Pipeline is greater than UniquePipeline!" );
+ std::vector<UniquePipeline, Allocator> pipelines;
+ pipelines.reserve( createInfos.size() );
+ Pipeline* buffer = reinterpret_cast<Pipeline*>( reinterpret_cast<char*>( pipelines.data() ) + createInfos.size() * ( sizeof( UniquePipeline ) - sizeof( Pipeline ) ) );
+ Result result = static_cast<Result>(d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( buffer ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ for ( size_t i=0 ; i<createInfos.size() ; i++ )
+ {
+ pipelines.push_back( UniquePipeline( buffer[i], deleter ) );
+ }
+
+ return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createGraphicsPipelinesUnique" );
+ }
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniquePipeline>::type Device::createGraphicsPipelineUnique( PipelineCache pipelineCache, const GraphicsPipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Pipeline pipeline;
+ Result result = static_cast<Result>( d.vkCreateGraphicsPipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkGraphicsPipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createGraphicsPipelineUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createComputePipelines( PipelineCache pipelineCache, uint32_t createInfoCount, const ComputePipelineCreateInfo* pCreateInfos, const AllocationCallbacks* pAllocator, Pipeline* pPipelines, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfoCount, reinterpret_cast<const VkComputePipelineCreateInfo*>( pCreateInfos ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipeline*>( pPipelines ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline,Allocator>>::type Device::createComputePipelines( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ std::vector<Pipeline,Allocator> pipelines( createInfos.size() );
+ Result result = static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkComputePipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( pipelines.data() ) ) );
+ return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING"::Device::createComputePipelines" );
+ }
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Pipeline>::type Device::createComputePipeline( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Pipeline pipeline;
+ Result result = static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkComputePipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );
+ return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createComputePipeline" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniquePipeline,Allocator>>::type Device::createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy<const ComputePipelineCreateInfo> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ static_assert( sizeof( Pipeline ) <= sizeof( UniquePipeline ), "Pipeline is greater than UniquePipeline!" );
+ std::vector<UniquePipeline, Allocator> pipelines;
+ pipelines.reserve( createInfos.size() );
+ Pipeline* buffer = reinterpret_cast<Pipeline*>( reinterpret_cast<char*>( pipelines.data() ) + createInfos.size() * ( sizeof( UniquePipeline ) - sizeof( Pipeline ) ) );
+ Result result = static_cast<Result>(d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), createInfos.size() , reinterpret_cast<const VkComputePipelineCreateInfo*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( buffer ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ for ( size_t i=0 ; i<createInfos.size() ; i++ )
+ {
+ pipelines.push_back( UniquePipeline( buffer[i], deleter ) );
+ }
+
+ return createResultValue( result, pipelines, VULKAN_HPP_NAMESPACE_STRING "::Device::createComputePipelinesUnique" );
+ }
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniquePipeline>::type Device::createComputePipelineUnique( PipelineCache pipelineCache, const ComputePipelineCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Pipeline pipeline;
+ Result result = static_cast<Result>( d.vkCreateComputePipelines( m_device, static_cast<VkPipelineCache>( pipelineCache ), 1 , reinterpret_cast<const VkComputePipelineCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipeline*>( &pipeline ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, pipeline, VULKAN_HPP_NAMESPACE_STRING"::Device::createComputePipelineUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyPipeline( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyPipeline( Pipeline pipeline, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Pipeline pipeline, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Pipeline pipeline, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyPipeline( m_device, static_cast<VkPipeline>( pipeline ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createPipelineLayout( const PipelineLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, PipelineLayout* pPipelineLayout, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreatePipelineLayout( m_device, reinterpret_cast<const VkPipelineLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkPipelineLayout*>( pPipelineLayout ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<PipelineLayout>::type Device::createPipelineLayout( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ PipelineLayout pipelineLayout;
+ Result result = static_cast<Result>( d.vkCreatePipelineLayout( m_device, reinterpret_cast<const VkPipelineLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineLayout*>( &pipelineLayout ) ) );
+ return createResultValue( result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineLayout" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniquePipelineLayout>::type Device::createPipelineLayoutUnique( const PipelineLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ PipelineLayout pipelineLayout;
+ Result result = static_cast<Result>( d.vkCreatePipelineLayout( m_device, reinterpret_cast<const VkPipelineLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkPipelineLayout*>( &pipelineLayout ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, pipelineLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createPipelineLayoutUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyPipelineLayout( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyPipelineLayout( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( PipelineLayout pipelineLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( PipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyPipelineLayout( m_device, static_cast<VkPipelineLayout>( pipelineLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createSampler( const SamplerCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Sampler* pSampler, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateSampler( m_device, reinterpret_cast<const VkSamplerCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSampler*>( pSampler ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Sampler>::type Device::createSampler( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Sampler sampler;
+ Result result = static_cast<Result>( d.vkCreateSampler( m_device, reinterpret_cast<const VkSamplerCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSampler*>( &sampler ) ) );
+ return createResultValue( result, sampler, VULKAN_HPP_NAMESPACE_STRING"::Device::createSampler" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSampler>::type Device::createSamplerUnique( const SamplerCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Sampler sampler;
+ Result result = static_cast<Result>( d.vkCreateSampler( m_device, reinterpret_cast<const VkSamplerCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSampler*>( &sampler ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, sampler, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySampler( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySampler( Sampler sampler, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Sampler sampler, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Sampler sampler, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySampler( m_device, static_cast<VkSampler>( sampler ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorSetLayout* pSetLayout, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorSetLayout*>( pSetLayout ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DescriptorSetLayout>::type Device::createDescriptorSetLayout( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorSetLayout setLayout;
+ Result result = static_cast<Result>( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorSetLayout*>( &setLayout ) ) );
+ return createResultValue( result, setLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorSetLayout" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorSetLayout>::type Device::createDescriptorSetLayoutUnique( const DescriptorSetLayoutCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorSetLayout setLayout;
+ Result result = static_cast<Result>( d.vkCreateDescriptorSetLayout( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorSetLayout*>( &setLayout ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, setLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorSetLayoutUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( DescriptorSetLayout descriptorSetLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( DescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDescriptorSetLayout( m_device, static_cast<VkDescriptorSetLayout>( descriptorSetLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createDescriptorPool( const DescriptorPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorPool* pDescriptorPool, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDescriptorPool( m_device, reinterpret_cast<const VkDescriptorPoolCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorPool*>( pDescriptorPool ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DescriptorPool>::type Device::createDescriptorPool( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorPool descriptorPool;
+ Result result = static_cast<Result>( d.vkCreateDescriptorPool( m_device, reinterpret_cast<const VkDescriptorPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorPool*>( &descriptorPool ) ) );
+ return createResultValue( result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorPool" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorPool>::type Device::createDescriptorPoolUnique( const DescriptorPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorPool descriptorPool;
+ Result result = static_cast<Result>( d.vkCreateDescriptorPool( m_device, reinterpret_cast<const VkDescriptorPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorPool*>( &descriptorPool ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, descriptorPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorPoolUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorPool( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorPool( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( DescriptorPool descriptorPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( DescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkResetDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), static_cast<VkDescriptorPoolResetFlags>( flags ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkResetDescriptorPool( m_device, static_cast<VkDescriptorPool>( descriptorPool ), static_cast<VkDescriptorPoolResetFlags>( flags ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetDescriptorPool" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::allocateDescriptorSets( const DescriptorSetAllocateInfo* pAllocateInfo, DescriptorSet* pDescriptorSets, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkAllocateDescriptorSets( m_device, reinterpret_cast<const VkDescriptorSetAllocateInfo*>( pAllocateInfo ), reinterpret_cast<VkDescriptorSet*>( pDescriptorSets ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<DescriptorSet,Allocator>>::type Device::allocateDescriptorSets( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d ) const
+ {
+ std::vector<DescriptorSet,Allocator> descriptorSets( allocateInfo.descriptorSetCount );
+ Result result = static_cast<Result>( d.vkAllocateDescriptorSets( m_device, reinterpret_cast<const VkDescriptorSetAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkDescriptorSet*>( descriptorSets.data() ) ) );
+ return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateDescriptorSets" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniqueDescriptorSet,Allocator>>::type Device::allocateDescriptorSetsUnique( const DescriptorSetAllocateInfo & allocateInfo, Dispatch const &d ) const
+ {
+ static_assert( sizeof( DescriptorSet ) <= sizeof( UniqueDescriptorSet ), "DescriptorSet is greater than UniqueDescriptorSet!" );
+ std::vector<UniqueDescriptorSet, Allocator> descriptorSets;
+ descriptorSets.reserve( allocateInfo.descriptorSetCount );
+ DescriptorSet* buffer = reinterpret_cast<DescriptorSet*>( reinterpret_cast<char*>( descriptorSets.data() ) + allocateInfo.descriptorSetCount * ( sizeof( UniqueDescriptorSet ) - sizeof( DescriptorSet ) ) );
+ Result result = static_cast<Result>(d.vkAllocateDescriptorSets( m_device, reinterpret_cast<const VkDescriptorSetAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkDescriptorSet*>( buffer ) ) );
+
+ PoolFree<Device,DescriptorPool> deleter( *this, allocateInfo.descriptorPool );
+ for ( size_t i=0 ; i<allocateInfo.descriptorSetCount ; i++ )
+ {
+ descriptorSets.push_back( UniqueDescriptorSet( buffer[i], deleter ) );
+ }
+
+ return createResultValue( result, descriptorSets, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::freeDescriptorSets( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSetCount, reinterpret_cast<const VkDescriptorSet*>( pDescriptorSets ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::freeDescriptorSets( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSets.size() , reinterpret_cast<const VkDescriptorSet*>( descriptorSets.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::freeDescriptorSets" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::free( DescriptorPool descriptorPool, uint32_t descriptorSetCount, const DescriptorSet* pDescriptorSets, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSetCount, reinterpret_cast<const VkDescriptorSet*>( pDescriptorSets ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::free( DescriptorPool descriptorPool, ArrayProxy<const DescriptorSet> descriptorSets, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkFreeDescriptorSets( m_device, static_cast<VkDescriptorPool>( descriptorPool ), descriptorSets.size() , reinterpret_cast<const VkDescriptorSet*>( descriptorSets.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::free" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::updateDescriptorSets( uint32_t descriptorWriteCount, const WriteDescriptorSet* pDescriptorWrites, uint32_t descriptorCopyCount, const CopyDescriptorSet* pDescriptorCopies, Dispatch const &d) const
+ {
+ d.vkUpdateDescriptorSets( m_device, descriptorWriteCount, reinterpret_cast<const VkWriteDescriptorSet*>( pDescriptorWrites ), descriptorCopyCount, reinterpret_cast<const VkCopyDescriptorSet*>( pDescriptorCopies ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::updateDescriptorSets( ArrayProxy<const WriteDescriptorSet> descriptorWrites, ArrayProxy<const CopyDescriptorSet> descriptorCopies, Dispatch const &d ) const
+ {
+ d.vkUpdateDescriptorSets( m_device, descriptorWrites.size() , reinterpret_cast<const VkWriteDescriptorSet*>( descriptorWrites.data() ), descriptorCopies.size() , reinterpret_cast<const VkCopyDescriptorSet*>( descriptorCopies.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createFramebuffer( const FramebufferCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Framebuffer* pFramebuffer, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateFramebuffer( m_device, reinterpret_cast<const VkFramebufferCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFramebuffer*>( pFramebuffer ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Framebuffer>::type Device::createFramebuffer( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Framebuffer framebuffer;
+ Result result = static_cast<Result>( d.vkCreateFramebuffer( m_device, reinterpret_cast<const VkFramebufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFramebuffer*>( &framebuffer ) ) );
+ return createResultValue( result, framebuffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createFramebuffer" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueFramebuffer>::type Device::createFramebufferUnique( const FramebufferCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Framebuffer framebuffer;
+ Result result = static_cast<Result>( d.vkCreateFramebuffer( m_device, reinterpret_cast<const VkFramebufferCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFramebuffer*>( &framebuffer ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, framebuffer, VULKAN_HPP_NAMESPACE_STRING"::Device::createFramebufferUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyFramebuffer( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyFramebuffer( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Framebuffer framebuffer, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( Framebuffer framebuffer, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyFramebuffer( m_device, static_cast<VkFramebuffer>( framebuffer ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createRenderPass( const RenderPassCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, RenderPass* pRenderPass, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateRenderPass( m_device, reinterpret_cast<const VkRenderPassCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkRenderPass*>( pRenderPass ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<RenderPass>::type Device::createRenderPass( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ RenderPass renderPass;
+ Result result = static_cast<Result>( d.vkCreateRenderPass( m_device, reinterpret_cast<const VkRenderPassCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkRenderPass*>( &renderPass ) ) );
+ return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING"::Device::createRenderPass" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueRenderPass>::type Device::createRenderPassUnique( const RenderPassCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ RenderPass renderPass;
+ Result result = static_cast<Result>( d.vkCreateRenderPass( m_device, reinterpret_cast<const VkRenderPassCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkRenderPass*>( &renderPass ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, renderPass, VULKAN_HPP_NAMESPACE_STRING"::Device::createRenderPassUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyRenderPass( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyRenderPass( RenderPass renderPass, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( RenderPass renderPass, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( RenderPass renderPass, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyRenderPass( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getRenderAreaGranularity( RenderPass renderPass, Extent2D* pGranularity, Dispatch const &d) const
+ {
+ d.vkGetRenderAreaGranularity( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<VkExtent2D*>( pGranularity ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Extent2D Device::getRenderAreaGranularity( RenderPass renderPass, Dispatch const &d ) const
+ {
+ Extent2D granularity;
+ d.vkGetRenderAreaGranularity( m_device, static_cast<VkRenderPass>( renderPass ), reinterpret_cast<VkExtent2D*>( &granularity ) );
+ return granularity;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createCommandPool( const CommandPoolCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, CommandPool* pCommandPool, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateCommandPool( m_device, reinterpret_cast<const VkCommandPoolCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkCommandPool*>( pCommandPool ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<CommandPool>::type Device::createCommandPool( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ CommandPool commandPool;
+ Result result = static_cast<Result>( d.vkCreateCommandPool( m_device, reinterpret_cast<const VkCommandPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkCommandPool*>( &commandPool ) ) );
+ return createResultValue( result, commandPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createCommandPool" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueCommandPool>::type Device::createCommandPoolUnique( const CommandPoolCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ CommandPool commandPool;
+ Result result = static_cast<Result>( d.vkCreateCommandPool( m_device, reinterpret_cast<const VkCommandPoolCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkCommandPool*>( &commandPool ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, commandPool, VULKAN_HPP_NAMESPACE_STRING"::Device::createCommandPoolUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyCommandPool( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyCommandPool( CommandPool commandPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( CommandPool commandPool, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( CommandPool commandPool, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkResetCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolResetFlags>( flags ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkResetCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolResetFlags>( flags ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::resetCommandPool" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::allocateCommandBuffers( const CommandBufferAllocateInfo* pAllocateInfo, CommandBuffer* pCommandBuffers, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkAllocateCommandBuffers( m_device, reinterpret_cast<const VkCommandBufferAllocateInfo*>( pAllocateInfo ), reinterpret_cast<VkCommandBuffer*>( pCommandBuffers ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<CommandBuffer,Allocator>>::type Device::allocateCommandBuffers( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d ) const
+ {
+ std::vector<CommandBuffer,Allocator> commandBuffers( allocateInfo.commandBufferCount );
+ Result result = static_cast<Result>( d.vkAllocateCommandBuffers( m_device, reinterpret_cast<const VkCommandBufferAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkCommandBuffer*>( commandBuffers.data() ) ) );
+ return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING"::Device::allocateCommandBuffers" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniqueCommandBuffer,Allocator>>::type Device::allocateCommandBuffersUnique( const CommandBufferAllocateInfo & allocateInfo, Dispatch const &d ) const
+ {
+ static_assert( sizeof( CommandBuffer ) <= sizeof( UniqueCommandBuffer ), "CommandBuffer is greater than UniqueCommandBuffer!" );
+ std::vector<UniqueCommandBuffer, Allocator> commandBuffers;
+ commandBuffers.reserve( allocateInfo.commandBufferCount );
+ CommandBuffer* buffer = reinterpret_cast<CommandBuffer*>( reinterpret_cast<char*>( commandBuffers.data() ) + allocateInfo.commandBufferCount * ( sizeof( UniqueCommandBuffer ) - sizeof( CommandBuffer ) ) );
+ Result result = static_cast<Result>(d.vkAllocateCommandBuffers( m_device, reinterpret_cast<const VkCommandBufferAllocateInfo*>( &allocateInfo ), reinterpret_cast<VkCommandBuffer*>( buffer ) ) );
+
+ PoolFree<Device,CommandPool> deleter( *this, allocateInfo.commandPool );
+ for ( size_t i=0 ; i<allocateInfo.commandBufferCount ; i++ )
+ {
+ commandBuffers.push_back( UniqueCommandBuffer( buffer[i], deleter ) );
+ }
+
+ return createResultValue( result, commandBuffers, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::freeCommandBuffers( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d) const
+ {
+ d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBufferCount, reinterpret_cast<const VkCommandBuffer*>( pCommandBuffers ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::freeCommandBuffers( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d ) const
+ {
+ d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBuffers.size() , reinterpret_cast<const VkCommandBuffer*>( commandBuffers.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::free( CommandPool commandPool, uint32_t commandBufferCount, const CommandBuffer* pCommandBuffers, Dispatch const &d) const
+ {
+ d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBufferCount, reinterpret_cast<const VkCommandBuffer*>( pCommandBuffers ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::free( CommandPool commandPool, ArrayProxy<const CommandBuffer> commandBuffers, Dispatch const &d ) const
+ {
+ d.vkFreeCommandBuffers( m_device, static_cast<VkCommandPool>( commandPool ), commandBuffers.size() , reinterpret_cast<const VkCommandBuffer*>( commandBuffers.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createSharedSwapchainsKHR( uint32_t swapchainCount, const SwapchainCreateInfoKHR* pCreateInfos, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchains, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, swapchainCount, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( pCreateInfos ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSwapchainKHR*>( pSwapchains ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<SwapchainKHR,Allocator>>::type Device::createSharedSwapchainsKHR( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ std::vector<SwapchainKHR,Allocator> swapchains( createInfos.size() );
+ Result result = static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size() , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( swapchains.data() ) ) );
+ return createResultValue( result, swapchains, VULKAN_HPP_NAMESPACE_STRING"::Device::createSharedSwapchainsKHR" );
+ }
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SwapchainKHR>::type Device::createSharedSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SwapchainKHR swapchain;
+ Result result = static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, 1 , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );
+ return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSharedSwapchainKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<UniqueSwapchainKHR,Allocator>>::type Device::createSharedSwapchainsKHRUnique( ArrayProxy<const SwapchainCreateInfoKHR> createInfos, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ static_assert( sizeof( SwapchainKHR ) <= sizeof( UniqueSwapchainKHR ), "SwapchainKHR is greater than UniqueSwapchainKHR!" );
+ std::vector<UniqueSwapchainKHR, Allocator> swapchainKHRs;
+ swapchainKHRs.reserve( createInfos.size() );
+ SwapchainKHR* buffer = reinterpret_cast<SwapchainKHR*>( reinterpret_cast<char*>( swapchainKHRs.data() ) + createInfos.size() * ( sizeof( UniqueSwapchainKHR ) - sizeof( SwapchainKHR ) ) );
+ Result result = static_cast<Result>(d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size() , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( createInfos.data() ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( buffer ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ for ( size_t i=0 ; i<createInfos.size() ; i++ )
+ {
+ swapchainKHRs.push_back( UniqueSwapchainKHR( buffer[i], deleter ) );
+ }
+
+ return createResultValue( result, swapchainKHRs, VULKAN_HPP_NAMESPACE_STRING "::Device::createSharedSwapchainsKHRUnique" );
+ }
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSwapchainKHR>::type Device::createSharedSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SwapchainKHR swapchain;
+ Result result = static_cast<Result>( d.vkCreateSharedSwapchainsKHR( m_device, 1 , reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSharedSwapchainKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createSwapchainKHR( const SwapchainCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SwapchainKHR* pSwapchain, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateSwapchainKHR( m_device, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSwapchainKHR*>( pSwapchain ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SwapchainKHR>::type Device::createSwapchainKHR( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SwapchainKHR swapchain;
+ Result result = static_cast<Result>( d.vkCreateSwapchainKHR( m_device, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );
+ return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSwapchainKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSwapchainKHR>::type Device::createSwapchainKHRUnique( const SwapchainCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SwapchainKHR swapchain;
+ Result result = static_cast<Result>( d.vkCreateSwapchainKHR( m_device, reinterpret_cast<const VkSwapchainCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSwapchainKHR*>( &swapchain ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, swapchain, VULKAN_HPP_NAMESPACE_STRING"::Device::createSwapchainKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySwapchainKHR( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySwapchainKHR( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( SwapchainKHR swapchain, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( SwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySwapchainKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getSwapchainImagesKHR( SwapchainKHR swapchain, uint32_t* pSwapchainImageCount, Image* pSwapchainImages, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetSwapchainImagesKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), pSwapchainImageCount, reinterpret_cast<VkImage*>( pSwapchainImages ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<Image,Allocator>>::type Device::getSwapchainImagesKHR( SwapchainKHR swapchain, Dispatch const &d ) const
+ {
+ std::vector<Image,Allocator> swapchainImages;
+ uint32_t swapchainImageCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetSwapchainImagesKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), &swapchainImageCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && swapchainImageCount )
+ {
+ swapchainImages.resize( swapchainImageCount );
+ result = static_cast<Result>( d.vkGetSwapchainImagesKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), &swapchainImageCount, reinterpret_cast<VkImage*>( swapchainImages.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( swapchainImageCount <= swapchainImages.size() );
+ swapchainImages.resize( swapchainImageCount );
+ return createResultValue( result, swapchainImages, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainImagesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, uint32_t* pImageIndex, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkAcquireNextImageKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), timeout, static_cast<VkSemaphore>( semaphore ), static_cast<VkFence>( fence ), pImageIndex ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValue<uint32_t> Device::acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, Dispatch const &d ) const
+ {
+ uint32_t imageIndex;
+ Result result = static_cast<Result>( d.vkAcquireNextImageKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ), timeout, static_cast<VkSemaphore>( semaphore ), static_cast<VkFence>( fence ), &imageIndex ) );
+ return createResultValue( result, imageIndex, VULKAN_HPP_NAMESPACE_STRING"::Device::acquireNextImageKHR", { Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT* pNameInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkDebugMarkerSetObjectNameEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectNameInfoEXT*>( pNameInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkDebugMarkerSetObjectNameEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectNameInfoEXT*>( &nameInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::debugMarkerSetObjectNameEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT* pTagInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectTagInfoEXT*>( pTagInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast<const VkDebugMarkerObjectTagInfoEXT*>( &tagInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::debugMarkerSetObjectTagEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetMemoryWin32HandleNV( m_device, static_cast<VkDeviceMemory>( memory ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( handleType ), pHandle ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const &d ) const
+ {
+ HANDLE handle;
+ Result result = static_cast<Result>( d.vkGetMemoryWin32HandleNV( m_device, static_cast<VkDeviceMemory>( memory ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( handleType ), &handle ) );
+ return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryWin32HandleNV" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, IndirectCommandsLayoutNVX* pIndirectCommandsLayout, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateIndirectCommandsLayoutNVX( m_device, reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkIndirectCommandsLayoutNVX*>( pIndirectCommandsLayout ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<IndirectCommandsLayoutNVX>::type Device::createIndirectCommandsLayoutNVX( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ IndirectCommandsLayoutNVX indirectCommandsLayout;
+ Result result = static_cast<Result>( d.vkCreateIndirectCommandsLayoutNVX( m_device, reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkIndirectCommandsLayoutNVX*>( &indirectCommandsLayout ) ) );
+ return createResultValue( result, indirectCommandsLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createIndirectCommandsLayoutNVX" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueIndirectCommandsLayoutNVX>::type Device::createIndirectCommandsLayoutNVXUnique( const IndirectCommandsLayoutCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ IndirectCommandsLayoutNVX indirectCommandsLayout;
+ Result result = static_cast<Result>( d.vkCreateIndirectCommandsLayoutNVX( m_device, reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkIndirectCommandsLayoutNVX*>( &indirectCommandsLayout ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, indirectCommandsLayout, VULKAN_HPP_NAMESPACE_STRING"::Device::createIndirectCommandsLayoutNVXUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNVX( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutNVX indirectCommandsLayout, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyIndirectCommandsLayoutNVX( m_device, static_cast<VkIndirectCommandsLayoutNVX>( indirectCommandsLayout ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createObjectTableNVX( const ObjectTableCreateInfoNVX* pCreateInfo, const AllocationCallbacks* pAllocator, ObjectTableNVX* pObjectTable, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateObjectTableNVX( m_device, reinterpret_cast<const VkObjectTableCreateInfoNVX*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkObjectTableNVX*>( pObjectTable ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ObjectTableNVX>::type Device::createObjectTableNVX( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ObjectTableNVX objectTable;
+ Result result = static_cast<Result>( d.vkCreateObjectTableNVX( m_device, reinterpret_cast<const VkObjectTableCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkObjectTableNVX*>( &objectTable ) ) );
+ return createResultValue( result, objectTable, VULKAN_HPP_NAMESPACE_STRING"::Device::createObjectTableNVX" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueObjectTableNVX>::type Device::createObjectTableNVXUnique( const ObjectTableCreateInfoNVX & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ObjectTableNVX objectTable;
+ Result result = static_cast<Result>( d.vkCreateObjectTableNVX( m_device, reinterpret_cast<const VkObjectTableCreateInfoNVX*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkObjectTableNVX*>( &objectTable ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, objectTable, VULKAN_HPP_NAMESPACE_STRING"::Device::createObjectTableNVXUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyObjectTableNVX( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyObjectTableNVX( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ObjectTableNVX objectTable, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ObjectTableNVX objectTable, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyObjectTableNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::registerObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectTableEntryNVX* const* ppObjectTableEntries, const uint32_t* pObjectIndices, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkRegisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), objectCount, reinterpret_cast<const VkObjectTableEntryNVX* const*>( ppObjectTableEntries ), pObjectIndices ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::registerObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectTableEntryNVX* const> pObjectTableEntries, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d ) const
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( pObjectTableEntries.size() == objectIndices.size() );
+#else
+ if ( pObjectTableEntries.size() != objectIndices.size() )
+ {
+ throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::registerObjectsNVX: pObjectTableEntries.size() != objectIndices.size()" );
+ }
+#endif // VULKAN_HPP_NO_EXCEPTIONS
+ Result result = static_cast<Result>( d.vkRegisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), pObjectTableEntries.size() , reinterpret_cast<const VkObjectTableEntryNVX* const*>( pObjectTableEntries.data() ), objectIndices.data() ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::registerObjectsNVX" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::unregisterObjectsNVX( ObjectTableNVX objectTable, uint32_t objectCount, const ObjectEntryTypeNVX* pObjectEntryTypes, const uint32_t* pObjectIndices, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkUnregisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), objectCount, reinterpret_cast<const VkObjectEntryTypeNVX*>( pObjectEntryTypes ), pObjectIndices ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::unregisterObjectsNVX( ObjectTableNVX objectTable, ArrayProxy<const ObjectEntryTypeNVX> objectEntryTypes, ArrayProxy<const uint32_t> objectIndices, Dispatch const &d ) const
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( objectEntryTypes.size() == objectIndices.size() );
+#else
+ if ( objectEntryTypes.size() != objectIndices.size() )
+ {
+ throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::unregisterObjectsNVX: objectEntryTypes.size() != objectIndices.size()" );
+ }
+#endif // VULKAN_HPP_NO_EXCEPTIONS
+ Result result = static_cast<Result>( d.vkUnregisterObjectsNVX( m_device, static_cast<VkObjectTableNVX>( objectTable ), objectEntryTypes.size() , reinterpret_cast<const VkObjectEntryTypeNVX*>( objectEntryTypes.data() ), objectIndices.data() ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::unregisterObjectsNVX" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d) const
+ {
+ d.vkTrimCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d ) const
+ {
+ d.vkTrimCommandPool( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d) const
+ {
+ d.vkTrimCommandPoolKHR( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const &d ) const
+ {
+ d.vkTrimCommandPoolKHR( m_device, static_cast<VkCommandPool>( commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetMemoryWin32HandleKHR( m_device, reinterpret_cast<const VkMemoryGetWin32HandleInfoKHR*>( pGetWin32HandleInfo ), pHandle ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d ) const
+ {
+ HANDLE handle;
+ Result result = static_cast<Result>( d.vkGetMemoryWin32HandleKHR( m_device, reinterpret_cast<const VkMemoryGetWin32HandleInfoKHR*>( &getWin32HandleInfo ), &handle ) );
+ return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryWin32HandleKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, MemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetMemoryWin32HandlePropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), handle, reinterpret_cast<VkMemoryWin32HandlePropertiesKHR*>( pMemoryWin32HandleProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<MemoryWin32HandlePropertiesKHR>::type Device::getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const &d ) const
+ {
+ MemoryWin32HandlePropertiesKHR memoryWin32HandleProperties;
+ Result result = static_cast<Result>( d.vkGetMemoryWin32HandlePropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), handle, reinterpret_cast<VkMemoryWin32HandlePropertiesKHR*>( &memoryWin32HandleProperties ) ) );
+ return createResultValue( result, memoryWin32HandleProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryWin32HandlePropertiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getMemoryFdKHR( const MemoryGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetMemoryFdKHR( m_device, reinterpret_cast<const VkMemoryGetFdInfoKHR*>( pGetFdInfo ), pFd ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<int>::type Device::getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo, Dispatch const &d ) const
+ {
+ int fd;
+ Result result = static_cast<Result>( d.vkGetMemoryFdKHR( m_device, reinterpret_cast<const VkMemoryGetFdInfoKHR*>( &getFdInfo ), &fd ) );
+ return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryFdKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, MemoryFdPropertiesKHR* pMemoryFdProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetMemoryFdPropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), fd, reinterpret_cast<VkMemoryFdPropertiesKHR*>( pMemoryFdProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<MemoryFdPropertiesKHR>::type Device::getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const &d ) const
+ {
+ MemoryFdPropertiesKHR memoryFdProperties;
+ Result result = static_cast<Result>( d.vkGetMemoryFdPropertiesKHR( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), fd, reinterpret_cast<VkMemoryFdPropertiesKHR*>( &memoryFdProperties ) ) );
+ return createResultValue( result, memoryFdProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryFdPropertiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkSemaphoreGetWin32HandleInfoKHR*>( pGetWin32HandleInfo ), pHandle ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d ) const
+ {
+ HANDLE handle;
+ Result result = static_cast<Result>( d.vkGetSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkSemaphoreGetWin32HandleInfoKHR*>( &getWin32HandleInfo ), &handle ) );
+ return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getSemaphoreWin32HandleKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkImportSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkImportSemaphoreWin32HandleInfoKHR*>( pImportSemaphoreWin32HandleInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkImportSemaphoreWin32HandleKHR( m_device, reinterpret_cast<const VkImportSemaphoreWin32HandleInfoKHR*>( &importSemaphoreWin32HandleInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importSemaphoreWin32HandleKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast<const VkSemaphoreGetFdInfoKHR*>( pGetFdInfo ), pFd ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<int>::type Device::getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo, Dispatch const &d ) const
+ {
+ int fd;
+ Result result = static_cast<Result>( d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast<const VkSemaphoreGetFdInfoKHR*>( &getFdInfo ), &fd ) );
+ return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING"::Device::getSemaphoreFdKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkImportSemaphoreFdKHR( m_device, reinterpret_cast<const VkImportSemaphoreFdInfoKHR*>( pImportSemaphoreFdInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkImportSemaphoreFdKHR( m_device, reinterpret_cast<const VkImportSemaphoreFdInfoKHR*>( &importSemaphoreFdInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importSemaphoreFdKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, HANDLE* pHandle, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetFenceWin32HandleKHR( m_device, reinterpret_cast<const VkFenceGetWin32HandleInfoKHR*>( pGetWin32HandleInfo ), pHandle ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<HANDLE>::type Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo, Dispatch const &d ) const
+ {
+ HANDLE handle;
+ Result result = static_cast<Result>( d.vkGetFenceWin32HandleKHR( m_device, reinterpret_cast<const VkFenceGetWin32HandleInfoKHR*>( &getWin32HandleInfo ), &handle ) );
+ return createResultValue( result, handle, VULKAN_HPP_NAMESPACE_STRING"::Device::getFenceWin32HandleKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkImportFenceWin32HandleKHR( m_device, reinterpret_cast<const VkImportFenceWin32HandleInfoKHR*>( pImportFenceWin32HandleInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkImportFenceWin32HandleKHR( m_device, reinterpret_cast<const VkImportFenceWin32HandleInfoKHR*>( &importFenceWin32HandleInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importFenceWin32HandleKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getFenceFdKHR( const FenceGetFdInfoKHR* pGetFdInfo, int* pFd, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetFenceFdKHR( m_device, reinterpret_cast<const VkFenceGetFdInfoKHR*>( pGetFdInfo ), pFd ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<int>::type Device::getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo, Dispatch const &d ) const
+ {
+ int fd;
+ Result result = static_cast<Result>( d.vkGetFenceFdKHR( m_device, reinterpret_cast<const VkFenceGetFdInfoKHR*>( &getFdInfo ), &fd ) );
+ return createResultValue( result, fd, VULKAN_HPP_NAMESPACE_STRING"::Device::getFenceFdKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::importFenceFdKHR( const ImportFenceFdInfoKHR* pImportFenceFdInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkImportFenceFdKHR( m_device, reinterpret_cast<const VkImportFenceFdInfoKHR*>( pImportFenceFdInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkImportFenceFdKHR( m_device, reinterpret_cast<const VkImportFenceFdInfoKHR*>( &importFenceFdInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::importFenceFdKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT* pDisplayPowerInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkDisplayPowerControlEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayPowerInfoEXT*>( pDisplayPowerInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::displayPowerControlEXT( DisplayKHR display, const DisplayPowerInfoEXT & displayPowerInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkDisplayPowerControlEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayPowerInfoEXT*>( &displayPowerInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::displayPowerControlEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::registerEventEXT( const DeviceEventInfoEXT* pDeviceEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkRegisterDeviceEventEXT( m_device, reinterpret_cast<const VkDeviceEventInfoEXT*>( pDeviceEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFence*>( pFence ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Fence>::type Device::registerEventEXT( const DeviceEventInfoEXT & deviceEventInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Fence fence;
+ Result result = static_cast<Result>( d.vkRegisterDeviceEventEXT( m_device, reinterpret_cast<const VkDeviceEventInfoEXT*>( &deviceEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );
+ return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::registerEventEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT* pDisplayEventInfo, const AllocationCallbacks* pAllocator, Fence* pFence, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkRegisterDisplayEventEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayEventInfoEXT*>( pDisplayEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkFence*>( pFence ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Fence>::type Device::registerDisplayEventEXT( DisplayKHR display, const DisplayEventInfoEXT & displayEventInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Fence fence;
+ Result result = static_cast<Result>( d.vkRegisterDisplayEventEXT( m_device, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayEventInfoEXT*>( &displayEventInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkFence*>( &fence ) ) );
+ return createResultValue( result, fence, VULKAN_HPP_NAMESPACE_STRING"::Device::registerDisplayEventEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetSwapchainCounterEXT( m_device, static_cast<VkSwapchainKHR>( swapchain ), static_cast<VkSurfaceCounterFlagBitsEXT>( counter ), pCounterValue ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<uint64_t>::type Device::getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, Dispatch const &d ) const
+ {
+ uint64_t counterValue;
+ Result result = static_cast<Result>( d.vkGetSwapchainCounterEXT( m_device, static_cast<VkSwapchainKHR>( swapchain ), static_cast<VkSurfaceCounterFlagBitsEXT>( counter ), &counterValue ) );
+ return createResultValue( result, counterValue, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainCounterEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d) const
+ {
+ d.vkGetDeviceGroupPeerMemoryFeatures( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( pPeerMemoryFeatures ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d ) const
+ {
+ PeerMemoryFeatureFlags peerMemoryFeatures;
+ d.vkGetDeviceGroupPeerMemoryFeatures( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( &peerMemoryFeatures ) );
+ return peerMemoryFeatures;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags* pPeerMemoryFeatures, Dispatch const &d) const
+ {
+ d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( pPeerMemoryFeatures ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const &d ) const
+ {
+ PeerMemoryFeatureFlags peerMemoryFeatures;
+ d.vkGetDeviceGroupPeerMemoryFeaturesKHR( m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast<VkPeerMemoryFeatureFlags*>( &peerMemoryFeatures ) );
+ return peerMemoryFeatures;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::bindBufferMemory2( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkBindBufferMemory2( m_device, bindInfoCount, reinterpret_cast<const VkBindBufferMemoryInfo*>( pBindInfos ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindBufferMemory2( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkBindBufferMemory2( m_device, bindInfos.size() , reinterpret_cast<const VkBindBufferMemoryInfo*>( bindInfos.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindBufferMemory2" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::bindBufferMemory2KHR( uint32_t bindInfoCount, const BindBufferMemoryInfo* pBindInfos, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkBindBufferMemory2KHR( m_device, bindInfoCount, reinterpret_cast<const VkBindBufferMemoryInfo*>( pBindInfos ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindBufferMemory2KHR( ArrayProxy<const BindBufferMemoryInfo> bindInfos, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkBindBufferMemory2KHR( m_device, bindInfos.size() , reinterpret_cast<const VkBindBufferMemoryInfo*>( bindInfos.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindBufferMemory2KHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::bindImageMemory2( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkBindImageMemory2( m_device, bindInfoCount, reinterpret_cast<const VkBindImageMemoryInfo*>( pBindInfos ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindImageMemory2( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkBindImageMemory2( m_device, bindInfos.size() , reinterpret_cast<const VkBindImageMemoryInfo*>( bindInfos.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindImageMemory2" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::bindImageMemory2KHR( uint32_t bindInfoCount, const BindImageMemoryInfo* pBindInfos, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkBindImageMemory2KHR( m_device, bindInfoCount, reinterpret_cast<const VkBindImageMemoryInfo*>( pBindInfos ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::bindImageMemory2KHR( ArrayProxy<const BindImageMemoryInfo> bindInfos, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkBindImageMemory2KHR( m_device, bindInfos.size() , reinterpret_cast<const VkBindImageMemoryInfo*>( bindInfos.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::bindImageMemory2KHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetDeviceGroupPresentCapabilitiesKHR( m_device, reinterpret_cast<VkDeviceGroupPresentCapabilitiesKHR*>( pDeviceGroupPresentCapabilities ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DeviceGroupPresentCapabilitiesKHR>::type Device::getGroupPresentCapabilitiesKHR(Dispatch const &d ) const
+ {
+ DeviceGroupPresentCapabilitiesKHR deviceGroupPresentCapabilities;
+ Result result = static_cast<Result>( d.vkGetDeviceGroupPresentCapabilitiesKHR( m_device, reinterpret_cast<VkDeviceGroupPresentCapabilitiesKHR*>( &deviceGroupPresentCapabilities ) ) );
+ return createResultValue( result, deviceGroupPresentCapabilities, VULKAN_HPP_NAMESPACE_STRING"::Device::getGroupPresentCapabilitiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getGroupSurfacePresentModesKHR( SurfaceKHR surface, DeviceGroupPresentModeFlagsKHR* pModes, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkDeviceGroupPresentModeFlagsKHR*>( pModes ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DeviceGroupPresentModeFlagsKHR>::type Device::getGroupSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d ) const
+ {
+ DeviceGroupPresentModeFlagsKHR modes;
+ Result result = static_cast<Result>( d.vkGetDeviceGroupSurfacePresentModesKHR( m_device, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkDeviceGroupPresentModeFlagsKHR*>( &modes ) ) );
+ return createResultValue( result, modes, VULKAN_HPP_NAMESPACE_STRING"::Device::getGroupSurfacePresentModesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::acquireNextImage2KHR( const AcquireNextImageInfoKHR* pAcquireInfo, uint32_t* pImageIndex, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkAcquireNextImage2KHR( m_device, reinterpret_cast<const VkAcquireNextImageInfoKHR*>( pAcquireInfo ), pImageIndex ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValue<uint32_t> Device::acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo, Dispatch const &d ) const
+ {
+ uint32_t imageIndex;
+ Result result = static_cast<Result>( d.vkAcquireNextImage2KHR( m_device, reinterpret_cast<const VkAcquireNextImageInfoKHR*>( &acquireInfo ), &imageIndex ) );
+ return createResultValue( result, imageIndex, VULKAN_HPP_NAMESPACE_STRING"::Device::acquireNextImage2KHR", { Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorUpdateTemplate*>( pDescriptorUpdateTemplate ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplate( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorUpdateTemplate descriptorUpdateTemplate;
+ Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );
+ return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplate" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplateUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorUpdateTemplate descriptorUpdateTemplate;
+ Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplate( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplateUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, DescriptorUpdateTemplate* pDescriptorUpdateTemplate, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDescriptorUpdateTemplate*>( pDescriptorUpdateTemplate ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplateKHR( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorUpdateTemplate descriptorUpdateTemplate;
+ Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );
+ return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplateKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDescriptorUpdateTemplate>::type Device::createDescriptorUpdateTemplateKHRUnique( const DescriptorUpdateTemplateCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DescriptorUpdateTemplate descriptorUpdateTemplate;
+ Result result = static_cast<Result>( d.vkCreateDescriptorUpdateTemplateKHR( m_device, reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDescriptorUpdateTemplate*>( &descriptorUpdateTemplate ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, descriptorUpdateTemplate, VULKAN_HPP_NAMESPACE_STRING"::Device::createDescriptorUpdateTemplateKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDescriptorUpdateTemplate( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDescriptorUpdateTemplateKHR( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDescriptorUpdateTemplateKHR( m_device, static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d) const
+ {
+ d.vkUpdateDescriptorSetWithTemplate( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d ) const
+ {
+ d.vkUpdateDescriptorSetWithTemplate( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d) const
+ {
+ d.vkUpdateDescriptorSetWithTemplateKHR( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, const void* pData, Dispatch const &d ) const
+ {
+ d.vkUpdateDescriptorSetWithTemplateKHR( m_device, static_cast<VkDescriptorSet>( descriptorSet ), static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), pData );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( uint32_t swapchainCount, const SwapchainKHR* pSwapchains, const HdrMetadataEXT* pMetadata, Dispatch const &d) const
+ {
+ d.vkSetHdrMetadataEXT( m_device, swapchainCount, reinterpret_cast<const VkSwapchainKHR*>( pSwapchains ), reinterpret_cast<const VkHdrMetadataEXT*>( pMetadata ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( ArrayProxy<const SwapchainKHR> swapchains, ArrayProxy<const HdrMetadataEXT> metadata, Dispatch const &d ) const
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( swapchains.size() == metadata.size() );
+#else
+ if ( swapchains.size() != metadata.size() )
+ {
+ throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::setHdrMetadataEXT: swapchains.size() != metadata.size()" );
+ }
+#endif // VULKAN_HPP_NO_EXCEPTIONS
+ d.vkSetHdrMetadataEXT( m_device, swapchains.size() , reinterpret_cast<const VkSwapchainKHR*>( swapchains.data() ), reinterpret_cast<const VkHdrMetadataEXT*>( metadata.data() ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetSwapchainStatusKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkGetSwapchainStatusKHR( m_device, static_cast<VkSwapchainKHR>( swapchain ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::getSwapchainStatusKHR", { Result::eSuccess, Result::eSuboptimalKHR } );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, RefreshCycleDurationGOOGLE* pDisplayTimingProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetRefreshCycleDurationGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkRefreshCycleDurationGOOGLE*>( pDisplayTimingProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<RefreshCycleDurationGOOGLE>::type Device::getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, Dispatch const &d ) const
+ {
+ RefreshCycleDurationGOOGLE displayTimingProperties;
+ Result result = static_cast<Result>( d.vkGetRefreshCycleDurationGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), reinterpret_cast<VkRefreshCycleDurationGOOGLE*>( &displayTimingProperties ) ) );
+ return createResultValue( result, displayTimingProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getRefreshCycleDurationGOOGLE" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, uint32_t* pPresentationTimingCount, PastPresentationTimingGOOGLE* pPresentationTimings, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), pPresentationTimingCount, reinterpret_cast<VkPastPresentationTimingGOOGLE*>( pPresentationTimings ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<PastPresentationTimingGOOGLE,Allocator>>::type Device::getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, Dispatch const &d ) const
+ {
+ std::vector<PastPresentationTimingGOOGLE,Allocator> presentationTimings;
+ uint32_t presentationTimingCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), &presentationTimingCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && presentationTimingCount )
+ {
+ presentationTimings.resize( presentationTimingCount );
+ result = static_cast<Result>( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast<VkSwapchainKHR>( swapchain ), &presentationTimingCount, reinterpret_cast<VkPastPresentationTimingGOOGLE*>( presentationTimings.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( presentationTimingCount <= presentationTimings.size() );
+ presentationTimings.resize( presentationTimingCount );
+ return createResultValue( result, presentationTimings, VULKAN_HPP_NAMESPACE_STRING"::Device::getPastPresentationTimingGOOGLE" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ MemoryRequirements2 memoryRequirements;
+ d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return memoryRequirements;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();
+ d.vkGetBufferMemoryRequirements2( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ MemoryRequirements2 memoryRequirements;
+ d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return memoryRequirements;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();
+ d.vkGetBufferMemoryRequirements2KHR( m_device, reinterpret_cast<const VkBufferMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ MemoryRequirements2 memoryRequirements;
+ d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return memoryRequirements;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();
+ d.vkGetImageMemoryRequirements2( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2* pInfo, MemoryRequirements2* pMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( pInfo ), reinterpret_cast<VkMemoryRequirements2*>( pMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ MemoryRequirements2 memoryRequirements;
+ d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return memoryRequirements;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ MemoryRequirements2& memoryRequirements = structureChain.template get<MemoryRequirements2>();
+ d.vkGetImageMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( &info ), reinterpret_cast<VkMemoryRequirements2*>( &memoryRequirements ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( pInfo ), pSparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( pSparseMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2,Allocator> Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ std::vector<SparseImageMemoryRequirements2,Allocator> sparseMemoryRequirements;
+ uint32_t sparseMemoryRequirementCount;
+ d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, nullptr );
+ sparseMemoryRequirements.resize( sparseMemoryRequirementCount );
+ d.vkGetImageSparseMemoryRequirements2( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( sparseMemoryRequirements.data() ) );
+ return sparseMemoryRequirements;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, SparseImageMemoryRequirements2* pSparseMemoryRequirements, Dispatch const &d) const
+ {
+ d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( pInfo ), pSparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( pSparseMemoryRequirements ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2,Allocator> Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info, Dispatch const &d ) const
+ {
+ std::vector<SparseImageMemoryRequirements2,Allocator> sparseMemoryRequirements;
+ uint32_t sparseMemoryRequirementCount;
+ d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, nullptr );
+ sparseMemoryRequirements.resize( sparseMemoryRequirementCount );
+ d.vkGetImageSparseMemoryRequirements2KHR( m_device, reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( &info ), &sparseMemoryRequirementCount, reinterpret_cast<VkSparseImageMemoryRequirements2*>( sparseMemoryRequirements.data() ) );
+ return sparseMemoryRequirements;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSamplerYcbcrConversion*>( pYcbcrConversion ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SamplerYcbcrConversion>::type Device::createSamplerYcbcrConversion( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SamplerYcbcrConversion ycbcrConversion;
+ Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );
+ return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversion" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSamplerYcbcrConversion>::type Device::createSamplerYcbcrConversionUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SamplerYcbcrConversion ycbcrConversion;
+ Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversion( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversionUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, SamplerYcbcrConversion* pYcbcrConversion, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSamplerYcbcrConversion*>( pYcbcrConversion ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SamplerYcbcrConversion>::type Device::createSamplerYcbcrConversionKHR( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SamplerYcbcrConversion ycbcrConversion;
+ Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );
+ return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversionKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSamplerYcbcrConversion>::type Device::createSamplerYcbcrConversionKHRUnique( const SamplerYcbcrConversionCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SamplerYcbcrConversion ycbcrConversion;
+ Result result = static_cast<Result>( d.vkCreateSamplerYcbcrConversionKHR( m_device, reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSamplerYcbcrConversion*>( &ycbcrConversion ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, ycbcrConversion, VULKAN_HPP_NAMESPACE_STRING"::Device::createSamplerYcbcrConversionKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySamplerYcbcrConversion( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySamplerYcbcrConversionKHR( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySamplerYcbcrConversionKHR( m_device, static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getQueue2( const DeviceQueueInfo2* pQueueInfo, Queue* pQueue, Dispatch const &d) const
+ {
+ d.vkGetDeviceQueue2( m_device, reinterpret_cast<const VkDeviceQueueInfo2*>( pQueueInfo ), reinterpret_cast<VkQueue*>( pQueue ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Queue Device::getQueue2( const DeviceQueueInfo2 & queueInfo, Dispatch const &d ) const
+ {
+ Queue queue;
+ d.vkGetDeviceQueue2( m_device, reinterpret_cast<const VkDeviceQueueInfo2*>( &queueInfo ), reinterpret_cast<VkQueue*>( &queue ) );
+ return queue;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::createValidationCacheEXT( const ValidationCacheCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, ValidationCacheEXT* pValidationCache, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast<const VkValidationCacheCreateInfoEXT*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkValidationCacheEXT*>( pValidationCache ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ValidationCacheEXT>::type Device::createValidationCacheEXT( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ValidationCacheEXT validationCache;
+ Result result = static_cast<Result>( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast<const VkValidationCacheCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkValidationCacheEXT*>( &validationCache ) ) );
+ return createResultValue( result, validationCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createValidationCacheEXT" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueValidationCacheEXT>::type Device::createValidationCacheEXTUnique( const ValidationCacheCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ ValidationCacheEXT validationCache;
+ Result result = static_cast<Result>( d.vkCreateValidationCacheEXT( m_device, reinterpret_cast<const VkValidationCacheCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkValidationCacheEXT*>( &validationCache ) ) );
+
+ ObjectDestroy<Device> deleter( *this, allocator );
+ return createResultValue( result, validationCache, VULKAN_HPP_NAMESPACE_STRING"::Device::createValidationCacheEXTUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ValidationCacheEXT validationCache, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::destroy( ValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyValidationCacheEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getValidationCacheDataEXT( ValidationCacheEXT validationCache, size_t* pDataSize, void* pData, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetValidationCacheDataEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), pDataSize, pData ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t,Allocator>>::type Device::getValidationCacheDataEXT( ValidationCacheEXT validationCache, Dispatch const &d ) const
+ {
+ std::vector<uint8_t,Allocator> data;
+ size_t dataSize;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetValidationCacheDataEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), &dataSize, nullptr ) );
+ if ( ( result == Result::eSuccess ) && dataSize )
+ {
+ data.resize( dataSize );
+ result = static_cast<Result>( d.vkGetValidationCacheDataEXT( m_device, static_cast<VkValidationCacheEXT>( validationCache ), &dataSize, reinterpret_cast<void*>( data.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( dataSize <= data.size() );
+ data.resize( dataSize );
+ return createResultValue( result, data, VULKAN_HPP_NAMESPACE_STRING"::Device::getValidationCacheDataEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::mergeValidationCachesEXT( ValidationCacheEXT dstCache, uint32_t srcCacheCount, const ValidationCacheEXT* pSrcCaches, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkMergeValidationCachesEXT( m_device, static_cast<VkValidationCacheEXT>( dstCache ), srcCacheCount, reinterpret_cast<const VkValidationCacheEXT*>( pSrcCaches ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::mergeValidationCachesEXT( ValidationCacheEXT dstCache, ArrayProxy<const ValidationCacheEXT> srcCaches, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkMergeValidationCachesEXT( m_device, static_cast<VkValidationCacheEXT>( dstCache ), srcCaches.size() , reinterpret_cast<const VkValidationCacheEXT*>( srcCaches.data() ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::mergeValidationCachesEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d) const
+ {
+ d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( pSupport ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const
+ {
+ DescriptorSetLayoutSupport support;
+ d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );
+ return support;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ DescriptorSetLayoutSupport& support = structureChain.template get<DescriptorSetLayoutSupport>();
+ d.vkGetDescriptorSetLayoutSupport( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo* pCreateInfo, DescriptorSetLayoutSupport* pSupport, Dispatch const &d) const
+ {
+ d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( pCreateInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( pSupport ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const
+ {
+ DescriptorSetLayoutSupport support;
+ d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );
+ return support;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ DescriptorSetLayoutSupport& support = structureChain.template get<DescriptorSetLayoutSupport>();
+ d.vkGetDescriptorSetLayoutSupportKHR( m_device, reinterpret_cast<const VkDescriptorSetLayoutCreateInfo*>( &createInfo ), reinterpret_cast<VkDescriptorSetLayoutSupport*>( &support ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetShaderInfoAMD( m_device, static_cast<VkPipeline>( pipeline ), static_cast<VkShaderStageFlagBits>( shaderStage ), static_cast<VkShaderInfoTypeAMD>( infoType ), pInfoSize, pInfo ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t,Allocator>>::type Device::getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, Dispatch const &d ) const
+ {
+ std::vector<uint8_t,Allocator> info;
+ size_t infoSize;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetShaderInfoAMD( m_device, static_cast<VkPipeline>( pipeline ), static_cast<VkShaderStageFlagBits>( shaderStage ), static_cast<VkShaderInfoTypeAMD>( infoType ), &infoSize, nullptr ) );
+ if ( ( result == Result::eSuccess ) && infoSize )
+ {
+ info.resize( infoSize );
+ result = static_cast<Result>( d.vkGetShaderInfoAMD( m_device, static_cast<VkPipeline>( pipeline ), static_cast<VkShaderStageFlagBits>( shaderStage ), static_cast<VkShaderInfoTypeAMD>( infoType ), &infoSize, reinterpret_cast<void*>( info.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( infoSize <= info.size() );
+ info.resize( infoSize );
+ return createResultValue( result, info, VULKAN_HPP_NAMESPACE_STRING"::Device::getShaderInfoAMD" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT* pNameInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkSetDebugUtilsObjectNameEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectNameInfoEXT*>( pNameInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkSetDebugUtilsObjectNameEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectNameInfoEXT*>( &nameInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::setDebugUtilsObjectNameEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT* pTagInfo, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectTagInfoEXT*>( pTagInfo ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type Device::setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast<const VkDebugUtilsObjectTagInfoEXT*>( &tagInfo ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::Device::setDebugUtilsObjectTagEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), pHostPointer, reinterpret_cast<VkMemoryHostPointerPropertiesEXT*>( pMemoryHostPointerProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<MemoryHostPointerPropertiesEXT>::type Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void* pHostPointer, Dispatch const &d ) const
+ {
+ MemoryHostPointerPropertiesEXT memoryHostPointerProperties;
+ Result result = static_cast<Result>( d.vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), pHostPointer, reinterpret_cast<VkMemoryHostPointerPropertiesEXT*>( &memoryHostPointerProperties ) ) );
+ return createResultValue( result, memoryHostPointerProperties, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryHostPointerPropertiesEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer* buffer, AndroidHardwareBufferPropertiesANDROID* pProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<AndroidHardwareBufferPropertiesANDROID>::type Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d ) const
+ {
+ AndroidHardwareBufferPropertiesANDROID properties;
+ Result result = static_cast<Result>( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID*>( &properties ) ) );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::Device::getAndroidHardwareBufferPropertiesANDROID" );
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ AndroidHardwareBufferPropertiesANDROID& properties = structureChain.template get<AndroidHardwareBufferPropertiesANDROID>();
+ Result result = static_cast<Result>( d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID*>( &properties ) ) );
+ return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::Device::getAndroidHardwareBufferPropertiesANDROID" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID* pInfo, struct AHardwareBuffer** pBuffer, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetMemoryAndroidHardwareBufferANDROID( m_device, reinterpret_cast<const VkMemoryGetAndroidHardwareBufferInfoANDROID*>( pInfo ), pBuffer ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<struct AHardwareBuffer*>::type Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info, Dispatch const &d ) const
+ {
+ struct AHardwareBuffer* buffer;
+ Result result = static_cast<Result>( d.vkGetMemoryAndroidHardwareBufferANDROID( m_device, reinterpret_cast<const VkMemoryGetAndroidHardwareBufferInfoANDROID*>( &info ), &buffer ) );
+ return createResultValue( result, buffer, VULKAN_HPP_NAMESPACE_STRING"::Device::getMemoryAndroidHardwareBufferANDROID" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+
+ template <> class UniqueHandleTraits<Device> {public: using deleter = ObjectDestroy<NoParent>; };
+ using UniqueDevice = UniqueHandle<Device>;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+
+ class PhysicalDevice
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR PhysicalDevice()
+ : m_physicalDevice(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR PhysicalDevice( std::nullptr_t )
+ : m_physicalDevice(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT PhysicalDevice( VkPhysicalDevice physicalDevice )
+ : m_physicalDevice( physicalDevice )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ PhysicalDevice & operator=(VkPhysicalDevice physicalDevice)
+ {
+ m_physicalDevice = physicalDevice;
+ return *this;
+ }
+#endif
+
+ PhysicalDevice & operator=( std::nullptr_t )
+ {
+ m_physicalDevice = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( PhysicalDevice const & rhs ) const
+ {
+ return m_physicalDevice == rhs.m_physicalDevice;
+ }
+
+ bool operator!=(PhysicalDevice const & rhs ) const
+ {
+ return m_physicalDevice != rhs.m_physicalDevice;
+ }
+
+ bool operator<(PhysicalDevice const & rhs ) const
+ {
+ return m_physicalDevice < rhs.m_physicalDevice;
+ }
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getProperties( PhysicalDeviceProperties* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceProperties getProperties(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getQueueFamilyProperties( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties* pQueueFamilyProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<QueueFamilyProperties>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<QueueFamilyProperties,Allocator> getQueueFamilyProperties(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getMemoryProperties( PhysicalDeviceMemoryProperties* pMemoryProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceMemoryProperties getMemoryProperties(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getFeatures( PhysicalDeviceFeatures* pFeatures, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceFeatures getFeatures(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getFormatProperties( Format format, FormatProperties* pFormatProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ FormatProperties getFormatProperties( Format format, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ImageFormatProperties* pImageFormatProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ImageFormatProperties>::type getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDevice( const DeviceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Device* pDevice, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Device>::type createDevice( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDevice>::type createDeviceUnique( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumerateDeviceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<LayerProperties>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<LayerProperties,Allocator>>::type enumerateDeviceLayerProperties(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumerateDeviceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<ExtensionProperties>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type enumerateDeviceExtensionProperties( Optional<const std::string> layerName = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, uint32_t* pPropertyCount, SparseImageFormatProperties* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SparseImageFormatProperties>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<SparseImageFormatProperties,Allocator> getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getDisplayPropertiesKHR( uint32_t* pPropertyCount, DisplayPropertiesKHR* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<DisplayPropertiesKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<DisplayPropertiesKHR,Allocator>>::type getDisplayPropertiesKHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getDisplayPlanePropertiesKHR( uint32_t* pPropertyCount, DisplayPlanePropertiesKHR* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<DisplayPlanePropertiesKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<DisplayPlanePropertiesKHR,Allocator>>::type getDisplayPlanePropertiesKHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t* pDisplayCount, DisplayKHR* pDisplays, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<DisplayKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<DisplayKHR,Allocator>>::type getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getDisplayModePropertiesKHR( DisplayKHR display, uint32_t* pPropertyCount, DisplayModePropertiesKHR* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<DisplayModePropertiesKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<DisplayModePropertiesKHR,Allocator>>::type getDisplayModePropertiesKHR( DisplayKHR display, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, DisplayModeKHR* pMode, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DisplayModeKHR>::type createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, DisplayPlaneCapabilitiesKHR* pCapabilities, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DisplayPlaneCapabilitiesKHR>::type getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection* connection, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection & connection, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Bool32* pSupported, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Bool32>::type getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSurfaceCapabilitiesKHR( SurfaceKHR surface, SurfaceCapabilitiesKHR* pSurfaceCapabilities, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceCapabilitiesKHR>::type getSurfaceCapabilitiesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSurfaceFormatsKHR( SurfaceKHR surface, uint32_t* pSurfaceFormatCount, SurfaceFormatKHR* pSurfaceFormats, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SurfaceFormatKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<SurfaceFormatKHR,Allocator>>::type getSurfaceFormatsKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSurfacePresentModesKHR( SurfaceKHR surface, uint32_t* pPresentModeCount, PresentModeKHR* pPresentModes, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<PresentModeKHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<PresentModeKHR,Allocator>>::type getSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display* display, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const &d = Dispatch() ) const;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display* dpy, VisualID visualID, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, ExternalImageFormatPropertiesNV* pExternalImageFormatProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ExternalImageFormatPropertiesNV>::type getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX* pFeatures, DeviceGeneratedCommandsLimitsNVX* pLimits, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ DeviceGeneratedCommandsLimitsNVX getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX & features, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getFeatures2( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceFeatures2 getFeatures2(Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getFeatures2(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getFeatures2KHR( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceFeatures2 getFeatures2KHR(Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getFeatures2KHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getProperties2( PhysicalDeviceProperties2* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceProperties2 getProperties2(Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getProperties2(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getProperties2KHR( PhysicalDeviceProperties2* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceProperties2 getProperties2KHR(Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ StructureChain<T...> getProperties2KHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getFormatProperties2( Format format, FormatProperties2* pFormatProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ FormatProperties2 getFormatProperties2( Format format, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getFormatProperties2KHR( Format format, FormatProperties2* pFormatProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ FormatProperties2 getFormatProperties2KHR( Format format, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ImageFormatProperties2>::type getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<StructureChain<T...>>::type getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<ImageFormatProperties2>::type getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<StructureChain<T...>>::type getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getQueueFamilyProperties2( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<QueueFamilyProperties2>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<QueueFamilyProperties2,Allocator> getQueueFamilyProperties2(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getQueueFamilyProperties2KHR( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<QueueFamilyProperties2>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<QueueFamilyProperties2,Allocator> getQueueFamilyProperties2KHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getMemoryProperties2( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceMemoryProperties2 getMemoryProperties2(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getMemoryProperties2KHR( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PhysicalDeviceMemoryProperties2 getMemoryProperties2KHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SparseImageFormatProperties2>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<SparseImageFormatProperties2,Allocator> getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SparseImageFormatProperties2>, typename Dispatch = DispatchLoaderStatic>
+ std::vector<SparseImageFormatProperties2,Allocator> getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ExternalBufferProperties getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ExternalBufferProperties getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ExternalSemaphoreProperties getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ExternalSemaphoreProperties getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ExternalFenceProperties getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ExternalFenceProperties getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result releaseDisplayEXT( DisplayKHR display, Dispatch const &d = Dispatch() ) const;
+#else
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<void>::type releaseDisplayEXT( DisplayKHR display, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result acquireXlibDisplayEXT( Display* dpy, DisplayKHR display, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Display>::type acquireXlibDisplayEXT( DisplayKHR display, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getRandROutputDisplayEXT( Display* dpy, RROutput rrOutput, DisplayKHR* pDisplay, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DisplayKHR>::type getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSurfaceCapabilities2EXT( SurfaceKHR surface, SurfaceCapabilities2EXT* pSurfaceCapabilities, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceCapabilities2EXT>::type getSurfaceCapabilities2EXT( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getPresentRectanglesKHR( SurfaceKHR surface, uint32_t* pRectCount, Rect2D* pRects, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<Rect2D>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<Rect2D,Allocator>>::type getPresentRectanglesKHR( SurfaceKHR surface, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void getMultisamplePropertiesEXT( SampleCountFlagBits samples, MultisamplePropertiesEXT* pMultisampleProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ MultisamplePropertiesEXT getMultisamplePropertiesEXT( SampleCountFlagBits samples, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, SurfaceCapabilities2KHR* pSurfaceCapabilities, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceCapabilities2KHR>::type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d = Dispatch() ) const;
+ template <typename ...T, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<StructureChain<T...>>::type getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, SurfaceFormat2KHR* pSurfaceFormats, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<SurfaceFormat2KHR>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<SurfaceFormat2KHR,Allocator>>::type getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkPhysicalDevice() const
+ {
+ return m_physicalDevice;
+ }
+
+ explicit operator bool() const
+ {
+ return m_physicalDevice != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_physicalDevice == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkPhysicalDevice m_physicalDevice;
+ };
+
+ static_assert( sizeof( PhysicalDevice ) == sizeof( VkPhysicalDevice ), "handle and wrapper have different size!" );
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getProperties( PhysicalDeviceProperties* pProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties*>( pProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceProperties PhysicalDevice::getProperties(Dispatch const &d ) const
+ {
+ PhysicalDeviceProperties properties;
+ d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties*>( &properties ) );
+ return properties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties* pQueueFamilyProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties*>( pQueueFamilyProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<QueueFamilyProperties,Allocator> PhysicalDevice::getQueueFamilyProperties(Dispatch const &d ) const
+ {
+ std::vector<QueueFamilyProperties,Allocator> queueFamilyProperties;
+ uint32_t queueFamilyPropertyCount;
+ d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr );
+ queueFamilyProperties.resize( queueFamilyPropertyCount );
+ d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties*>( queueFamilyProperties.data() ) );
+ return queueFamilyProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties( PhysicalDeviceMemoryProperties* pMemoryProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties*>( pMemoryProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties PhysicalDevice::getMemoryProperties(Dispatch const &d ) const
+ {
+ PhysicalDeviceMemoryProperties memoryProperties;
+ d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties*>( &memoryProperties ) );
+ return memoryProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getFeatures( PhysicalDeviceFeatures* pFeatures, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures*>( pFeatures ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceFeatures PhysicalDevice::getFeatures(Dispatch const &d ) const
+ {
+ PhysicalDeviceFeatures features;
+ d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures*>( &features ) );
+ return features;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties( Format format, FormatProperties* pFormatProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties*>( pFormatProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE FormatProperties PhysicalDevice::getFormatProperties( Format format, Dispatch const &d ) const
+ {
+ FormatProperties formatProperties;
+ d.vkGetPhysicalDeviceFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties*>( &formatProperties ) );
+ return formatProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ImageFormatProperties* pImageFormatProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), reinterpret_cast<VkImageFormatProperties*>( pImageFormatProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ImageFormatProperties>::type PhysicalDevice::getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, Dispatch const &d ) const
+ {
+ ImageFormatProperties imageFormatProperties;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), reinterpret_cast<VkImageFormatProperties*>( &imageFormatProperties ) ) );
+ return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::createDevice( const DeviceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Device* pDevice, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDevice( m_physicalDevice, reinterpret_cast<const VkDeviceCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDevice*>( pDevice ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Device>::type PhysicalDevice::createDevice( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Device device;
+ Result result = static_cast<Result>( d.vkCreateDevice( m_physicalDevice, reinterpret_cast<const VkDeviceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDevice*>( &device ) ) );
+ return createResultValue( result, device, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::createDevice" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDevice>::type PhysicalDevice::createDeviceUnique( const DeviceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ Device device;
+ Result result = static_cast<Result>( d.vkCreateDevice( m_physicalDevice, reinterpret_cast<const VkDeviceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDevice*>( &device ) ) );
+
+ ObjectDestroy<NoParent> deleter( allocator );
+ return createResultValue( result, device, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::createDeviceUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceLayerProperties( uint32_t* pPropertyCount, LayerProperties* pProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, pPropertyCount, reinterpret_cast<VkLayerProperties*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<LayerProperties,Allocator>>::type PhysicalDevice::enumerateDeviceLayerProperties(Dispatch const &d ) const
+ {
+ std::vector<LayerProperties,Allocator> properties;
+ uint32_t propertyCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && propertyCount )
+ {
+ properties.resize( propertyCount );
+ result = static_cast<Result>( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, reinterpret_cast<VkLayerProperties*>( properties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( propertyCount <= properties.size() );
+ properties.resize( propertyCount );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceLayerProperties" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceExtensionProperties( const char* pLayerName, uint32_t* pPropertyCount, ExtensionProperties* pProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, pLayerName, pPropertyCount, reinterpret_cast<VkExtensionProperties*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<ExtensionProperties,Allocator>>::type PhysicalDevice::enumerateDeviceExtensionProperties( Optional<const std::string> layerName, Dispatch const &d ) const
+ {
+ std::vector<ExtensionProperties,Allocator> properties;
+ uint32_t propertyCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && propertyCount )
+ {
+ properties.resize( propertyCount );
+ result = static_cast<Result>( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast<VkExtensionProperties*>( properties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( propertyCount <= properties.size() );
+ properties.resize( propertyCount );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::enumerateDeviceExtensionProperties" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, uint32_t* pPropertyCount, SparseImageFormatProperties* pProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkSampleCountFlagBits>( samples ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageTiling>( tiling ), pPropertyCount, reinterpret_cast<VkSparseImageFormatProperties*>( pProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties,Allocator> PhysicalDevice::getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, Dispatch const &d ) const
+ {
+ std::vector<SparseImageFormatProperties,Allocator> properties;
+ uint32_t propertyCount;
+ d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkSampleCountFlagBits>( samples ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageTiling>( tiling ), &propertyCount, nullptr );
+ properties.resize( propertyCount );
+ d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkSampleCountFlagBits>( samples ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageTiling>( tiling ), &propertyCount, reinterpret_cast<VkSparseImageFormatProperties*>( properties.data() ) );
+ return properties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPropertiesKHR( uint32_t* pPropertyCount, DisplayPropertiesKHR* pProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, pPropertyCount, reinterpret_cast<VkDisplayPropertiesKHR*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayPropertiesKHR,Allocator>>::type PhysicalDevice::getDisplayPropertiesKHR(Dispatch const &d ) const
+ {
+ std::vector<DisplayPropertiesKHR,Allocator> properties;
+ uint32_t propertyCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && propertyCount )
+ {
+ properties.resize( propertyCount );
+ result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast<VkDisplayPropertiesKHR*>( properties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( propertyCount <= properties.size() );
+ properties.resize( propertyCount );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPropertiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlanePropertiesKHR( uint32_t* pPropertyCount, DisplayPlanePropertiesKHR* pProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, pPropertyCount, reinterpret_cast<VkDisplayPlanePropertiesKHR*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayPlanePropertiesKHR,Allocator>>::type PhysicalDevice::getDisplayPlanePropertiesKHR(Dispatch const &d ) const
+ {
+ std::vector<DisplayPlanePropertiesKHR,Allocator> properties;
+ uint32_t propertyCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && propertyCount )
+ {
+ properties.resize( propertyCount );
+ result = static_cast<Result>( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast<VkDisplayPlanePropertiesKHR*>( properties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( propertyCount <= properties.size() );
+ properties.resize( propertyCount );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlanePropertiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t* pDisplayCount, DisplayKHR* pDisplays, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, pDisplayCount, reinterpret_cast<VkDisplayKHR*>( pDisplays ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayKHR,Allocator>>::type PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const &d ) const
+ {
+ std::vector<DisplayKHR,Allocator> displays;
+ uint32_t displayCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && displayCount )
+ {
+ displays.resize( displayCount );
+ result = static_cast<Result>( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, reinterpret_cast<VkDisplayKHR*>( displays.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( displayCount <= displays.size() );
+ displays.resize( displayCount );
+ return createResultValue( result, displays, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayModePropertiesKHR( DisplayKHR display, uint32_t* pPropertyCount, DisplayModePropertiesKHR* pProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), pPropertyCount, reinterpret_cast<VkDisplayModePropertiesKHR*>( pProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayModePropertiesKHR,Allocator>>::type PhysicalDevice::getDisplayModePropertiesKHR( DisplayKHR display, Dispatch const &d ) const
+ {
+ std::vector<DisplayModePropertiesKHR,Allocator> properties;
+ uint32_t propertyCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), &propertyCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && propertyCount )
+ {
+ properties.resize( propertyCount );
+ result = static_cast<Result>( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), &propertyCount, reinterpret_cast<VkDisplayModePropertiesKHR*>( properties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( propertyCount <= properties.size() );
+ properties.resize( propertyCount );
+ return createResultValue( result, properties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayModePropertiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, DisplayModeKHR* pMode, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDisplayModeKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayModeCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDisplayModeKHR*>( pMode ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DisplayModeKHR>::type PhysicalDevice::createDisplayModeKHR( DisplayKHR display, const DisplayModeCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DisplayModeKHR mode;
+ Result result = static_cast<Result>( d.vkCreateDisplayModeKHR( m_physicalDevice, static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayModeCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDisplayModeKHR*>( &mode ) ) );
+ return createResultValue( result, mode, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::createDisplayModeKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, DisplayPlaneCapabilitiesKHR* pCapabilities, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, static_cast<VkDisplayModeKHR>( mode ), planeIndex, reinterpret_cast<VkDisplayPlaneCapabilitiesKHR*>( pCapabilities ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DisplayPlaneCapabilitiesKHR>::type PhysicalDevice::getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, Dispatch const &d ) const
+ {
+ DisplayPlaneCapabilitiesKHR capabilities;
+ Result result = static_cast<Result>( d.vkGetDisplayPlaneCapabilitiesKHR( m_physicalDevice, static_cast<VkDisplayModeKHR>( mode ), planeIndex, reinterpret_cast<VkDisplayPlaneCapabilitiesKHR*>( &capabilities ) ) );
+ return createResultValue( result, capabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getDisplayPlaneCapabilitiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection* connection, Dispatch const &d) const
+ {
+ return d.vkGetPhysicalDeviceMirPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, connection );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getMirPresentationSupportKHR( uint32_t queueFamilyIndex, MirConnection & connection, Dispatch const &d ) const
+ {
+ return d.vkGetPhysicalDeviceMirPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &connection );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Bool32* pSupported, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, queueFamilyIndex, static_cast<VkSurfaceKHR>( surface ), pSupported ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Bool32>::type PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Dispatch const &d ) const
+ {
+ Bool32 supported;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceSupportKHR( m_physicalDevice, queueFamilyIndex, static_cast<VkSurfaceKHR>( surface ), &supported ) );
+ return createResultValue( result, supported, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceSupportKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilitiesKHR( SurfaceKHR surface, SurfaceCapabilitiesKHR* pSurfaceCapabilities, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilitiesKHR*>( pSurfaceCapabilities ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceCapabilitiesKHR>::type PhysicalDevice::getSurfaceCapabilitiesKHR( SurfaceKHR surface, Dispatch const &d ) const
+ {
+ SurfaceCapabilitiesKHR surfaceCapabilities;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilitiesKHR*>( &surfaceCapabilities ) ) );
+ return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilitiesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormatsKHR( SurfaceKHR surface, uint32_t* pSurfaceFormatCount, SurfaceFormatKHR* pSurfaceFormats, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), pSurfaceFormatCount, reinterpret_cast<VkSurfaceFormatKHR*>( pSurfaceFormats ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<SurfaceFormatKHR,Allocator>>::type PhysicalDevice::getSurfaceFormatsKHR( SurfaceKHR surface, Dispatch const &d ) const
+ {
+ std::vector<SurfaceFormatKHR,Allocator> surfaceFormats;
+ uint32_t surfaceFormatCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && surfaceFormatCount )
+ {
+ surfaceFormats.resize( surfaceFormatCount );
+ result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, reinterpret_cast<VkSurfaceFormatKHR*>( surfaceFormats.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() );
+ surfaceFormats.resize( surfaceFormatCount );
+ return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormatsKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getSurfacePresentModesKHR( SurfaceKHR surface, uint32_t* pPresentModeCount, PresentModeKHR* pPresentModes, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), pPresentModeCount, reinterpret_cast<VkPresentModeKHR*>( pPresentModes ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<PresentModeKHR,Allocator>>::type PhysicalDevice::getSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const &d ) const
+ {
+ std::vector<PresentModeKHR,Allocator> presentModes;
+ uint32_t presentModeCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &presentModeCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && presentModeCount )
+ {
+ presentModes.resize( presentModeCount );
+ result = static_cast<Result>( d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &presentModeCount, reinterpret_cast<VkPresentModeKHR*>( presentModes.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() );
+ presentModes.resize( presentModeCount );
+ return createResultValue( result, presentModes, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfacePresentModesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display* display, Dispatch const &d) const
+ {
+ return d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, display );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const &d ) const
+ {
+ return d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &display );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const &d) const
+ {
+ return d.vkGetPhysicalDeviceWin32PresentationSupportKHR( m_physicalDevice, queueFamilyIndex );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const &d ) const
+ {
+ return d.vkGetPhysicalDeviceWin32PresentationSupportKHR( m_physicalDevice, queueFamilyIndex );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display* dpy, VisualID visualID, Dispatch const &d) const
+ {
+ return d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, dpy, visualID );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, Dispatch const &d ) const
+ {
+ return d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &dpy, visualID );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t* connection, xcb_visualid_t visual_id, Dispatch const &d) const
+ {
+ return d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, connection, visual_id );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, Dispatch const &d ) const
+ {
+ return d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &connection, visual_id );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, ExternalImageFormatPropertiesNV* pExternalImageFormatProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( externalHandleType ), reinterpret_cast<VkExternalImageFormatPropertiesNV*>( pExternalImageFormatProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ExternalImageFormatPropertiesNV>::type PhysicalDevice::getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ExternalMemoryHandleTypeFlagsNV externalHandleType, Dispatch const &d ) const
+ {
+ ExternalImageFormatPropertiesNV externalImageFormatProperties;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( m_physicalDevice, static_cast<VkFormat>( format ), static_cast<VkImageType>( type ), static_cast<VkImageTiling>( tiling ), static_cast<VkImageUsageFlags>( usage ), static_cast<VkImageCreateFlags>( flags ), static_cast<VkExternalMemoryHandleTypeFlagsNV>( externalHandleType ), reinterpret_cast<VkExternalImageFormatPropertiesNV*>( &externalImageFormatProperties ) ) );
+ return createResultValue( result, externalImageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getExternalImageFormatPropertiesNV" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX* pFeatures, DeviceGeneratedCommandsLimitsNVX* pLimits, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( m_physicalDevice, reinterpret_cast<VkDeviceGeneratedCommandsFeaturesNVX*>( pFeatures ), reinterpret_cast<VkDeviceGeneratedCommandsLimitsNVX*>( pLimits ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE DeviceGeneratedCommandsLimitsNVX PhysicalDevice::getGeneratedCommandsPropertiesNVX( DeviceGeneratedCommandsFeaturesNVX & features, Dispatch const &d ) const
+ {
+ DeviceGeneratedCommandsLimitsNVX limits;
+ d.vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX( m_physicalDevice, reinterpret_cast<VkDeviceGeneratedCommandsFeaturesNVX*>( &features ), reinterpret_cast<VkDeviceGeneratedCommandsLimitsNVX*>( &limits ) );
+ return limits;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( pFeatures ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2(Dispatch const &d ) const
+ {
+ PhysicalDeviceFeatures2 features;
+ d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );
+ return features;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getFeatures2(Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ PhysicalDeviceFeatures2& features = structureChain.template get<PhysicalDeviceFeatures2>();
+ d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2KHR( PhysicalDeviceFeatures2* pFeatures, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( pFeatures ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2KHR(Dispatch const &d ) const
+ {
+ PhysicalDeviceFeatures2 features;
+ d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );
+ return features;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getFeatures2KHR(Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ PhysicalDeviceFeatures2& features = structureChain.template get<PhysicalDeviceFeatures2>();
+ d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceFeatures2*>( &features ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getProperties2( PhysicalDeviceProperties2* pProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( pProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2(Dispatch const &d ) const
+ {
+ PhysicalDeviceProperties2 properties;
+ d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );
+ return properties;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getProperties2(Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ PhysicalDeviceProperties2& properties = structureChain.template get<PhysicalDeviceProperties2>();
+ d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getProperties2KHR( PhysicalDeviceProperties2* pProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( pProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2KHR(Dispatch const &d ) const
+ {
+ PhysicalDeviceProperties2 properties;
+ d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );
+ return properties;
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE StructureChain<T...> PhysicalDevice::getProperties2KHR(Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ PhysicalDeviceProperties2& properties = structureChain.template get<PhysicalDeviceProperties2>();
+ d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceProperties2*>( &properties ) );
+ return structureChain;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2( Format format, FormatProperties2* pFormatProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( pFormatProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2( Format format, Dispatch const &d ) const
+ {
+ FormatProperties2 formatProperties;
+ d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( &formatProperties ) );
+ return formatProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2KHR( Format format, FormatProperties2* pFormatProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceFormatProperties2KHR( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( pFormatProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2KHR( Format format, Dispatch const &d ) const
+ {
+ FormatProperties2 formatProperties;
+ d.vkGetPhysicalDeviceFormatProperties2KHR( m_physicalDevice, static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2*>( &formatProperties ) );
+ return formatProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( pImageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( pImageFormatProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ImageFormatProperties2>::type PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const
+ {
+ ImageFormatProperties2 imageFormatProperties;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );
+ return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2" );
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ ImageFormatProperties2& imageFormatProperties = structureChain.template get<ImageFormatProperties2>();
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );
+ return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2* pImageFormatInfo, ImageFormatProperties2* pImageFormatProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( pImageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( pImageFormatProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<ImageFormatProperties2>::type PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const
+ {
+ ImageFormatProperties2 imageFormatProperties;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );
+ return createResultValue( result, imageFormatProperties, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2KHR" );
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ ImageFormatProperties2& imageFormatProperties = structureChain.template get<ImageFormatProperties2>();
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2*>( &imageFormatInfo ), reinterpret_cast<VkImageFormatProperties2*>( &imageFormatProperties ) ) );
+ return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getImageFormatProperties2KHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( pQueueFamilyProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<QueueFamilyProperties2,Allocator> PhysicalDevice::getQueueFamilyProperties2(Dispatch const &d ) const
+ {
+ std::vector<QueueFamilyProperties2,Allocator> queueFamilyProperties;
+ uint32_t queueFamilyPropertyCount;
+ d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr );
+ queueFamilyProperties.resize( queueFamilyPropertyCount );
+ d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( queueFamilyProperties.data() ) );
+ return queueFamilyProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2KHR( uint32_t* pQueueFamilyPropertyCount, QueueFamilyProperties2* pQueueFamilyProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, pQueueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( pQueueFamilyProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<QueueFamilyProperties2,Allocator> PhysicalDevice::getQueueFamilyProperties2KHR(Dispatch const &d ) const
+ {
+ std::vector<QueueFamilyProperties2,Allocator> queueFamilyProperties;
+ uint32_t queueFamilyPropertyCount;
+ d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr );
+ queueFamilyProperties.resize( queueFamilyPropertyCount );
+ d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast<VkQueueFamilyProperties2*>( queueFamilyProperties.data() ) );
+ return queueFamilyProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( pMemoryProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2(Dispatch const &d ) const
+ {
+ PhysicalDeviceMemoryProperties2 memoryProperties;
+ d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) );
+ return memoryProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2KHR( PhysicalDeviceMemoryProperties2* pMemoryProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( pMemoryProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2KHR(Dispatch const &d ) const
+ {
+ PhysicalDeviceMemoryProperties2 memoryProperties;
+ d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast<VkPhysicalDeviceMemoryProperties2*>( &memoryProperties ) );
+ return memoryProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( pFormatInfo ), pPropertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( pProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties2,Allocator> PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d ) const
+ {
+ std::vector<SparseImageFormatProperties2,Allocator> properties;
+ uint32_t propertyCount;
+ d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, nullptr );
+ properties.resize( propertyCount );
+ d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( properties.data() ) );
+ return properties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2* pFormatInfo, uint32_t* pPropertyCount, SparseImageFormatProperties2* pProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( pFormatInfo ), pPropertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( pProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties2,Allocator> PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo, Dispatch const &d ) const
+ {
+ std::vector<SparseImageFormatProperties2,Allocator> properties;
+ uint32_t propertyCount;
+ d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, nullptr );
+ properties.resize( propertyCount );
+ d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2*>( &formatInfo ), &propertyCount, reinterpret_cast<VkSparseImageFormatProperties2*>( properties.data() ) );
+ return properties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceExternalBufferProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( pExternalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( pExternalBufferProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ExternalBufferProperties PhysicalDevice::getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d ) const
+ {
+ ExternalBufferProperties externalBufferProperties;
+ d.vkGetPhysicalDeviceExternalBufferProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( &externalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( &externalBufferProperties ) );
+ return externalBufferProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo* pExternalBufferInfo, ExternalBufferProperties* pExternalBufferProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( pExternalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( pExternalBufferProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ExternalBufferProperties PhysicalDevice::getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo, Dispatch const &d ) const
+ {
+ ExternalBufferProperties externalBufferProperties;
+ d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo*>( &externalBufferInfo ), reinterpret_cast<VkExternalBufferProperties*>( &externalBufferProperties ) );
+ return externalBufferProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceExternalSemaphoreProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( pExternalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( pExternalSemaphoreProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d ) const
+ {
+ ExternalSemaphoreProperties externalSemaphoreProperties;
+ d.vkGetPhysicalDeviceExternalSemaphoreProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( &externalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( &externalSemaphoreProperties ) );
+ return externalSemaphoreProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo* pExternalSemaphoreInfo, ExternalSemaphoreProperties* pExternalSemaphoreProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( pExternalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( pExternalSemaphoreProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo, Dispatch const &d ) const
+ {
+ ExternalSemaphoreProperties externalSemaphoreProperties;
+ d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo*>( &externalSemaphoreInfo ), reinterpret_cast<VkExternalSemaphoreProperties*>( &externalSemaphoreProperties ) );
+ return externalSemaphoreProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceExternalFenceProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( pExternalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( pExternalFenceProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ExternalFenceProperties PhysicalDevice::getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d ) const
+ {
+ ExternalFenceProperties externalFenceProperties;
+ d.vkGetPhysicalDeviceExternalFenceProperties( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( &externalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( &externalFenceProperties ) );
+ return externalFenceProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo* pExternalFenceInfo, ExternalFenceProperties* pExternalFenceProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceExternalFencePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( pExternalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( pExternalFenceProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ExternalFenceProperties PhysicalDevice::getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo, Dispatch const &d ) const
+ {
+ ExternalFenceProperties externalFenceProperties;
+ d.vkGetPhysicalDeviceExternalFencePropertiesKHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo*>( &externalFenceInfo ), reinterpret_cast<VkExternalFenceProperties*>( &externalFenceProperties ) );
+ return externalFenceProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::releaseDisplayEXT( DisplayKHR display, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast<VkDisplayKHR>( display ) ) );
+ }
+#else
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<void>::type PhysicalDevice::releaseDisplayEXT( DisplayKHR display, Dispatch const &d ) const
+ {
+ Result result = static_cast<Result>( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast<VkDisplayKHR>( display ) ) );
+ return createResultValue( result, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::releaseDisplayEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::acquireXlibDisplayEXT( Display* dpy, DisplayKHR display, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkAcquireXlibDisplayEXT( m_physicalDevice, dpy, static_cast<VkDisplayKHR>( display ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Display>::type PhysicalDevice::acquireXlibDisplayEXT( DisplayKHR display, Dispatch const &d ) const
+ {
+ Display dpy;
+ Result result = static_cast<Result>( d.vkAcquireXlibDisplayEXT( m_physicalDevice, &dpy, static_cast<VkDisplayKHR>( display ) ) );
+ return createResultValue( result, dpy, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::acquireXlibDisplayEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getRandROutputDisplayEXT( Display* dpy, RROutput rrOutput, DisplayKHR* pDisplay, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetRandROutputDisplayEXT( m_physicalDevice, dpy, rrOutput, reinterpret_cast<VkDisplayKHR*>( pDisplay ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DisplayKHR>::type PhysicalDevice::getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const &d ) const
+ {
+ DisplayKHR display;
+ Result result = static_cast<Result>( d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast<VkDisplayKHR*>( &display ) ) );
+ return createResultValue( result, display, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getRandROutputDisplayEXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2EXT( SurfaceKHR surface, SurfaceCapabilities2EXT* pSurfaceCapabilities, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilities2EXT*>( pSurfaceCapabilities ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceCapabilities2EXT>::type PhysicalDevice::getSurfaceCapabilities2EXT( SurfaceKHR surface, Dispatch const &d ) const
+ {
+ SurfaceCapabilities2EXT surfaceCapabilities;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkSurfaceCapabilities2EXT*>( &surfaceCapabilities ) ) );
+ return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilities2EXT" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getPresentRectanglesKHR( SurfaceKHR surface, uint32_t* pRectCount, Rect2D* pRects, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), pRectCount, reinterpret_cast<VkRect2D*>( pRects ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<Rect2D,Allocator>>::type PhysicalDevice::getPresentRectanglesKHR( SurfaceKHR surface, Dispatch const &d ) const
+ {
+ std::vector<Rect2D,Allocator> rects;
+ uint32_t rectCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &rectCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && rectCount )
+ {
+ rects.resize( rectCount );
+ result = static_cast<Result>( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast<VkSurfaceKHR>( surface ), &rectCount, reinterpret_cast<VkRect2D*>( rects.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( rectCount <= rects.size() );
+ rects.resize( rectCount );
+ return createResultValue( result, rects, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getPresentRectanglesKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void PhysicalDevice::getMultisamplePropertiesEXT( SampleCountFlagBits samples, MultisamplePropertiesEXT* pMultisampleProperties, Dispatch const &d) const
+ {
+ d.vkGetPhysicalDeviceMultisamplePropertiesEXT( m_physicalDevice, static_cast<VkSampleCountFlagBits>( samples ), reinterpret_cast<VkMultisamplePropertiesEXT*>( pMultisampleProperties ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE MultisamplePropertiesEXT PhysicalDevice::getMultisamplePropertiesEXT( SampleCountFlagBits samples, Dispatch const &d ) const
+ {
+ MultisamplePropertiesEXT multisampleProperties;
+ d.vkGetPhysicalDeviceMultisamplePropertiesEXT( m_physicalDevice, static_cast<VkSampleCountFlagBits>( samples ), reinterpret_cast<VkMultisamplePropertiesEXT*>( &multisampleProperties ) );
+ return multisampleProperties;
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, SurfaceCapabilities2KHR* pSurfaceCapabilities, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( pSurfaceInfo ), reinterpret_cast<VkSurfaceCapabilities2KHR*>( pSurfaceCapabilities ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceCapabilities2KHR>::type PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d ) const
+ {
+ SurfaceCapabilities2KHR surfaceCapabilities;
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), reinterpret_cast<VkSurfaceCapabilities2KHR*>( &surfaceCapabilities ) ) );
+ return createResultValue( result, surfaceCapabilities, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilities2KHR" );
+ }
+ template <typename ...T, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<StructureChain<T...>>::type PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d ) const
+ {
+ StructureChain<T...> structureChain;
+ SurfaceCapabilities2KHR& surfaceCapabilities = structureChain.template get<SurfaceCapabilities2KHR>();
+ Result result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), reinterpret_cast<VkSurfaceCapabilities2KHR*>( &surfaceCapabilities ) ) );
+ return createResultValue( result, structureChain, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceCapabilities2KHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint32_t* pSurfaceFormatCount, SurfaceFormat2KHR* pSurfaceFormats, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( pSurfaceInfo ), pSurfaceFormatCount, reinterpret_cast<VkSurfaceFormat2KHR*>( pSurfaceFormats ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<SurfaceFormat2KHR,Allocator>>::type PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo, Dispatch const &d ) const
+ {
+ std::vector<SurfaceFormat2KHR,Allocator> surfaceFormats;
+ uint32_t surfaceFormatCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), &surfaceFormatCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && surfaceFormatCount )
+ {
+ surfaceFormats.resize( surfaceFormatCount );
+ result = static_cast<Result>( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR*>( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast<VkSurfaceFormat2KHR*>( surfaceFormats.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() );
+ surfaceFormats.resize( surfaceFormatCount );
+ return createResultValue( result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING"::PhysicalDevice::getSurfaceFormats2KHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ struct CmdProcessCommandsInfoNVX
+ {
+ CmdProcessCommandsInfoNVX( ObjectTableNVX objectTable_ = ObjectTableNVX(), IndirectCommandsLayoutNVX indirectCommandsLayout_ = IndirectCommandsLayoutNVX(), uint32_t indirectCommandsTokenCount_ = 0, const IndirectCommandsTokenNVX* pIndirectCommandsTokens_ = nullptr, uint32_t maxSequencesCount_ = 0, CommandBuffer targetCommandBuffer_ = CommandBuffer(), Buffer sequencesCountBuffer_ = Buffer(), DeviceSize sequencesCountOffset_ = 0, Buffer sequencesIndexBuffer_ = Buffer(), DeviceSize sequencesIndexOffset_ = 0 )
+ : objectTable( objectTable_ )
+ , indirectCommandsLayout( indirectCommandsLayout_ )
+ , indirectCommandsTokenCount( indirectCommandsTokenCount_ )
+ , pIndirectCommandsTokens( pIndirectCommandsTokens_ )
+ , maxSequencesCount( maxSequencesCount_ )
+ , targetCommandBuffer( targetCommandBuffer_ )
+ , sequencesCountBuffer( sequencesCountBuffer_ )
+ , sequencesCountOffset( sequencesCountOffset_ )
+ , sequencesIndexBuffer( sequencesIndexBuffer_ )
+ , sequencesIndexOffset( sequencesIndexOffset_ )
+ {
+ }
+
+ CmdProcessCommandsInfoNVX( VkCmdProcessCommandsInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CmdProcessCommandsInfoNVX ) );
+ }
+
+ CmdProcessCommandsInfoNVX& operator=( VkCmdProcessCommandsInfoNVX const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( CmdProcessCommandsInfoNVX ) );
+ return *this;
+ }
+ CmdProcessCommandsInfoNVX& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setObjectTable( ObjectTableNVX objectTable_ )
+ {
+ objectTable = objectTable_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setIndirectCommandsLayout( IndirectCommandsLayoutNVX indirectCommandsLayout_ )
+ {
+ indirectCommandsLayout = indirectCommandsLayout_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setIndirectCommandsTokenCount( uint32_t indirectCommandsTokenCount_ )
+ {
+ indirectCommandsTokenCount = indirectCommandsTokenCount_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setPIndirectCommandsTokens( const IndirectCommandsTokenNVX* pIndirectCommandsTokens_ )
+ {
+ pIndirectCommandsTokens = pIndirectCommandsTokens_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setMaxSequencesCount( uint32_t maxSequencesCount_ )
+ {
+ maxSequencesCount = maxSequencesCount_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setTargetCommandBuffer( CommandBuffer targetCommandBuffer_ )
+ {
+ targetCommandBuffer = targetCommandBuffer_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setSequencesCountBuffer( Buffer sequencesCountBuffer_ )
+ {
+ sequencesCountBuffer = sequencesCountBuffer_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setSequencesCountOffset( DeviceSize sequencesCountOffset_ )
+ {
+ sequencesCountOffset = sequencesCountOffset_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setSequencesIndexBuffer( Buffer sequencesIndexBuffer_ )
+ {
+ sequencesIndexBuffer = sequencesIndexBuffer_;
+ return *this;
+ }
+
+ CmdProcessCommandsInfoNVX& setSequencesIndexOffset( DeviceSize sequencesIndexOffset_ )
+ {
+ sequencesIndexOffset = sequencesIndexOffset_;
+ return *this;
+ }
+
+ operator const VkCmdProcessCommandsInfoNVX&() const
+ {
+ return *reinterpret_cast<const VkCmdProcessCommandsInfoNVX*>(this);
+ }
+
+ bool operator==( CmdProcessCommandsInfoNVX const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( objectTable == rhs.objectTable )
+ && ( indirectCommandsLayout == rhs.indirectCommandsLayout )
+ && ( indirectCommandsTokenCount == rhs.indirectCommandsTokenCount )
+ && ( pIndirectCommandsTokens == rhs.pIndirectCommandsTokens )
+ && ( maxSequencesCount == rhs.maxSequencesCount )
+ && ( targetCommandBuffer == rhs.targetCommandBuffer )
+ && ( sequencesCountBuffer == rhs.sequencesCountBuffer )
+ && ( sequencesCountOffset == rhs.sequencesCountOffset )
+ && ( sequencesIndexBuffer == rhs.sequencesIndexBuffer )
+ && ( sequencesIndexOffset == rhs.sequencesIndexOffset );
+ }
+
+ bool operator!=( CmdProcessCommandsInfoNVX const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eCmdProcessCommandsInfoNVX;
+
+ public:
+ const void* pNext = nullptr;
+ ObjectTableNVX objectTable;
+ IndirectCommandsLayoutNVX indirectCommandsLayout;
+ uint32_t indirectCommandsTokenCount;
+ const IndirectCommandsTokenNVX* pIndirectCommandsTokens;
+ uint32_t maxSequencesCount;
+ CommandBuffer targetCommandBuffer;
+ Buffer sequencesCountBuffer;
+ DeviceSize sequencesCountOffset;
+ Buffer sequencesIndexBuffer;
+ DeviceSize sequencesIndexOffset;
+ };
+ static_assert( sizeof( CmdProcessCommandsInfoNVX ) == sizeof( VkCmdProcessCommandsInfoNVX ), "struct and wrapper have different size!" );
+
+ struct PhysicalDeviceGroupProperties
+ {
+ operator const VkPhysicalDeviceGroupProperties&() const
+ {
+ return *reinterpret_cast<const VkPhysicalDeviceGroupProperties*>(this);
+ }
+
+ bool operator==( PhysicalDeviceGroupProperties const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( physicalDeviceCount == rhs.physicalDeviceCount )
+ && ( memcmp( physicalDevices, rhs.physicalDevices, VK_MAX_DEVICE_GROUP_SIZE * sizeof( PhysicalDevice ) ) == 0 )
+ && ( subsetAllocation == rhs.subsetAllocation );
+ }
+
+ bool operator!=( PhysicalDeviceGroupProperties const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::ePhysicalDeviceGroupProperties;
+
+ public:
+ void* pNext = nullptr;
+ uint32_t physicalDeviceCount;
+ PhysicalDevice physicalDevices[VK_MAX_DEVICE_GROUP_SIZE];
+ Bool32 subsetAllocation;
+ };
+ static_assert( sizeof( PhysicalDeviceGroupProperties ) == sizeof( VkPhysicalDeviceGroupProperties ), "struct and wrapper have different size!" );
+
+ using PhysicalDeviceGroupPropertiesKHR = PhysicalDeviceGroupProperties;
+
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ class Instance;
+
+ template <> class UniqueHandleTraits<DebugReportCallbackEXT> {public: using deleter = ObjectDestroy<Instance>; };
+ using UniqueDebugReportCallbackEXT = UniqueHandle<DebugReportCallbackEXT>;
+ template <> class UniqueHandleTraits<DebugUtilsMessengerEXT> {public: using deleter = ObjectDestroy<Instance>; };
+ using UniqueDebugUtilsMessengerEXT = UniqueHandle<DebugUtilsMessengerEXT>;
+ template <> class UniqueHandleTraits<SurfaceKHR> {public: using deleter = ObjectDestroy<Instance>; };
+ using UniqueSurfaceKHR = UniqueHandle<SurfaceKHR>;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+
+ class Instance
+ {
+ public:
+ VULKAN_HPP_CONSTEXPR Instance()
+ : m_instance(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_CONSTEXPR Instance( std::nullptr_t )
+ : m_instance(VK_NULL_HANDLE)
+ {}
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT Instance( VkInstance instance )
+ : m_instance( instance )
+ {}
+
+#if defined(VULKAN_HPP_TYPESAFE_CONVERSION)
+ Instance & operator=(VkInstance instance)
+ {
+ m_instance = instance;
+ return *this;
+ }
+#endif
+
+ Instance & operator=( std::nullptr_t )
+ {
+ m_instance = VK_NULL_HANDLE;
+ return *this;
+ }
+
+ bool operator==( Instance const & rhs ) const
+ {
+ return m_instance == rhs.m_instance;
+ }
+
+ bool operator!=(Instance const & rhs ) const
+ {
+ return m_instance != rhs.m_instance;
+ }
+
+ bool operator<(Instance const & rhs ) const
+ {
+ return m_instance < rhs.m_instance;
+ }
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumeratePhysicalDevices( uint32_t* pPhysicalDeviceCount, PhysicalDevice* pPhysicalDevices, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<PhysicalDevice>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<PhysicalDevice,Allocator>>::type enumeratePhysicalDevices(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ PFN_vkVoidFunction getProcAddr( const char* pName, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ PFN_vkVoidFunction getProcAddr( const std::string & name, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createMirSurfaceKHR( const MirSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createMirSurfaceKHR( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createMirSurfaceKHRUnique( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySurfaceKHR( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroySurfaceKHR( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_VI_NN
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createViSurfaceNN( const ViSurfaceCreateInfoNN* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_VI_NN*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugReportCallbackEXT* pCallback, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DebugReportCallbackEXT>::type createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDebugReportCallbackEXT>::type createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const std::string & layerPrefix, const std::string & message, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumeratePhysicalDeviceGroups( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<PhysicalDeviceGroupProperties>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type enumeratePhysicalDeviceGroups(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result enumeratePhysicalDeviceGroupsKHR( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator = std::allocator<PhysicalDeviceGroupProperties>, typename Dispatch = DispatchLoaderStatic>
+ typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type enumeratePhysicalDeviceGroupsKHR(Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<SurfaceKHR>::type createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueSurfaceKHR>::type createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugUtilsMessengerEXT* pMessenger, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<DebugUtilsMessengerEXT>::type createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueDebugUtilsMessengerEXT>::type createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void destroy( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ void submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT* pCallbackData, Dispatch const &d = Dispatch() ) const;
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ void submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT & callbackData, Dispatch const &d = Dispatch() ) const;
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+
+
+ VULKAN_HPP_TYPESAFE_EXPLICIT operator VkInstance() const
+ {
+ return m_instance;
+ }
+
+ explicit operator bool() const
+ {
+ return m_instance != VK_NULL_HANDLE;
+ }
+
+ bool operator!() const
+ {
+ return m_instance == VK_NULL_HANDLE;
+ }
+
+ private:
+ VkInstance m_instance;
+ };
+
+ static_assert( sizeof( Instance ) == sizeof( VkInstance ), "handle and wrapper have different size!" );
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyInstance( m_instance, reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyInstance( m_instance, reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDevices( uint32_t* pPhysicalDeviceCount, PhysicalDevice* pPhysicalDevices, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, pPhysicalDeviceCount, reinterpret_cast<VkPhysicalDevice*>( pPhysicalDevices ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDevice,Allocator>>::type Instance::enumeratePhysicalDevices(Dispatch const &d ) const
+ {
+ std::vector<PhysicalDevice,Allocator> physicalDevices;
+ uint32_t physicalDeviceCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && physicalDeviceCount )
+ {
+ physicalDevices.resize( physicalDeviceCount );
+ result = static_cast<Result>( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast<VkPhysicalDevice*>( physicalDevices.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( physicalDeviceCount <= physicalDevices.size() );
+ physicalDevices.resize( physicalDeviceCount );
+ return createResultValue( result, physicalDevices, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDevices" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const char* pName, Dispatch const &d) const
+ {
+ return d.vkGetInstanceProcAddr( m_instance, pName );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( const std::string & name, Dispatch const &d ) const
+ {
+ return d.vkGetInstanceProcAddr( m_instance, name.c_str() );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createAndroidSurfaceKHR( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createAndroidSurfaceKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createAndroidSurfaceKHRUnique( const AndroidSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateAndroidSurfaceKHR( m_instance, reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createAndroidSurfaceKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createDisplayPlaneSurfaceKHR( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDisplayPlaneSurfaceKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createDisplayPlaneSurfaceKHRUnique( const DisplaySurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDisplayPlaneSurfaceKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createMirSurfaceKHR( const MirSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateMirSurfaceKHR( m_instance, reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createMirSurfaceKHR( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateMirSurfaceKHR( m_instance, reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMirSurfaceKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createMirSurfaceKHRUnique( const MirSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateMirSurfaceKHR( m_instance, reinterpret_cast<const VkMirSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMirSurfaceKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( SurfaceKHR surface, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( SurfaceKHR surface, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroySurfaceKHR( m_instance, static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_VI_NN
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createViSurfaceNN( const ViSurfaceCreateInfoNN* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast<const VkViSurfaceCreateInfoNN*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createViSurfaceNN( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast<const VkViSurfaceCreateInfoNN*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createViSurfaceNN" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createViSurfaceNNUnique( const ViSurfaceCreateInfoNN & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateViSurfaceNN( m_instance, reinterpret_cast<const VkViSurfaceCreateInfoNN*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createViSurfaceNNUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_VI_NN*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createWaylandSurfaceKHR( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWaylandSurfaceKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createWaylandSurfaceKHRUnique( const WaylandSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateWaylandSurfaceKHR( m_instance, reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWaylandSurfaceKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createWin32SurfaceKHR( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWin32SurfaceKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createWin32SurfaceKHRUnique( const Win32SurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateWin32SurfaceKHR( m_instance, reinterpret_cast<const VkWin32SurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createWin32SurfaceKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createXlibSurfaceKHR( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXlibSurfaceKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createXlibSurfaceKHRUnique( const XlibSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateXlibSurfaceKHR( m_instance, reinterpret_cast<const VkXlibSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXlibSurfaceKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createXcbSurfaceKHR( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXcbSurfaceKHR" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createXcbSurfaceKHRUnique( const XcbSurfaceCreateInfoKHR & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateXcbSurfaceKHR( m_instance, reinterpret_cast<const VkXcbSurfaceCreateInfoKHR*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createXcbSurfaceKHRUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugReportCallbackEXT* pCallback, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDebugReportCallbackEXT*>( pCallback ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DebugReportCallbackEXT>::type Instance::createDebugReportCallbackEXT( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DebugReportCallbackEXT callback;
+ Result result = static_cast<Result>( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugReportCallbackEXT*>( &callback ) ) );
+ return createResultValue( result, callback, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugReportCallbackEXT" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDebugReportCallbackEXT>::type Instance::createDebugReportCallbackEXTUnique( const DebugReportCallbackCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DebugReportCallbackEXT callback;
+ Result result = static_cast<Result>( d.vkCreateDebugReportCallbackEXT( m_instance, reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugReportCallbackEXT*>( &callback ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, callback, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugReportCallbackEXTUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( DebugReportCallbackEXT callback, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( DebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDebugReportCallbackEXT( m_instance, static_cast<VkDebugReportCallbackEXT>( callback ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage, Dispatch const &d) const
+ {
+ d.vkDebugReportMessageEXT( m_instance, static_cast<VkDebugReportFlagsEXT>( flags ), static_cast<VkDebugReportObjectTypeEXT>( objectType ), object, location, messageCode, pLayerPrefix, pMessage );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const std::string & layerPrefix, const std::string & message, Dispatch const &d ) const
+ {
+#ifdef VULKAN_HPP_NO_EXCEPTIONS
+ VULKAN_HPP_ASSERT( layerPrefix.size() == message.size() );
+#else
+ if ( layerPrefix.size() != message.size() )
+ {
+ throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Instance::debugReportMessageEXT: layerPrefix.size() != message.size()" );
+ }
+#endif // VULKAN_HPP_NO_EXCEPTIONS
+ d.vkDebugReportMessageEXT( m_instance, static_cast<VkDebugReportFlagsEXT>( flags ), static_cast<VkDebugReportObjectTypeEXT>( objectType ), object, location, messageCode, layerPrefix.c_str(), message.c_str() );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroups( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkEnumeratePhysicalDeviceGroups( m_instance, pPhysicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( pPhysicalDeviceGroupProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type Instance::enumeratePhysicalDeviceGroups(Dispatch const &d ) const
+ {
+ std::vector<PhysicalDeviceGroupProperties,Allocator> physicalDeviceGroupProperties;
+ uint32_t physicalDeviceGroupCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount )
+ {
+ physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );
+ result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( physicalDeviceGroupProperties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() );
+ physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );
+ return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroups" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroupsKHR( uint32_t* pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, pPhysicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( pPhysicalDeviceGroupProperties ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template <typename Allocator, typename Dispatch>
+ VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceGroupProperties,Allocator>>::type Instance::enumeratePhysicalDeviceGroupsKHR(Dispatch const &d ) const
+ {
+ std::vector<PhysicalDeviceGroupProperties,Allocator> physicalDeviceGroupProperties;
+ uint32_t physicalDeviceGroupCount;
+ Result result;
+ do
+ {
+ result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) );
+ if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount )
+ {
+ physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );
+ result = static_cast<Result>( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, reinterpret_cast<VkPhysicalDeviceGroupProperties*>( physicalDeviceGroupProperties.data() ) ) );
+ }
+ } while ( result == Result::eIncomplete );
+ VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() );
+ physicalDeviceGroupProperties.resize( physicalDeviceGroupCount );
+ return createResultValue( result, physicalDeviceGroupProperties, VULKAN_HPP_NAMESPACE_STRING"::Instance::enumeratePhysicalDeviceGroupsKHR" );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createIOSSurfaceMVK( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createIOSSurfaceMVK" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createIOSSurfaceMVKUnique( const IOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateIOSSurfaceMVK( m_instance, reinterpret_cast<const VkIOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createIOSSurfaceMVKUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK* pCreateInfo, const AllocationCallbacks* pAllocator, SurfaceKHR* pSurface, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkSurfaceKHR*>( pSurface ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<SurfaceKHR>::type Instance::createMacOSSurfaceMVK( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMacOSSurfaceMVK" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueSurfaceKHR>::type Instance::createMacOSSurfaceMVKUnique( const MacOSSurfaceCreateInfoMVK & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ SurfaceKHR surface;
+ Result result = static_cast<Result>( d.vkCreateMacOSSurfaceMVK( m_instance, reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkSurfaceKHR*>( &surface ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, surface, VULKAN_HPP_NAMESPACE_STRING"::Instance::createMacOSSurfaceMVKUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result Instance::createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT* pCreateInfo, const AllocationCallbacks* pAllocator, DebugUtilsMessengerEXT* pMessenger, Dispatch const &d) const
+ {
+ return static_cast<Result>( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkDebugUtilsMessengerEXT*>( pMessenger ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<DebugUtilsMessengerEXT>::type Instance::createDebugUtilsMessengerEXT( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DebugUtilsMessengerEXT messenger;
+ Result result = static_cast<Result>( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugUtilsMessengerEXT*>( &messenger ) ) );
+ return createResultValue( result, messenger, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugUtilsMessengerEXT" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueDebugUtilsMessengerEXT>::type Instance::createDebugUtilsMessengerEXTUnique( const DebugUtilsMessengerCreateInfoEXT & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ DebugUtilsMessengerEXT messenger;
+ Result result = static_cast<Result>( d.vkCreateDebugUtilsMessengerEXT( m_instance, reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkDebugUtilsMessengerEXT*>( &messenger ) ) );
+
+ ObjectDestroy<Instance> deleter( *this, allocator );
+ return createResultValue( result, messenger, VULKAN_HPP_NAMESPACE_STRING"::Instance::createDebugUtilsMessengerEXTUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( DebugUtilsMessengerEXT messenger, const AllocationCallbacks* pAllocator, Dispatch const &d) const
+ {
+ d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::destroy( DebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator, Dispatch const &d ) const
+ {
+ d.vkDestroyDebugUtilsMessengerEXT( m_instance, static_cast<VkDebugUtilsMessengerEXT>( messenger ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT* pCallbackData, Dispatch const &d) const
+ {
+ d.vkSubmitDebugUtilsMessageEXT( m_instance, static_cast<VkDebugUtilsMessageSeverityFlagBitsEXT>( messageSeverity ), static_cast<VkDebugUtilsMessageTypeFlagsEXT>( messageTypes ), reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT*>( pCallbackData ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, const DebugUtilsMessengerCallbackDataEXT & callbackData, Dispatch const &d ) const
+ {
+ d.vkSubmitDebugUtilsMessageEXT( m_instance, static_cast<VkDebugUtilsMessageSeverityFlagBitsEXT>( messageSeverity ), static_cast<VkDebugUtilsMessageTypeFlagsEXT>( messageTypes ), reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT*>( &callbackData ) );
+ }
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ struct DeviceGroupDeviceCreateInfo
+ {
+ DeviceGroupDeviceCreateInfo( uint32_t physicalDeviceCount_ = 0, const PhysicalDevice* pPhysicalDevices_ = nullptr )
+ : physicalDeviceCount( physicalDeviceCount_ )
+ , pPhysicalDevices( pPhysicalDevices_ )
+ {
+ }
+
+ DeviceGroupDeviceCreateInfo( VkDeviceGroupDeviceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupDeviceCreateInfo ) );
+ }
+
+ DeviceGroupDeviceCreateInfo& operator=( VkDeviceGroupDeviceCreateInfo const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( DeviceGroupDeviceCreateInfo ) );
+ return *this;
+ }
+ DeviceGroupDeviceCreateInfo& setPNext( const void* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ DeviceGroupDeviceCreateInfo& setPhysicalDeviceCount( uint32_t physicalDeviceCount_ )
+ {
+ physicalDeviceCount = physicalDeviceCount_;
+ return *this;
+ }
+
+ DeviceGroupDeviceCreateInfo& setPPhysicalDevices( const PhysicalDevice* pPhysicalDevices_ )
+ {
+ pPhysicalDevices = pPhysicalDevices_;
+ return *this;
+ }
+
+ operator const VkDeviceGroupDeviceCreateInfo&() const
+ {
+ return *reinterpret_cast<const VkDeviceGroupDeviceCreateInfo*>(this);
+ }
+
+ bool operator==( DeviceGroupDeviceCreateInfo const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext )
+ && ( physicalDeviceCount == rhs.physicalDeviceCount )
+ && ( pPhysicalDevices == rhs.pPhysicalDevices );
+ }
+
+ bool operator!=( DeviceGroupDeviceCreateInfo const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ private:
+ StructureType sType = StructureType::eDeviceGroupDeviceCreateInfo;
+
+ public:
+ const void* pNext = nullptr;
+ uint32_t physicalDeviceCount;
+ const PhysicalDevice* pPhysicalDevices;
+ };
+ static_assert( sizeof( DeviceGroupDeviceCreateInfo ) == sizeof( VkDeviceGroupDeviceCreateInfo ), "struct and wrapper have different size!" );
+
+ using DeviceGroupDeviceCreateInfoKHR = DeviceGroupDeviceCreateInfo;
+
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+
+ template <> class UniqueHandleTraits<Instance> {public: using deleter = ObjectDestroy<NoParent>; };
+ using UniqueInstance = UniqueHandle<Instance>;
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+
+ template<typename Dispatch = DispatchLoaderStatic>
+ Result createInstance( const InstanceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Instance* pInstance, Dispatch const &d = Dispatch() );
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<Instance>::type createInstance( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() );
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch = DispatchLoaderStatic>
+ ResultValueType<UniqueInstance>::type createInstanceUnique( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator = nullptr, Dispatch const &d = Dispatch() );
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE Result createInstance( const InstanceCreateInfo* pCreateInfo, const AllocationCallbacks* pAllocator, Instance* pInstance, Dispatch const &d)
+ {
+ return static_cast<Result>( d.vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo*>( pCreateInfo ), reinterpret_cast<const VkAllocationCallbacks*>( pAllocator ), reinterpret_cast<VkInstance*>( pInstance ) ) );
+ }
+#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<Instance>::type createInstance( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d )
+ {
+ Instance instance;
+ Result result = static_cast<Result>( d.vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkInstance*>( &instance ) ) );
+ return createResultValue( result, instance, VULKAN_HPP_NAMESPACE_STRING"::createInstance" );
+ }
+#ifndef VULKAN_HPP_NO_SMART_HANDLE
+ template<typename Dispatch>
+ VULKAN_HPP_INLINE ResultValueType<UniqueInstance>::type createInstanceUnique( const InstanceCreateInfo & createInfo, Optional<const AllocationCallbacks> allocator, Dispatch const &d )
+ {
+ Instance instance;
+ Result result = static_cast<Result>( d.vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo*>( &createInfo ), reinterpret_cast<const VkAllocationCallbacks*>( static_cast<const AllocationCallbacks*>( allocator ) ), reinterpret_cast<VkInstance*>( &instance ) ) );
+
+ ObjectDestroy<NoParent> deleter( allocator );
+ return createResultValue( result, instance, VULKAN_HPP_NAMESPACE_STRING"::createInstanceUnique", deleter );
+ }
+#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
+#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
+
+
+ struct BaseOutStructure
+ {
+ BaseOutStructure( )
+ {
+ }
+
+ BaseOutStructure( VkBaseOutStructure const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BaseOutStructure ) );
+ }
+
+ BaseOutStructure& operator=( VkBaseOutStructure const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BaseOutStructure ) );
+ return *this;
+ }
+ BaseOutStructure& setPNext( struct BaseOutStructure* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ operator const VkBaseOutStructure&() const
+ {
+ return *reinterpret_cast<const VkBaseOutStructure*>(this);
+ }
+
+ bool operator==( BaseOutStructure const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext );
+ }
+
+ bool operator!=( BaseOutStructure const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ StructureType sType;
+ struct BaseOutStructure* pNext = nullptr;
+ };
+ static_assert( sizeof( BaseOutStructure ) == sizeof( VkBaseOutStructure ), "struct and wrapper have different size!" );
+
+ struct BaseInStructure
+ {
+ BaseInStructure( )
+ {
+ }
+
+ BaseInStructure( VkBaseInStructure const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BaseInStructure ) );
+ }
+
+ BaseInStructure& operator=( VkBaseInStructure const & rhs )
+ {
+ memcpy( this, &rhs, sizeof( BaseInStructure ) );
+ return *this;
+ }
+ BaseInStructure& setPNext( const struct BaseInStructure* pNext_ )
+ {
+ pNext = pNext_;
+ return *this;
+ }
+
+ operator const VkBaseInStructure&() const
+ {
+ return *reinterpret_cast<const VkBaseInStructure*>(this);
+ }
+
+ bool operator==( BaseInStructure const& rhs ) const
+ {
+ return ( sType == rhs.sType )
+ && ( pNext == rhs.pNext );
+ }
+
+ bool operator!=( BaseInStructure const& rhs ) const
+ {
+ return !operator==( rhs );
+ }
+
+ StructureType sType;
+ const struct BaseInStructure* pNext = nullptr;
+ };
+ static_assert( sizeof( BaseInStructure ) == sizeof( VkBaseInStructure ), "struct and wrapper have different size!" );
+
+ template <> struct isStructureChainValid<PresentInfoKHR, DisplayPresentInfoKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageCreateInfo, DedicatedAllocationImageCreateInfoNV>{ enum { value = true }; };
+ template <> struct isStructureChainValid<BufferCreateInfo, DedicatedAllocationBufferCreateInfoNV>{ enum { value = true }; };
+ template <> struct isStructureChainValid<MemoryAllocateInfo, DedicatedAllocationMemoryAllocateInfoNV>{ enum { value = true }; };
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryWin32HandleInfoNV>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ template <> struct isStructureChainValid<SubmitInfo, Win32KeyedMutexAcquireReleaseInfoNV>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+ template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceFeatures2>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDevicePushDescriptorPropertiesKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PresentInfoKHR, PresentRegionsKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceVariablePointerFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceVariablePointerFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceIDProperties>{ enum { value = true }; };
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryWin32HandleInfoKHR>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template <> struct isStructureChainValid<SubmitInfo, Win32KeyedMutexAcquireReleaseInfoKHR>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template <> struct isStructureChainValid<SemaphoreCreateInfo, ExportSemaphoreWin32HandleInfoKHR>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template <> struct isStructureChainValid<SubmitInfo, D3D12FenceSubmitInfoKHR>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template <> struct isStructureChainValid<FenceCreateInfo, ExportFenceWin32HandleInfoKHR>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceMultiviewFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceMultiviewFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceMultiviewProperties>{ enum { value = true }; };
+ template <> struct isStructureChainValid<RenderPassCreateInfo, RenderPassMultiviewCreateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<BindBufferMemoryInfo, BindBufferMemoryDeviceGroupInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<BindImageMemoryInfo, BindImageMemoryDeviceGroupInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<RenderPassBeginInfo, DeviceGroupRenderPassBeginInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<CommandBufferBeginInfo, DeviceGroupCommandBufferBeginInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SubmitInfo, DeviceGroupSubmitInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<BindSparseInfo, DeviceGroupBindSparseInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageCreateInfo, ImageSwapchainCreateInfoKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<BindImageMemoryInfo, BindImageMemorySwapchainInfoKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PresentInfoKHR, PresentTimesInfoGOOGLE>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineViewportStateCreateInfo, PipelineViewportWScalingStateCreateInfoNV>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceDiscardRectanglePropertiesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDevice16BitStorageFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDevice16BitStorageFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<MemoryRequirements2, MemoryDedicatedRequirements>{ enum { value = true }; };
+ template <> struct isStructureChainValid<MemoryAllocateInfo, MemoryDedicatedAllocateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SamplerCreateInfo, SamplerYcbcrConversionInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageViewCreateInfo, SamplerYcbcrConversionInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceSamplerYcbcrConversionFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceSamplerYcbcrConversionFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageFormatProperties2, SamplerYcbcrConversionImageFormatProperties>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageFormatProperties2, TextureLODGatherFormatPropertiesAMD>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SubmitInfo, ProtectedSubmitInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceProtectedMemoryFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceProtectedMemoryFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceProtectedMemoryProperties>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineMultisampleStateCreateInfo, PipelineCoverageToColorStateCreateInfoNV>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceSamplerFilterMinmaxPropertiesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceBlendOperationAdvancedFeaturesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceBlendOperationAdvancedPropertiesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageCreateInfo, ImageFormatListCreateInfoKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ShaderModuleCreateInfo, ShaderModuleValidationCacheCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceMaintenance3Properties>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceShaderDrawParameterFeatures>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceExternalMemoryHostPropertiesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceConservativeRasterizationPropertiesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceShaderCorePropertiesAMD>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceFeatures2, PhysicalDeviceDescriptorIndexingFeaturesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceCreateInfo, PhysicalDeviceDescriptorIndexingFeaturesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceDescriptorIndexingPropertiesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DescriptorSetAllocateInfo, DescriptorSetVariableDescriptorCountAllocateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DescriptorSetLayoutSupport, DescriptorSetVariableDescriptorCountLayoutSupportEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineVertexInputStateCreateInfo, PipelineVertexInputDivisorStateCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceVertexAttributeDivisorPropertiesEXT>{ enum { value = true }; };
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ImportAndroidHardwareBufferInfoANDROID>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template <> struct isStructureChainValid<ImageFormatProperties2, AndroidHardwareBufferUsageANDROID>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template <> struct isStructureChainValid<ImageCreateInfo, ExternalFormatANDROID>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SamplerYcbcrConversionCreateInfo, ExternalFormatANDROID>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ template <> struct isStructureChainValid<SurfaceCapabilities2KHR, SharedPresentSurfaceCapabilitiesKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageViewCreateInfo, ImageViewUsageCreateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<RenderPassCreateInfo, RenderPassInputAttachmentAspectCreateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<BindImageMemoryInfo, BindImagePlaneMemoryInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageMemoryRequirementsInfo2, ImagePlaneMemoryRequirementsInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageMemoryBarrier, SampleLocationsInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<RenderPassBeginInfo, RenderPassSampleLocationsBeginInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineMultisampleStateCreateInfo, PipelineSampleLocationsStateCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceSampleLocationsPropertiesEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<InstanceCreateInfo, DebugReportCallbackCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineRasterizationStateCreateInfo, PipelineRasterizationStateRasterizationOrderAMD>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageCreateInfo, ExternalMemoryImageCreateInfoNV>{ enum { value = true }; };
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryAllocateInfoNV>{ enum { value = true }; };
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryWin32HandleInfoNV>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+ template <> struct isStructureChainValid<InstanceCreateInfo, ValidationFlagsEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDeviceSubgroupProperties>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceImageFormatInfo2, PhysicalDeviceExternalImageFormatInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageCreateInfo, ExternalMemoryImageCreateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<BufferCreateInfo, ExternalMemoryBufferCreateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ExportMemoryAllocateInfo>{ enum { value = true }; };
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryWin32HandleInfoKHR>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryFdInfoKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryHostPointerInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<ImageFormatProperties2, ExternalImageFormatProperties>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SemaphoreCreateInfo, ExportSemaphoreCreateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<FenceCreateInfo, ExportFenceCreateInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SwapchainCreateInfoKHR, SwapchainCounterCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<MemoryAllocateInfo, MemoryAllocateFlagsInfo>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PresentInfoKHR, DeviceGroupPresentInfoKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SwapchainCreateInfoKHR, DeviceGroupSwapchainCreateInfoKHR>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineViewportStateCreateInfo, PipelineViewportSwizzleStateCreateInfoNV>{ enum { value = true }; };
+ template <> struct isStructureChainValid<GraphicsPipelineCreateInfo, PipelineDiscardRectangleStateCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PhysicalDeviceProperties2, PhysicalDevicePointClippingProperties>{ enum { value = true }; };
+ template <> struct isStructureChainValid<SamplerCreateInfo, SamplerReductionModeCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineTessellationStateCreateInfo, PipelineTessellationDomainOriginStateCreateInfo>{ enum { value = true }; };
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ template <> struct isStructureChainValid<AndroidHardwareBufferPropertiesANDROID, AndroidHardwareBufferFormatPropertiesANDROID>{ enum { value = true }; };
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ template <> struct isStructureChainValid<PipelineColorBlendStateCreateInfo, PipelineColorBlendAdvancedStateCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineMultisampleStateCreateInfo, PipelineCoverageModulationStateCreateInfoNV>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceQueueCreateInfo, DeviceQueueGlobalPriorityCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<InstanceCreateInfo, DebugUtilsMessengerCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<PipelineRasterizationStateCreateInfo, PipelineRasterizationConservativeStateCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DescriptorSetLayoutCreateInfo, DescriptorSetLayoutBindingFlagsCreateInfoEXT>{ enum { value = true }; };
+ template <> struct isStructureChainValid<DeviceCreateInfo, DeviceGroupDeviceCreateInfo>{ enum { value = true }; };
+ VULKAN_HPP_INLINE std::string to_string(FramebufferCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FramebufferCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryPoolCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryPoolCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(RenderPassCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(RenderPassCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SamplerCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SamplerCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineLayoutCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineLayoutCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCacheCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCacheCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineDepthStencilStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineDepthStencilStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineDynamicStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineDynamicStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineColorBlendStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineColorBlendStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineMultisampleStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineMultisampleStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineViewportStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineViewportStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineTessellationStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineTessellationStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineInputAssemblyStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineInputAssemblyStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineVertexInputStateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineVertexInputStateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineShaderStageCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineShaderStageCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BufferViewCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BufferViewCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(InstanceCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(InstanceCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DeviceCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DeviceCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageViewCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageViewCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SemaphoreCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SemaphoreCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ShaderModuleCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ShaderModuleCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(EventCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(EventCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryMapFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryMapFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorPoolResetFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorPoolResetFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorUpdateTemplateCreateFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorUpdateTemplateCreateFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplayModeCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplayModeCreateFlagsKHR)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplaySurfaceCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplaySurfaceCreateFlagsKHR)
+ {
+ return "{}";
+ }
+
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ VULKAN_HPP_INLINE std::string to_string(AndroidSurfaceCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ VULKAN_HPP_INLINE std::string to_string(AndroidSurfaceCreateFlagsKHR)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ VULKAN_HPP_INLINE std::string to_string(MirSurfaceCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ VULKAN_HPP_INLINE std::string to_string(MirSurfaceCreateFlagsKHR)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+
+#ifdef VK_USE_PLATFORM_VI_NN
+ VULKAN_HPP_INLINE std::string to_string(ViSurfaceCreateFlagBitsNN)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_VI_NN*/
+
+#ifdef VK_USE_PLATFORM_VI_NN
+ VULKAN_HPP_INLINE std::string to_string(ViSurfaceCreateFlagsNN)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_VI_NN*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ VULKAN_HPP_INLINE std::string to_string(WaylandSurfaceCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ VULKAN_HPP_INLINE std::string to_string(WaylandSurfaceCreateFlagsKHR)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VULKAN_HPP_INLINE std::string to_string(Win32SurfaceCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VULKAN_HPP_INLINE std::string to_string(Win32SurfaceCreateFlagsKHR)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ VULKAN_HPP_INLINE std::string to_string(XlibSurfaceCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ VULKAN_HPP_INLINE std::string to_string(XlibSurfaceCreateFlagsKHR)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ VULKAN_HPP_INLINE std::string to_string(XcbSurfaceCreateFlagBitsKHR)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ VULKAN_HPP_INLINE std::string to_string(XcbSurfaceCreateFlagsKHR)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ VULKAN_HPP_INLINE std::string to_string(IOSSurfaceCreateFlagBitsMVK)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ VULKAN_HPP_INLINE std::string to_string(IOSSurfaceCreateFlagsMVK)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ VULKAN_HPP_INLINE std::string to_string(MacOSSurfaceCreateFlagBitsMVK)
+ {
+ return "(void)";
+ }
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ VULKAN_HPP_INLINE std::string to_string(MacOSSurfaceCreateFlagsMVK)
+ {
+ return "{}";
+ }
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+
+ VULKAN_HPP_INLINE std::string to_string(CommandPoolTrimFlagBits)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandPoolTrimFlags)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineViewportSwizzleStateCreateFlagBitsNV)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineViewportSwizzleStateCreateFlagsNV)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineDiscardRectangleStateCreateFlagBitsEXT)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineDiscardRectangleStateCreateFlagsEXT)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCoverageToColorStateCreateFlagBitsNV)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCoverageToColorStateCreateFlagsNV)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCoverageModulationStateCreateFlagBitsNV)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCoverageModulationStateCreateFlagsNV)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ValidationCacheCreateFlagBitsEXT)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ValidationCacheCreateFlagsEXT)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCreateFlagBitsEXT)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCreateFlagsEXT)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCallbackDataFlagBitsEXT)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessengerCallbackDataFlagsEXT)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationConservativeStateCreateFlagBitsEXT)
+ {
+ return "(void)";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineRasterizationConservativeStateCreateFlagsEXT)
+ {
+ return "{}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageLayout value)
+ {
+ switch (value)
+ {
+ case ImageLayout::eUndefined: return "Undefined";
+ case ImageLayout::eGeneral: return "General";
+ case ImageLayout::eColorAttachmentOptimal: return "ColorAttachmentOptimal";
+ case ImageLayout::eDepthStencilAttachmentOptimal: return "DepthStencilAttachmentOptimal";
+ case ImageLayout::eDepthStencilReadOnlyOptimal: return "DepthStencilReadOnlyOptimal";
+ case ImageLayout::eShaderReadOnlyOptimal: return "ShaderReadOnlyOptimal";
+ case ImageLayout::eTransferSrcOptimal: return "TransferSrcOptimal";
+ case ImageLayout::eTransferDstOptimal: return "TransferDstOptimal";
+ case ImageLayout::ePreinitialized: return "Preinitialized";
+ case ImageLayout::eDepthReadOnlyStencilAttachmentOptimal: return "DepthReadOnlyStencilAttachmentOptimal";
+ case ImageLayout::eDepthAttachmentStencilReadOnlyOptimal: return "DepthAttachmentStencilReadOnlyOptimal";
+ case ImageLayout::ePresentSrcKHR: return "PresentSrcKHR";
+ case ImageLayout::eSharedPresentKHR: return "SharedPresentKHR";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(AttachmentLoadOp value)
+ {
+ switch (value)
+ {
+ case AttachmentLoadOp::eLoad: return "Load";
+ case AttachmentLoadOp::eClear: return "Clear";
+ case AttachmentLoadOp::eDontCare: return "DontCare";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(AttachmentStoreOp value)
+ {
+ switch (value)
+ {
+ case AttachmentStoreOp::eStore: return "Store";
+ case AttachmentStoreOp::eDontCare: return "DontCare";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageType value)
+ {
+ switch (value)
+ {
+ case ImageType::e1D: return "1D";
+ case ImageType::e2D: return "2D";
+ case ImageType::e3D: return "3D";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageTiling value)
+ {
+ switch (value)
+ {
+ case ImageTiling::eOptimal: return "Optimal";
+ case ImageTiling::eLinear: return "Linear";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageViewType value)
+ {
+ switch (value)
+ {
+ case ImageViewType::e1D: return "1D";
+ case ImageViewType::e2D: return "2D";
+ case ImageViewType::e3D: return "3D";
+ case ImageViewType::eCube: return "Cube";
+ case ImageViewType::e1DArray: return "1DArray";
+ case ImageViewType::e2DArray: return "2DArray";
+ case ImageViewType::eCubeArray: return "CubeArray";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandBufferLevel value)
+ {
+ switch (value)
+ {
+ case CommandBufferLevel::ePrimary: return "Primary";
+ case CommandBufferLevel::eSecondary: return "Secondary";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ComponentSwizzle value)
+ {
+ switch (value)
+ {
+ case ComponentSwizzle::eIdentity: return "Identity";
+ case ComponentSwizzle::eZero: return "Zero";
+ case ComponentSwizzle::eOne: return "One";
+ case ComponentSwizzle::eR: return "R";
+ case ComponentSwizzle::eG: return "G";
+ case ComponentSwizzle::eB: return "B";
+ case ComponentSwizzle::eA: return "A";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorType value)
+ {
+ switch (value)
+ {
+ case DescriptorType::eSampler: return "Sampler";
+ case DescriptorType::eCombinedImageSampler: return "CombinedImageSampler";
+ case DescriptorType::eSampledImage: return "SampledImage";
+ case DescriptorType::eStorageImage: return "StorageImage";
+ case DescriptorType::eUniformTexelBuffer: return "UniformTexelBuffer";
+ case DescriptorType::eStorageTexelBuffer: return "StorageTexelBuffer";
+ case DescriptorType::eUniformBuffer: return "UniformBuffer";
+ case DescriptorType::eStorageBuffer: return "StorageBuffer";
+ case DescriptorType::eUniformBufferDynamic: return "UniformBufferDynamic";
+ case DescriptorType::eStorageBufferDynamic: return "StorageBufferDynamic";
+ case DescriptorType::eInputAttachment: return "InputAttachment";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryType value)
+ {
+ switch (value)
+ {
+ case QueryType::eOcclusion: return "Occlusion";
+ case QueryType::ePipelineStatistics: return "PipelineStatistics";
+ case QueryType::eTimestamp: return "Timestamp";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BorderColor value)
+ {
+ switch (value)
+ {
+ case BorderColor::eFloatTransparentBlack: return "FloatTransparentBlack";
+ case BorderColor::eIntTransparentBlack: return "IntTransparentBlack";
+ case BorderColor::eFloatOpaqueBlack: return "FloatOpaqueBlack";
+ case BorderColor::eIntOpaqueBlack: return "IntOpaqueBlack";
+ case BorderColor::eFloatOpaqueWhite: return "FloatOpaqueWhite";
+ case BorderColor::eIntOpaqueWhite: return "IntOpaqueWhite";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineBindPoint value)
+ {
+ switch (value)
+ {
+ case PipelineBindPoint::eGraphics: return "Graphics";
+ case PipelineBindPoint::eCompute: return "Compute";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCacheHeaderVersion value)
+ {
+ switch (value)
+ {
+ case PipelineCacheHeaderVersion::eOne: return "One";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PrimitiveTopology value)
+ {
+ switch (value)
+ {
+ case PrimitiveTopology::ePointList: return "PointList";
+ case PrimitiveTopology::eLineList: return "LineList";
+ case PrimitiveTopology::eLineStrip: return "LineStrip";
+ case PrimitiveTopology::eTriangleList: return "TriangleList";
+ case PrimitiveTopology::eTriangleStrip: return "TriangleStrip";
+ case PrimitiveTopology::eTriangleFan: return "TriangleFan";
+ case PrimitiveTopology::eLineListWithAdjacency: return "LineListWithAdjacency";
+ case PrimitiveTopology::eLineStripWithAdjacency: return "LineStripWithAdjacency";
+ case PrimitiveTopology::eTriangleListWithAdjacency: return "TriangleListWithAdjacency";
+ case PrimitiveTopology::eTriangleStripWithAdjacency: return "TriangleStripWithAdjacency";
+ case PrimitiveTopology::ePatchList: return "PatchList";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SharingMode value)
+ {
+ switch (value)
+ {
+ case SharingMode::eExclusive: return "Exclusive";
+ case SharingMode::eConcurrent: return "Concurrent";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(IndexType value)
+ {
+ switch (value)
+ {
+ case IndexType::eUint16: return "Uint16";
+ case IndexType::eUint32: return "Uint32";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(Filter value)
+ {
+ switch (value)
+ {
+ case Filter::eNearest: return "Nearest";
+ case Filter::eLinear: return "Linear";
+ case Filter::eCubicIMG: return "CubicIMG";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SamplerMipmapMode value)
+ {
+ switch (value)
+ {
+ case SamplerMipmapMode::eNearest: return "Nearest";
+ case SamplerMipmapMode::eLinear: return "Linear";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SamplerAddressMode value)
+ {
+ switch (value)
+ {
+ case SamplerAddressMode::eRepeat: return "Repeat";
+ case SamplerAddressMode::eMirroredRepeat: return "MirroredRepeat";
+ case SamplerAddressMode::eClampToEdge: return "ClampToEdge";
+ case SamplerAddressMode::eClampToBorder: return "ClampToBorder";
+ case SamplerAddressMode::eMirrorClampToEdge: return "MirrorClampToEdge";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CompareOp value)
+ {
+ switch (value)
+ {
+ case CompareOp::eNever: return "Never";
+ case CompareOp::eLess: return "Less";
+ case CompareOp::eEqual: return "Equal";
+ case CompareOp::eLessOrEqual: return "LessOrEqual";
+ case CompareOp::eGreater: return "Greater";
+ case CompareOp::eNotEqual: return "NotEqual";
+ case CompareOp::eGreaterOrEqual: return "GreaterOrEqual";
+ case CompareOp::eAlways: return "Always";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PolygonMode value)
+ {
+ switch (value)
+ {
+ case PolygonMode::eFill: return "Fill";
+ case PolygonMode::eLine: return "Line";
+ case PolygonMode::ePoint: return "Point";
+ case PolygonMode::eFillRectangleNV: return "FillRectangleNV";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CullModeFlagBits value)
+ {
+ switch (value)
+ {
+ case CullModeFlagBits::eNone: return "None";
+ case CullModeFlagBits::eFront: return "Front";
+ case CullModeFlagBits::eBack: return "Back";
+ case CullModeFlagBits::eFrontAndBack: return "FrontAndBack";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CullModeFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & CullModeFlagBits::eNone) result += "None | ";
+ if (value & CullModeFlagBits::eFront) result += "Front | ";
+ if (value & CullModeFlagBits::eBack) result += "Back | ";
+ if (value & CullModeFlagBits::eFrontAndBack) result += "FrontAndBack | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FrontFace value)
+ {
+ switch (value)
+ {
+ case FrontFace::eCounterClockwise: return "CounterClockwise";
+ case FrontFace::eClockwise: return "Clockwise";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BlendFactor value)
+ {
+ switch (value)
+ {
+ case BlendFactor::eZero: return "Zero";
+ case BlendFactor::eOne: return "One";
+ case BlendFactor::eSrcColor: return "SrcColor";
+ case BlendFactor::eOneMinusSrcColor: return "OneMinusSrcColor";
+ case BlendFactor::eDstColor: return "DstColor";
+ case BlendFactor::eOneMinusDstColor: return "OneMinusDstColor";
+ case BlendFactor::eSrcAlpha: return "SrcAlpha";
+ case BlendFactor::eOneMinusSrcAlpha: return "OneMinusSrcAlpha";
+ case BlendFactor::eDstAlpha: return "DstAlpha";
+ case BlendFactor::eOneMinusDstAlpha: return "OneMinusDstAlpha";
+ case BlendFactor::eConstantColor: return "ConstantColor";
+ case BlendFactor::eOneMinusConstantColor: return "OneMinusConstantColor";
+ case BlendFactor::eConstantAlpha: return "ConstantAlpha";
+ case BlendFactor::eOneMinusConstantAlpha: return "OneMinusConstantAlpha";
+ case BlendFactor::eSrcAlphaSaturate: return "SrcAlphaSaturate";
+ case BlendFactor::eSrc1Color: return "Src1Color";
+ case BlendFactor::eOneMinusSrc1Color: return "OneMinusSrc1Color";
+ case BlendFactor::eSrc1Alpha: return "Src1Alpha";
+ case BlendFactor::eOneMinusSrc1Alpha: return "OneMinusSrc1Alpha";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BlendOp value)
+ {
+ switch (value)
+ {
+ case BlendOp::eAdd: return "Add";
+ case BlendOp::eSubtract: return "Subtract";
+ case BlendOp::eReverseSubtract: return "ReverseSubtract";
+ case BlendOp::eMin: return "Min";
+ case BlendOp::eMax: return "Max";
+ case BlendOp::eZeroEXT: return "ZeroEXT";
+ case BlendOp::eSrcEXT: return "SrcEXT";
+ case BlendOp::eDstEXT: return "DstEXT";
+ case BlendOp::eSrcOverEXT: return "SrcOverEXT";
+ case BlendOp::eDstOverEXT: return "DstOverEXT";
+ case BlendOp::eSrcInEXT: return "SrcInEXT";
+ case BlendOp::eDstInEXT: return "DstInEXT";
+ case BlendOp::eSrcOutEXT: return "SrcOutEXT";
+ case BlendOp::eDstOutEXT: return "DstOutEXT";
+ case BlendOp::eSrcAtopEXT: return "SrcAtopEXT";
+ case BlendOp::eDstAtopEXT: return "DstAtopEXT";
+ case BlendOp::eXorEXT: return "XorEXT";
+ case BlendOp::eMultiplyEXT: return "MultiplyEXT";
+ case BlendOp::eScreenEXT: return "ScreenEXT";
+ case BlendOp::eOverlayEXT: return "OverlayEXT";
+ case BlendOp::eDarkenEXT: return "DarkenEXT";
+ case BlendOp::eLightenEXT: return "LightenEXT";
+ case BlendOp::eColordodgeEXT: return "ColordodgeEXT";
+ case BlendOp::eColorburnEXT: return "ColorburnEXT";
+ case BlendOp::eHardlightEXT: return "HardlightEXT";
+ case BlendOp::eSoftlightEXT: return "SoftlightEXT";
+ case BlendOp::eDifferenceEXT: return "DifferenceEXT";
+ case BlendOp::eExclusionEXT: return "ExclusionEXT";
+ case BlendOp::eInvertEXT: return "InvertEXT";
+ case BlendOp::eInvertRgbEXT: return "InvertRgbEXT";
+ case BlendOp::eLineardodgeEXT: return "LineardodgeEXT";
+ case BlendOp::eLinearburnEXT: return "LinearburnEXT";
+ case BlendOp::eVividlightEXT: return "VividlightEXT";
+ case BlendOp::eLinearlightEXT: return "LinearlightEXT";
+ case BlendOp::ePinlightEXT: return "PinlightEXT";
+ case BlendOp::eHardmixEXT: return "HardmixEXT";
+ case BlendOp::eHslHueEXT: return "HslHueEXT";
+ case BlendOp::eHslSaturationEXT: return "HslSaturationEXT";
+ case BlendOp::eHslColorEXT: return "HslColorEXT";
+ case BlendOp::eHslLuminosityEXT: return "HslLuminosityEXT";
+ case BlendOp::ePlusEXT: return "PlusEXT";
+ case BlendOp::ePlusClampedEXT: return "PlusClampedEXT";
+ case BlendOp::ePlusClampedAlphaEXT: return "PlusClampedAlphaEXT";
+ case BlendOp::ePlusDarkerEXT: return "PlusDarkerEXT";
+ case BlendOp::eMinusEXT: return "MinusEXT";
+ case BlendOp::eMinusClampedEXT: return "MinusClampedEXT";
+ case BlendOp::eContrastEXT: return "ContrastEXT";
+ case BlendOp::eInvertOvgEXT: return "InvertOvgEXT";
+ case BlendOp::eRedEXT: return "RedEXT";
+ case BlendOp::eGreenEXT: return "GreenEXT";
+ case BlendOp::eBlueEXT: return "BlueEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(StencilOp value)
+ {
+ switch (value)
+ {
+ case StencilOp::eKeep: return "Keep";
+ case StencilOp::eZero: return "Zero";
+ case StencilOp::eReplace: return "Replace";
+ case StencilOp::eIncrementAndClamp: return "IncrementAndClamp";
+ case StencilOp::eDecrementAndClamp: return "DecrementAndClamp";
+ case StencilOp::eInvert: return "Invert";
+ case StencilOp::eIncrementAndWrap: return "IncrementAndWrap";
+ case StencilOp::eDecrementAndWrap: return "DecrementAndWrap";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(LogicOp value)
+ {
+ switch (value)
+ {
+ case LogicOp::eClear: return "Clear";
+ case LogicOp::eAnd: return "And";
+ case LogicOp::eAndReverse: return "AndReverse";
+ case LogicOp::eCopy: return "Copy";
+ case LogicOp::eAndInverted: return "AndInverted";
+ case LogicOp::eNoOp: return "NoOp";
+ case LogicOp::eXor: return "Xor";
+ case LogicOp::eOr: return "Or";
+ case LogicOp::eNor: return "Nor";
+ case LogicOp::eEquivalent: return "Equivalent";
+ case LogicOp::eInvert: return "Invert";
+ case LogicOp::eOrReverse: return "OrReverse";
+ case LogicOp::eCopyInverted: return "CopyInverted";
+ case LogicOp::eOrInverted: return "OrInverted";
+ case LogicOp::eNand: return "Nand";
+ case LogicOp::eSet: return "Set";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(InternalAllocationType value)
+ {
+ switch (value)
+ {
+ case InternalAllocationType::eExecutable: return "Executable";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SystemAllocationScope value)
+ {
+ switch (value)
+ {
+ case SystemAllocationScope::eCommand: return "Command";
+ case SystemAllocationScope::eObject: return "Object";
+ case SystemAllocationScope::eCache: return "Cache";
+ case SystemAllocationScope::eDevice: return "Device";
+ case SystemAllocationScope::eInstance: return "Instance";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PhysicalDeviceType value)
+ {
+ switch (value)
+ {
+ case PhysicalDeviceType::eOther: return "Other";
+ case PhysicalDeviceType::eIntegratedGpu: return "IntegratedGpu";
+ case PhysicalDeviceType::eDiscreteGpu: return "DiscreteGpu";
+ case PhysicalDeviceType::eVirtualGpu: return "VirtualGpu";
+ case PhysicalDeviceType::eCpu: return "Cpu";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(VertexInputRate value)
+ {
+ switch (value)
+ {
+ case VertexInputRate::eVertex: return "Vertex";
+ case VertexInputRate::eInstance: return "Instance";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(Format value)
+ {
+ switch (value)
+ {
+ case Format::eUndefined: return "Undefined";
+ case Format::eR4G4UnormPack8: return "R4G4UnormPack8";
+ case Format::eR4G4B4A4UnormPack16: return "R4G4B4A4UnormPack16";
+ case Format::eB4G4R4A4UnormPack16: return "B4G4R4A4UnormPack16";
+ case Format::eR5G6B5UnormPack16: return "R5G6B5UnormPack16";
+ case Format::eB5G6R5UnormPack16: return "B5G6R5UnormPack16";
+ case Format::eR5G5B5A1UnormPack16: return "R5G5B5A1UnormPack16";
+ case Format::eB5G5R5A1UnormPack16: return "B5G5R5A1UnormPack16";
+ case Format::eA1R5G5B5UnormPack16: return "A1R5G5B5UnormPack16";
+ case Format::eR8Unorm: return "R8Unorm";
+ case Format::eR8Snorm: return "R8Snorm";
+ case Format::eR8Uscaled: return "R8Uscaled";
+ case Format::eR8Sscaled: return "R8Sscaled";
+ case Format::eR8Uint: return "R8Uint";
+ case Format::eR8Sint: return "R8Sint";
+ case Format::eR8Srgb: return "R8Srgb";
+ case Format::eR8G8Unorm: return "R8G8Unorm";
+ case Format::eR8G8Snorm: return "R8G8Snorm";
+ case Format::eR8G8Uscaled: return "R8G8Uscaled";
+ case Format::eR8G8Sscaled: return "R8G8Sscaled";
+ case Format::eR8G8Uint: return "R8G8Uint";
+ case Format::eR8G8Sint: return "R8G8Sint";
+ case Format::eR8G8Srgb: return "R8G8Srgb";
+ case Format::eR8G8B8Unorm: return "R8G8B8Unorm";
+ case Format::eR8G8B8Snorm: return "R8G8B8Snorm";
+ case Format::eR8G8B8Uscaled: return "R8G8B8Uscaled";
+ case Format::eR8G8B8Sscaled: return "R8G8B8Sscaled";
+ case Format::eR8G8B8Uint: return "R8G8B8Uint";
+ case Format::eR8G8B8Sint: return "R8G8B8Sint";
+ case Format::eR8G8B8Srgb: return "R8G8B8Srgb";
+ case Format::eB8G8R8Unorm: return "B8G8R8Unorm";
+ case Format::eB8G8R8Snorm: return "B8G8R8Snorm";
+ case Format::eB8G8R8Uscaled: return "B8G8R8Uscaled";
+ case Format::eB8G8R8Sscaled: return "B8G8R8Sscaled";
+ case Format::eB8G8R8Uint: return "B8G8R8Uint";
+ case Format::eB8G8R8Sint: return "B8G8R8Sint";
+ case Format::eB8G8R8Srgb: return "B8G8R8Srgb";
+ case Format::eR8G8B8A8Unorm: return "R8G8B8A8Unorm";
+ case Format::eR8G8B8A8Snorm: return "R8G8B8A8Snorm";
+ case Format::eR8G8B8A8Uscaled: return "R8G8B8A8Uscaled";
+ case Format::eR8G8B8A8Sscaled: return "R8G8B8A8Sscaled";
+ case Format::eR8G8B8A8Uint: return "R8G8B8A8Uint";
+ case Format::eR8G8B8A8Sint: return "R8G8B8A8Sint";
+ case Format::eR8G8B8A8Srgb: return "R8G8B8A8Srgb";
+ case Format::eB8G8R8A8Unorm: return "B8G8R8A8Unorm";
+ case Format::eB8G8R8A8Snorm: return "B8G8R8A8Snorm";
+ case Format::eB8G8R8A8Uscaled: return "B8G8R8A8Uscaled";
+ case Format::eB8G8R8A8Sscaled: return "B8G8R8A8Sscaled";
+ case Format::eB8G8R8A8Uint: return "B8G8R8A8Uint";
+ case Format::eB8G8R8A8Sint: return "B8G8R8A8Sint";
+ case Format::eB8G8R8A8Srgb: return "B8G8R8A8Srgb";
+ case Format::eA8B8G8R8UnormPack32: return "A8B8G8R8UnormPack32";
+ case Format::eA8B8G8R8SnormPack32: return "A8B8G8R8SnormPack32";
+ case Format::eA8B8G8R8UscaledPack32: return "A8B8G8R8UscaledPack32";
+ case Format::eA8B8G8R8SscaledPack32: return "A8B8G8R8SscaledPack32";
+ case Format::eA8B8G8R8UintPack32: return "A8B8G8R8UintPack32";
+ case Format::eA8B8G8R8SintPack32: return "A8B8G8R8SintPack32";
+ case Format::eA8B8G8R8SrgbPack32: return "A8B8G8R8SrgbPack32";
+ case Format::eA2R10G10B10UnormPack32: return "A2R10G10B10UnormPack32";
+ case Format::eA2R10G10B10SnormPack32: return "A2R10G10B10SnormPack32";
+ case Format::eA2R10G10B10UscaledPack32: return "A2R10G10B10UscaledPack32";
+ case Format::eA2R10G10B10SscaledPack32: return "A2R10G10B10SscaledPack32";
+ case Format::eA2R10G10B10UintPack32: return "A2R10G10B10UintPack32";
+ case Format::eA2R10G10B10SintPack32: return "A2R10G10B10SintPack32";
+ case Format::eA2B10G10R10UnormPack32: return "A2B10G10R10UnormPack32";
+ case Format::eA2B10G10R10SnormPack32: return "A2B10G10R10SnormPack32";
+ case Format::eA2B10G10R10UscaledPack32: return "A2B10G10R10UscaledPack32";
+ case Format::eA2B10G10R10SscaledPack32: return "A2B10G10R10SscaledPack32";
+ case Format::eA2B10G10R10UintPack32: return "A2B10G10R10UintPack32";
+ case Format::eA2B10G10R10SintPack32: return "A2B10G10R10SintPack32";
+ case Format::eR16Unorm: return "R16Unorm";
+ case Format::eR16Snorm: return "R16Snorm";
+ case Format::eR16Uscaled: return "R16Uscaled";
+ case Format::eR16Sscaled: return "R16Sscaled";
+ case Format::eR16Uint: return "R16Uint";
+ case Format::eR16Sint: return "R16Sint";
+ case Format::eR16Sfloat: return "R16Sfloat";
+ case Format::eR16G16Unorm: return "R16G16Unorm";
+ case Format::eR16G16Snorm: return "R16G16Snorm";
+ case Format::eR16G16Uscaled: return "R16G16Uscaled";
+ case Format::eR16G16Sscaled: return "R16G16Sscaled";
+ case Format::eR16G16Uint: return "R16G16Uint";
+ case Format::eR16G16Sint: return "R16G16Sint";
+ case Format::eR16G16Sfloat: return "R16G16Sfloat";
+ case Format::eR16G16B16Unorm: return "R16G16B16Unorm";
+ case Format::eR16G16B16Snorm: return "R16G16B16Snorm";
+ case Format::eR16G16B16Uscaled: return "R16G16B16Uscaled";
+ case Format::eR16G16B16Sscaled: return "R16G16B16Sscaled";
+ case Format::eR16G16B16Uint: return "R16G16B16Uint";
+ case Format::eR16G16B16Sint: return "R16G16B16Sint";
+ case Format::eR16G16B16Sfloat: return "R16G16B16Sfloat";
+ case Format::eR16G16B16A16Unorm: return "R16G16B16A16Unorm";
+ case Format::eR16G16B16A16Snorm: return "R16G16B16A16Snorm";
+ case Format::eR16G16B16A16Uscaled: return "R16G16B16A16Uscaled";
+ case Format::eR16G16B16A16Sscaled: return "R16G16B16A16Sscaled";
+ case Format::eR16G16B16A16Uint: return "R16G16B16A16Uint";
+ case Format::eR16G16B16A16Sint: return "R16G16B16A16Sint";
+ case Format::eR16G16B16A16Sfloat: return "R16G16B16A16Sfloat";
+ case Format::eR32Uint: return "R32Uint";
+ case Format::eR32Sint: return "R32Sint";
+ case Format::eR32Sfloat: return "R32Sfloat";
+ case Format::eR32G32Uint: return "R32G32Uint";
+ case Format::eR32G32Sint: return "R32G32Sint";
+ case Format::eR32G32Sfloat: return "R32G32Sfloat";
+ case Format::eR32G32B32Uint: return "R32G32B32Uint";
+ case Format::eR32G32B32Sint: return "R32G32B32Sint";
+ case Format::eR32G32B32Sfloat: return "R32G32B32Sfloat";
+ case Format::eR32G32B32A32Uint: return "R32G32B32A32Uint";
+ case Format::eR32G32B32A32Sint: return "R32G32B32A32Sint";
+ case Format::eR32G32B32A32Sfloat: return "R32G32B32A32Sfloat";
+ case Format::eR64Uint: return "R64Uint";
+ case Format::eR64Sint: return "R64Sint";
+ case Format::eR64Sfloat: return "R64Sfloat";
+ case Format::eR64G64Uint: return "R64G64Uint";
+ case Format::eR64G64Sint: return "R64G64Sint";
+ case Format::eR64G64Sfloat: return "R64G64Sfloat";
+ case Format::eR64G64B64Uint: return "R64G64B64Uint";
+ case Format::eR64G64B64Sint: return "R64G64B64Sint";
+ case Format::eR64G64B64Sfloat: return "R64G64B64Sfloat";
+ case Format::eR64G64B64A64Uint: return "R64G64B64A64Uint";
+ case Format::eR64G64B64A64Sint: return "R64G64B64A64Sint";
+ case Format::eR64G64B64A64Sfloat: return "R64G64B64A64Sfloat";
+ case Format::eB10G11R11UfloatPack32: return "B10G11R11UfloatPack32";
+ case Format::eE5B9G9R9UfloatPack32: return "E5B9G9R9UfloatPack32";
+ case Format::eD16Unorm: return "D16Unorm";
+ case Format::eX8D24UnormPack32: return "X8D24UnormPack32";
+ case Format::eD32Sfloat: return "D32Sfloat";
+ case Format::eS8Uint: return "S8Uint";
+ case Format::eD16UnormS8Uint: return "D16UnormS8Uint";
+ case Format::eD24UnormS8Uint: return "D24UnormS8Uint";
+ case Format::eD32SfloatS8Uint: return "D32SfloatS8Uint";
+ case Format::eBc1RgbUnormBlock: return "Bc1RgbUnormBlock";
+ case Format::eBc1RgbSrgbBlock: return "Bc1RgbSrgbBlock";
+ case Format::eBc1RgbaUnormBlock: return "Bc1RgbaUnormBlock";
+ case Format::eBc1RgbaSrgbBlock: return "Bc1RgbaSrgbBlock";
+ case Format::eBc2UnormBlock: return "Bc2UnormBlock";
+ case Format::eBc2SrgbBlock: return "Bc2SrgbBlock";
+ case Format::eBc3UnormBlock: return "Bc3UnormBlock";
+ case Format::eBc3SrgbBlock: return "Bc3SrgbBlock";
+ case Format::eBc4UnormBlock: return "Bc4UnormBlock";
+ case Format::eBc4SnormBlock: return "Bc4SnormBlock";
+ case Format::eBc5UnormBlock: return "Bc5UnormBlock";
+ case Format::eBc5SnormBlock: return "Bc5SnormBlock";
+ case Format::eBc6HUfloatBlock: return "Bc6HUfloatBlock";
+ case Format::eBc6HSfloatBlock: return "Bc6HSfloatBlock";
+ case Format::eBc7UnormBlock: return "Bc7UnormBlock";
+ case Format::eBc7SrgbBlock: return "Bc7SrgbBlock";
+ case Format::eEtc2R8G8B8UnormBlock: return "Etc2R8G8B8UnormBlock";
+ case Format::eEtc2R8G8B8SrgbBlock: return "Etc2R8G8B8SrgbBlock";
+ case Format::eEtc2R8G8B8A1UnormBlock: return "Etc2R8G8B8A1UnormBlock";
+ case Format::eEtc2R8G8B8A1SrgbBlock: return "Etc2R8G8B8A1SrgbBlock";
+ case Format::eEtc2R8G8B8A8UnormBlock: return "Etc2R8G8B8A8UnormBlock";
+ case Format::eEtc2R8G8B8A8SrgbBlock: return "Etc2R8G8B8A8SrgbBlock";
+ case Format::eEacR11UnormBlock: return "EacR11UnormBlock";
+ case Format::eEacR11SnormBlock: return "EacR11SnormBlock";
+ case Format::eEacR11G11UnormBlock: return "EacR11G11UnormBlock";
+ case Format::eEacR11G11SnormBlock: return "EacR11G11SnormBlock";
+ case Format::eAstc4x4UnormBlock: return "Astc4x4UnormBlock";
+ case Format::eAstc4x4SrgbBlock: return "Astc4x4SrgbBlock";
+ case Format::eAstc5x4UnormBlock: return "Astc5x4UnormBlock";
+ case Format::eAstc5x4SrgbBlock: return "Astc5x4SrgbBlock";
+ case Format::eAstc5x5UnormBlock: return "Astc5x5UnormBlock";
+ case Format::eAstc5x5SrgbBlock: return "Astc5x5SrgbBlock";
+ case Format::eAstc6x5UnormBlock: return "Astc6x5UnormBlock";
+ case Format::eAstc6x5SrgbBlock: return "Astc6x5SrgbBlock";
+ case Format::eAstc6x6UnormBlock: return "Astc6x6UnormBlock";
+ case Format::eAstc6x6SrgbBlock: return "Astc6x6SrgbBlock";
+ case Format::eAstc8x5UnormBlock: return "Astc8x5UnormBlock";
+ case Format::eAstc8x5SrgbBlock: return "Astc8x5SrgbBlock";
+ case Format::eAstc8x6UnormBlock: return "Astc8x6UnormBlock";
+ case Format::eAstc8x6SrgbBlock: return "Astc8x6SrgbBlock";
+ case Format::eAstc8x8UnormBlock: return "Astc8x8UnormBlock";
+ case Format::eAstc8x8SrgbBlock: return "Astc8x8SrgbBlock";
+ case Format::eAstc10x5UnormBlock: return "Astc10x5UnormBlock";
+ case Format::eAstc10x5SrgbBlock: return "Astc10x5SrgbBlock";
+ case Format::eAstc10x6UnormBlock: return "Astc10x6UnormBlock";
+ case Format::eAstc10x6SrgbBlock: return "Astc10x6SrgbBlock";
+ case Format::eAstc10x8UnormBlock: return "Astc10x8UnormBlock";
+ case Format::eAstc10x8SrgbBlock: return "Astc10x8SrgbBlock";
+ case Format::eAstc10x10UnormBlock: return "Astc10x10UnormBlock";
+ case Format::eAstc10x10SrgbBlock: return "Astc10x10SrgbBlock";
+ case Format::eAstc12x10UnormBlock: return "Astc12x10UnormBlock";
+ case Format::eAstc12x10SrgbBlock: return "Astc12x10SrgbBlock";
+ case Format::eAstc12x12UnormBlock: return "Astc12x12UnormBlock";
+ case Format::eAstc12x12SrgbBlock: return "Astc12x12SrgbBlock";
+ case Format::eG8B8G8R8422Unorm: return "G8B8G8R8422Unorm";
+ case Format::eB8G8R8G8422Unorm: return "B8G8R8G8422Unorm";
+ case Format::eG8B8R83Plane420Unorm: return "G8B8R83Plane420Unorm";
+ case Format::eG8B8R82Plane420Unorm: return "G8B8R82Plane420Unorm";
+ case Format::eG8B8R83Plane422Unorm: return "G8B8R83Plane422Unorm";
+ case Format::eG8B8R82Plane422Unorm: return "G8B8R82Plane422Unorm";
+ case Format::eG8B8R83Plane444Unorm: return "G8B8R83Plane444Unorm";
+ case Format::eR10X6UnormPack16: return "R10X6UnormPack16";
+ case Format::eR10X6G10X6Unorm2Pack16: return "R10X6G10X6Unorm2Pack16";
+ case Format::eR10X6G10X6B10X6A10X6Unorm4Pack16: return "R10X6G10X6B10X6A10X6Unorm4Pack16";
+ case Format::eG10X6B10X6G10X6R10X6422Unorm4Pack16: return "G10X6B10X6G10X6R10X6422Unorm4Pack16";
+ case Format::eB10X6G10X6R10X6G10X6422Unorm4Pack16: return "B10X6G10X6R10X6G10X6422Unorm4Pack16";
+ case Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return "G10X6B10X6R10X63Plane420Unorm3Pack16";
+ case Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return "G10X6B10X6R10X62Plane420Unorm3Pack16";
+ case Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return "G10X6B10X6R10X63Plane422Unorm3Pack16";
+ case Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return "G10X6B10X6R10X62Plane422Unorm3Pack16";
+ case Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return "G10X6B10X6R10X63Plane444Unorm3Pack16";
+ case Format::eR12X4UnormPack16: return "R12X4UnormPack16";
+ case Format::eR12X4G12X4Unorm2Pack16: return "R12X4G12X4Unorm2Pack16";
+ case Format::eR12X4G12X4B12X4A12X4Unorm4Pack16: return "R12X4G12X4B12X4A12X4Unorm4Pack16";
+ case Format::eG12X4B12X4G12X4R12X4422Unorm4Pack16: return "G12X4B12X4G12X4R12X4422Unorm4Pack16";
+ case Format::eB12X4G12X4R12X4G12X4422Unorm4Pack16: return "B12X4G12X4R12X4G12X4422Unorm4Pack16";
+ case Format::eG12X4B12X4R12X43Plane420Unorm3Pack16: return "G12X4B12X4R12X43Plane420Unorm3Pack16";
+ case Format::eG12X4B12X4R12X42Plane420Unorm3Pack16: return "G12X4B12X4R12X42Plane420Unorm3Pack16";
+ case Format::eG12X4B12X4R12X43Plane422Unorm3Pack16: return "G12X4B12X4R12X43Plane422Unorm3Pack16";
+ case Format::eG12X4B12X4R12X42Plane422Unorm3Pack16: return "G12X4B12X4R12X42Plane422Unorm3Pack16";
+ case Format::eG12X4B12X4R12X43Plane444Unorm3Pack16: return "G12X4B12X4R12X43Plane444Unorm3Pack16";
+ case Format::eG16B16G16R16422Unorm: return "G16B16G16R16422Unorm";
+ case Format::eB16G16R16G16422Unorm: return "B16G16R16G16422Unorm";
+ case Format::eG16B16R163Plane420Unorm: return "G16B16R163Plane420Unorm";
+ case Format::eG16B16R162Plane420Unorm: return "G16B16R162Plane420Unorm";
+ case Format::eG16B16R163Plane422Unorm: return "G16B16R163Plane422Unorm";
+ case Format::eG16B16R162Plane422Unorm: return "G16B16R162Plane422Unorm";
+ case Format::eG16B16R163Plane444Unorm: return "G16B16R163Plane444Unorm";
+ case Format::ePvrtc12BppUnormBlockIMG: return "Pvrtc12BppUnormBlockIMG";
+ case Format::ePvrtc14BppUnormBlockIMG: return "Pvrtc14BppUnormBlockIMG";
+ case Format::ePvrtc22BppUnormBlockIMG: return "Pvrtc22BppUnormBlockIMG";
+ case Format::ePvrtc24BppUnormBlockIMG: return "Pvrtc24BppUnormBlockIMG";
+ case Format::ePvrtc12BppSrgbBlockIMG: return "Pvrtc12BppSrgbBlockIMG";
+ case Format::ePvrtc14BppSrgbBlockIMG: return "Pvrtc14BppSrgbBlockIMG";
+ case Format::ePvrtc22BppSrgbBlockIMG: return "Pvrtc22BppSrgbBlockIMG";
+ case Format::ePvrtc24BppSrgbBlockIMG: return "Pvrtc24BppSrgbBlockIMG";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(StructureType value)
+ {
+ switch (value)
+ {
+ case StructureType::eApplicationInfo: return "ApplicationInfo";
+ case StructureType::eInstanceCreateInfo: return "InstanceCreateInfo";
+ case StructureType::eDeviceQueueCreateInfo: return "DeviceQueueCreateInfo";
+ case StructureType::eDeviceCreateInfo: return "DeviceCreateInfo";
+ case StructureType::eSubmitInfo: return "SubmitInfo";
+ case StructureType::eMemoryAllocateInfo: return "MemoryAllocateInfo";
+ case StructureType::eMappedMemoryRange: return "MappedMemoryRange";
+ case StructureType::eBindSparseInfo: return "BindSparseInfo";
+ case StructureType::eFenceCreateInfo: return "FenceCreateInfo";
+ case StructureType::eSemaphoreCreateInfo: return "SemaphoreCreateInfo";
+ case StructureType::eEventCreateInfo: return "EventCreateInfo";
+ case StructureType::eQueryPoolCreateInfo: return "QueryPoolCreateInfo";
+ case StructureType::eBufferCreateInfo: return "BufferCreateInfo";
+ case StructureType::eBufferViewCreateInfo: return "BufferViewCreateInfo";
+ case StructureType::eImageCreateInfo: return "ImageCreateInfo";
+ case StructureType::eImageViewCreateInfo: return "ImageViewCreateInfo";
+ case StructureType::eShaderModuleCreateInfo: return "ShaderModuleCreateInfo";
+ case StructureType::ePipelineCacheCreateInfo: return "PipelineCacheCreateInfo";
+ case StructureType::ePipelineShaderStageCreateInfo: return "PipelineShaderStageCreateInfo";
+ case StructureType::ePipelineVertexInputStateCreateInfo: return "PipelineVertexInputStateCreateInfo";
+ case StructureType::ePipelineInputAssemblyStateCreateInfo: return "PipelineInputAssemblyStateCreateInfo";
+ case StructureType::ePipelineTessellationStateCreateInfo: return "PipelineTessellationStateCreateInfo";
+ case StructureType::ePipelineViewportStateCreateInfo: return "PipelineViewportStateCreateInfo";
+ case StructureType::ePipelineRasterizationStateCreateInfo: return "PipelineRasterizationStateCreateInfo";
+ case StructureType::ePipelineMultisampleStateCreateInfo: return "PipelineMultisampleStateCreateInfo";
+ case StructureType::ePipelineDepthStencilStateCreateInfo: return "PipelineDepthStencilStateCreateInfo";
+ case StructureType::ePipelineColorBlendStateCreateInfo: return "PipelineColorBlendStateCreateInfo";
+ case StructureType::ePipelineDynamicStateCreateInfo: return "PipelineDynamicStateCreateInfo";
+ case StructureType::eGraphicsPipelineCreateInfo: return "GraphicsPipelineCreateInfo";
+ case StructureType::eComputePipelineCreateInfo: return "ComputePipelineCreateInfo";
+ case StructureType::ePipelineLayoutCreateInfo: return "PipelineLayoutCreateInfo";
+ case StructureType::eSamplerCreateInfo: return "SamplerCreateInfo";
+ case StructureType::eDescriptorSetLayoutCreateInfo: return "DescriptorSetLayoutCreateInfo";
+ case StructureType::eDescriptorPoolCreateInfo: return "DescriptorPoolCreateInfo";
+ case StructureType::eDescriptorSetAllocateInfo: return "DescriptorSetAllocateInfo";
+ case StructureType::eWriteDescriptorSet: return "WriteDescriptorSet";
+ case StructureType::eCopyDescriptorSet: return "CopyDescriptorSet";
+ case StructureType::eFramebufferCreateInfo: return "FramebufferCreateInfo";
+ case StructureType::eRenderPassCreateInfo: return "RenderPassCreateInfo";
+ case StructureType::eCommandPoolCreateInfo: return "CommandPoolCreateInfo";
+ case StructureType::eCommandBufferAllocateInfo: return "CommandBufferAllocateInfo";
+ case StructureType::eCommandBufferInheritanceInfo: return "CommandBufferInheritanceInfo";
+ case StructureType::eCommandBufferBeginInfo: return "CommandBufferBeginInfo";
+ case StructureType::eRenderPassBeginInfo: return "RenderPassBeginInfo";
+ case StructureType::eBufferMemoryBarrier: return "BufferMemoryBarrier";
+ case StructureType::eImageMemoryBarrier: return "ImageMemoryBarrier";
+ case StructureType::eMemoryBarrier: return "MemoryBarrier";
+ case StructureType::eLoaderInstanceCreateInfo: return "LoaderInstanceCreateInfo";
+ case StructureType::eLoaderDeviceCreateInfo: return "LoaderDeviceCreateInfo";
+ case StructureType::ePhysicalDeviceSubgroupProperties: return "PhysicalDeviceSubgroupProperties";
+ case StructureType::eBindBufferMemoryInfo: return "BindBufferMemoryInfo";
+ case StructureType::eBindImageMemoryInfo: return "BindImageMemoryInfo";
+ case StructureType::ePhysicalDevice16BitStorageFeatures: return "PhysicalDevice16BitStorageFeatures";
+ case StructureType::eMemoryDedicatedRequirements: return "MemoryDedicatedRequirements";
+ case StructureType::eMemoryDedicatedAllocateInfo: return "MemoryDedicatedAllocateInfo";
+ case StructureType::eMemoryAllocateFlagsInfo: return "MemoryAllocateFlagsInfo";
+ case StructureType::eDeviceGroupRenderPassBeginInfo: return "DeviceGroupRenderPassBeginInfo";
+ case StructureType::eDeviceGroupCommandBufferBeginInfo: return "DeviceGroupCommandBufferBeginInfo";
+ case StructureType::eDeviceGroupSubmitInfo: return "DeviceGroupSubmitInfo";
+ case StructureType::eDeviceGroupBindSparseInfo: return "DeviceGroupBindSparseInfo";
+ case StructureType::eBindBufferMemoryDeviceGroupInfo: return "BindBufferMemoryDeviceGroupInfo";
+ case StructureType::eBindImageMemoryDeviceGroupInfo: return "BindImageMemoryDeviceGroupInfo";
+ case StructureType::ePhysicalDeviceGroupProperties: return "PhysicalDeviceGroupProperties";
+ case StructureType::eDeviceGroupDeviceCreateInfo: return "DeviceGroupDeviceCreateInfo";
+ case StructureType::eBufferMemoryRequirementsInfo2: return "BufferMemoryRequirementsInfo2";
+ case StructureType::eImageMemoryRequirementsInfo2: return "ImageMemoryRequirementsInfo2";
+ case StructureType::eImageSparseMemoryRequirementsInfo2: return "ImageSparseMemoryRequirementsInfo2";
+ case StructureType::eMemoryRequirements2: return "MemoryRequirements2";
+ case StructureType::eSparseImageMemoryRequirements2: return "SparseImageMemoryRequirements2";
+ case StructureType::ePhysicalDeviceFeatures2: return "PhysicalDeviceFeatures2";
+ case StructureType::ePhysicalDeviceProperties2: return "PhysicalDeviceProperties2";
+ case StructureType::eFormatProperties2: return "FormatProperties2";
+ case StructureType::eImageFormatProperties2: return "ImageFormatProperties2";
+ case StructureType::ePhysicalDeviceImageFormatInfo2: return "PhysicalDeviceImageFormatInfo2";
+ case StructureType::eQueueFamilyProperties2: return "QueueFamilyProperties2";
+ case StructureType::ePhysicalDeviceMemoryProperties2: return "PhysicalDeviceMemoryProperties2";
+ case StructureType::eSparseImageFormatProperties2: return "SparseImageFormatProperties2";
+ case StructureType::ePhysicalDeviceSparseImageFormatInfo2: return "PhysicalDeviceSparseImageFormatInfo2";
+ case StructureType::ePhysicalDevicePointClippingProperties: return "PhysicalDevicePointClippingProperties";
+ case StructureType::eRenderPassInputAttachmentAspectCreateInfo: return "RenderPassInputAttachmentAspectCreateInfo";
+ case StructureType::eImageViewUsageCreateInfo: return "ImageViewUsageCreateInfo";
+ case StructureType::ePipelineTessellationDomainOriginStateCreateInfo: return "PipelineTessellationDomainOriginStateCreateInfo";
+ case StructureType::eRenderPassMultiviewCreateInfo: return "RenderPassMultiviewCreateInfo";
+ case StructureType::ePhysicalDeviceMultiviewFeatures: return "PhysicalDeviceMultiviewFeatures";
+ case StructureType::ePhysicalDeviceMultiviewProperties: return "PhysicalDeviceMultiviewProperties";
+ case StructureType::ePhysicalDeviceVariablePointerFeatures: return "PhysicalDeviceVariablePointerFeatures";
+ case StructureType::eProtectedSubmitInfo: return "ProtectedSubmitInfo";
+ case StructureType::ePhysicalDeviceProtectedMemoryFeatures: return "PhysicalDeviceProtectedMemoryFeatures";
+ case StructureType::ePhysicalDeviceProtectedMemoryProperties: return "PhysicalDeviceProtectedMemoryProperties";
+ case StructureType::eDeviceQueueInfo2: return "DeviceQueueInfo2";
+ case StructureType::eSamplerYcbcrConversionCreateInfo: return "SamplerYcbcrConversionCreateInfo";
+ case StructureType::eSamplerYcbcrConversionInfo: return "SamplerYcbcrConversionInfo";
+ case StructureType::eBindImagePlaneMemoryInfo: return "BindImagePlaneMemoryInfo";
+ case StructureType::eImagePlaneMemoryRequirementsInfo: return "ImagePlaneMemoryRequirementsInfo";
+ case StructureType::ePhysicalDeviceSamplerYcbcrConversionFeatures: return "PhysicalDeviceSamplerYcbcrConversionFeatures";
+ case StructureType::eSamplerYcbcrConversionImageFormatProperties: return "SamplerYcbcrConversionImageFormatProperties";
+ case StructureType::eDescriptorUpdateTemplateCreateInfo: return "DescriptorUpdateTemplateCreateInfo";
+ case StructureType::ePhysicalDeviceExternalImageFormatInfo: return "PhysicalDeviceExternalImageFormatInfo";
+ case StructureType::eExternalImageFormatProperties: return "ExternalImageFormatProperties";
+ case StructureType::ePhysicalDeviceExternalBufferInfo: return "PhysicalDeviceExternalBufferInfo";
+ case StructureType::eExternalBufferProperties: return "ExternalBufferProperties";
+ case StructureType::ePhysicalDeviceIdProperties: return "PhysicalDeviceIdProperties";
+ case StructureType::eExternalMemoryBufferCreateInfo: return "ExternalMemoryBufferCreateInfo";
+ case StructureType::eExternalMemoryImageCreateInfo: return "ExternalMemoryImageCreateInfo";
+ case StructureType::eExportMemoryAllocateInfo: return "ExportMemoryAllocateInfo";
+ case StructureType::ePhysicalDeviceExternalFenceInfo: return "PhysicalDeviceExternalFenceInfo";
+ case StructureType::eExternalFenceProperties: return "ExternalFenceProperties";
+ case StructureType::eExportFenceCreateInfo: return "ExportFenceCreateInfo";
+ case StructureType::eExportSemaphoreCreateInfo: return "ExportSemaphoreCreateInfo";
+ case StructureType::ePhysicalDeviceExternalSemaphoreInfo: return "PhysicalDeviceExternalSemaphoreInfo";
+ case StructureType::eExternalSemaphoreProperties: return "ExternalSemaphoreProperties";
+ case StructureType::ePhysicalDeviceMaintenance3Properties: return "PhysicalDeviceMaintenance3Properties";
+ case StructureType::eDescriptorSetLayoutSupport: return "DescriptorSetLayoutSupport";
+ case StructureType::ePhysicalDeviceShaderDrawParameterFeatures: return "PhysicalDeviceShaderDrawParameterFeatures";
+ case StructureType::eSwapchainCreateInfoKHR: return "SwapchainCreateInfoKHR";
+ case StructureType::ePresentInfoKHR: return "PresentInfoKHR";
+ case StructureType::eDeviceGroupPresentCapabilitiesKHR: return "DeviceGroupPresentCapabilitiesKHR";
+ case StructureType::eImageSwapchainCreateInfoKHR: return "ImageSwapchainCreateInfoKHR";
+ case StructureType::eBindImageMemorySwapchainInfoKHR: return "BindImageMemorySwapchainInfoKHR";
+ case StructureType::eAcquireNextImageInfoKHR: return "AcquireNextImageInfoKHR";
+ case StructureType::eDeviceGroupPresentInfoKHR: return "DeviceGroupPresentInfoKHR";
+ case StructureType::eDeviceGroupSwapchainCreateInfoKHR: return "DeviceGroupSwapchainCreateInfoKHR";
+ case StructureType::eDisplayModeCreateInfoKHR: return "DisplayModeCreateInfoKHR";
+ case StructureType::eDisplaySurfaceCreateInfoKHR: return "DisplaySurfaceCreateInfoKHR";
+ case StructureType::eDisplayPresentInfoKHR: return "DisplayPresentInfoKHR";
+ case StructureType::eXlibSurfaceCreateInfoKHR: return "XlibSurfaceCreateInfoKHR";
+ case StructureType::eXcbSurfaceCreateInfoKHR: return "XcbSurfaceCreateInfoKHR";
+ case StructureType::eWaylandSurfaceCreateInfoKHR: return "WaylandSurfaceCreateInfoKHR";
+ case StructureType::eMirSurfaceCreateInfoKHR: return "MirSurfaceCreateInfoKHR";
+ case StructureType::eAndroidSurfaceCreateInfoKHR: return "AndroidSurfaceCreateInfoKHR";
+ case StructureType::eWin32SurfaceCreateInfoKHR: return "Win32SurfaceCreateInfoKHR";
+ case StructureType::eDebugReportCallbackCreateInfoEXT: return "DebugReportCallbackCreateInfoEXT";
+ case StructureType::ePipelineRasterizationStateRasterizationOrderAMD: return "PipelineRasterizationStateRasterizationOrderAMD";
+ case StructureType::eDebugMarkerObjectNameInfoEXT: return "DebugMarkerObjectNameInfoEXT";
+ case StructureType::eDebugMarkerObjectTagInfoEXT: return "DebugMarkerObjectTagInfoEXT";
+ case StructureType::eDebugMarkerMarkerInfoEXT: return "DebugMarkerMarkerInfoEXT";
+ case StructureType::eDedicatedAllocationImageCreateInfoNV: return "DedicatedAllocationImageCreateInfoNV";
+ case StructureType::eDedicatedAllocationBufferCreateInfoNV: return "DedicatedAllocationBufferCreateInfoNV";
+ case StructureType::eDedicatedAllocationMemoryAllocateInfoNV: return "DedicatedAllocationMemoryAllocateInfoNV";
+ case StructureType::eTextureLodGatherFormatPropertiesAMD: return "TextureLodGatherFormatPropertiesAMD";
+ case StructureType::eExternalMemoryImageCreateInfoNV: return "ExternalMemoryImageCreateInfoNV";
+ case StructureType::eExportMemoryAllocateInfoNV: return "ExportMemoryAllocateInfoNV";
+ case StructureType::eImportMemoryWin32HandleInfoNV: return "ImportMemoryWin32HandleInfoNV";
+ case StructureType::eExportMemoryWin32HandleInfoNV: return "ExportMemoryWin32HandleInfoNV";
+ case StructureType::eWin32KeyedMutexAcquireReleaseInfoNV: return "Win32KeyedMutexAcquireReleaseInfoNV";
+ case StructureType::eValidationFlagsEXT: return "ValidationFlagsEXT";
+ case StructureType::eViSurfaceCreateInfoNN: return "ViSurfaceCreateInfoNN";
+ case StructureType::eImportMemoryWin32HandleInfoKHR: return "ImportMemoryWin32HandleInfoKHR";
+ case StructureType::eExportMemoryWin32HandleInfoKHR: return "ExportMemoryWin32HandleInfoKHR";
+ case StructureType::eMemoryWin32HandlePropertiesKHR: return "MemoryWin32HandlePropertiesKHR";
+ case StructureType::eMemoryGetWin32HandleInfoKHR: return "MemoryGetWin32HandleInfoKHR";
+ case StructureType::eImportMemoryFdInfoKHR: return "ImportMemoryFdInfoKHR";
+ case StructureType::eMemoryFdPropertiesKHR: return "MemoryFdPropertiesKHR";
+ case StructureType::eMemoryGetFdInfoKHR: return "MemoryGetFdInfoKHR";
+ case StructureType::eWin32KeyedMutexAcquireReleaseInfoKHR: return "Win32KeyedMutexAcquireReleaseInfoKHR";
+ case StructureType::eImportSemaphoreWin32HandleInfoKHR: return "ImportSemaphoreWin32HandleInfoKHR";
+ case StructureType::eExportSemaphoreWin32HandleInfoKHR: return "ExportSemaphoreWin32HandleInfoKHR";
+ case StructureType::eD3D12FenceSubmitInfoKHR: return "D3D12FenceSubmitInfoKHR";
+ case StructureType::eSemaphoreGetWin32HandleInfoKHR: return "SemaphoreGetWin32HandleInfoKHR";
+ case StructureType::eImportSemaphoreFdInfoKHR: return "ImportSemaphoreFdInfoKHR";
+ case StructureType::eSemaphoreGetFdInfoKHR: return "SemaphoreGetFdInfoKHR";
+ case StructureType::ePhysicalDevicePushDescriptorPropertiesKHR: return "PhysicalDevicePushDescriptorPropertiesKHR";
+ case StructureType::ePresentRegionsKHR: return "PresentRegionsKHR";
+ case StructureType::eObjectTableCreateInfoNVX: return "ObjectTableCreateInfoNVX";
+ case StructureType::eIndirectCommandsLayoutCreateInfoNVX: return "IndirectCommandsLayoutCreateInfoNVX";
+ case StructureType::eCmdProcessCommandsInfoNVX: return "CmdProcessCommandsInfoNVX";
+ case StructureType::eCmdReserveSpaceForCommandsInfoNVX: return "CmdReserveSpaceForCommandsInfoNVX";
+ case StructureType::eDeviceGeneratedCommandsLimitsNVX: return "DeviceGeneratedCommandsLimitsNVX";
+ case StructureType::eDeviceGeneratedCommandsFeaturesNVX: return "DeviceGeneratedCommandsFeaturesNVX";
+ case StructureType::ePipelineViewportWScalingStateCreateInfoNV: return "PipelineViewportWScalingStateCreateInfoNV";
+ case StructureType::eSurfaceCapabilities2EXT: return "SurfaceCapabilities2EXT";
+ case StructureType::eDisplayPowerInfoEXT: return "DisplayPowerInfoEXT";
+ case StructureType::eDeviceEventInfoEXT: return "DeviceEventInfoEXT";
+ case StructureType::eDisplayEventInfoEXT: return "DisplayEventInfoEXT";
+ case StructureType::eSwapchainCounterCreateInfoEXT: return "SwapchainCounterCreateInfoEXT";
+ case StructureType::ePresentTimesInfoGOOGLE: return "PresentTimesInfoGOOGLE";
+ case StructureType::ePhysicalDeviceMultiviewPerViewAttributesPropertiesNVX: return "PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX";
+ case StructureType::ePipelineViewportSwizzleStateCreateInfoNV: return "PipelineViewportSwizzleStateCreateInfoNV";
+ case StructureType::ePhysicalDeviceDiscardRectanglePropertiesEXT: return "PhysicalDeviceDiscardRectanglePropertiesEXT";
+ case StructureType::ePipelineDiscardRectangleStateCreateInfoEXT: return "PipelineDiscardRectangleStateCreateInfoEXT";
+ case StructureType::ePhysicalDeviceConservativeRasterizationPropertiesEXT: return "PhysicalDeviceConservativeRasterizationPropertiesEXT";
+ case StructureType::ePipelineRasterizationConservativeStateCreateInfoEXT: return "PipelineRasterizationConservativeStateCreateInfoEXT";
+ case StructureType::eHdrMetadataEXT: return "HdrMetadataEXT";
+ case StructureType::eSharedPresentSurfaceCapabilitiesKHR: return "SharedPresentSurfaceCapabilitiesKHR";
+ case StructureType::eImportFenceWin32HandleInfoKHR: return "ImportFenceWin32HandleInfoKHR";
+ case StructureType::eExportFenceWin32HandleInfoKHR: return "ExportFenceWin32HandleInfoKHR";
+ case StructureType::eFenceGetWin32HandleInfoKHR: return "FenceGetWin32HandleInfoKHR";
+ case StructureType::eImportFenceFdInfoKHR: return "ImportFenceFdInfoKHR";
+ case StructureType::eFenceGetFdInfoKHR: return "FenceGetFdInfoKHR";
+ case StructureType::ePhysicalDeviceSurfaceInfo2KHR: return "PhysicalDeviceSurfaceInfo2KHR";
+ case StructureType::eSurfaceCapabilities2KHR: return "SurfaceCapabilities2KHR";
+ case StructureType::eSurfaceFormat2KHR: return "SurfaceFormat2KHR";
+ case StructureType::eIosSurfaceCreateInfoMVK: return "IosSurfaceCreateInfoMVK";
+ case StructureType::eMacosSurfaceCreateInfoMVK: return "MacosSurfaceCreateInfoMVK";
+ case StructureType::eDebugUtilsObjectNameInfoEXT: return "DebugUtilsObjectNameInfoEXT";
+ case StructureType::eDebugUtilsObjectTagInfoEXT: return "DebugUtilsObjectTagInfoEXT";
+ case StructureType::eDebugUtilsLabelEXT: return "DebugUtilsLabelEXT";
+ case StructureType::eDebugUtilsMessengerCallbackDataEXT: return "DebugUtilsMessengerCallbackDataEXT";
+ case StructureType::eDebugUtilsMessengerCreateInfoEXT: return "DebugUtilsMessengerCreateInfoEXT";
+ case StructureType::eAndroidHardwareBufferUsageANDROID: return "AndroidHardwareBufferUsageANDROID";
+ case StructureType::eAndroidHardwareBufferPropertiesANDROID: return "AndroidHardwareBufferPropertiesANDROID";
+ case StructureType::eAndroidHardwareBufferFormatPropertiesANDROID: return "AndroidHardwareBufferFormatPropertiesANDROID";
+ case StructureType::eImportAndroidHardwareBufferInfoANDROID: return "ImportAndroidHardwareBufferInfoANDROID";
+ case StructureType::eMemoryGetAndroidHardwareBufferInfoANDROID: return "MemoryGetAndroidHardwareBufferInfoANDROID";
+ case StructureType::eExternalFormatANDROID: return "ExternalFormatANDROID";
+ case StructureType::ePhysicalDeviceSamplerFilterMinmaxPropertiesEXT: return "PhysicalDeviceSamplerFilterMinmaxPropertiesEXT";
+ case StructureType::eSamplerReductionModeCreateInfoEXT: return "SamplerReductionModeCreateInfoEXT";
+ case StructureType::eSampleLocationsInfoEXT: return "SampleLocationsInfoEXT";
+ case StructureType::eRenderPassSampleLocationsBeginInfoEXT: return "RenderPassSampleLocationsBeginInfoEXT";
+ case StructureType::ePipelineSampleLocationsStateCreateInfoEXT: return "PipelineSampleLocationsStateCreateInfoEXT";
+ case StructureType::ePhysicalDeviceSampleLocationsPropertiesEXT: return "PhysicalDeviceSampleLocationsPropertiesEXT";
+ case StructureType::eMultisamplePropertiesEXT: return "MultisamplePropertiesEXT";
+ case StructureType::eImageFormatListCreateInfoKHR: return "ImageFormatListCreateInfoKHR";
+ case StructureType::ePhysicalDeviceBlendOperationAdvancedFeaturesEXT: return "PhysicalDeviceBlendOperationAdvancedFeaturesEXT";
+ case StructureType::ePhysicalDeviceBlendOperationAdvancedPropertiesEXT: return "PhysicalDeviceBlendOperationAdvancedPropertiesEXT";
+ case StructureType::ePipelineColorBlendAdvancedStateCreateInfoEXT: return "PipelineColorBlendAdvancedStateCreateInfoEXT";
+ case StructureType::ePipelineCoverageToColorStateCreateInfoNV: return "PipelineCoverageToColorStateCreateInfoNV";
+ case StructureType::ePipelineCoverageModulationStateCreateInfoNV: return "PipelineCoverageModulationStateCreateInfoNV";
+ case StructureType::eValidationCacheCreateInfoEXT: return "ValidationCacheCreateInfoEXT";
+ case StructureType::eShaderModuleValidationCacheCreateInfoEXT: return "ShaderModuleValidationCacheCreateInfoEXT";
+ case StructureType::eDescriptorSetLayoutBindingFlagsCreateInfoEXT: return "DescriptorSetLayoutBindingFlagsCreateInfoEXT";
+ case StructureType::ePhysicalDeviceDescriptorIndexingFeaturesEXT: return "PhysicalDeviceDescriptorIndexingFeaturesEXT";
+ case StructureType::ePhysicalDeviceDescriptorIndexingPropertiesEXT: return "PhysicalDeviceDescriptorIndexingPropertiesEXT";
+ case StructureType::eDescriptorSetVariableDescriptorCountAllocateInfoEXT: return "DescriptorSetVariableDescriptorCountAllocateInfoEXT";
+ case StructureType::eDescriptorSetVariableDescriptorCountLayoutSupportEXT: return "DescriptorSetVariableDescriptorCountLayoutSupportEXT";
+ case StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT: return "DeviceQueueGlobalPriorityCreateInfoEXT";
+ case StructureType::eImportMemoryHostPointerInfoEXT: return "ImportMemoryHostPointerInfoEXT";
+ case StructureType::eMemoryHostPointerPropertiesEXT: return "MemoryHostPointerPropertiesEXT";
+ case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT: return "PhysicalDeviceExternalMemoryHostPropertiesEXT";
+ case StructureType::ePhysicalDeviceShaderCorePropertiesAMD: return "PhysicalDeviceShaderCorePropertiesAMD";
+ case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesEXT: return "PhysicalDeviceVertexAttributeDivisorPropertiesEXT";
+ case StructureType::ePipelineVertexInputDivisorStateCreateInfoEXT: return "PipelineVertexInputDivisorStateCreateInfoEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SubpassContents value)
+ {
+ switch (value)
+ {
+ case SubpassContents::eInline: return "Inline";
+ case SubpassContents::eSecondaryCommandBuffers: return "SecondaryCommandBuffers";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DynamicState value)
+ {
+ switch (value)
+ {
+ case DynamicState::eViewport: return "Viewport";
+ case DynamicState::eScissor: return "Scissor";
+ case DynamicState::eLineWidth: return "LineWidth";
+ case DynamicState::eDepthBias: return "DepthBias";
+ case DynamicState::eBlendConstants: return "BlendConstants";
+ case DynamicState::eDepthBounds: return "DepthBounds";
+ case DynamicState::eStencilCompareMask: return "StencilCompareMask";
+ case DynamicState::eStencilWriteMask: return "StencilWriteMask";
+ case DynamicState::eStencilReference: return "StencilReference";
+ case DynamicState::eViewportWScalingNV: return "ViewportWScalingNV";
+ case DynamicState::eDiscardRectangleEXT: return "DiscardRectangleEXT";
+ case DynamicState::eSampleLocationsEXT: return "SampleLocationsEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorUpdateTemplateType value)
+ {
+ switch (value)
+ {
+ case DescriptorUpdateTemplateType::eDescriptorSet: return "DescriptorSet";
+ case DescriptorUpdateTemplateType::ePushDescriptorsKHR: return "PushDescriptorsKHR";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ObjectType value)
+ {
+ switch (value)
+ {
+ case ObjectType::eUnknown: return "Unknown";
+ case ObjectType::eInstance: return "Instance";
+ case ObjectType::ePhysicalDevice: return "PhysicalDevice";
+ case ObjectType::eDevice: return "Device";
+ case ObjectType::eQueue: return "Queue";
+ case ObjectType::eSemaphore: return "Semaphore";
+ case ObjectType::eCommandBuffer: return "CommandBuffer";
+ case ObjectType::eFence: return "Fence";
+ case ObjectType::eDeviceMemory: return "DeviceMemory";
+ case ObjectType::eBuffer: return "Buffer";
+ case ObjectType::eImage: return "Image";
+ case ObjectType::eEvent: return "Event";
+ case ObjectType::eQueryPool: return "QueryPool";
+ case ObjectType::eBufferView: return "BufferView";
+ case ObjectType::eImageView: return "ImageView";
+ case ObjectType::eShaderModule: return "ShaderModule";
+ case ObjectType::ePipelineCache: return "PipelineCache";
+ case ObjectType::ePipelineLayout: return "PipelineLayout";
+ case ObjectType::eRenderPass: return "RenderPass";
+ case ObjectType::ePipeline: return "Pipeline";
+ case ObjectType::eDescriptorSetLayout: return "DescriptorSetLayout";
+ case ObjectType::eSampler: return "Sampler";
+ case ObjectType::eDescriptorPool: return "DescriptorPool";
+ case ObjectType::eDescriptorSet: return "DescriptorSet";
+ case ObjectType::eFramebuffer: return "Framebuffer";
+ case ObjectType::eCommandPool: return "CommandPool";
+ case ObjectType::eSamplerYcbcrConversion: return "SamplerYcbcrConversion";
+ case ObjectType::eDescriptorUpdateTemplate: return "DescriptorUpdateTemplate";
+ case ObjectType::eSurfaceKHR: return "SurfaceKHR";
+ case ObjectType::eSwapchainKHR: return "SwapchainKHR";
+ case ObjectType::eDisplayKHR: return "DisplayKHR";
+ case ObjectType::eDisplayModeKHR: return "DisplayModeKHR";
+ case ObjectType::eDebugReportCallbackEXT: return "DebugReportCallbackEXT";
+ case ObjectType::eObjectTableNVX: return "ObjectTableNVX";
+ case ObjectType::eIndirectCommandsLayoutNVX: return "IndirectCommandsLayoutNVX";
+ case ObjectType::eDebugUtilsMessengerEXT: return "DebugUtilsMessengerEXT";
+ case ObjectType::eValidationCacheEXT: return "ValidationCacheEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueueFlagBits value)
+ {
+ switch (value)
+ {
+ case QueueFlagBits::eGraphics: return "Graphics";
+ case QueueFlagBits::eCompute: return "Compute";
+ case QueueFlagBits::eTransfer: return "Transfer";
+ case QueueFlagBits::eSparseBinding: return "SparseBinding";
+ case QueueFlagBits::eProtected: return "Protected";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueueFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & QueueFlagBits::eGraphics) result += "Graphics | ";
+ if (value & QueueFlagBits::eCompute) result += "Compute | ";
+ if (value & QueueFlagBits::eTransfer) result += "Transfer | ";
+ if (value & QueueFlagBits::eSparseBinding) result += "SparseBinding | ";
+ if (value & QueueFlagBits::eProtected) result += "Protected | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DeviceQueueCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case DeviceQueueCreateFlagBits::eProtected: return "Protected";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DeviceQueueCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DeviceQueueCreateFlagBits::eProtected) result += "Protected | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryPropertyFlagBits value)
+ {
+ switch (value)
+ {
+ case MemoryPropertyFlagBits::eDeviceLocal: return "DeviceLocal";
+ case MemoryPropertyFlagBits::eHostVisible: return "HostVisible";
+ case MemoryPropertyFlagBits::eHostCoherent: return "HostCoherent";
+ case MemoryPropertyFlagBits::eHostCached: return "HostCached";
+ case MemoryPropertyFlagBits::eLazilyAllocated: return "LazilyAllocated";
+ case MemoryPropertyFlagBits::eProtected: return "Protected";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryPropertyFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & MemoryPropertyFlagBits::eDeviceLocal) result += "DeviceLocal | ";
+ if (value & MemoryPropertyFlagBits::eHostVisible) result += "HostVisible | ";
+ if (value & MemoryPropertyFlagBits::eHostCoherent) result += "HostCoherent | ";
+ if (value & MemoryPropertyFlagBits::eHostCached) result += "HostCached | ";
+ if (value & MemoryPropertyFlagBits::eLazilyAllocated) result += "LazilyAllocated | ";
+ if (value & MemoryPropertyFlagBits::eProtected) result += "Protected | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryHeapFlagBits value)
+ {
+ switch (value)
+ {
+ case MemoryHeapFlagBits::eDeviceLocal: return "DeviceLocal";
+ case MemoryHeapFlagBits::eMultiInstance: return "MultiInstance";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryHeapFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & MemoryHeapFlagBits::eDeviceLocal) result += "DeviceLocal | ";
+ if (value & MemoryHeapFlagBits::eMultiInstance) result += "MultiInstance | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(AccessFlagBits value)
+ {
+ switch (value)
+ {
+ case AccessFlagBits::eIndirectCommandRead: return "IndirectCommandRead";
+ case AccessFlagBits::eIndexRead: return "IndexRead";
+ case AccessFlagBits::eVertexAttributeRead: return "VertexAttributeRead";
+ case AccessFlagBits::eUniformRead: return "UniformRead";
+ case AccessFlagBits::eInputAttachmentRead: return "InputAttachmentRead";
+ case AccessFlagBits::eShaderRead: return "ShaderRead";
+ case AccessFlagBits::eShaderWrite: return "ShaderWrite";
+ case AccessFlagBits::eColorAttachmentRead: return "ColorAttachmentRead";
+ case AccessFlagBits::eColorAttachmentWrite: return "ColorAttachmentWrite";
+ case AccessFlagBits::eDepthStencilAttachmentRead: return "DepthStencilAttachmentRead";
+ case AccessFlagBits::eDepthStencilAttachmentWrite: return "DepthStencilAttachmentWrite";
+ case AccessFlagBits::eTransferRead: return "TransferRead";
+ case AccessFlagBits::eTransferWrite: return "TransferWrite";
+ case AccessFlagBits::eHostRead: return "HostRead";
+ case AccessFlagBits::eHostWrite: return "HostWrite";
+ case AccessFlagBits::eMemoryRead: return "MemoryRead";
+ case AccessFlagBits::eMemoryWrite: return "MemoryWrite";
+ case AccessFlagBits::eCommandProcessReadNVX: return "CommandProcessReadNVX";
+ case AccessFlagBits::eCommandProcessWriteNVX: return "CommandProcessWriteNVX";
+ case AccessFlagBits::eColorAttachmentReadNoncoherentEXT: return "ColorAttachmentReadNoncoherentEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(AccessFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & AccessFlagBits::eIndirectCommandRead) result += "IndirectCommandRead | ";
+ if (value & AccessFlagBits::eIndexRead) result += "IndexRead | ";
+ if (value & AccessFlagBits::eVertexAttributeRead) result += "VertexAttributeRead | ";
+ if (value & AccessFlagBits::eUniformRead) result += "UniformRead | ";
+ if (value & AccessFlagBits::eInputAttachmentRead) result += "InputAttachmentRead | ";
+ if (value & AccessFlagBits::eShaderRead) result += "ShaderRead | ";
+ if (value & AccessFlagBits::eShaderWrite) result += "ShaderWrite | ";
+ if (value & AccessFlagBits::eColorAttachmentRead) result += "ColorAttachmentRead | ";
+ if (value & AccessFlagBits::eColorAttachmentWrite) result += "ColorAttachmentWrite | ";
+ if (value & AccessFlagBits::eDepthStencilAttachmentRead) result += "DepthStencilAttachmentRead | ";
+ if (value & AccessFlagBits::eDepthStencilAttachmentWrite) result += "DepthStencilAttachmentWrite | ";
+ if (value & AccessFlagBits::eTransferRead) result += "TransferRead | ";
+ if (value & AccessFlagBits::eTransferWrite) result += "TransferWrite | ";
+ if (value & AccessFlagBits::eHostRead) result += "HostRead | ";
+ if (value & AccessFlagBits::eHostWrite) result += "HostWrite | ";
+ if (value & AccessFlagBits::eMemoryRead) result += "MemoryRead | ";
+ if (value & AccessFlagBits::eMemoryWrite) result += "MemoryWrite | ";
+ if (value & AccessFlagBits::eCommandProcessReadNVX) result += "CommandProcessReadNVX | ";
+ if (value & AccessFlagBits::eCommandProcessWriteNVX) result += "CommandProcessWriteNVX | ";
+ if (value & AccessFlagBits::eColorAttachmentReadNoncoherentEXT) result += "ColorAttachmentReadNoncoherentEXT | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BufferUsageFlagBits value)
+ {
+ switch (value)
+ {
+ case BufferUsageFlagBits::eTransferSrc: return "TransferSrc";
+ case BufferUsageFlagBits::eTransferDst: return "TransferDst";
+ case BufferUsageFlagBits::eUniformTexelBuffer: return "UniformTexelBuffer";
+ case BufferUsageFlagBits::eStorageTexelBuffer: return "StorageTexelBuffer";
+ case BufferUsageFlagBits::eUniformBuffer: return "UniformBuffer";
+ case BufferUsageFlagBits::eStorageBuffer: return "StorageBuffer";
+ case BufferUsageFlagBits::eIndexBuffer: return "IndexBuffer";
+ case BufferUsageFlagBits::eVertexBuffer: return "VertexBuffer";
+ case BufferUsageFlagBits::eIndirectBuffer: return "IndirectBuffer";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BufferUsageFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & BufferUsageFlagBits::eTransferSrc) result += "TransferSrc | ";
+ if (value & BufferUsageFlagBits::eTransferDst) result += "TransferDst | ";
+ if (value & BufferUsageFlagBits::eUniformTexelBuffer) result += "UniformTexelBuffer | ";
+ if (value & BufferUsageFlagBits::eStorageTexelBuffer) result += "StorageTexelBuffer | ";
+ if (value & BufferUsageFlagBits::eUniformBuffer) result += "UniformBuffer | ";
+ if (value & BufferUsageFlagBits::eStorageBuffer) result += "StorageBuffer | ";
+ if (value & BufferUsageFlagBits::eIndexBuffer) result += "IndexBuffer | ";
+ if (value & BufferUsageFlagBits::eVertexBuffer) result += "VertexBuffer | ";
+ if (value & BufferUsageFlagBits::eIndirectBuffer) result += "IndirectBuffer | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BufferCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case BufferCreateFlagBits::eSparseBinding: return "SparseBinding";
+ case BufferCreateFlagBits::eSparseResidency: return "SparseResidency";
+ case BufferCreateFlagBits::eSparseAliased: return "SparseAliased";
+ case BufferCreateFlagBits::eProtected: return "Protected";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BufferCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & BufferCreateFlagBits::eSparseBinding) result += "SparseBinding | ";
+ if (value & BufferCreateFlagBits::eSparseResidency) result += "SparseResidency | ";
+ if (value & BufferCreateFlagBits::eSparseAliased) result += "SparseAliased | ";
+ if (value & BufferCreateFlagBits::eProtected) result += "Protected | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ShaderStageFlagBits value)
+ {
+ switch (value)
+ {
+ case ShaderStageFlagBits::eVertex: return "Vertex";
+ case ShaderStageFlagBits::eTessellationControl: return "TessellationControl";
+ case ShaderStageFlagBits::eTessellationEvaluation: return "TessellationEvaluation";
+ case ShaderStageFlagBits::eGeometry: return "Geometry";
+ case ShaderStageFlagBits::eFragment: return "Fragment";
+ case ShaderStageFlagBits::eCompute: return "Compute";
+ case ShaderStageFlagBits::eAllGraphics: return "AllGraphics";
+ case ShaderStageFlagBits::eAll: return "All";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ShaderStageFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ShaderStageFlagBits::eVertex) result += "Vertex | ";
+ if (value & ShaderStageFlagBits::eTessellationControl) result += "TessellationControl | ";
+ if (value & ShaderStageFlagBits::eTessellationEvaluation) result += "TessellationEvaluation | ";
+ if (value & ShaderStageFlagBits::eGeometry) result += "Geometry | ";
+ if (value & ShaderStageFlagBits::eFragment) result += "Fragment | ";
+ if (value & ShaderStageFlagBits::eCompute) result += "Compute | ";
+ if (value & ShaderStageFlagBits::eAllGraphics) result += "AllGraphics | ";
+ if (value & ShaderStageFlagBits::eAll) result += "All | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageUsageFlagBits value)
+ {
+ switch (value)
+ {
+ case ImageUsageFlagBits::eTransferSrc: return "TransferSrc";
+ case ImageUsageFlagBits::eTransferDst: return "TransferDst";
+ case ImageUsageFlagBits::eSampled: return "Sampled";
+ case ImageUsageFlagBits::eStorage: return "Storage";
+ case ImageUsageFlagBits::eColorAttachment: return "ColorAttachment";
+ case ImageUsageFlagBits::eDepthStencilAttachment: return "DepthStencilAttachment";
+ case ImageUsageFlagBits::eTransientAttachment: return "TransientAttachment";
+ case ImageUsageFlagBits::eInputAttachment: return "InputAttachment";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageUsageFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ImageUsageFlagBits::eTransferSrc) result += "TransferSrc | ";
+ if (value & ImageUsageFlagBits::eTransferDst) result += "TransferDst | ";
+ if (value & ImageUsageFlagBits::eSampled) result += "Sampled | ";
+ if (value & ImageUsageFlagBits::eStorage) result += "Storage | ";
+ if (value & ImageUsageFlagBits::eColorAttachment) result += "ColorAttachment | ";
+ if (value & ImageUsageFlagBits::eDepthStencilAttachment) result += "DepthStencilAttachment | ";
+ if (value & ImageUsageFlagBits::eTransientAttachment) result += "TransientAttachment | ";
+ if (value & ImageUsageFlagBits::eInputAttachment) result += "InputAttachment | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case ImageCreateFlagBits::eSparseBinding: return "SparseBinding";
+ case ImageCreateFlagBits::eSparseResidency: return "SparseResidency";
+ case ImageCreateFlagBits::eSparseAliased: return "SparseAliased";
+ case ImageCreateFlagBits::eMutableFormat: return "MutableFormat";
+ case ImageCreateFlagBits::eCubeCompatible: return "CubeCompatible";
+ case ImageCreateFlagBits::eAlias: return "Alias";
+ case ImageCreateFlagBits::eSplitInstanceBindRegions: return "SplitInstanceBindRegions";
+ case ImageCreateFlagBits::e2DArrayCompatible: return "2DArrayCompatible";
+ case ImageCreateFlagBits::eBlockTexelViewCompatible: return "BlockTexelViewCompatible";
+ case ImageCreateFlagBits::eExtendedUsage: return "ExtendedUsage";
+ case ImageCreateFlagBits::eProtected: return "Protected";
+ case ImageCreateFlagBits::eDisjoint: return "Disjoint";
+ case ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT: return "SampleLocationsCompatibleDepthEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ImageCreateFlagBits::eSparseBinding) result += "SparseBinding | ";
+ if (value & ImageCreateFlagBits::eSparseResidency) result += "SparseResidency | ";
+ if (value & ImageCreateFlagBits::eSparseAliased) result += "SparseAliased | ";
+ if (value & ImageCreateFlagBits::eMutableFormat) result += "MutableFormat | ";
+ if (value & ImageCreateFlagBits::eCubeCompatible) result += "CubeCompatible | ";
+ if (value & ImageCreateFlagBits::eAlias) result += "Alias | ";
+ if (value & ImageCreateFlagBits::eSplitInstanceBindRegions) result += "SplitInstanceBindRegions | ";
+ if (value & ImageCreateFlagBits::e2DArrayCompatible) result += "2DArrayCompatible | ";
+ if (value & ImageCreateFlagBits::eBlockTexelViewCompatible) result += "BlockTexelViewCompatible | ";
+ if (value & ImageCreateFlagBits::eExtendedUsage) result += "ExtendedUsage | ";
+ if (value & ImageCreateFlagBits::eProtected) result += "Protected | ";
+ if (value & ImageCreateFlagBits::eDisjoint) result += "Disjoint | ";
+ if (value & ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT) result += "SampleLocationsCompatibleDepthEXT | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case PipelineCreateFlagBits::eDisableOptimization: return "DisableOptimization";
+ case PipelineCreateFlagBits::eAllowDerivatives: return "AllowDerivatives";
+ case PipelineCreateFlagBits::eDerivative: return "Derivative";
+ case PipelineCreateFlagBits::eViewIndexFromDeviceIndex: return "ViewIndexFromDeviceIndex";
+ case PipelineCreateFlagBits::eDispatchBase: return "DispatchBase";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & PipelineCreateFlagBits::eDisableOptimization) result += "DisableOptimization | ";
+ if (value & PipelineCreateFlagBits::eAllowDerivatives) result += "AllowDerivatives | ";
+ if (value & PipelineCreateFlagBits::eDerivative) result += "Derivative | ";
+ if (value & PipelineCreateFlagBits::eViewIndexFromDeviceIndex) result += "ViewIndexFromDeviceIndex | ";
+ if (value & PipelineCreateFlagBits::eDispatchBase) result += "DispatchBase | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ColorComponentFlagBits value)
+ {
+ switch (value)
+ {
+ case ColorComponentFlagBits::eR: return "R";
+ case ColorComponentFlagBits::eG: return "G";
+ case ColorComponentFlagBits::eB: return "B";
+ case ColorComponentFlagBits::eA: return "A";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ColorComponentFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ColorComponentFlagBits::eR) result += "R | ";
+ if (value & ColorComponentFlagBits::eG) result += "G | ";
+ if (value & ColorComponentFlagBits::eB) result += "B | ";
+ if (value & ColorComponentFlagBits::eA) result += "A | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FenceCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case FenceCreateFlagBits::eSignaled: return "Signaled";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FenceCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & FenceCreateFlagBits::eSignaled) result += "Signaled | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FormatFeatureFlagBits value)
+ {
+ switch (value)
+ {
+ case FormatFeatureFlagBits::eSampledImage: return "SampledImage";
+ case FormatFeatureFlagBits::eStorageImage: return "StorageImage";
+ case FormatFeatureFlagBits::eStorageImageAtomic: return "StorageImageAtomic";
+ case FormatFeatureFlagBits::eUniformTexelBuffer: return "UniformTexelBuffer";
+ case FormatFeatureFlagBits::eStorageTexelBuffer: return "StorageTexelBuffer";
+ case FormatFeatureFlagBits::eStorageTexelBufferAtomic: return "StorageTexelBufferAtomic";
+ case FormatFeatureFlagBits::eVertexBuffer: return "VertexBuffer";
+ case FormatFeatureFlagBits::eColorAttachment: return "ColorAttachment";
+ case FormatFeatureFlagBits::eColorAttachmentBlend: return "ColorAttachmentBlend";
+ case FormatFeatureFlagBits::eDepthStencilAttachment: return "DepthStencilAttachment";
+ case FormatFeatureFlagBits::eBlitSrc: return "BlitSrc";
+ case FormatFeatureFlagBits::eBlitDst: return "BlitDst";
+ case FormatFeatureFlagBits::eSampledImageFilterLinear: return "SampledImageFilterLinear";
+ case FormatFeatureFlagBits::eTransferSrc: return "TransferSrc";
+ case FormatFeatureFlagBits::eTransferDst: return "TransferDst";
+ case FormatFeatureFlagBits::eMidpointChromaSamples: return "MidpointChromaSamples";
+ case FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter: return "SampledImageYcbcrConversionLinearFilter";
+ case FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter: return "SampledImageYcbcrConversionSeparateReconstructionFilter";
+ case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit: return "SampledImageYcbcrConversionChromaReconstructionExplicit";
+ case FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable: return "SampledImageYcbcrConversionChromaReconstructionExplicitForceable";
+ case FormatFeatureFlagBits::eDisjoint: return "Disjoint";
+ case FormatFeatureFlagBits::eCositedChromaSamples: return "CositedChromaSamples";
+ case FormatFeatureFlagBits::eSampledImageFilterCubicIMG: return "SampledImageFilterCubicIMG";
+ case FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT: return "SampledImageFilterMinmaxEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FormatFeatureFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & FormatFeatureFlagBits::eSampledImage) result += "SampledImage | ";
+ if (value & FormatFeatureFlagBits::eStorageImage) result += "StorageImage | ";
+ if (value & FormatFeatureFlagBits::eStorageImageAtomic) result += "StorageImageAtomic | ";
+ if (value & FormatFeatureFlagBits::eUniformTexelBuffer) result += "UniformTexelBuffer | ";
+ if (value & FormatFeatureFlagBits::eStorageTexelBuffer) result += "StorageTexelBuffer | ";
+ if (value & FormatFeatureFlagBits::eStorageTexelBufferAtomic) result += "StorageTexelBufferAtomic | ";
+ if (value & FormatFeatureFlagBits::eVertexBuffer) result += "VertexBuffer | ";
+ if (value & FormatFeatureFlagBits::eColorAttachment) result += "ColorAttachment | ";
+ if (value & FormatFeatureFlagBits::eColorAttachmentBlend) result += "ColorAttachmentBlend | ";
+ if (value & FormatFeatureFlagBits::eDepthStencilAttachment) result += "DepthStencilAttachment | ";
+ if (value & FormatFeatureFlagBits::eBlitSrc) result += "BlitSrc | ";
+ if (value & FormatFeatureFlagBits::eBlitDst) result += "BlitDst | ";
+ if (value & FormatFeatureFlagBits::eSampledImageFilterLinear) result += "SampledImageFilterLinear | ";
+ if (value & FormatFeatureFlagBits::eTransferSrc) result += "TransferSrc | ";
+ if (value & FormatFeatureFlagBits::eTransferDst) result += "TransferDst | ";
+ if (value & FormatFeatureFlagBits::eMidpointChromaSamples) result += "MidpointChromaSamples | ";
+ if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter) result += "SampledImageYcbcrConversionLinearFilter | ";
+ if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter) result += "SampledImageYcbcrConversionSeparateReconstructionFilter | ";
+ if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit) result += "SampledImageYcbcrConversionChromaReconstructionExplicit | ";
+ if (value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable) result += "SampledImageYcbcrConversionChromaReconstructionExplicitForceable | ";
+ if (value & FormatFeatureFlagBits::eDisjoint) result += "Disjoint | ";
+ if (value & FormatFeatureFlagBits::eCositedChromaSamples) result += "CositedChromaSamples | ";
+ if (value & FormatFeatureFlagBits::eSampledImageFilterCubicIMG) result += "SampledImageFilterCubicIMG | ";
+ if (value & FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT) result += "SampledImageFilterMinmaxEXT | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryControlFlagBits value)
+ {
+ switch (value)
+ {
+ case QueryControlFlagBits::ePrecise: return "Precise";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryControlFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & QueryControlFlagBits::ePrecise) result += "Precise | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryResultFlagBits value)
+ {
+ switch (value)
+ {
+ case QueryResultFlagBits::e64: return "64";
+ case QueryResultFlagBits::eWait: return "Wait";
+ case QueryResultFlagBits::eWithAvailability: return "WithAvailability";
+ case QueryResultFlagBits::ePartial: return "Partial";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryResultFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & QueryResultFlagBits::e64) result += "64 | ";
+ if (value & QueryResultFlagBits::eWait) result += "Wait | ";
+ if (value & QueryResultFlagBits::eWithAvailability) result += "WithAvailability | ";
+ if (value & QueryResultFlagBits::ePartial) result += "Partial | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandBufferUsageFlagBits value)
+ {
+ switch (value)
+ {
+ case CommandBufferUsageFlagBits::eOneTimeSubmit: return "OneTimeSubmit";
+ case CommandBufferUsageFlagBits::eRenderPassContinue: return "RenderPassContinue";
+ case CommandBufferUsageFlagBits::eSimultaneousUse: return "SimultaneousUse";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandBufferUsageFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & CommandBufferUsageFlagBits::eOneTimeSubmit) result += "OneTimeSubmit | ";
+ if (value & CommandBufferUsageFlagBits::eRenderPassContinue) result += "RenderPassContinue | ";
+ if (value & CommandBufferUsageFlagBits::eSimultaneousUse) result += "SimultaneousUse | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryPipelineStatisticFlagBits value)
+ {
+ switch (value)
+ {
+ case QueryPipelineStatisticFlagBits::eInputAssemblyVertices: return "InputAssemblyVertices";
+ case QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives: return "InputAssemblyPrimitives";
+ case QueryPipelineStatisticFlagBits::eVertexShaderInvocations: return "VertexShaderInvocations";
+ case QueryPipelineStatisticFlagBits::eGeometryShaderInvocations: return "GeometryShaderInvocations";
+ case QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives: return "GeometryShaderPrimitives";
+ case QueryPipelineStatisticFlagBits::eClippingInvocations: return "ClippingInvocations";
+ case QueryPipelineStatisticFlagBits::eClippingPrimitives: return "ClippingPrimitives";
+ case QueryPipelineStatisticFlagBits::eFragmentShaderInvocations: return "FragmentShaderInvocations";
+ case QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches: return "TessellationControlShaderPatches";
+ case QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations: return "TessellationEvaluationShaderInvocations";
+ case QueryPipelineStatisticFlagBits::eComputeShaderInvocations: return "ComputeShaderInvocations";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueryPipelineStatisticFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & QueryPipelineStatisticFlagBits::eInputAssemblyVertices) result += "InputAssemblyVertices | ";
+ if (value & QueryPipelineStatisticFlagBits::eInputAssemblyPrimitives) result += "InputAssemblyPrimitives | ";
+ if (value & QueryPipelineStatisticFlagBits::eVertexShaderInvocations) result += "VertexShaderInvocations | ";
+ if (value & QueryPipelineStatisticFlagBits::eGeometryShaderInvocations) result += "GeometryShaderInvocations | ";
+ if (value & QueryPipelineStatisticFlagBits::eGeometryShaderPrimitives) result += "GeometryShaderPrimitives | ";
+ if (value & QueryPipelineStatisticFlagBits::eClippingInvocations) result += "ClippingInvocations | ";
+ if (value & QueryPipelineStatisticFlagBits::eClippingPrimitives) result += "ClippingPrimitives | ";
+ if (value & QueryPipelineStatisticFlagBits::eFragmentShaderInvocations) result += "FragmentShaderInvocations | ";
+ if (value & QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches) result += "TessellationControlShaderPatches | ";
+ if (value & QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations) result += "TessellationEvaluationShaderInvocations | ";
+ if (value & QueryPipelineStatisticFlagBits::eComputeShaderInvocations) result += "ComputeShaderInvocations | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageAspectFlagBits value)
+ {
+ switch (value)
+ {
+ case ImageAspectFlagBits::eColor: return "Color";
+ case ImageAspectFlagBits::eDepth: return "Depth";
+ case ImageAspectFlagBits::eStencil: return "Stencil";
+ case ImageAspectFlagBits::eMetadata: return "Metadata";
+ case ImageAspectFlagBits::ePlane0: return "Plane0";
+ case ImageAspectFlagBits::ePlane1: return "Plane1";
+ case ImageAspectFlagBits::ePlane2: return "Plane2";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ImageAspectFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ImageAspectFlagBits::eColor) result += "Color | ";
+ if (value & ImageAspectFlagBits::eDepth) result += "Depth | ";
+ if (value & ImageAspectFlagBits::eStencil) result += "Stencil | ";
+ if (value & ImageAspectFlagBits::eMetadata) result += "Metadata | ";
+ if (value & ImageAspectFlagBits::ePlane0) result += "Plane0 | ";
+ if (value & ImageAspectFlagBits::ePlane1) result += "Plane1 | ";
+ if (value & ImageAspectFlagBits::ePlane2) result += "Plane2 | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SparseImageFormatFlagBits value)
+ {
+ switch (value)
+ {
+ case SparseImageFormatFlagBits::eSingleMiptail: return "SingleMiptail";
+ case SparseImageFormatFlagBits::eAlignedMipSize: return "AlignedMipSize";
+ case SparseImageFormatFlagBits::eNonstandardBlockSize: return "NonstandardBlockSize";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SparseImageFormatFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SparseImageFormatFlagBits::eSingleMiptail) result += "SingleMiptail | ";
+ if (value & SparseImageFormatFlagBits::eAlignedMipSize) result += "AlignedMipSize | ";
+ if (value & SparseImageFormatFlagBits::eNonstandardBlockSize) result += "NonstandardBlockSize | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SparseMemoryBindFlagBits value)
+ {
+ switch (value)
+ {
+ case SparseMemoryBindFlagBits::eMetadata: return "Metadata";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SparseMemoryBindFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SparseMemoryBindFlagBits::eMetadata) result += "Metadata | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineStageFlagBits value)
+ {
+ switch (value)
+ {
+ case PipelineStageFlagBits::eTopOfPipe: return "TopOfPipe";
+ case PipelineStageFlagBits::eDrawIndirect: return "DrawIndirect";
+ case PipelineStageFlagBits::eVertexInput: return "VertexInput";
+ case PipelineStageFlagBits::eVertexShader: return "VertexShader";
+ case PipelineStageFlagBits::eTessellationControlShader: return "TessellationControlShader";
+ case PipelineStageFlagBits::eTessellationEvaluationShader: return "TessellationEvaluationShader";
+ case PipelineStageFlagBits::eGeometryShader: return "GeometryShader";
+ case PipelineStageFlagBits::eFragmentShader: return "FragmentShader";
+ case PipelineStageFlagBits::eEarlyFragmentTests: return "EarlyFragmentTests";
+ case PipelineStageFlagBits::eLateFragmentTests: return "LateFragmentTests";
+ case PipelineStageFlagBits::eColorAttachmentOutput: return "ColorAttachmentOutput";
+ case PipelineStageFlagBits::eComputeShader: return "ComputeShader";
+ case PipelineStageFlagBits::eTransfer: return "Transfer";
+ case PipelineStageFlagBits::eBottomOfPipe: return "BottomOfPipe";
+ case PipelineStageFlagBits::eHost: return "Host";
+ case PipelineStageFlagBits::eAllGraphics: return "AllGraphics";
+ case PipelineStageFlagBits::eAllCommands: return "AllCommands";
+ case PipelineStageFlagBits::eCommandProcessNVX: return "CommandProcessNVX";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PipelineStageFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & PipelineStageFlagBits::eTopOfPipe) result += "TopOfPipe | ";
+ if (value & PipelineStageFlagBits::eDrawIndirect) result += "DrawIndirect | ";
+ if (value & PipelineStageFlagBits::eVertexInput) result += "VertexInput | ";
+ if (value & PipelineStageFlagBits::eVertexShader) result += "VertexShader | ";
+ if (value & PipelineStageFlagBits::eTessellationControlShader) result += "TessellationControlShader | ";
+ if (value & PipelineStageFlagBits::eTessellationEvaluationShader) result += "TessellationEvaluationShader | ";
+ if (value & PipelineStageFlagBits::eGeometryShader) result += "GeometryShader | ";
+ if (value & PipelineStageFlagBits::eFragmentShader) result += "FragmentShader | ";
+ if (value & PipelineStageFlagBits::eEarlyFragmentTests) result += "EarlyFragmentTests | ";
+ if (value & PipelineStageFlagBits::eLateFragmentTests) result += "LateFragmentTests | ";
+ if (value & PipelineStageFlagBits::eColorAttachmentOutput) result += "ColorAttachmentOutput | ";
+ if (value & PipelineStageFlagBits::eComputeShader) result += "ComputeShader | ";
+ if (value & PipelineStageFlagBits::eTransfer) result += "Transfer | ";
+ if (value & PipelineStageFlagBits::eBottomOfPipe) result += "BottomOfPipe | ";
+ if (value & PipelineStageFlagBits::eHost) result += "Host | ";
+ if (value & PipelineStageFlagBits::eAllGraphics) result += "AllGraphics | ";
+ if (value & PipelineStageFlagBits::eAllCommands) result += "AllCommands | ";
+ if (value & PipelineStageFlagBits::eCommandProcessNVX) result += "CommandProcessNVX | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandPoolCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case CommandPoolCreateFlagBits::eTransient: return "Transient";
+ case CommandPoolCreateFlagBits::eResetCommandBuffer: return "ResetCommandBuffer";
+ case CommandPoolCreateFlagBits::eProtected: return "Protected";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandPoolCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & CommandPoolCreateFlagBits::eTransient) result += "Transient | ";
+ if (value & CommandPoolCreateFlagBits::eResetCommandBuffer) result += "ResetCommandBuffer | ";
+ if (value & CommandPoolCreateFlagBits::eProtected) result += "Protected | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandPoolResetFlagBits value)
+ {
+ switch (value)
+ {
+ case CommandPoolResetFlagBits::eReleaseResources: return "ReleaseResources";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandPoolResetFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & CommandPoolResetFlagBits::eReleaseResources) result += "ReleaseResources | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandBufferResetFlagBits value)
+ {
+ switch (value)
+ {
+ case CommandBufferResetFlagBits::eReleaseResources: return "ReleaseResources";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CommandBufferResetFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & CommandBufferResetFlagBits::eReleaseResources) result += "ReleaseResources | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SampleCountFlagBits value)
+ {
+ switch (value)
+ {
+ case SampleCountFlagBits::e1: return "1";
+ case SampleCountFlagBits::e2: return "2";
+ case SampleCountFlagBits::e4: return "4";
+ case SampleCountFlagBits::e8: return "8";
+ case SampleCountFlagBits::e16: return "16";
+ case SampleCountFlagBits::e32: return "32";
+ case SampleCountFlagBits::e64: return "64";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SampleCountFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SampleCountFlagBits::e1) result += "1 | ";
+ if (value & SampleCountFlagBits::e2) result += "2 | ";
+ if (value & SampleCountFlagBits::e4) result += "4 | ";
+ if (value & SampleCountFlagBits::e8) result += "8 | ";
+ if (value & SampleCountFlagBits::e16) result += "16 | ";
+ if (value & SampleCountFlagBits::e32) result += "32 | ";
+ if (value & SampleCountFlagBits::e64) result += "64 | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(AttachmentDescriptionFlagBits value)
+ {
+ switch (value)
+ {
+ case AttachmentDescriptionFlagBits::eMayAlias: return "MayAlias";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(AttachmentDescriptionFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & AttachmentDescriptionFlagBits::eMayAlias) result += "MayAlias | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(StencilFaceFlagBits value)
+ {
+ switch (value)
+ {
+ case StencilFaceFlagBits::eFront: return "Front";
+ case StencilFaceFlagBits::eBack: return "Back";
+ case StencilFaceFlagBits::eVkStencilFrontAndBack: return "VkStencilFrontAndBack";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(StencilFaceFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & StencilFaceFlagBits::eFront) result += "Front | ";
+ if (value & StencilFaceFlagBits::eBack) result += "Back | ";
+ if (value & StencilFaceFlagBits::eVkStencilFrontAndBack) result += "VkStencilFrontAndBack | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorPoolCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case DescriptorPoolCreateFlagBits::eFreeDescriptorSet: return "FreeDescriptorSet";
+ case DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT: return "UpdateAfterBindEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorPoolCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DescriptorPoolCreateFlagBits::eFreeDescriptorSet) result += "FreeDescriptorSet | ";
+ if (value & DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT) result += "UpdateAfterBindEXT | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DependencyFlagBits value)
+ {
+ switch (value)
+ {
+ case DependencyFlagBits::eByRegion: return "ByRegion";
+ case DependencyFlagBits::eDeviceGroup: return "DeviceGroup";
+ case DependencyFlagBits::eViewLocal: return "ViewLocal";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DependencyFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DependencyFlagBits::eByRegion) result += "ByRegion | ";
+ if (value & DependencyFlagBits::eDeviceGroup) result += "DeviceGroup | ";
+ if (value & DependencyFlagBits::eViewLocal) result += "ViewLocal | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PresentModeKHR value)
+ {
+ switch (value)
+ {
+ case PresentModeKHR::eImmediate: return "Immediate";
+ case PresentModeKHR::eMailbox: return "Mailbox";
+ case PresentModeKHR::eFifo: return "Fifo";
+ case PresentModeKHR::eFifoRelaxed: return "FifoRelaxed";
+ case PresentModeKHR::eSharedDemandRefresh: return "SharedDemandRefresh";
+ case PresentModeKHR::eSharedContinuousRefresh: return "SharedContinuousRefresh";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ColorSpaceKHR value)
+ {
+ switch (value)
+ {
+ case ColorSpaceKHR::eSrgbNonlinear: return "SrgbNonlinear";
+ case ColorSpaceKHR::eDisplayP3NonlinearEXT: return "DisplayP3NonlinearEXT";
+ case ColorSpaceKHR::eExtendedSrgbLinearEXT: return "ExtendedSrgbLinearEXT";
+ case ColorSpaceKHR::eDciP3LinearEXT: return "DciP3LinearEXT";
+ case ColorSpaceKHR::eDciP3NonlinearEXT: return "DciP3NonlinearEXT";
+ case ColorSpaceKHR::eBt709LinearEXT: return "Bt709LinearEXT";
+ case ColorSpaceKHR::eBt709NonlinearEXT: return "Bt709NonlinearEXT";
+ case ColorSpaceKHR::eBt2020LinearEXT: return "Bt2020LinearEXT";
+ case ColorSpaceKHR::eHdr10St2084EXT: return "Hdr10St2084EXT";
+ case ColorSpaceKHR::eDolbyvisionEXT: return "DolbyvisionEXT";
+ case ColorSpaceKHR::eHdr10HlgEXT: return "Hdr10HlgEXT";
+ case ColorSpaceKHR::eAdobergbLinearEXT: return "AdobergbLinearEXT";
+ case ColorSpaceKHR::eAdobergbNonlinearEXT: return "AdobergbNonlinearEXT";
+ case ColorSpaceKHR::ePassThroughEXT: return "PassThroughEXT";
+ case ColorSpaceKHR::eExtendedSrgbNonlinearEXT: return "ExtendedSrgbNonlinearEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplayPlaneAlphaFlagBitsKHR value)
+ {
+ switch (value)
+ {
+ case DisplayPlaneAlphaFlagBitsKHR::eOpaque: return "Opaque";
+ case DisplayPlaneAlphaFlagBitsKHR::eGlobal: return "Global";
+ case DisplayPlaneAlphaFlagBitsKHR::ePerPixel: return "PerPixel";
+ case DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied: return "PerPixelPremultiplied";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplayPlaneAlphaFlagsKHR value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DisplayPlaneAlphaFlagBitsKHR::eOpaque) result += "Opaque | ";
+ if (value & DisplayPlaneAlphaFlagBitsKHR::eGlobal) result += "Global | ";
+ if (value & DisplayPlaneAlphaFlagBitsKHR::ePerPixel) result += "PerPixel | ";
+ if (value & DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied) result += "PerPixelPremultiplied | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CompositeAlphaFlagBitsKHR value)
+ {
+ switch (value)
+ {
+ case CompositeAlphaFlagBitsKHR::eOpaque: return "Opaque";
+ case CompositeAlphaFlagBitsKHR::ePreMultiplied: return "PreMultiplied";
+ case CompositeAlphaFlagBitsKHR::ePostMultiplied: return "PostMultiplied";
+ case CompositeAlphaFlagBitsKHR::eInherit: return "Inherit";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CompositeAlphaFlagsKHR value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & CompositeAlphaFlagBitsKHR::eOpaque) result += "Opaque | ";
+ if (value & CompositeAlphaFlagBitsKHR::ePreMultiplied) result += "PreMultiplied | ";
+ if (value & CompositeAlphaFlagBitsKHR::ePostMultiplied) result += "PostMultiplied | ";
+ if (value & CompositeAlphaFlagBitsKHR::eInherit) result += "Inherit | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SurfaceTransformFlagBitsKHR value)
+ {
+ switch (value)
+ {
+ case SurfaceTransformFlagBitsKHR::eIdentity: return "Identity";
+ case SurfaceTransformFlagBitsKHR::eRotate90: return "Rotate90";
+ case SurfaceTransformFlagBitsKHR::eRotate180: return "Rotate180";
+ case SurfaceTransformFlagBitsKHR::eRotate270: return "Rotate270";
+ case SurfaceTransformFlagBitsKHR::eHorizontalMirror: return "HorizontalMirror";
+ case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90: return "HorizontalMirrorRotate90";
+ case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180: return "HorizontalMirrorRotate180";
+ case SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270: return "HorizontalMirrorRotate270";
+ case SurfaceTransformFlagBitsKHR::eInherit: return "Inherit";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SurfaceTransformFlagsKHR value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SurfaceTransformFlagBitsKHR::eIdentity) result += "Identity | ";
+ if (value & SurfaceTransformFlagBitsKHR::eRotate90) result += "Rotate90 | ";
+ if (value & SurfaceTransformFlagBitsKHR::eRotate180) result += "Rotate180 | ";
+ if (value & SurfaceTransformFlagBitsKHR::eRotate270) result += "Rotate270 | ";
+ if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirror) result += "HorizontalMirror | ";
+ if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90) result += "HorizontalMirrorRotate90 | ";
+ if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180) result += "HorizontalMirrorRotate180 | ";
+ if (value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270) result += "HorizontalMirrorRotate270 | ";
+ if (value & SurfaceTransformFlagBitsKHR::eInherit) result += "Inherit | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugReportFlagBitsEXT value)
+ {
+ switch (value)
+ {
+ case DebugReportFlagBitsEXT::eInformation: return "Information";
+ case DebugReportFlagBitsEXT::eWarning: return "Warning";
+ case DebugReportFlagBitsEXT::ePerformanceWarning: return "PerformanceWarning";
+ case DebugReportFlagBitsEXT::eError: return "Error";
+ case DebugReportFlagBitsEXT::eDebug: return "Debug";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugReportFlagsEXT value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DebugReportFlagBitsEXT::eInformation) result += "Information | ";
+ if (value & DebugReportFlagBitsEXT::eWarning) result += "Warning | ";
+ if (value & DebugReportFlagBitsEXT::ePerformanceWarning) result += "PerformanceWarning | ";
+ if (value & DebugReportFlagBitsEXT::eError) result += "Error | ";
+ if (value & DebugReportFlagBitsEXT::eDebug) result += "Debug | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugReportObjectTypeEXT value)
+ {
+ switch (value)
+ {
+ case DebugReportObjectTypeEXT::eUnknown: return "Unknown";
+ case DebugReportObjectTypeEXT::eInstance: return "Instance";
+ case DebugReportObjectTypeEXT::ePhysicalDevice: return "PhysicalDevice";
+ case DebugReportObjectTypeEXT::eDevice: return "Device";
+ case DebugReportObjectTypeEXT::eQueue: return "Queue";
+ case DebugReportObjectTypeEXT::eSemaphore: return "Semaphore";
+ case DebugReportObjectTypeEXT::eCommandBuffer: return "CommandBuffer";
+ case DebugReportObjectTypeEXT::eFence: return "Fence";
+ case DebugReportObjectTypeEXT::eDeviceMemory: return "DeviceMemory";
+ case DebugReportObjectTypeEXT::eBuffer: return "Buffer";
+ case DebugReportObjectTypeEXT::eImage: return "Image";
+ case DebugReportObjectTypeEXT::eEvent: return "Event";
+ case DebugReportObjectTypeEXT::eQueryPool: return "QueryPool";
+ case DebugReportObjectTypeEXT::eBufferView: return "BufferView";
+ case DebugReportObjectTypeEXT::eImageView: return "ImageView";
+ case DebugReportObjectTypeEXT::eShaderModule: return "ShaderModule";
+ case DebugReportObjectTypeEXT::ePipelineCache: return "PipelineCache";
+ case DebugReportObjectTypeEXT::ePipelineLayout: return "PipelineLayout";
+ case DebugReportObjectTypeEXT::eRenderPass: return "RenderPass";
+ case DebugReportObjectTypeEXT::ePipeline: return "Pipeline";
+ case DebugReportObjectTypeEXT::eDescriptorSetLayout: return "DescriptorSetLayout";
+ case DebugReportObjectTypeEXT::eSampler: return "Sampler";
+ case DebugReportObjectTypeEXT::eDescriptorPool: return "DescriptorPool";
+ case DebugReportObjectTypeEXT::eDescriptorSet: return "DescriptorSet";
+ case DebugReportObjectTypeEXT::eFramebuffer: return "Framebuffer";
+ case DebugReportObjectTypeEXT::eCommandPool: return "CommandPool";
+ case DebugReportObjectTypeEXT::eSurfaceKhr: return "SurfaceKhr";
+ case DebugReportObjectTypeEXT::eSwapchainKhr: return "SwapchainKhr";
+ case DebugReportObjectTypeEXT::eDebugReportCallbackExt: return "DebugReportCallbackExt";
+ case DebugReportObjectTypeEXT::eDisplayKhr: return "DisplayKhr";
+ case DebugReportObjectTypeEXT::eDisplayModeKhr: return "DisplayModeKhr";
+ case DebugReportObjectTypeEXT::eObjectTableNvx: return "ObjectTableNvx";
+ case DebugReportObjectTypeEXT::eIndirectCommandsLayoutNvx: return "IndirectCommandsLayoutNvx";
+ case DebugReportObjectTypeEXT::eValidationCacheExt: return "ValidationCacheExt";
+ case DebugReportObjectTypeEXT::eSamplerYcbcrConversion: return "SamplerYcbcrConversion";
+ case DebugReportObjectTypeEXT::eDescriptorUpdateTemplate: return "DescriptorUpdateTemplate";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(RasterizationOrderAMD value)
+ {
+ switch (value)
+ {
+ case RasterizationOrderAMD::eStrict: return "Strict";
+ case RasterizationOrderAMD::eRelaxed: return "Relaxed";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlagBitsNV value)
+ {
+ switch (value)
+ {
+ case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32: return "OpaqueWin32";
+ case ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";
+ case ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image: return "D3D11Image";
+ case ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt: return "D3D11ImageKmt";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlagsNV value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32) result += "OpaqueWin32 | ";
+ if (value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";
+ if (value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image) result += "D3D11Image | ";
+ if (value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt) result += "D3D11ImageKmt | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlagBitsNV value)
+ {
+ switch (value)
+ {
+ case ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly: return "DedicatedOnly";
+ case ExternalMemoryFeatureFlagBitsNV::eExportable: return "Exportable";
+ case ExternalMemoryFeatureFlagBitsNV::eImportable: return "Importable";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlagsNV value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly) result += "DedicatedOnly | ";
+ if (value & ExternalMemoryFeatureFlagBitsNV::eExportable) result += "Exportable | ";
+ if (value & ExternalMemoryFeatureFlagBitsNV::eImportable) result += "Importable | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ValidationCheckEXT value)
+ {
+ switch (value)
+ {
+ case ValidationCheckEXT::eAll: return "All";
+ case ValidationCheckEXT::eShaders: return "Shaders";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SubgroupFeatureFlagBits value)
+ {
+ switch (value)
+ {
+ case SubgroupFeatureFlagBits::eBasic: return "Basic";
+ case SubgroupFeatureFlagBits::eVote: return "Vote";
+ case SubgroupFeatureFlagBits::eArithmetic: return "Arithmetic";
+ case SubgroupFeatureFlagBits::eBallot: return "Ballot";
+ case SubgroupFeatureFlagBits::eShuffle: return "Shuffle";
+ case SubgroupFeatureFlagBits::eShuffleRelative: return "ShuffleRelative";
+ case SubgroupFeatureFlagBits::eClustered: return "Clustered";
+ case SubgroupFeatureFlagBits::eQuad: return "Quad";
+ case SubgroupFeatureFlagBits::ePartitionedNV: return "PartitionedNV";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SubgroupFeatureFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SubgroupFeatureFlagBits::eBasic) result += "Basic | ";
+ if (value & SubgroupFeatureFlagBits::eVote) result += "Vote | ";
+ if (value & SubgroupFeatureFlagBits::eArithmetic) result += "Arithmetic | ";
+ if (value & SubgroupFeatureFlagBits::eBallot) result += "Ballot | ";
+ if (value & SubgroupFeatureFlagBits::eShuffle) result += "Shuffle | ";
+ if (value & SubgroupFeatureFlagBits::eShuffleRelative) result += "ShuffleRelative | ";
+ if (value & SubgroupFeatureFlagBits::eClustered) result += "Clustered | ";
+ if (value & SubgroupFeatureFlagBits::eQuad) result += "Quad | ";
+ if (value & SubgroupFeatureFlagBits::ePartitionedNV) result += "PartitionedNV | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(IndirectCommandsLayoutUsageFlagBitsNVX value)
+ {
+ switch (value)
+ {
+ case IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences: return "UnorderedSequences";
+ case IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences: return "SparseSequences";
+ case IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions: return "EmptyExecutions";
+ case IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences: return "IndexedSequences";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(IndirectCommandsLayoutUsageFlagsNVX value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences) result += "UnorderedSequences | ";
+ if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences) result += "SparseSequences | ";
+ if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions) result += "EmptyExecutions | ";
+ if (value & IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences) result += "IndexedSequences | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ObjectEntryUsageFlagBitsNVX value)
+ {
+ switch (value)
+ {
+ case ObjectEntryUsageFlagBitsNVX::eGraphics: return "Graphics";
+ case ObjectEntryUsageFlagBitsNVX::eCompute: return "Compute";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ObjectEntryUsageFlagsNVX value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ObjectEntryUsageFlagBitsNVX::eGraphics) result += "Graphics | ";
+ if (value & ObjectEntryUsageFlagBitsNVX::eCompute) result += "Compute | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(IndirectCommandsTokenTypeNVX value)
+ {
+ switch (value)
+ {
+ case IndirectCommandsTokenTypeNVX::ePipeline: return "Pipeline";
+ case IndirectCommandsTokenTypeNVX::eDescriptorSet: return "DescriptorSet";
+ case IndirectCommandsTokenTypeNVX::eIndexBuffer: return "IndexBuffer";
+ case IndirectCommandsTokenTypeNVX::eVertexBuffer: return "VertexBuffer";
+ case IndirectCommandsTokenTypeNVX::ePushConstant: return "PushConstant";
+ case IndirectCommandsTokenTypeNVX::eDrawIndexed: return "DrawIndexed";
+ case IndirectCommandsTokenTypeNVX::eDraw: return "Draw";
+ case IndirectCommandsTokenTypeNVX::eDispatch: return "Dispatch";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ObjectEntryTypeNVX value)
+ {
+ switch (value)
+ {
+ case ObjectEntryTypeNVX::eDescriptorSet: return "DescriptorSet";
+ case ObjectEntryTypeNVX::ePipeline: return "Pipeline";
+ case ObjectEntryTypeNVX::eIndexBuffer: return "IndexBuffer";
+ case ObjectEntryTypeNVX::eVertexBuffer: return "VertexBuffer";
+ case ObjectEntryTypeNVX::ePushConstant: return "PushConstant";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorSetLayoutCreateFlagBits value)
+ {
+ switch (value)
+ {
+ case DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR: return "PushDescriptorKHR";
+ case DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT: return "UpdateAfterBindPoolEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorSetLayoutCreateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR) result += "PushDescriptorKHR | ";
+ if (value & DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT) result += "UpdateAfterBindPoolEXT | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlagBits value)
+ {
+ switch (value)
+ {
+ case ExternalMemoryHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd";
+ case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32";
+ case ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";
+ case ExternalMemoryHandleTypeFlagBits::eD3D11Texture: return "D3D11Texture";
+ case ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt: return "D3D11TextureKmt";
+ case ExternalMemoryHandleTypeFlagBits::eD3D12Heap: return "D3D12Heap";
+ case ExternalMemoryHandleTypeFlagBits::eD3D12Resource: return "D3D12Resource";
+ case ExternalMemoryHandleTypeFlagBits::eDmaBufEXT: return "DmaBufEXT";
+ case ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID: return "AndroidHardwareBufferANDROID";
+ case ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT: return "HostAllocationEXT";
+ case ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT: return "HostMappedForeignMemoryEXT";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryHandleTypeFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalMemoryHandleTypeFlagBits::eOpaqueFd) result += "OpaqueFd | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32) result += "OpaqueWin32 | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eD3D11Texture) result += "D3D11Texture | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eD3D11TextureKmt) result += "D3D11TextureKmt | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eD3D12Heap) result += "D3D12Heap | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eD3D12Resource) result += "D3D12Resource | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eDmaBufEXT) result += "DmaBufEXT | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID) result += "AndroidHardwareBufferANDROID | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT) result += "HostAllocationEXT | ";
+ if (value & ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT) result += "HostMappedForeignMemoryEXT | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlagBits value)
+ {
+ switch (value)
+ {
+ case ExternalMemoryFeatureFlagBits::eDedicatedOnly: return "DedicatedOnly";
+ case ExternalMemoryFeatureFlagBits::eExportable: return "Exportable";
+ case ExternalMemoryFeatureFlagBits::eImportable: return "Importable";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalMemoryFeatureFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalMemoryFeatureFlagBits::eDedicatedOnly) result += "DedicatedOnly | ";
+ if (value & ExternalMemoryFeatureFlagBits::eExportable) result += "Exportable | ";
+ if (value & ExternalMemoryFeatureFlagBits::eImportable) result += "Importable | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreHandleTypeFlagBits value)
+ {
+ switch (value)
+ {
+ case ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd";
+ case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32";
+ case ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";
+ case ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence: return "D3D12Fence";
+ case ExternalSemaphoreHandleTypeFlagBits::eSyncFd: return "SyncFd";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreHandleTypeFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueFd) result += "OpaqueFd | ";
+ if (value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32) result += "OpaqueWin32 | ";
+ if (value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";
+ if (value & ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence) result += "D3D12Fence | ";
+ if (value & ExternalSemaphoreHandleTypeFlagBits::eSyncFd) result += "SyncFd | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreFeatureFlagBits value)
+ {
+ switch (value)
+ {
+ case ExternalSemaphoreFeatureFlagBits::eExportable: return "Exportable";
+ case ExternalSemaphoreFeatureFlagBits::eImportable: return "Importable";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalSemaphoreFeatureFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalSemaphoreFeatureFlagBits::eExportable) result += "Exportable | ";
+ if (value & ExternalSemaphoreFeatureFlagBits::eImportable) result += "Importable | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SemaphoreImportFlagBits value)
+ {
+ switch (value)
+ {
+ case SemaphoreImportFlagBits::eTemporary: return "Temporary";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SemaphoreImportFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SemaphoreImportFlagBits::eTemporary) result += "Temporary | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalFenceHandleTypeFlagBits value)
+ {
+ switch (value)
+ {
+ case ExternalFenceHandleTypeFlagBits::eOpaqueFd: return "OpaqueFd";
+ case ExternalFenceHandleTypeFlagBits::eOpaqueWin32: return "OpaqueWin32";
+ case ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt: return "OpaqueWin32Kmt";
+ case ExternalFenceHandleTypeFlagBits::eSyncFd: return "SyncFd";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalFenceHandleTypeFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalFenceHandleTypeFlagBits::eOpaqueFd) result += "OpaqueFd | ";
+ if (value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32) result += "OpaqueWin32 | ";
+ if (value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt) result += "OpaqueWin32Kmt | ";
+ if (value & ExternalFenceHandleTypeFlagBits::eSyncFd) result += "SyncFd | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalFenceFeatureFlagBits value)
+ {
+ switch (value)
+ {
+ case ExternalFenceFeatureFlagBits::eExportable: return "Exportable";
+ case ExternalFenceFeatureFlagBits::eImportable: return "Importable";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ExternalFenceFeatureFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & ExternalFenceFeatureFlagBits::eExportable) result += "Exportable | ";
+ if (value & ExternalFenceFeatureFlagBits::eImportable) result += "Importable | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FenceImportFlagBits value)
+ {
+ switch (value)
+ {
+ case FenceImportFlagBits::eTemporary: return "Temporary";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(FenceImportFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & FenceImportFlagBits::eTemporary) result += "Temporary | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SurfaceCounterFlagBitsEXT value)
+ {
+ switch (value)
+ {
+ case SurfaceCounterFlagBitsEXT::eVblank: return "Vblank";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SurfaceCounterFlagsEXT value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SurfaceCounterFlagBitsEXT::eVblank) result += "Vblank | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplayPowerStateEXT value)
+ {
+ switch (value)
+ {
+ case DisplayPowerStateEXT::eOff: return "Off";
+ case DisplayPowerStateEXT::eSuspend: return "Suspend";
+ case DisplayPowerStateEXT::eOn: return "On";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DeviceEventTypeEXT value)
+ {
+ switch (value)
+ {
+ case DeviceEventTypeEXT::eDisplayHotplug: return "DisplayHotplug";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DisplayEventTypeEXT value)
+ {
+ switch (value)
+ {
+ case DisplayEventTypeEXT::eFirstPixelOut: return "FirstPixelOut";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PeerMemoryFeatureFlagBits value)
+ {
+ switch (value)
+ {
+ case PeerMemoryFeatureFlagBits::eCopySrc: return "CopySrc";
+ case PeerMemoryFeatureFlagBits::eCopyDst: return "CopyDst";
+ case PeerMemoryFeatureFlagBits::eGenericSrc: return "GenericSrc";
+ case PeerMemoryFeatureFlagBits::eGenericDst: return "GenericDst";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PeerMemoryFeatureFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & PeerMemoryFeatureFlagBits::eCopySrc) result += "CopySrc | ";
+ if (value & PeerMemoryFeatureFlagBits::eCopyDst) result += "CopyDst | ";
+ if (value & PeerMemoryFeatureFlagBits::eGenericSrc) result += "GenericSrc | ";
+ if (value & PeerMemoryFeatureFlagBits::eGenericDst) result += "GenericDst | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryAllocateFlagBits value)
+ {
+ switch (value)
+ {
+ case MemoryAllocateFlagBits::eDeviceMask: return "DeviceMask";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(MemoryAllocateFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & MemoryAllocateFlagBits::eDeviceMask) result += "DeviceMask | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DeviceGroupPresentModeFlagBitsKHR value)
+ {
+ switch (value)
+ {
+ case DeviceGroupPresentModeFlagBitsKHR::eLocal: return "Local";
+ case DeviceGroupPresentModeFlagBitsKHR::eRemote: return "Remote";
+ case DeviceGroupPresentModeFlagBitsKHR::eSum: return "Sum";
+ case DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice: return "LocalMultiDevice";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DeviceGroupPresentModeFlagsKHR value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DeviceGroupPresentModeFlagBitsKHR::eLocal) result += "Local | ";
+ if (value & DeviceGroupPresentModeFlagBitsKHR::eRemote) result += "Remote | ";
+ if (value & DeviceGroupPresentModeFlagBitsKHR::eSum) result += "Sum | ";
+ if (value & DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice) result += "LocalMultiDevice | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SwapchainCreateFlagBitsKHR value)
+ {
+ switch (value)
+ {
+ case SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions: return "SplitInstanceBindRegions";
+ case SwapchainCreateFlagBitsKHR::eProtected: return "Protected";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SwapchainCreateFlagsKHR value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions) result += "SplitInstanceBindRegions | ";
+ if (value & SwapchainCreateFlagBitsKHR::eProtected) result += "Protected | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ViewportCoordinateSwizzleNV value)
+ {
+ switch (value)
+ {
+ case ViewportCoordinateSwizzleNV::ePositiveX: return "PositiveX";
+ case ViewportCoordinateSwizzleNV::eNegativeX: return "NegativeX";
+ case ViewportCoordinateSwizzleNV::ePositiveY: return "PositiveY";
+ case ViewportCoordinateSwizzleNV::eNegativeY: return "NegativeY";
+ case ViewportCoordinateSwizzleNV::ePositiveZ: return "PositiveZ";
+ case ViewportCoordinateSwizzleNV::eNegativeZ: return "NegativeZ";
+ case ViewportCoordinateSwizzleNV::ePositiveW: return "PositiveW";
+ case ViewportCoordinateSwizzleNV::eNegativeW: return "NegativeW";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DiscardRectangleModeEXT value)
+ {
+ switch (value)
+ {
+ case DiscardRectangleModeEXT::eInclusive: return "Inclusive";
+ case DiscardRectangleModeEXT::eExclusive: return "Exclusive";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SubpassDescriptionFlagBits value)
+ {
+ switch (value)
+ {
+ case SubpassDescriptionFlagBits::ePerViewAttributesNVX: return "PerViewAttributesNVX";
+ case SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX: return "PerViewPositionXOnlyNVX";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SubpassDescriptionFlags value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & SubpassDescriptionFlagBits::ePerViewAttributesNVX) result += "PerViewAttributesNVX | ";
+ if (value & SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX) result += "PerViewPositionXOnlyNVX | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(PointClippingBehavior value)
+ {
+ switch (value)
+ {
+ case PointClippingBehavior::eAllClipPlanes: return "AllClipPlanes";
+ case PointClippingBehavior::eUserClipPlanesOnly: return "UserClipPlanesOnly";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SamplerReductionModeEXT value)
+ {
+ switch (value)
+ {
+ case SamplerReductionModeEXT::eWeightedAverage: return "WeightedAverage";
+ case SamplerReductionModeEXT::eMin: return "Min";
+ case SamplerReductionModeEXT::eMax: return "Max";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(TessellationDomainOrigin value)
+ {
+ switch (value)
+ {
+ case TessellationDomainOrigin::eUpperLeft: return "UpperLeft";
+ case TessellationDomainOrigin::eLowerLeft: return "LowerLeft";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SamplerYcbcrModelConversion value)
+ {
+ switch (value)
+ {
+ case SamplerYcbcrModelConversion::eRgbIdentity: return "RgbIdentity";
+ case SamplerYcbcrModelConversion::eYcbcrIdentity: return "YcbcrIdentity";
+ case SamplerYcbcrModelConversion::eYcbcr709: return "Ycbcr709";
+ case SamplerYcbcrModelConversion::eYcbcr601: return "Ycbcr601";
+ case SamplerYcbcrModelConversion::eYcbcr2020: return "Ycbcr2020";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(SamplerYcbcrRange value)
+ {
+ switch (value)
+ {
+ case SamplerYcbcrRange::eItuFull: return "ItuFull";
+ case SamplerYcbcrRange::eItuNarrow: return "ItuNarrow";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ChromaLocation value)
+ {
+ switch (value)
+ {
+ case ChromaLocation::eCositedEven: return "CositedEven";
+ case ChromaLocation::eMidpoint: return "Midpoint";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(BlendOverlapEXT value)
+ {
+ switch (value)
+ {
+ case BlendOverlapEXT::eUncorrelated: return "Uncorrelated";
+ case BlendOverlapEXT::eDisjoint: return "Disjoint";
+ case BlendOverlapEXT::eConjoint: return "Conjoint";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(CoverageModulationModeNV value)
+ {
+ switch (value)
+ {
+ case CoverageModulationModeNV::eNone: return "None";
+ case CoverageModulationModeNV::eRgb: return "Rgb";
+ case CoverageModulationModeNV::eAlpha: return "Alpha";
+ case CoverageModulationModeNV::eRgba: return "Rgba";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ValidationCacheHeaderVersionEXT value)
+ {
+ switch (value)
+ {
+ case ValidationCacheHeaderVersionEXT::eOne: return "One";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ShaderInfoTypeAMD value)
+ {
+ switch (value)
+ {
+ case ShaderInfoTypeAMD::eStatistics: return "Statistics";
+ case ShaderInfoTypeAMD::eBinary: return "Binary";
+ case ShaderInfoTypeAMD::eDisassembly: return "Disassembly";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(QueueGlobalPriorityEXT value)
+ {
+ switch (value)
+ {
+ case QueueGlobalPriorityEXT::eLow: return "Low";
+ case QueueGlobalPriorityEXT::eMedium: return "Medium";
+ case QueueGlobalPriorityEXT::eHigh: return "High";
+ case QueueGlobalPriorityEXT::eRealtime: return "Realtime";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageSeverityFlagBitsEXT value)
+ {
+ switch (value)
+ {
+ case DebugUtilsMessageSeverityFlagBitsEXT::eVerbose: return "Verbose";
+ case DebugUtilsMessageSeverityFlagBitsEXT::eInfo: return "Info";
+ case DebugUtilsMessageSeverityFlagBitsEXT::eWarning: return "Warning";
+ case DebugUtilsMessageSeverityFlagBitsEXT::eError: return "Error";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageSeverityFlagsEXT value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DebugUtilsMessageSeverityFlagBitsEXT::eVerbose) result += "Verbose | ";
+ if (value & DebugUtilsMessageSeverityFlagBitsEXT::eInfo) result += "Info | ";
+ if (value & DebugUtilsMessageSeverityFlagBitsEXT::eWarning) result += "Warning | ";
+ if (value & DebugUtilsMessageSeverityFlagBitsEXT::eError) result += "Error | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageTypeFlagBitsEXT value)
+ {
+ switch (value)
+ {
+ case DebugUtilsMessageTypeFlagBitsEXT::eGeneral: return "General";
+ case DebugUtilsMessageTypeFlagBitsEXT::eValidation: return "Validation";
+ case DebugUtilsMessageTypeFlagBitsEXT::ePerformance: return "Performance";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DebugUtilsMessageTypeFlagsEXT value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DebugUtilsMessageTypeFlagBitsEXT::eGeneral) result += "General | ";
+ if (value & DebugUtilsMessageTypeFlagBitsEXT::eValidation) result += "Validation | ";
+ if (value & DebugUtilsMessageTypeFlagBitsEXT::ePerformance) result += "Performance | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(ConservativeRasterizationModeEXT value)
+ {
+ switch (value)
+ {
+ case ConservativeRasterizationModeEXT::eDisabled: return "Disabled";
+ case ConservativeRasterizationModeEXT::eOverestimate: return "Overestimate";
+ case ConservativeRasterizationModeEXT::eUnderestimate: return "Underestimate";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorBindingFlagBitsEXT value)
+ {
+ switch (value)
+ {
+ case DescriptorBindingFlagBitsEXT::eUpdateAfterBind: return "UpdateAfterBind";
+ case DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending: return "UpdateUnusedWhilePending";
+ case DescriptorBindingFlagBitsEXT::ePartiallyBound: return "PartiallyBound";
+ case DescriptorBindingFlagBitsEXT::eVariableDescriptorCount: return "VariableDescriptorCount";
+ default: return "invalid";
+ }
+ }
+
+ VULKAN_HPP_INLINE std::string to_string(DescriptorBindingFlagsEXT value)
+ {
+ if (!value) return "{}";
+ std::string result;
+ if (value & DescriptorBindingFlagBitsEXT::eUpdateAfterBind) result += "UpdateAfterBind | ";
+ if (value & DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending) result += "UpdateUnusedWhilePending | ";
+ if (value & DescriptorBindingFlagBitsEXT::ePartiallyBound) result += "PartiallyBound | ";
+ if (value & DescriptorBindingFlagBitsEXT::eVariableDescriptorCount) result += "VariableDescriptorCount | ";
+ return "{" + result.substr(0, result.size() - 3) + "}";
+ }
+
+ class DispatchLoaderDynamic
+ {
+ public:
+ PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR = 0;
+ PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR = 0;
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT = 0;
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+ PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers = 0;
+ PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets = 0;
+ PFN_vkAllocateMemory vkAllocateMemory = 0;
+ PFN_vkBeginCommandBuffer vkBeginCommandBuffer = 0;
+ PFN_vkBindBufferMemory vkBindBufferMemory = 0;
+ PFN_vkBindBufferMemory2 vkBindBufferMemory2 = 0;
+ PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR = 0;
+ PFN_vkBindImageMemory vkBindImageMemory = 0;
+ PFN_vkBindImageMemory2 vkBindImageMemory2 = 0;
+ PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR = 0;
+ PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT = 0;
+ PFN_vkCmdBeginQuery vkCmdBeginQuery = 0;
+ PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass = 0;
+ PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets = 0;
+ PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer = 0;
+ PFN_vkCmdBindPipeline vkCmdBindPipeline = 0;
+ PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers = 0;
+ PFN_vkCmdBlitImage vkCmdBlitImage = 0;
+ PFN_vkCmdClearAttachments vkCmdClearAttachments = 0;
+ PFN_vkCmdClearColorImage vkCmdClearColorImage = 0;
+ PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage = 0;
+ PFN_vkCmdCopyBuffer vkCmdCopyBuffer = 0;
+ PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage = 0;
+ PFN_vkCmdCopyImage vkCmdCopyImage = 0;
+ PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer = 0;
+ PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults = 0;
+ PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT = 0;
+ PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT = 0;
+ PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT = 0;
+ PFN_vkCmdDispatch vkCmdDispatch = 0;
+ PFN_vkCmdDispatchBase vkCmdDispatchBase = 0;
+ PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR = 0;
+ PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect = 0;
+ PFN_vkCmdDraw vkCmdDraw = 0;
+ PFN_vkCmdDrawIndexed vkCmdDrawIndexed = 0;
+ PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect = 0;
+ PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD = 0;
+ PFN_vkCmdDrawIndirect vkCmdDrawIndirect = 0;
+ PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD = 0;
+ PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT = 0;
+ PFN_vkCmdEndQuery vkCmdEndQuery = 0;
+ PFN_vkCmdEndRenderPass vkCmdEndRenderPass = 0;
+ PFN_vkCmdExecuteCommands vkCmdExecuteCommands = 0;
+ PFN_vkCmdFillBuffer vkCmdFillBuffer = 0;
+ PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT = 0;
+ PFN_vkCmdNextSubpass vkCmdNextSubpass = 0;
+ PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier = 0;
+ PFN_vkCmdProcessCommandsNVX vkCmdProcessCommandsNVX = 0;
+ PFN_vkCmdPushConstants vkCmdPushConstants = 0;
+ PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR = 0;
+ PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR = 0;
+ PFN_vkCmdReserveSpaceForCommandsNVX vkCmdReserveSpaceForCommandsNVX = 0;
+ PFN_vkCmdResetEvent vkCmdResetEvent = 0;
+ PFN_vkCmdResetQueryPool vkCmdResetQueryPool = 0;
+ PFN_vkCmdResolveImage vkCmdResolveImage = 0;
+ PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants = 0;
+ PFN_vkCmdSetDepthBias vkCmdSetDepthBias = 0;
+ PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds = 0;
+ PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask = 0;
+ PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR = 0;
+ PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT = 0;
+ PFN_vkCmdSetEvent vkCmdSetEvent = 0;
+ PFN_vkCmdSetLineWidth vkCmdSetLineWidth = 0;
+ PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT = 0;
+ PFN_vkCmdSetScissor vkCmdSetScissor = 0;
+ PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask = 0;
+ PFN_vkCmdSetStencilReference vkCmdSetStencilReference = 0;
+ PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask = 0;
+ PFN_vkCmdSetViewport vkCmdSetViewport = 0;
+ PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV = 0;
+ PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer = 0;
+ PFN_vkCmdWaitEvents vkCmdWaitEvents = 0;
+ PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD = 0;
+ PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp = 0;
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR = 0;
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+ PFN_vkCreateBuffer vkCreateBuffer = 0;
+ PFN_vkCreateBufferView vkCreateBufferView = 0;
+ PFN_vkCreateCommandPool vkCreateCommandPool = 0;
+ PFN_vkCreateComputePipelines vkCreateComputePipelines = 0;
+ PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT = 0;
+ PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT = 0;
+ PFN_vkCreateDescriptorPool vkCreateDescriptorPool = 0;
+ PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout = 0;
+ PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate = 0;
+ PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR = 0;
+ PFN_vkCreateDevice vkCreateDevice = 0;
+ PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR = 0;
+ PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR = 0;
+ PFN_vkCreateEvent vkCreateEvent = 0;
+ PFN_vkCreateFence vkCreateFence = 0;
+ PFN_vkCreateFramebuffer vkCreateFramebuffer = 0;
+ PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines = 0;
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK = 0;
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+ PFN_vkCreateImage vkCreateImage = 0;
+ PFN_vkCreateImageView vkCreateImageView = 0;
+ PFN_vkCreateIndirectCommandsLayoutNVX vkCreateIndirectCommandsLayoutNVX = 0;
+ PFN_vkCreateInstance vkCreateInstance = 0;
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK = 0;
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ PFN_vkCreateMirSurfaceKHR vkCreateMirSurfaceKHR = 0;
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+ PFN_vkCreateObjectTableNVX vkCreateObjectTableNVX = 0;
+ PFN_vkCreatePipelineCache vkCreatePipelineCache = 0;
+ PFN_vkCreatePipelineLayout vkCreatePipelineLayout = 0;
+ PFN_vkCreateQueryPool vkCreateQueryPool = 0;
+ PFN_vkCreateRenderPass vkCreateRenderPass = 0;
+ PFN_vkCreateSampler vkCreateSampler = 0;
+ PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion = 0;
+ PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR = 0;
+ PFN_vkCreateSemaphore vkCreateSemaphore = 0;
+ PFN_vkCreateShaderModule vkCreateShaderModule = 0;
+ PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR = 0;
+ PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR = 0;
+ PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT = 0;
+#ifdef VK_USE_PLATFORM_VI_NN
+ PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN = 0;
+#endif /*VK_USE_PLATFORM_VI_NN*/
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR = 0;
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR = 0;
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR = 0;
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+ PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT = 0;
+ PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT = 0;
+ PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT = 0;
+ PFN_vkDestroyBuffer vkDestroyBuffer = 0;
+ PFN_vkDestroyBufferView vkDestroyBufferView = 0;
+ PFN_vkDestroyCommandPool vkDestroyCommandPool = 0;
+ PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT = 0;
+ PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT = 0;
+ PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool = 0;
+ PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout = 0;
+ PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate = 0;
+ PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR = 0;
+ PFN_vkDestroyDevice vkDestroyDevice = 0;
+ PFN_vkDestroyEvent vkDestroyEvent = 0;
+ PFN_vkDestroyFence vkDestroyFence = 0;
+ PFN_vkDestroyFramebuffer vkDestroyFramebuffer = 0;
+ PFN_vkDestroyImage vkDestroyImage = 0;
+ PFN_vkDestroyImageView vkDestroyImageView = 0;
+ PFN_vkDestroyIndirectCommandsLayoutNVX vkDestroyIndirectCommandsLayoutNVX = 0;
+ PFN_vkDestroyInstance vkDestroyInstance = 0;
+ PFN_vkDestroyObjectTableNVX vkDestroyObjectTableNVX = 0;
+ PFN_vkDestroyPipeline vkDestroyPipeline = 0;
+ PFN_vkDestroyPipelineCache vkDestroyPipelineCache = 0;
+ PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout = 0;
+ PFN_vkDestroyQueryPool vkDestroyQueryPool = 0;
+ PFN_vkDestroyRenderPass vkDestroyRenderPass = 0;
+ PFN_vkDestroySampler vkDestroySampler = 0;
+ PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion = 0;
+ PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR = 0;
+ PFN_vkDestroySemaphore vkDestroySemaphore = 0;
+ PFN_vkDestroyShaderModule vkDestroyShaderModule = 0;
+ PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR = 0;
+ PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR = 0;
+ PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT = 0;
+ PFN_vkDeviceWaitIdle vkDeviceWaitIdle = 0;
+ PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT = 0;
+ PFN_vkEndCommandBuffer vkEndCommandBuffer = 0;
+ PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties = 0;
+ PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties = 0;
+ PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties = 0;
+ PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties = 0;
+ PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion = 0;
+ PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups = 0;
+ PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR = 0;
+ PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices = 0;
+ PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges = 0;
+ PFN_vkFreeCommandBuffers vkFreeCommandBuffers = 0;
+ PFN_vkFreeDescriptorSets vkFreeDescriptorSets = 0;
+ PFN_vkFreeMemory vkFreeMemory = 0;
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID = 0;
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements = 0;
+ PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2 = 0;
+ PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR = 0;
+ PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport = 0;
+ PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR = 0;
+ PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures = 0;
+ PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR = 0;
+ PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR = 0;
+ PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0;
+ PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0;
+ PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0;
+ PFN_vkGetDeviceQueue vkGetDeviceQueue = 0;
+ PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0;
+ PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR = 0;
+ PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR = 0;
+ PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR = 0;
+ PFN_vkGetEventStatus vkGetEventStatus = 0;
+ PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0;
+ PFN_vkGetFenceStatus vkGetFenceStatus = 0;
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements = 0;
+ PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2 = 0;
+ PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR = 0;
+ PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements = 0;
+ PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2 = 0;
+ PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR = 0;
+ PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout = 0;
+ PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = 0;
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID = 0;
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR = 0;
+ PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR = 0;
+ PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT = 0;
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV = 0;
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE = 0;
+ PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR = 0;
+ PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR = 0;
+ PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties = 0;
+ PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR = 0;
+ PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties = 0;
+ PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR = 0;
+ PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV = 0;
+ PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties = 0;
+ PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = 0;
+ PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures = 0;
+ PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2 = 0;
+ PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR = 0;
+ PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties = 0;
+ PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2 = 0;
+ PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR = 0;
+ PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX = 0;
+ PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties = 0;
+ PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2 = 0;
+ PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR = 0;
+ PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties = 0;
+ PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2 = 0;
+ PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR = 0;
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ PFN_vkGetPhysicalDeviceMirPresentationSupportKHR vkGetPhysicalDeviceMirPresentationSupportKHR = 0;
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+ PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT = 0;
+ PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR = 0;
+ PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties = 0;
+ PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2 = 0;
+ PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR = 0;
+ PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties = 0;
+ PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2 = 0;
+ PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR = 0;
+ PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties = 0;
+ PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2 = 0;
+ PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR = 0;
+ PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT = 0;
+ PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR = 0;
+ PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR = 0;
+ PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR = 0;
+ PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR = 0;
+ PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR = 0;
+ PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR = 0;
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR = 0;
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR = 0;
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR = 0;
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+ PFN_vkGetPipelineCacheData vkGetPipelineCacheData = 0;
+ PFN_vkGetQueryPoolResults vkGetQueryPoolResults = 0;
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT = 0;
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+ PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE = 0;
+ PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity = 0;
+ PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR = 0;
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0;
+ PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0;
+ PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0;
+ PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0;
+ PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0;
+ PFN_vkImportFenceFdKHR vkImportFenceFdKHR = 0;
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR = 0;
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR = 0;
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges = 0;
+ PFN_vkMapMemory vkMapMemory = 0;
+ PFN_vkMergePipelineCaches vkMergePipelineCaches = 0;
+ PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT = 0;
+ PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT = 0;
+ PFN_vkQueueBindSparse vkQueueBindSparse = 0;
+ PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT = 0;
+ PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT = 0;
+ PFN_vkQueuePresentKHR vkQueuePresentKHR = 0;
+ PFN_vkQueueSubmit vkQueueSubmit = 0;
+ PFN_vkQueueWaitIdle vkQueueWaitIdle = 0;
+ PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT = 0;
+ PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT = 0;
+ PFN_vkRegisterObjectsNVX vkRegisterObjectsNVX = 0;
+ PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT = 0;
+ PFN_vkResetCommandBuffer vkResetCommandBuffer = 0;
+ PFN_vkResetCommandPool vkResetCommandPool = 0;
+ PFN_vkResetDescriptorPool vkResetDescriptorPool = 0;
+ PFN_vkResetEvent vkResetEvent = 0;
+ PFN_vkResetFences vkResetFences = 0;
+ PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT = 0;
+ PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT = 0;
+ PFN_vkSetEvent vkSetEvent = 0;
+ PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT = 0;
+ PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT = 0;
+ PFN_vkTrimCommandPool vkTrimCommandPool = 0;
+ PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR = 0;
+ PFN_vkUnmapMemory vkUnmapMemory = 0;
+ PFN_vkUnregisterObjectsNVX vkUnregisterObjectsNVX = 0;
+ PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate = 0;
+ PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR = 0;
+ PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets = 0;
+ PFN_vkWaitForFences vkWaitForFences = 0;
+ public:
+ DispatchLoaderDynamic(Instance instance = Instance(), Device device = Device())
+ {
+ if (instance)
+ {
+ init(instance, device);
+ }
+ }
+
+ void init(Instance instance, Device device = Device())
+ {
+ vkAcquireNextImage2KHR = PFN_vkAcquireNextImage2KHR(device ? device.getProcAddr( "vkAcquireNextImage2KHR") : instance.getProcAddr( "vkAcquireNextImage2KHR"));
+ vkAcquireNextImageKHR = PFN_vkAcquireNextImageKHR(device ? device.getProcAddr( "vkAcquireNextImageKHR") : instance.getProcAddr( "vkAcquireNextImageKHR"));
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ vkAcquireXlibDisplayEXT = PFN_vkAcquireXlibDisplayEXT(device ? device.getProcAddr( "vkAcquireXlibDisplayEXT") : instance.getProcAddr( "vkAcquireXlibDisplayEXT"));
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+ vkAllocateCommandBuffers = PFN_vkAllocateCommandBuffers(device ? device.getProcAddr( "vkAllocateCommandBuffers") : instance.getProcAddr( "vkAllocateCommandBuffers"));
+ vkAllocateDescriptorSets = PFN_vkAllocateDescriptorSets(device ? device.getProcAddr( "vkAllocateDescriptorSets") : instance.getProcAddr( "vkAllocateDescriptorSets"));
+ vkAllocateMemory = PFN_vkAllocateMemory(device ? device.getProcAddr( "vkAllocateMemory") : instance.getProcAddr( "vkAllocateMemory"));
+ vkBeginCommandBuffer = PFN_vkBeginCommandBuffer(device ? device.getProcAddr( "vkBeginCommandBuffer") : instance.getProcAddr( "vkBeginCommandBuffer"));
+ vkBindBufferMemory = PFN_vkBindBufferMemory(device ? device.getProcAddr( "vkBindBufferMemory") : instance.getProcAddr( "vkBindBufferMemory"));
+ vkBindBufferMemory2 = PFN_vkBindBufferMemory2(device ? device.getProcAddr( "vkBindBufferMemory2") : instance.getProcAddr( "vkBindBufferMemory2"));
+ vkBindBufferMemory2KHR = PFN_vkBindBufferMemory2KHR(device ? device.getProcAddr( "vkBindBufferMemory2KHR") : instance.getProcAddr( "vkBindBufferMemory2KHR"));
+ vkBindImageMemory = PFN_vkBindImageMemory(device ? device.getProcAddr( "vkBindImageMemory") : instance.getProcAddr( "vkBindImageMemory"));
+ vkBindImageMemory2 = PFN_vkBindImageMemory2(device ? device.getProcAddr( "vkBindImageMemory2") : instance.getProcAddr( "vkBindImageMemory2"));
+ vkBindImageMemory2KHR = PFN_vkBindImageMemory2KHR(device ? device.getProcAddr( "vkBindImageMemory2KHR") : instance.getProcAddr( "vkBindImageMemory2KHR"));
+ vkCmdBeginDebugUtilsLabelEXT = PFN_vkCmdBeginDebugUtilsLabelEXT(device ? device.getProcAddr( "vkCmdBeginDebugUtilsLabelEXT") : instance.getProcAddr( "vkCmdBeginDebugUtilsLabelEXT"));
+ vkCmdBeginQuery = PFN_vkCmdBeginQuery(device ? device.getProcAddr( "vkCmdBeginQuery") : instance.getProcAddr( "vkCmdBeginQuery"));
+ vkCmdBeginRenderPass = PFN_vkCmdBeginRenderPass(device ? device.getProcAddr( "vkCmdBeginRenderPass") : instance.getProcAddr( "vkCmdBeginRenderPass"));
+ vkCmdBindDescriptorSets = PFN_vkCmdBindDescriptorSets(device ? device.getProcAddr( "vkCmdBindDescriptorSets") : instance.getProcAddr( "vkCmdBindDescriptorSets"));
+ vkCmdBindIndexBuffer = PFN_vkCmdBindIndexBuffer(device ? device.getProcAddr( "vkCmdBindIndexBuffer") : instance.getProcAddr( "vkCmdBindIndexBuffer"));
+ vkCmdBindPipeline = PFN_vkCmdBindPipeline(device ? device.getProcAddr( "vkCmdBindPipeline") : instance.getProcAddr( "vkCmdBindPipeline"));
+ vkCmdBindVertexBuffers = PFN_vkCmdBindVertexBuffers(device ? device.getProcAddr( "vkCmdBindVertexBuffers") : instance.getProcAddr( "vkCmdBindVertexBuffers"));
+ vkCmdBlitImage = PFN_vkCmdBlitImage(device ? device.getProcAddr( "vkCmdBlitImage") : instance.getProcAddr( "vkCmdBlitImage"));
+ vkCmdClearAttachments = PFN_vkCmdClearAttachments(device ? device.getProcAddr( "vkCmdClearAttachments") : instance.getProcAddr( "vkCmdClearAttachments"));
+ vkCmdClearColorImage = PFN_vkCmdClearColorImage(device ? device.getProcAddr( "vkCmdClearColorImage") : instance.getProcAddr( "vkCmdClearColorImage"));
+ vkCmdClearDepthStencilImage = PFN_vkCmdClearDepthStencilImage(device ? device.getProcAddr( "vkCmdClearDepthStencilImage") : instance.getProcAddr( "vkCmdClearDepthStencilImage"));
+ vkCmdCopyBuffer = PFN_vkCmdCopyBuffer(device ? device.getProcAddr( "vkCmdCopyBuffer") : instance.getProcAddr( "vkCmdCopyBuffer"));
+ vkCmdCopyBufferToImage = PFN_vkCmdCopyBufferToImage(device ? device.getProcAddr( "vkCmdCopyBufferToImage") : instance.getProcAddr( "vkCmdCopyBufferToImage"));
+ vkCmdCopyImage = PFN_vkCmdCopyImage(device ? device.getProcAddr( "vkCmdCopyImage") : instance.getProcAddr( "vkCmdCopyImage"));
+ vkCmdCopyImageToBuffer = PFN_vkCmdCopyImageToBuffer(device ? device.getProcAddr( "vkCmdCopyImageToBuffer") : instance.getProcAddr( "vkCmdCopyImageToBuffer"));
+ vkCmdCopyQueryPoolResults = PFN_vkCmdCopyQueryPoolResults(device ? device.getProcAddr( "vkCmdCopyQueryPoolResults") : instance.getProcAddr( "vkCmdCopyQueryPoolResults"));
+ vkCmdDebugMarkerBeginEXT = PFN_vkCmdDebugMarkerBeginEXT(device ? device.getProcAddr( "vkCmdDebugMarkerBeginEXT") : instance.getProcAddr( "vkCmdDebugMarkerBeginEXT"));
+ vkCmdDebugMarkerEndEXT = PFN_vkCmdDebugMarkerEndEXT(device ? device.getProcAddr( "vkCmdDebugMarkerEndEXT") : instance.getProcAddr( "vkCmdDebugMarkerEndEXT"));
+ vkCmdDebugMarkerInsertEXT = PFN_vkCmdDebugMarkerInsertEXT(device ? device.getProcAddr( "vkCmdDebugMarkerInsertEXT") : instance.getProcAddr( "vkCmdDebugMarkerInsertEXT"));
+ vkCmdDispatch = PFN_vkCmdDispatch(device ? device.getProcAddr( "vkCmdDispatch") : instance.getProcAddr( "vkCmdDispatch"));
+ vkCmdDispatchBase = PFN_vkCmdDispatchBase(device ? device.getProcAddr( "vkCmdDispatchBase") : instance.getProcAddr( "vkCmdDispatchBase"));
+ vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBaseKHR(device ? device.getProcAddr( "vkCmdDispatchBaseKHR") : instance.getProcAddr( "vkCmdDispatchBaseKHR"));
+ vkCmdDispatchIndirect = PFN_vkCmdDispatchIndirect(device ? device.getProcAddr( "vkCmdDispatchIndirect") : instance.getProcAddr( "vkCmdDispatchIndirect"));
+ vkCmdDraw = PFN_vkCmdDraw(device ? device.getProcAddr( "vkCmdDraw") : instance.getProcAddr( "vkCmdDraw"));
+ vkCmdDrawIndexed = PFN_vkCmdDrawIndexed(device ? device.getProcAddr( "vkCmdDrawIndexed") : instance.getProcAddr( "vkCmdDrawIndexed"));
+ vkCmdDrawIndexedIndirect = PFN_vkCmdDrawIndexedIndirect(device ? device.getProcAddr( "vkCmdDrawIndexedIndirect") : instance.getProcAddr( "vkCmdDrawIndexedIndirect"));
+ vkCmdDrawIndexedIndirectCountAMD = PFN_vkCmdDrawIndexedIndirectCountAMD(device ? device.getProcAddr( "vkCmdDrawIndexedIndirectCountAMD") : instance.getProcAddr( "vkCmdDrawIndexedIndirectCountAMD"));
+ vkCmdDrawIndirect = PFN_vkCmdDrawIndirect(device ? device.getProcAddr( "vkCmdDrawIndirect") : instance.getProcAddr( "vkCmdDrawIndirect"));
+ vkCmdDrawIndirectCountAMD = PFN_vkCmdDrawIndirectCountAMD(device ? device.getProcAddr( "vkCmdDrawIndirectCountAMD") : instance.getProcAddr( "vkCmdDrawIndirectCountAMD"));
+ vkCmdEndDebugUtilsLabelEXT = PFN_vkCmdEndDebugUtilsLabelEXT(device ? device.getProcAddr( "vkCmdEndDebugUtilsLabelEXT") : instance.getProcAddr( "vkCmdEndDebugUtilsLabelEXT"));
+ vkCmdEndQuery = PFN_vkCmdEndQuery(device ? device.getProcAddr( "vkCmdEndQuery") : instance.getProcAddr( "vkCmdEndQuery"));
+ vkCmdEndRenderPass = PFN_vkCmdEndRenderPass(device ? device.getProcAddr( "vkCmdEndRenderPass") : instance.getProcAddr( "vkCmdEndRenderPass"));
+ vkCmdExecuteCommands = PFN_vkCmdExecuteCommands(device ? device.getProcAddr( "vkCmdExecuteCommands") : instance.getProcAddr( "vkCmdExecuteCommands"));
+ vkCmdFillBuffer = PFN_vkCmdFillBuffer(device ? device.getProcAddr( "vkCmdFillBuffer") : instance.getProcAddr( "vkCmdFillBuffer"));
+ vkCmdInsertDebugUtilsLabelEXT = PFN_vkCmdInsertDebugUtilsLabelEXT(device ? device.getProcAddr( "vkCmdInsertDebugUtilsLabelEXT") : instance.getProcAddr( "vkCmdInsertDebugUtilsLabelEXT"));
+ vkCmdNextSubpass = PFN_vkCmdNextSubpass(device ? device.getProcAddr( "vkCmdNextSubpass") : instance.getProcAddr( "vkCmdNextSubpass"));
+ vkCmdPipelineBarrier = PFN_vkCmdPipelineBarrier(device ? device.getProcAddr( "vkCmdPipelineBarrier") : instance.getProcAddr( "vkCmdPipelineBarrier"));
+ vkCmdProcessCommandsNVX = PFN_vkCmdProcessCommandsNVX(device ? device.getProcAddr( "vkCmdProcessCommandsNVX") : instance.getProcAddr( "vkCmdProcessCommandsNVX"));
+ vkCmdPushConstants = PFN_vkCmdPushConstants(device ? device.getProcAddr( "vkCmdPushConstants") : instance.getProcAddr( "vkCmdPushConstants"));
+ vkCmdPushDescriptorSetKHR = PFN_vkCmdPushDescriptorSetKHR(device ? device.getProcAddr( "vkCmdPushDescriptorSetKHR") : instance.getProcAddr( "vkCmdPushDescriptorSetKHR"));
+ vkCmdPushDescriptorSetWithTemplateKHR = PFN_vkCmdPushDescriptorSetWithTemplateKHR(device ? device.getProcAddr( "vkCmdPushDescriptorSetWithTemplateKHR") : instance.getProcAddr( "vkCmdPushDescriptorSetWithTemplateKHR"));
+ vkCmdReserveSpaceForCommandsNVX = PFN_vkCmdReserveSpaceForCommandsNVX(device ? device.getProcAddr( "vkCmdReserveSpaceForCommandsNVX") : instance.getProcAddr( "vkCmdReserveSpaceForCommandsNVX"));
+ vkCmdResetEvent = PFN_vkCmdResetEvent(device ? device.getProcAddr( "vkCmdResetEvent") : instance.getProcAddr( "vkCmdResetEvent"));
+ vkCmdResetQueryPool = PFN_vkCmdResetQueryPool(device ? device.getProcAddr( "vkCmdResetQueryPool") : instance.getProcAddr( "vkCmdResetQueryPool"));
+ vkCmdResolveImage = PFN_vkCmdResolveImage(device ? device.getProcAddr( "vkCmdResolveImage") : instance.getProcAddr( "vkCmdResolveImage"));
+ vkCmdSetBlendConstants = PFN_vkCmdSetBlendConstants(device ? device.getProcAddr( "vkCmdSetBlendConstants") : instance.getProcAddr( "vkCmdSetBlendConstants"));
+ vkCmdSetDepthBias = PFN_vkCmdSetDepthBias(device ? device.getProcAddr( "vkCmdSetDepthBias") : instance.getProcAddr( "vkCmdSetDepthBias"));
+ vkCmdSetDepthBounds = PFN_vkCmdSetDepthBounds(device ? device.getProcAddr( "vkCmdSetDepthBounds") : instance.getProcAddr( "vkCmdSetDepthBounds"));
+ vkCmdSetDeviceMask = PFN_vkCmdSetDeviceMask(device ? device.getProcAddr( "vkCmdSetDeviceMask") : instance.getProcAddr( "vkCmdSetDeviceMask"));
+ vkCmdSetDeviceMaskKHR = PFN_vkCmdSetDeviceMaskKHR(device ? device.getProcAddr( "vkCmdSetDeviceMaskKHR") : instance.getProcAddr( "vkCmdSetDeviceMaskKHR"));
+ vkCmdSetDiscardRectangleEXT = PFN_vkCmdSetDiscardRectangleEXT(device ? device.getProcAddr( "vkCmdSetDiscardRectangleEXT") : instance.getProcAddr( "vkCmdSetDiscardRectangleEXT"));
+ vkCmdSetEvent = PFN_vkCmdSetEvent(device ? device.getProcAddr( "vkCmdSetEvent") : instance.getProcAddr( "vkCmdSetEvent"));
+ vkCmdSetLineWidth = PFN_vkCmdSetLineWidth(device ? device.getProcAddr( "vkCmdSetLineWidth") : instance.getProcAddr( "vkCmdSetLineWidth"));
+ vkCmdSetSampleLocationsEXT = PFN_vkCmdSetSampleLocationsEXT(device ? device.getProcAddr( "vkCmdSetSampleLocationsEXT") : instance.getProcAddr( "vkCmdSetSampleLocationsEXT"));
+ vkCmdSetScissor = PFN_vkCmdSetScissor(device ? device.getProcAddr( "vkCmdSetScissor") : instance.getProcAddr( "vkCmdSetScissor"));
+ vkCmdSetStencilCompareMask = PFN_vkCmdSetStencilCompareMask(device ? device.getProcAddr( "vkCmdSetStencilCompareMask") : instance.getProcAddr( "vkCmdSetStencilCompareMask"));
+ vkCmdSetStencilReference = PFN_vkCmdSetStencilReference(device ? device.getProcAddr( "vkCmdSetStencilReference") : instance.getProcAddr( "vkCmdSetStencilReference"));
+ vkCmdSetStencilWriteMask = PFN_vkCmdSetStencilWriteMask(device ? device.getProcAddr( "vkCmdSetStencilWriteMask") : instance.getProcAddr( "vkCmdSetStencilWriteMask"));
+ vkCmdSetViewport = PFN_vkCmdSetViewport(device ? device.getProcAddr( "vkCmdSetViewport") : instance.getProcAddr( "vkCmdSetViewport"));
+ vkCmdSetViewportWScalingNV = PFN_vkCmdSetViewportWScalingNV(device ? device.getProcAddr( "vkCmdSetViewportWScalingNV") : instance.getProcAddr( "vkCmdSetViewportWScalingNV"));
+ vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer(device ? device.getProcAddr( "vkCmdUpdateBuffer") : instance.getProcAddr( "vkCmdUpdateBuffer"));
+ vkCmdWaitEvents = PFN_vkCmdWaitEvents(device ? device.getProcAddr( "vkCmdWaitEvents") : instance.getProcAddr( "vkCmdWaitEvents"));
+ vkCmdWriteBufferMarkerAMD = PFN_vkCmdWriteBufferMarkerAMD(device ? device.getProcAddr( "vkCmdWriteBufferMarkerAMD") : instance.getProcAddr( "vkCmdWriteBufferMarkerAMD"));
+ vkCmdWriteTimestamp = PFN_vkCmdWriteTimestamp(device ? device.getProcAddr( "vkCmdWriteTimestamp") : instance.getProcAddr( "vkCmdWriteTimestamp"));
+#ifdef VK_USE_PLATFORM_ANDROID_KHR
+ vkCreateAndroidSurfaceKHR = PFN_vkCreateAndroidSurfaceKHR(instance.getProcAddr( "vkCreateAndroidSurfaceKHR"));
+#endif /*VK_USE_PLATFORM_ANDROID_KHR*/
+ vkCreateBuffer = PFN_vkCreateBuffer(device ? device.getProcAddr( "vkCreateBuffer") : instance.getProcAddr( "vkCreateBuffer"));
+ vkCreateBufferView = PFN_vkCreateBufferView(device ? device.getProcAddr( "vkCreateBufferView") : instance.getProcAddr( "vkCreateBufferView"));
+ vkCreateCommandPool = PFN_vkCreateCommandPool(device ? device.getProcAddr( "vkCreateCommandPool") : instance.getProcAddr( "vkCreateCommandPool"));
+ vkCreateComputePipelines = PFN_vkCreateComputePipelines(device ? device.getProcAddr( "vkCreateComputePipelines") : instance.getProcAddr( "vkCreateComputePipelines"));
+ vkCreateDebugReportCallbackEXT = PFN_vkCreateDebugReportCallbackEXT(instance.getProcAddr( "vkCreateDebugReportCallbackEXT"));
+ vkCreateDebugUtilsMessengerEXT = PFN_vkCreateDebugUtilsMessengerEXT(instance.getProcAddr( "vkCreateDebugUtilsMessengerEXT"));
+ vkCreateDescriptorPool = PFN_vkCreateDescriptorPool(device ? device.getProcAddr( "vkCreateDescriptorPool") : instance.getProcAddr( "vkCreateDescriptorPool"));
+ vkCreateDescriptorSetLayout = PFN_vkCreateDescriptorSetLayout(device ? device.getProcAddr( "vkCreateDescriptorSetLayout") : instance.getProcAddr( "vkCreateDescriptorSetLayout"));
+ vkCreateDescriptorUpdateTemplate = PFN_vkCreateDescriptorUpdateTemplate(device ? device.getProcAddr( "vkCreateDescriptorUpdateTemplate") : instance.getProcAddr( "vkCreateDescriptorUpdateTemplate"));
+ vkCreateDescriptorUpdateTemplateKHR = PFN_vkCreateDescriptorUpdateTemplateKHR(device ? device.getProcAddr( "vkCreateDescriptorUpdateTemplateKHR") : instance.getProcAddr( "vkCreateDescriptorUpdateTemplateKHR"));
+ vkCreateDevice = PFN_vkCreateDevice(device ? device.getProcAddr( "vkCreateDevice") : instance.getProcAddr( "vkCreateDevice"));
+ vkCreateDisplayModeKHR = PFN_vkCreateDisplayModeKHR(device ? device.getProcAddr( "vkCreateDisplayModeKHR") : instance.getProcAddr( "vkCreateDisplayModeKHR"));
+ vkCreateDisplayPlaneSurfaceKHR = PFN_vkCreateDisplayPlaneSurfaceKHR(instance.getProcAddr( "vkCreateDisplayPlaneSurfaceKHR"));
+ vkCreateEvent = PFN_vkCreateEvent(device ? device.getProcAddr( "vkCreateEvent") : instance.getProcAddr( "vkCreateEvent"));
+ vkCreateFence = PFN_vkCreateFence(device ? device.getProcAddr( "vkCreateFence") : instance.getProcAddr( "vkCreateFence"));
+ vkCreateFramebuffer = PFN_vkCreateFramebuffer(device ? device.getProcAddr( "vkCreateFramebuffer") : instance.getProcAddr( "vkCreateFramebuffer"));
+ vkCreateGraphicsPipelines = PFN_vkCreateGraphicsPipelines(device ? device.getProcAddr( "vkCreateGraphicsPipelines") : instance.getProcAddr( "vkCreateGraphicsPipelines"));
+#ifdef VK_USE_PLATFORM_IOS_MVK
+ vkCreateIOSSurfaceMVK = PFN_vkCreateIOSSurfaceMVK(instance.getProcAddr( "vkCreateIOSSurfaceMVK"));
+#endif /*VK_USE_PLATFORM_IOS_MVK*/
+ vkCreateImage = PFN_vkCreateImage(device ? device.getProcAddr( "vkCreateImage") : instance.getProcAddr( "vkCreateImage"));
+ vkCreateImageView = PFN_vkCreateImageView(device ? device.getProcAddr( "vkCreateImageView") : instance.getProcAddr( "vkCreateImageView"));
+ vkCreateIndirectCommandsLayoutNVX = PFN_vkCreateIndirectCommandsLayoutNVX(device ? device.getProcAddr( "vkCreateIndirectCommandsLayoutNVX") : instance.getProcAddr( "vkCreateIndirectCommandsLayoutNVX"));
+ vkCreateInstance = PFN_vkCreateInstance(instance.getProcAddr( "vkCreateInstance"));
+#ifdef VK_USE_PLATFORM_MACOS_MVK
+ vkCreateMacOSSurfaceMVK = PFN_vkCreateMacOSSurfaceMVK(instance.getProcAddr( "vkCreateMacOSSurfaceMVK"));
+#endif /*VK_USE_PLATFORM_MACOS_MVK*/
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ vkCreateMirSurfaceKHR = PFN_vkCreateMirSurfaceKHR(instance.getProcAddr( "vkCreateMirSurfaceKHR"));
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+ vkCreateObjectTableNVX = PFN_vkCreateObjectTableNVX(device ? device.getProcAddr( "vkCreateObjectTableNVX") : instance.getProcAddr( "vkCreateObjectTableNVX"));
+ vkCreatePipelineCache = PFN_vkCreatePipelineCache(device ? device.getProcAddr( "vkCreatePipelineCache") : instance.getProcAddr( "vkCreatePipelineCache"));
+ vkCreatePipelineLayout = PFN_vkCreatePipelineLayout(device ? device.getProcAddr( "vkCreatePipelineLayout") : instance.getProcAddr( "vkCreatePipelineLayout"));
+ vkCreateQueryPool = PFN_vkCreateQueryPool(device ? device.getProcAddr( "vkCreateQueryPool") : instance.getProcAddr( "vkCreateQueryPool"));
+ vkCreateRenderPass = PFN_vkCreateRenderPass(device ? device.getProcAddr( "vkCreateRenderPass") : instance.getProcAddr( "vkCreateRenderPass"));
+ vkCreateSampler = PFN_vkCreateSampler(device ? device.getProcAddr( "vkCreateSampler") : instance.getProcAddr( "vkCreateSampler"));
+ vkCreateSamplerYcbcrConversion = PFN_vkCreateSamplerYcbcrConversion(device ? device.getProcAddr( "vkCreateSamplerYcbcrConversion") : instance.getProcAddr( "vkCreateSamplerYcbcrConversion"));
+ vkCreateSamplerYcbcrConversionKHR = PFN_vkCreateSamplerYcbcrConversionKHR(device ? device.getProcAddr( "vkCreateSamplerYcbcrConversionKHR") : instance.getProcAddr( "vkCreateSamplerYcbcrConversionKHR"));
+ vkCreateSemaphore = PFN_vkCreateSemaphore(device ? device.getProcAddr( "vkCreateSemaphore") : instance.getProcAddr( "vkCreateSemaphore"));
+ vkCreateShaderModule = PFN_vkCreateShaderModule(device ? device.getProcAddr( "vkCreateShaderModule") : instance.getProcAddr( "vkCreateShaderModule"));
+ vkCreateSharedSwapchainsKHR = PFN_vkCreateSharedSwapchainsKHR(device ? device.getProcAddr( "vkCreateSharedSwapchainsKHR") : instance.getProcAddr( "vkCreateSharedSwapchainsKHR"));
+ vkCreateSwapchainKHR = PFN_vkCreateSwapchainKHR(device ? device.getProcAddr( "vkCreateSwapchainKHR") : instance.getProcAddr( "vkCreateSwapchainKHR"));
+ vkCreateValidationCacheEXT = PFN_vkCreateValidationCacheEXT(device ? device.getProcAddr( "vkCreateValidationCacheEXT") : instance.getProcAddr( "vkCreateValidationCacheEXT"));
+#ifdef VK_USE_PLATFORM_VI_NN
+ vkCreateViSurfaceNN = PFN_vkCreateViSurfaceNN(instance.getProcAddr( "vkCreateViSurfaceNN"));
+#endif /*VK_USE_PLATFORM_VI_NN*/
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ vkCreateWaylandSurfaceKHR = PFN_vkCreateWaylandSurfaceKHR(instance.getProcAddr( "vkCreateWaylandSurfaceKHR"));
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkCreateWin32SurfaceKHR = PFN_vkCreateWin32SurfaceKHR(instance.getProcAddr( "vkCreateWin32SurfaceKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ vkCreateXcbSurfaceKHR = PFN_vkCreateXcbSurfaceKHR(instance.getProcAddr( "vkCreateXcbSurfaceKHR"));
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ vkCreateXlibSurfaceKHR = PFN_vkCreateXlibSurfaceKHR(instance.getProcAddr( "vkCreateXlibSurfaceKHR"));
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+ vkDebugMarkerSetObjectNameEXT = PFN_vkDebugMarkerSetObjectNameEXT(device ? device.getProcAddr( "vkDebugMarkerSetObjectNameEXT") : instance.getProcAddr( "vkDebugMarkerSetObjectNameEXT"));
+ vkDebugMarkerSetObjectTagEXT = PFN_vkDebugMarkerSetObjectTagEXT(device ? device.getProcAddr( "vkDebugMarkerSetObjectTagEXT") : instance.getProcAddr( "vkDebugMarkerSetObjectTagEXT"));
+ vkDebugReportMessageEXT = PFN_vkDebugReportMessageEXT(instance.getProcAddr( "vkDebugReportMessageEXT"));
+ vkDestroyBuffer = PFN_vkDestroyBuffer(device ? device.getProcAddr( "vkDestroyBuffer") : instance.getProcAddr( "vkDestroyBuffer"));
+ vkDestroyBufferView = PFN_vkDestroyBufferView(device ? device.getProcAddr( "vkDestroyBufferView") : instance.getProcAddr( "vkDestroyBufferView"));
+ vkDestroyCommandPool = PFN_vkDestroyCommandPool(device ? device.getProcAddr( "vkDestroyCommandPool") : instance.getProcAddr( "vkDestroyCommandPool"));
+ vkDestroyDebugReportCallbackEXT = PFN_vkDestroyDebugReportCallbackEXT(instance.getProcAddr( "vkDestroyDebugReportCallbackEXT"));
+ vkDestroyDebugUtilsMessengerEXT = PFN_vkDestroyDebugUtilsMessengerEXT(instance.getProcAddr( "vkDestroyDebugUtilsMessengerEXT"));
+ vkDestroyDescriptorPool = PFN_vkDestroyDescriptorPool(device ? device.getProcAddr( "vkDestroyDescriptorPool") : instance.getProcAddr( "vkDestroyDescriptorPool"));
+ vkDestroyDescriptorSetLayout = PFN_vkDestroyDescriptorSetLayout(device ? device.getProcAddr( "vkDestroyDescriptorSetLayout") : instance.getProcAddr( "vkDestroyDescriptorSetLayout"));
+ vkDestroyDescriptorUpdateTemplate = PFN_vkDestroyDescriptorUpdateTemplate(device ? device.getProcAddr( "vkDestroyDescriptorUpdateTemplate") : instance.getProcAddr( "vkDestroyDescriptorUpdateTemplate"));
+ vkDestroyDescriptorUpdateTemplateKHR = PFN_vkDestroyDescriptorUpdateTemplateKHR(device ? device.getProcAddr( "vkDestroyDescriptorUpdateTemplateKHR") : instance.getProcAddr( "vkDestroyDescriptorUpdateTemplateKHR"));
+ vkDestroyDevice = PFN_vkDestroyDevice(device ? device.getProcAddr( "vkDestroyDevice") : instance.getProcAddr( "vkDestroyDevice"));
+ vkDestroyEvent = PFN_vkDestroyEvent(device ? device.getProcAddr( "vkDestroyEvent") : instance.getProcAddr( "vkDestroyEvent"));
+ vkDestroyFence = PFN_vkDestroyFence(device ? device.getProcAddr( "vkDestroyFence") : instance.getProcAddr( "vkDestroyFence"));
+ vkDestroyFramebuffer = PFN_vkDestroyFramebuffer(device ? device.getProcAddr( "vkDestroyFramebuffer") : instance.getProcAddr( "vkDestroyFramebuffer"));
+ vkDestroyImage = PFN_vkDestroyImage(device ? device.getProcAddr( "vkDestroyImage") : instance.getProcAddr( "vkDestroyImage"));
+ vkDestroyImageView = PFN_vkDestroyImageView(device ? device.getProcAddr( "vkDestroyImageView") : instance.getProcAddr( "vkDestroyImageView"));
+ vkDestroyIndirectCommandsLayoutNVX = PFN_vkDestroyIndirectCommandsLayoutNVX(device ? device.getProcAddr( "vkDestroyIndirectCommandsLayoutNVX") : instance.getProcAddr( "vkDestroyIndirectCommandsLayoutNVX"));
+ vkDestroyInstance = PFN_vkDestroyInstance(instance.getProcAddr( "vkDestroyInstance"));
+ vkDestroyObjectTableNVX = PFN_vkDestroyObjectTableNVX(device ? device.getProcAddr( "vkDestroyObjectTableNVX") : instance.getProcAddr( "vkDestroyObjectTableNVX"));
+ vkDestroyPipeline = PFN_vkDestroyPipeline(device ? device.getProcAddr( "vkDestroyPipeline") : instance.getProcAddr( "vkDestroyPipeline"));
+ vkDestroyPipelineCache = PFN_vkDestroyPipelineCache(device ? device.getProcAddr( "vkDestroyPipelineCache") : instance.getProcAddr( "vkDestroyPipelineCache"));
+ vkDestroyPipelineLayout = PFN_vkDestroyPipelineLayout(device ? device.getProcAddr( "vkDestroyPipelineLayout") : instance.getProcAddr( "vkDestroyPipelineLayout"));
+ vkDestroyQueryPool = PFN_vkDestroyQueryPool(device ? device.getProcAddr( "vkDestroyQueryPool") : instance.getProcAddr( "vkDestroyQueryPool"));
+ vkDestroyRenderPass = PFN_vkDestroyRenderPass(device ? device.getProcAddr( "vkDestroyRenderPass") : instance.getProcAddr( "vkDestroyRenderPass"));
+ vkDestroySampler = PFN_vkDestroySampler(device ? device.getProcAddr( "vkDestroySampler") : instance.getProcAddr( "vkDestroySampler"));
+ vkDestroySamplerYcbcrConversion = PFN_vkDestroySamplerYcbcrConversion(device ? device.getProcAddr( "vkDestroySamplerYcbcrConversion") : instance.getProcAddr( "vkDestroySamplerYcbcrConversion"));
+ vkDestroySamplerYcbcrConversionKHR = PFN_vkDestroySamplerYcbcrConversionKHR(device ? device.getProcAddr( "vkDestroySamplerYcbcrConversionKHR") : instance.getProcAddr( "vkDestroySamplerYcbcrConversionKHR"));
+ vkDestroySemaphore = PFN_vkDestroySemaphore(device ? device.getProcAddr( "vkDestroySemaphore") : instance.getProcAddr( "vkDestroySemaphore"));
+ vkDestroyShaderModule = PFN_vkDestroyShaderModule(device ? device.getProcAddr( "vkDestroyShaderModule") : instance.getProcAddr( "vkDestroyShaderModule"));
+ vkDestroySurfaceKHR = PFN_vkDestroySurfaceKHR(instance.getProcAddr( "vkDestroySurfaceKHR"));
+ vkDestroySwapchainKHR = PFN_vkDestroySwapchainKHR(device ? device.getProcAddr( "vkDestroySwapchainKHR") : instance.getProcAddr( "vkDestroySwapchainKHR"));
+ vkDestroyValidationCacheEXT = PFN_vkDestroyValidationCacheEXT(device ? device.getProcAddr( "vkDestroyValidationCacheEXT") : instance.getProcAddr( "vkDestroyValidationCacheEXT"));
+ vkDeviceWaitIdle = PFN_vkDeviceWaitIdle(device ? device.getProcAddr( "vkDeviceWaitIdle") : instance.getProcAddr( "vkDeviceWaitIdle"));
+ vkDisplayPowerControlEXT = PFN_vkDisplayPowerControlEXT(device ? device.getProcAddr( "vkDisplayPowerControlEXT") : instance.getProcAddr( "vkDisplayPowerControlEXT"));
+ vkEndCommandBuffer = PFN_vkEndCommandBuffer(device ? device.getProcAddr( "vkEndCommandBuffer") : instance.getProcAddr( "vkEndCommandBuffer"));
+ vkEnumerateDeviceExtensionProperties = PFN_vkEnumerateDeviceExtensionProperties(device ? device.getProcAddr( "vkEnumerateDeviceExtensionProperties") : instance.getProcAddr( "vkEnumerateDeviceExtensionProperties"));
+ vkEnumerateDeviceLayerProperties = PFN_vkEnumerateDeviceLayerProperties(device ? device.getProcAddr( "vkEnumerateDeviceLayerProperties") : instance.getProcAddr( "vkEnumerateDeviceLayerProperties"));
+ vkEnumerateInstanceExtensionProperties = PFN_vkEnumerateInstanceExtensionProperties(instance.getProcAddr( "vkEnumerateInstanceExtensionProperties"));
+ vkEnumerateInstanceLayerProperties = PFN_vkEnumerateInstanceLayerProperties(instance.getProcAddr( "vkEnumerateInstanceLayerProperties"));
+ vkEnumerateInstanceVersion = PFN_vkEnumerateInstanceVersion(instance.getProcAddr( "vkEnumerateInstanceVersion"));
+ vkEnumeratePhysicalDeviceGroups = PFN_vkEnumeratePhysicalDeviceGroups(instance.getProcAddr( "vkEnumeratePhysicalDeviceGroups"));
+ vkEnumeratePhysicalDeviceGroupsKHR = PFN_vkEnumeratePhysicalDeviceGroupsKHR(instance.getProcAddr( "vkEnumeratePhysicalDeviceGroupsKHR"));
+ vkEnumeratePhysicalDevices = PFN_vkEnumeratePhysicalDevices(instance.getProcAddr( "vkEnumeratePhysicalDevices"));
+ vkFlushMappedMemoryRanges = PFN_vkFlushMappedMemoryRanges(device ? device.getProcAddr( "vkFlushMappedMemoryRanges") : instance.getProcAddr( "vkFlushMappedMemoryRanges"));
+ vkFreeCommandBuffers = PFN_vkFreeCommandBuffers(device ? device.getProcAddr( "vkFreeCommandBuffers") : instance.getProcAddr( "vkFreeCommandBuffers"));
+ vkFreeDescriptorSets = PFN_vkFreeDescriptorSets(device ? device.getProcAddr( "vkFreeDescriptorSets") : instance.getProcAddr( "vkFreeDescriptorSets"));
+ vkFreeMemory = PFN_vkFreeMemory(device ? device.getProcAddr( "vkFreeMemory") : instance.getProcAddr( "vkFreeMemory"));
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ vkGetAndroidHardwareBufferPropertiesANDROID = PFN_vkGetAndroidHardwareBufferPropertiesANDROID(device ? device.getProcAddr( "vkGetAndroidHardwareBufferPropertiesANDROID") : instance.getProcAddr( "vkGetAndroidHardwareBufferPropertiesANDROID"));
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ vkGetBufferMemoryRequirements = PFN_vkGetBufferMemoryRequirements(device ? device.getProcAddr( "vkGetBufferMemoryRequirements") : instance.getProcAddr( "vkGetBufferMemoryRequirements"));
+ vkGetBufferMemoryRequirements2 = PFN_vkGetBufferMemoryRequirements2(device ? device.getProcAddr( "vkGetBufferMemoryRequirements2") : instance.getProcAddr( "vkGetBufferMemoryRequirements2"));
+ vkGetBufferMemoryRequirements2KHR = PFN_vkGetBufferMemoryRequirements2KHR(device ? device.getProcAddr( "vkGetBufferMemoryRequirements2KHR") : instance.getProcAddr( "vkGetBufferMemoryRequirements2KHR"));
+ vkGetDescriptorSetLayoutSupport = PFN_vkGetDescriptorSetLayoutSupport(device ? device.getProcAddr( "vkGetDescriptorSetLayoutSupport") : instance.getProcAddr( "vkGetDescriptorSetLayoutSupport"));
+ vkGetDescriptorSetLayoutSupportKHR = PFN_vkGetDescriptorSetLayoutSupportKHR(device ? device.getProcAddr( "vkGetDescriptorSetLayoutSupportKHR") : instance.getProcAddr( "vkGetDescriptorSetLayoutSupportKHR"));
+ vkGetDeviceGroupPeerMemoryFeatures = PFN_vkGetDeviceGroupPeerMemoryFeatures(device ? device.getProcAddr( "vkGetDeviceGroupPeerMemoryFeatures") : instance.getProcAddr( "vkGetDeviceGroupPeerMemoryFeatures"));
+ vkGetDeviceGroupPeerMemoryFeaturesKHR = PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR(device ? device.getProcAddr( "vkGetDeviceGroupPeerMemoryFeaturesKHR") : instance.getProcAddr( "vkGetDeviceGroupPeerMemoryFeaturesKHR"));
+ vkGetDeviceGroupPresentCapabilitiesKHR = PFN_vkGetDeviceGroupPresentCapabilitiesKHR(device ? device.getProcAddr( "vkGetDeviceGroupPresentCapabilitiesKHR") : instance.getProcAddr( "vkGetDeviceGroupPresentCapabilitiesKHR"));
+ vkGetDeviceGroupSurfacePresentModesKHR = PFN_vkGetDeviceGroupSurfacePresentModesKHR(device ? device.getProcAddr( "vkGetDeviceGroupSurfacePresentModesKHR") : instance.getProcAddr( "vkGetDeviceGroupSurfacePresentModesKHR"));
+ vkGetDeviceMemoryCommitment = PFN_vkGetDeviceMemoryCommitment(device ? device.getProcAddr( "vkGetDeviceMemoryCommitment") : instance.getProcAddr( "vkGetDeviceMemoryCommitment"));
+ vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr(device ? device.getProcAddr( "vkGetDeviceProcAddr") : instance.getProcAddr( "vkGetDeviceProcAddr"));
+ vkGetDeviceQueue = PFN_vkGetDeviceQueue(device ? device.getProcAddr( "vkGetDeviceQueue") : instance.getProcAddr( "vkGetDeviceQueue"));
+ vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2(device ? device.getProcAddr( "vkGetDeviceQueue2") : instance.getProcAddr( "vkGetDeviceQueue2"));
+ vkGetDisplayModePropertiesKHR = PFN_vkGetDisplayModePropertiesKHR(device ? device.getProcAddr( "vkGetDisplayModePropertiesKHR") : instance.getProcAddr( "vkGetDisplayModePropertiesKHR"));
+ vkGetDisplayPlaneCapabilitiesKHR = PFN_vkGetDisplayPlaneCapabilitiesKHR(device ? device.getProcAddr( "vkGetDisplayPlaneCapabilitiesKHR") : instance.getProcAddr( "vkGetDisplayPlaneCapabilitiesKHR"));
+ vkGetDisplayPlaneSupportedDisplaysKHR = PFN_vkGetDisplayPlaneSupportedDisplaysKHR(device ? device.getProcAddr( "vkGetDisplayPlaneSupportedDisplaysKHR") : instance.getProcAddr( "vkGetDisplayPlaneSupportedDisplaysKHR"));
+ vkGetEventStatus = PFN_vkGetEventStatus(device ? device.getProcAddr( "vkGetEventStatus") : instance.getProcAddr( "vkGetEventStatus"));
+ vkGetFenceFdKHR = PFN_vkGetFenceFdKHR(device ? device.getProcAddr( "vkGetFenceFdKHR") : instance.getProcAddr( "vkGetFenceFdKHR"));
+ vkGetFenceStatus = PFN_vkGetFenceStatus(device ? device.getProcAddr( "vkGetFenceStatus") : instance.getProcAddr( "vkGetFenceStatus"));
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkGetFenceWin32HandleKHR = PFN_vkGetFenceWin32HandleKHR(device ? device.getProcAddr( "vkGetFenceWin32HandleKHR") : instance.getProcAddr( "vkGetFenceWin32HandleKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ vkGetImageMemoryRequirements = PFN_vkGetImageMemoryRequirements(device ? device.getProcAddr( "vkGetImageMemoryRequirements") : instance.getProcAddr( "vkGetImageMemoryRequirements"));
+ vkGetImageMemoryRequirements2 = PFN_vkGetImageMemoryRequirements2(device ? device.getProcAddr( "vkGetImageMemoryRequirements2") : instance.getProcAddr( "vkGetImageMemoryRequirements2"));
+ vkGetImageMemoryRequirements2KHR = PFN_vkGetImageMemoryRequirements2KHR(device ? device.getProcAddr( "vkGetImageMemoryRequirements2KHR") : instance.getProcAddr( "vkGetImageMemoryRequirements2KHR"));
+ vkGetImageSparseMemoryRequirements = PFN_vkGetImageSparseMemoryRequirements(device ? device.getProcAddr( "vkGetImageSparseMemoryRequirements") : instance.getProcAddr( "vkGetImageSparseMemoryRequirements"));
+ vkGetImageSparseMemoryRequirements2 = PFN_vkGetImageSparseMemoryRequirements2(device ? device.getProcAddr( "vkGetImageSparseMemoryRequirements2") : instance.getProcAddr( "vkGetImageSparseMemoryRequirements2"));
+ vkGetImageSparseMemoryRequirements2KHR = PFN_vkGetImageSparseMemoryRequirements2KHR(device ? device.getProcAddr( "vkGetImageSparseMemoryRequirements2KHR") : instance.getProcAddr( "vkGetImageSparseMemoryRequirements2KHR"));
+ vkGetImageSubresourceLayout = PFN_vkGetImageSubresourceLayout(device ? device.getProcAddr( "vkGetImageSubresourceLayout") : instance.getProcAddr( "vkGetImageSubresourceLayout"));
+ vkGetInstanceProcAddr = PFN_vkGetInstanceProcAddr(instance.getProcAddr( "vkGetInstanceProcAddr"));
+#ifdef VK_USE_PLATFORM_ANDROID_ANDROID
+ vkGetMemoryAndroidHardwareBufferANDROID = PFN_vkGetMemoryAndroidHardwareBufferANDROID(device ? device.getProcAddr( "vkGetMemoryAndroidHardwareBufferANDROID") : instance.getProcAddr( "vkGetMemoryAndroidHardwareBufferANDROID"));
+#endif /*VK_USE_PLATFORM_ANDROID_ANDROID*/
+ vkGetMemoryFdKHR = PFN_vkGetMemoryFdKHR(device ? device.getProcAddr( "vkGetMemoryFdKHR") : instance.getProcAddr( "vkGetMemoryFdKHR"));
+ vkGetMemoryFdPropertiesKHR = PFN_vkGetMemoryFdPropertiesKHR(device ? device.getProcAddr( "vkGetMemoryFdPropertiesKHR") : instance.getProcAddr( "vkGetMemoryFdPropertiesKHR"));
+ vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT(device ? device.getProcAddr( "vkGetMemoryHostPointerPropertiesEXT") : instance.getProcAddr( "vkGetMemoryHostPointerPropertiesEXT"));
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkGetMemoryWin32HandleKHR = PFN_vkGetMemoryWin32HandleKHR(device ? device.getProcAddr( "vkGetMemoryWin32HandleKHR") : instance.getProcAddr( "vkGetMemoryWin32HandleKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_NV
+ vkGetMemoryWin32HandleNV = PFN_vkGetMemoryWin32HandleNV(device ? device.getProcAddr( "vkGetMemoryWin32HandleNV") : instance.getProcAddr( "vkGetMemoryWin32HandleNV"));
+#endif /*VK_USE_PLATFORM_WIN32_NV*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkGetMemoryWin32HandlePropertiesKHR = PFN_vkGetMemoryWin32HandlePropertiesKHR(device ? device.getProcAddr( "vkGetMemoryWin32HandlePropertiesKHR") : instance.getProcAddr( "vkGetMemoryWin32HandlePropertiesKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ vkGetPastPresentationTimingGOOGLE = PFN_vkGetPastPresentationTimingGOOGLE(device ? device.getProcAddr( "vkGetPastPresentationTimingGOOGLE") : instance.getProcAddr( "vkGetPastPresentationTimingGOOGLE"));
+ vkGetPhysicalDeviceDisplayPlanePropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceDisplayPlanePropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceDisplayPlanePropertiesKHR"));
+ vkGetPhysicalDeviceDisplayPropertiesKHR = PFN_vkGetPhysicalDeviceDisplayPropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceDisplayPropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceDisplayPropertiesKHR"));
+ vkGetPhysicalDeviceExternalBufferProperties = PFN_vkGetPhysicalDeviceExternalBufferProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalBufferProperties") : instance.getProcAddr( "vkGetPhysicalDeviceExternalBufferProperties"));
+ vkGetPhysicalDeviceExternalBufferPropertiesKHR = PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalBufferPropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceExternalBufferPropertiesKHR"));
+ vkGetPhysicalDeviceExternalFenceProperties = PFN_vkGetPhysicalDeviceExternalFenceProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalFenceProperties") : instance.getProcAddr( "vkGetPhysicalDeviceExternalFenceProperties"));
+ vkGetPhysicalDeviceExternalFencePropertiesKHR = PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalFencePropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceExternalFencePropertiesKHR"));
+ vkGetPhysicalDeviceExternalImageFormatPropertiesNV = PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalImageFormatPropertiesNV") : instance.getProcAddr( "vkGetPhysicalDeviceExternalImageFormatPropertiesNV"));
+ vkGetPhysicalDeviceExternalSemaphoreProperties = PFN_vkGetPhysicalDeviceExternalSemaphoreProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalSemaphoreProperties") : instance.getProcAddr( "vkGetPhysicalDeviceExternalSemaphoreProperties"));
+ vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR"));
+ vkGetPhysicalDeviceFeatures = PFN_vkGetPhysicalDeviceFeatures(device ? device.getProcAddr( "vkGetPhysicalDeviceFeatures") : instance.getProcAddr( "vkGetPhysicalDeviceFeatures"));
+ vkGetPhysicalDeviceFeatures2 = PFN_vkGetPhysicalDeviceFeatures2(device ? device.getProcAddr( "vkGetPhysicalDeviceFeatures2") : instance.getProcAddr( "vkGetPhysicalDeviceFeatures2"));
+ vkGetPhysicalDeviceFeatures2KHR = PFN_vkGetPhysicalDeviceFeatures2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceFeatures2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceFeatures2KHR"));
+ vkGetPhysicalDeviceFormatProperties = PFN_vkGetPhysicalDeviceFormatProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceFormatProperties") : instance.getProcAddr( "vkGetPhysicalDeviceFormatProperties"));
+ vkGetPhysicalDeviceFormatProperties2 = PFN_vkGetPhysicalDeviceFormatProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceFormatProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceFormatProperties2"));
+ vkGetPhysicalDeviceFormatProperties2KHR = PFN_vkGetPhysicalDeviceFormatProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceFormatProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceFormatProperties2KHR"));
+ vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX = PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(device ? device.getProcAddr( "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX") : instance.getProcAddr( "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX"));
+ vkGetPhysicalDeviceImageFormatProperties = PFN_vkGetPhysicalDeviceImageFormatProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties") : instance.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties"));
+ vkGetPhysicalDeviceImageFormatProperties2 = PFN_vkGetPhysicalDeviceImageFormatProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2"));
+ vkGetPhysicalDeviceImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceImageFormatProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceImageFormatProperties2KHR"));
+ vkGetPhysicalDeviceMemoryProperties = PFN_vkGetPhysicalDeviceMemoryProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceMemoryProperties") : instance.getProcAddr( "vkGetPhysicalDeviceMemoryProperties"));
+ vkGetPhysicalDeviceMemoryProperties2 = PFN_vkGetPhysicalDeviceMemoryProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2"));
+ vkGetPhysicalDeviceMemoryProperties2KHR = PFN_vkGetPhysicalDeviceMemoryProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceMemoryProperties2KHR"));
+#ifdef VK_USE_PLATFORM_MIR_KHR
+ vkGetPhysicalDeviceMirPresentationSupportKHR = PFN_vkGetPhysicalDeviceMirPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceMirPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceMirPresentationSupportKHR"));
+#endif /*VK_USE_PLATFORM_MIR_KHR*/
+ vkGetPhysicalDeviceMultisamplePropertiesEXT = PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT(device ? device.getProcAddr( "vkGetPhysicalDeviceMultisamplePropertiesEXT") : instance.getProcAddr( "vkGetPhysicalDeviceMultisamplePropertiesEXT"));
+ vkGetPhysicalDevicePresentRectanglesKHR = PFN_vkGetPhysicalDevicePresentRectanglesKHR(device ? device.getProcAddr( "vkGetPhysicalDevicePresentRectanglesKHR") : instance.getProcAddr( "vkGetPhysicalDevicePresentRectanglesKHR"));
+ vkGetPhysicalDeviceProperties = PFN_vkGetPhysicalDeviceProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceProperties") : instance.getProcAddr( "vkGetPhysicalDeviceProperties"));
+ vkGetPhysicalDeviceProperties2 = PFN_vkGetPhysicalDeviceProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceProperties2"));
+ vkGetPhysicalDeviceProperties2KHR = PFN_vkGetPhysicalDeviceProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceProperties2KHR"));
+ vkGetPhysicalDeviceQueueFamilyProperties = PFN_vkGetPhysicalDeviceQueueFamilyProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties") : instance.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties"));
+ vkGetPhysicalDeviceQueueFamilyProperties2 = PFN_vkGetPhysicalDeviceQueueFamilyProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2"));
+ vkGetPhysicalDeviceQueueFamilyProperties2KHR = PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceQueueFamilyProperties2KHR"));
+ vkGetPhysicalDeviceSparseImageFormatProperties = PFN_vkGetPhysicalDeviceSparseImageFormatProperties(device ? device.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties") : instance.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties"));
+ vkGetPhysicalDeviceSparseImageFormatProperties2 = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2(device ? device.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2") : instance.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2"));
+ vkGetPhysicalDeviceSparseImageFormatProperties2KHR = PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceSparseImageFormatProperties2KHR"));
+ vkGetPhysicalDeviceSurfaceCapabilities2EXT = PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2EXT") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2EXT"));
+ vkGetPhysicalDeviceSurfaceCapabilities2KHR = PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilities2KHR"));
+ vkGetPhysicalDeviceSurfaceCapabilitiesKHR = PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilitiesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceCapabilitiesKHR"));
+ vkGetPhysicalDeviceSurfaceFormats2KHR = PFN_vkGetPhysicalDeviceSurfaceFormats2KHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceFormats2KHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceFormats2KHR"));
+ vkGetPhysicalDeviceSurfaceFormatsKHR = PFN_vkGetPhysicalDeviceSurfaceFormatsKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceFormatsKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceFormatsKHR"));
+ vkGetPhysicalDeviceSurfacePresentModesKHR = PFN_vkGetPhysicalDeviceSurfacePresentModesKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfacePresentModesKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfacePresentModesKHR"));
+ vkGetPhysicalDeviceSurfaceSupportKHR = PFN_vkGetPhysicalDeviceSurfaceSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceSurfaceSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceSurfaceSupportKHR"));
+#ifdef VK_USE_PLATFORM_WAYLAND_KHR
+ vkGetPhysicalDeviceWaylandPresentationSupportKHR = PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceWaylandPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceWaylandPresentationSupportKHR"));
+#endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkGetPhysicalDeviceWin32PresentationSupportKHR = PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceWin32PresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceWin32PresentationSupportKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+#ifdef VK_USE_PLATFORM_XCB_KHR
+ vkGetPhysicalDeviceXcbPresentationSupportKHR = PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceXcbPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceXcbPresentationSupportKHR"));
+#endif /*VK_USE_PLATFORM_XCB_KHR*/
+#ifdef VK_USE_PLATFORM_XLIB_KHR
+ vkGetPhysicalDeviceXlibPresentationSupportKHR = PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR(device ? device.getProcAddr( "vkGetPhysicalDeviceXlibPresentationSupportKHR") : instance.getProcAddr( "vkGetPhysicalDeviceXlibPresentationSupportKHR"));
+#endif /*VK_USE_PLATFORM_XLIB_KHR*/
+ vkGetPipelineCacheData = PFN_vkGetPipelineCacheData(device ? device.getProcAddr( "vkGetPipelineCacheData") : instance.getProcAddr( "vkGetPipelineCacheData"));
+ vkGetQueryPoolResults = PFN_vkGetQueryPoolResults(device ? device.getProcAddr( "vkGetQueryPoolResults") : instance.getProcAddr( "vkGetQueryPoolResults"));
+#ifdef VK_USE_PLATFORM_XLIB_XRANDR_NV
+ vkGetRandROutputDisplayEXT = PFN_vkGetRandROutputDisplayEXT(device ? device.getProcAddr( "vkGetRandROutputDisplayEXT") : instance.getProcAddr( "vkGetRandROutputDisplayEXT"));
+#endif /*VK_USE_PLATFORM_XLIB_XRANDR_NV*/
+ vkGetRefreshCycleDurationGOOGLE = PFN_vkGetRefreshCycleDurationGOOGLE(device ? device.getProcAddr( "vkGetRefreshCycleDurationGOOGLE") : instance.getProcAddr( "vkGetRefreshCycleDurationGOOGLE"));
+ vkGetRenderAreaGranularity = PFN_vkGetRenderAreaGranularity(device ? device.getProcAddr( "vkGetRenderAreaGranularity") : instance.getProcAddr( "vkGetRenderAreaGranularity"));
+ vkGetSemaphoreFdKHR = PFN_vkGetSemaphoreFdKHR(device ? device.getProcAddr( "vkGetSemaphoreFdKHR") : instance.getProcAddr( "vkGetSemaphoreFdKHR"));
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkGetSemaphoreWin32HandleKHR = PFN_vkGetSemaphoreWin32HandleKHR(device ? device.getProcAddr( "vkGetSemaphoreWin32HandleKHR") : instance.getProcAddr( "vkGetSemaphoreWin32HandleKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD(device ? device.getProcAddr( "vkGetShaderInfoAMD") : instance.getProcAddr( "vkGetShaderInfoAMD"));
+ vkGetSwapchainCounterEXT = PFN_vkGetSwapchainCounterEXT(device ? device.getProcAddr( "vkGetSwapchainCounterEXT") : instance.getProcAddr( "vkGetSwapchainCounterEXT"));
+ vkGetSwapchainImagesKHR = PFN_vkGetSwapchainImagesKHR(device ? device.getProcAddr( "vkGetSwapchainImagesKHR") : instance.getProcAddr( "vkGetSwapchainImagesKHR"));
+ vkGetSwapchainStatusKHR = PFN_vkGetSwapchainStatusKHR(device ? device.getProcAddr( "vkGetSwapchainStatusKHR") : instance.getProcAddr( "vkGetSwapchainStatusKHR"));
+ vkGetValidationCacheDataEXT = PFN_vkGetValidationCacheDataEXT(device ? device.getProcAddr( "vkGetValidationCacheDataEXT") : instance.getProcAddr( "vkGetValidationCacheDataEXT"));
+ vkImportFenceFdKHR = PFN_vkImportFenceFdKHR(device ? device.getProcAddr( "vkImportFenceFdKHR") : instance.getProcAddr( "vkImportFenceFdKHR"));
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkImportFenceWin32HandleKHR = PFN_vkImportFenceWin32HandleKHR(device ? device.getProcAddr( "vkImportFenceWin32HandleKHR") : instance.getProcAddr( "vkImportFenceWin32HandleKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ vkImportSemaphoreFdKHR = PFN_vkImportSemaphoreFdKHR(device ? device.getProcAddr( "vkImportSemaphoreFdKHR") : instance.getProcAddr( "vkImportSemaphoreFdKHR"));
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ vkImportSemaphoreWin32HandleKHR = PFN_vkImportSemaphoreWin32HandleKHR(device ? device.getProcAddr( "vkImportSemaphoreWin32HandleKHR") : instance.getProcAddr( "vkImportSemaphoreWin32HandleKHR"));
+#endif /*VK_USE_PLATFORM_WIN32_KHR*/
+ vkInvalidateMappedMemoryRanges = PFN_vkInvalidateMappedMemoryRanges(device ? device.getProcAddr( "vkInvalidateMappedMemoryRanges") : instance.getProcAddr( "vkInvalidateMappedMemoryRanges"));
+ vkMapMemory = PFN_vkMapMemory(device ? device.getProcAddr( "vkMapMemory") : instance.getProcAddr( "vkMapMemory"));
+ vkMergePipelineCaches = PFN_vkMergePipelineCaches(device ? device.getProcAddr( "vkMergePipelineCaches") : instance.getProcAddr( "vkMergePipelineCaches"));
+ vkMergeValidationCachesEXT = PFN_vkMergeValidationCachesEXT(device ? device.getProcAddr( "vkMergeValidationCachesEXT") : instance.getProcAddr( "vkMergeValidationCachesEXT"));
+ vkQueueBeginDebugUtilsLabelEXT = PFN_vkQueueBeginDebugUtilsLabelEXT(device ? device.getProcAddr( "vkQueueBeginDebugUtilsLabelEXT") : instance.getProcAddr( "vkQueueBeginDebugUtilsLabelEXT"));
+ vkQueueBindSparse = PFN_vkQueueBindSparse(device ? device.getProcAddr( "vkQueueBindSparse") : instance.getProcAddr( "vkQueueBindSparse"));
+ vkQueueEndDebugUtilsLabelEXT = PFN_vkQueueEndDebugUtilsLabelEXT(device ? device.getProcAddr( "vkQueueEndDebugUtilsLabelEXT") : instance.getProcAddr( "vkQueueEndDebugUtilsLabelEXT"));
+ vkQueueInsertDebugUtilsLabelEXT = PFN_vkQueueInsertDebugUtilsLabelEXT(device ? device.getProcAddr( "vkQueueInsertDebugUtilsLabelEXT") : instance.getProcAddr( "vkQueueInsertDebugUtilsLabelEXT"));
+ vkQueuePresentKHR = PFN_vkQueuePresentKHR(device ? device.getProcAddr( "vkQueuePresentKHR") : instance.getProcAddr( "vkQueuePresentKHR"));
+ vkQueueSubmit = PFN_vkQueueSubmit(device ? device.getProcAddr( "vkQueueSubmit") : instance.getProcAddr( "vkQueueSubmit"));
+ vkQueueWaitIdle = PFN_vkQueueWaitIdle(device ? device.getProcAddr( "vkQueueWaitIdle") : instance.getProcAddr( "vkQueueWaitIdle"));
+ vkRegisterDeviceEventEXT = PFN_vkRegisterDeviceEventEXT(device ? device.getProcAddr( "vkRegisterDeviceEventEXT") : instance.getProcAddr( "vkRegisterDeviceEventEXT"));
+ vkRegisterDisplayEventEXT = PFN_vkRegisterDisplayEventEXT(device ? device.getProcAddr( "vkRegisterDisplayEventEXT") : instance.getProcAddr( "vkRegisterDisplayEventEXT"));
+ vkRegisterObjectsNVX = PFN_vkRegisterObjectsNVX(device ? device.getProcAddr( "vkRegisterObjectsNVX") : instance.getProcAddr( "vkRegisterObjectsNVX"));
+ vkReleaseDisplayEXT = PFN_vkReleaseDisplayEXT(device ? device.getProcAddr( "vkReleaseDisplayEXT") : instance.getProcAddr( "vkReleaseDisplayEXT"));
+ vkResetCommandBuffer = PFN_vkResetCommandBuffer(device ? device.getProcAddr( "vkResetCommandBuffer") : instance.getProcAddr( "vkResetCommandBuffer"));
+ vkResetCommandPool = PFN_vkResetCommandPool(device ? device.getProcAddr( "vkResetCommandPool") : instance.getProcAddr( "vkResetCommandPool"));
+ vkResetDescriptorPool = PFN_vkResetDescriptorPool(device ? device.getProcAddr( "vkResetDescriptorPool") : instance.getProcAddr( "vkResetDescriptorPool"));
+ vkResetEvent = PFN_vkResetEvent(device ? device.getProcAddr( "vkResetEvent") : instance.getProcAddr( "vkResetEvent"));
+ vkResetFences = PFN_vkResetFences(device ? device.getProcAddr( "vkResetFences") : instance.getProcAddr( "vkResetFences"));
+ vkSetDebugUtilsObjectNameEXT = PFN_vkSetDebugUtilsObjectNameEXT(device ? device.getProcAddr( "vkSetDebugUtilsObjectNameEXT") : instance.getProcAddr( "vkSetDebugUtilsObjectNameEXT"));
+ vkSetDebugUtilsObjectTagEXT = PFN_vkSetDebugUtilsObjectTagEXT(device ? device.getProcAddr( "vkSetDebugUtilsObjectTagEXT") : instance.getProcAddr( "vkSetDebugUtilsObjectTagEXT"));
+ vkSetEvent = PFN_vkSetEvent(device ? device.getProcAddr( "vkSetEvent") : instance.getProcAddr( "vkSetEvent"));
+ vkSetHdrMetadataEXT = PFN_vkSetHdrMetadataEXT(device ? device.getProcAddr( "vkSetHdrMetadataEXT") : instance.getProcAddr( "vkSetHdrMetadataEXT"));
+ vkSubmitDebugUtilsMessageEXT = PFN_vkSubmitDebugUtilsMessageEXT(instance.getProcAddr( "vkSubmitDebugUtilsMessageEXT"));
+ vkTrimCommandPool = PFN_vkTrimCommandPool(device ? device.getProcAddr( "vkTrimCommandPool") : instance.getProcAddr( "vkTrimCommandPool"));
+ vkTrimCommandPoolKHR = PFN_vkTrimCommandPoolKHR(device ? device.getProcAddr( "vkTrimCommandPoolKHR") : instance.getProcAddr( "vkTrimCommandPoolKHR"));
+ vkUnmapMemory = PFN_vkUnmapMemory(device ? device.getProcAddr( "vkUnmapMemory") : instance.getProcAddr( "vkUnmapMemory"));
+ vkUnregisterObjectsNVX = PFN_vkUnregisterObjectsNVX(device ? device.getProcAddr( "vkUnregisterObjectsNVX") : instance.getProcAddr( "vkUnregisterObjectsNVX"));
+ vkUpdateDescriptorSetWithTemplate = PFN_vkUpdateDescriptorSetWithTemplate(device ? device.getProcAddr( "vkUpdateDescriptorSetWithTemplate") : instance.getProcAddr( "vkUpdateDescriptorSetWithTemplate"));
+ vkUpdateDescriptorSetWithTemplateKHR = PFN_vkUpdateDescriptorSetWithTemplateKHR(device ? device.getProcAddr( "vkUpdateDescriptorSetWithTemplateKHR") : instance.getProcAddr( "vkUpdateDescriptorSetWithTemplateKHR"));
+ vkUpdateDescriptorSets = PFN_vkUpdateDescriptorSets(device ? device.getProcAddr( "vkUpdateDescriptorSets") : instance.getProcAddr( "vkUpdateDescriptorSets"));
+ vkWaitForFences = PFN_vkWaitForFences(device ? device.getProcAddr( "vkWaitForFences") : instance.getProcAddr( "vkWaitForFences"));
+ }
+ };
+} // namespace VULKAN_HPP_NAMESPACE
+
+#endif
-{\r
- "version info": {\r
- "schema version": 2,\r
- "api version": "1.1.74",\r
- "comment": "from git branch: master commit: c51545d33f4fd791dc4109d0d338e79b572f6286",\r
- "date": "2018-04-23 18:29:18Z"\r
- },\r
- "validation": {\r
- "vkGetInstanceProcAddr": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetInstanceProcAddr-instance-parameter",\r
- "text": " If <code>instance</code> is not <code>NULL</code>, <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetInstanceProcAddr-pName-parameter",\r
- "text": " <code>pName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkGetDeviceProcAddr": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetDeviceProcAddr-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceProcAddr-pName-parameter",\r
- "text": " <code>pName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkEnumerateInstanceVersion": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkEnumerateInstanceVersion-pApiVersion-parameter",\r
- "text": " <code>pApiVersion</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- }\r
- ]\r
- },\r
- "vkCreateInstance": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateInstance-ppEnabledExtensionNames-01388",\r
- "text": " All &amp;lt;&amp;lt;extended-functionality-extensions-dependencies, required extensions&amp;gt;&amp;gt; for each extension in the <a href=\"#VkInstanceCreateInfo\">VkInstanceCreateInfo</a>::<code>ppEnabledExtensionNames</code> list <strong class=\"purple\">must</strong> also be present in that list."\r
- },\r
- {\r
- "vuid": "VUID-vkCreateInstance-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkInstanceCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateInstance-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateInstance-pInstance-parameter",\r
- "text": " <code>pInstance</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkInstance</code> handle"\r
- }\r
- ]\r
- },\r
- "VkInstanceCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkInstanceCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkInstanceCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDebugReportCallbackCreateInfoEXT\">VkDebugReportCallbackCreateInfoEXT</a>, <a href=\"#VkDebugUtilsMessengerCreateInfoEXT\">VkDebugUtilsMessengerCreateInfoEXT</a>, or <a href=\"#VkValidationFlagsEXT\">VkValidationFlagsEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkInstanceCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkInstanceCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkInstanceCreateInfo-pApplicationInfo-parameter",\r
- "text": " If <code>pApplicationInfo</code> is not <code>NULL</code>, <code>pApplicationInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkApplicationInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkInstanceCreateInfo-ppEnabledLayerNames-parameter",\r
- "text": " If <code>enabledLayerCount</code> is not <code>0</code>, <code>ppEnabledLayerNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledLayerCount</code> null-terminated UTF-8 strings"\r
- },\r
- {\r
- "vuid": "VUID-VkInstanceCreateInfo-ppEnabledExtensionNames-parameter",\r
- "text": " If <code>enabledExtensionCount</code> is not <code>0</code>, <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledExtensionCount</code> null-terminated UTF-8 strings"\r
- }\r
- ]\r
- },\r
- "VkValidationFlagsEXT": {\r
- "(VK_EXT_validation_flags)": [\r
- {\r
- "vuid": "VUID-VkValidationFlagsEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkValidationFlagsEXT-pDisabledValidationChecks-parameter",\r
- "text": " <code>pDisabledValidationChecks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>disabledValidationCheckCount</code> <a href=\"#VkValidationCheckEXT\">VkValidationCheckEXT</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkValidationFlagsEXT-disabledValidationCheckCount-arraylength",\r
- "text": " <code>disabledValidationCheckCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkApplicationInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkApplicationInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_APPLICATION_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkApplicationInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkApplicationInfo-pApplicationName-parameter",\r
- "text": " If <code>pApplicationName</code> is not <code>NULL</code>, <code>pApplicationName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- },\r
- {\r
- "vuid": "VUID-VkApplicationInfo-pEngineName-parameter",\r
- "text": " If <code>pEngineName</code> is not <code>NULL</code>, <code>pEngineName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkDestroyInstance": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyInstance-instance-00629",\r
- "text": " All child objects created using <code>instance</code> <strong class=\"purple\">must</strong> have been destroyed prior to destroying <code>instance</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyInstance-instance-00630",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>instance</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyInstance-instance-00631",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>instance</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyInstance-instance-parameter",\r
- "text": " If <code>instance</code> is not <code>NULL</code>, <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyInstance-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- }\r
- ]\r
- },\r
- "vkEnumeratePhysicalDevices": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkEnumeratePhysicalDevices-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumeratePhysicalDevices-pPhysicalDeviceCount-parameter",\r
- "text": " <code>pPhysicalDeviceCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumeratePhysicalDevices-pPhysicalDevices-parameter",\r
- "text": " If the value referenced by <code>pPhysicalDeviceCount</code> is not <code>0</code>, and <code>pPhysicalDevices</code> is not <code>NULL</code>, <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPhysicalDeviceCount</code> <code>VkPhysicalDevice</code> handles"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceProperties-pProperties-parameter",\r
- "text": " <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceProperties</code> structure"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceProperties2-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceProperties2-pProperties-parameter",\r
- "text": " <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceProperties2</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceProperties2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceProperties2-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceConservativeRasterizationPropertiesEXT\">VkPhysicalDeviceConservativeRasterizationPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceDescriptorIndexingPropertiesEXT\">VkPhysicalDeviceDescriptorIndexingPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceDiscardRectanglePropertiesEXT\">VkPhysicalDeviceDiscardRectanglePropertiesEXT</a>, <a href=\"#VkPhysicalDeviceExternalMemoryHostPropertiesEXT\">VkPhysicalDeviceExternalMemoryHostPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceIDProperties\">VkPhysicalDeviceIDProperties</a>, <a href=\"#VkPhysicalDeviceMaintenance3Properties\">VkPhysicalDeviceMaintenance3Properties</a>, <a href=\"#VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX\">VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX</a>, <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>, <a href=\"#VkPhysicalDevicePointClippingProperties\">VkPhysicalDevicePointClippingProperties</a>, <a href=\"#VkPhysicalDeviceProtectedMemoryProperties\">VkPhysicalDeviceProtectedMemoryProperties</a>, <a href=\"#VkPhysicalDevicePushDescriptorPropertiesKHR\">VkPhysicalDevicePushDescriptorPropertiesKHR</a>, <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT\">VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceShaderCorePropertiesAMD\">VkPhysicalDeviceShaderCorePropertiesAMD</a>, <a href=\"#VkPhysicalDeviceSubgroupProperties\">VkPhysicalDeviceSubgroupProperties</a>, or <a href=\"#VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT\">VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceProperties2-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceIDProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_external_memory_capabilities,VK_KHR_external_semaphore_capabilities,VK_KHR_external_fence_capabilities)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceIDProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceQueueFamilyProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties-pQueueFamilyPropertyCount-parameter",\r
- "text": " <code>pQueueFamilyPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties-pQueueFamilyProperties-parameter",\r
- "text": " If the value referenced by <code>pQueueFamilyPropertyCount</code> is not <code>0</code>, and <code>pQueueFamilyProperties</code> is not <code>NULL</code>, <code>pQueueFamilyProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pQueueFamilyPropertyCount</code> <code>VkQueueFamilyProperties</code> structures"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceQueueFamilyProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties2-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties2-pQueueFamilyPropertyCount-parameter",\r
- "text": " <code>pQueueFamilyPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties2-pQueueFamilyProperties-parameter",\r
- "text": " If the value referenced by <code>pQueueFamilyPropertyCount</code> is not <code>0</code>, and <code>pQueueFamilyProperties</code> is not <code>NULL</code>, <code>pQueueFamilyProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pQueueFamilyPropertyCount</code> <code>VkQueueFamilyProperties2</code> structures"\r
- }\r
- ]\r
- },\r
- "VkQueueFamilyProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkQueueFamilyProperties2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkQueueFamilyProperties2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkEnumeratePhysicalDeviceGroups": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group_creation)": [\r
- {\r
- "vuid": "VUID-vkEnumeratePhysicalDeviceGroups-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumeratePhysicalDeviceGroups-pPhysicalDeviceGroupCount-parameter",\r
- "text": " <code>pPhysicalDeviceGroupCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumeratePhysicalDeviceGroups-pPhysicalDeviceGroupProperties-parameter",\r
- "text": " If the value referenced by <code>pPhysicalDeviceGroupCount</code> is not <code>0</code>, and <code>pPhysicalDeviceGroupProperties</code> is not <code>NULL</code>, <code>pPhysicalDeviceGroupProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPhysicalDeviceGroupCount</code> <code>VkPhysicalDeviceGroupProperties</code> structures"\r
- }\r
- ]\r
- },\r
- "vkCreateDevice": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateDevice-ppEnabledExtensionNames-01387",\r
- "text": " All &amp;lt;&amp;lt;extended-functionality-extensions-dependencies, required extensions&amp;gt;&amp;gt; for each extension in the <a href=\"#VkDeviceCreateInfo\">VkDeviceCreateInfo</a>::<code>ppEnabledExtensionNames</code> list <strong class=\"purple\">must</strong> also be present in that list."\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDevice-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDevice-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDeviceCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDevice-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDevice-pDevice-parameter",\r
- "text": " <code>pDevice</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDevice</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDeviceCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-queueFamilyIndex-00372",\r
- "text": ""\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupDeviceCreateInfo\">VkDeviceGroupDeviceCreateInfo</a>, <a href=\"#VkPhysicalDevice16BitStorageFeatures\">VkPhysicalDevice16BitStorageFeatures</a>, <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>, <a href=\"#VkPhysicalDeviceFeatures2\">VkPhysicalDeviceFeatures2</a>, <a href=\"#VkPhysicalDeviceMultiviewFeatures\">VkPhysicalDeviceMultiviewFeatures</a>, <a href=\"#VkPhysicalDeviceProtectedMemoryFeatures\">VkPhysicalDeviceProtectedMemoryFeatures</a>, <a href=\"#VkPhysicalDeviceSamplerYcbcrConversionFeatures\">VkPhysicalDeviceSamplerYcbcrConversionFeatures</a>, or <a href=\"#VkPhysicalDeviceVariablePointerFeatures\">VkPhysicalDeviceVariablePointerFeatures</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-pQueueCreateInfos-parameter",\r
- "text": " <code>pQueueCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueCreateInfoCount</code> valid <code>VkDeviceQueueCreateInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-ppEnabledLayerNames-parameter",\r
- "text": " If <code>enabledLayerCount</code> is not <code>0</code>, <code>ppEnabledLayerNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledLayerCount</code> null-terminated UTF-8 strings"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-ppEnabledExtensionNames-parameter",\r
- "text": " If <code>enabledExtensionCount</code> is not <code>0</code>, <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledExtensionCount</code> null-terminated UTF-8 strings"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-pEnabledFeatures-parameter",\r
- "text": " If <code>pEnabledFeatures</code> is not <code>NULL</code>, <code>pEnabledFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceFeatures</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-queueCreateInfoCount-arraylength",\r
- "text": " <code>queueCreateInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-pNext-00373",\r
- "text": " If the <code>pNext</code> chain includes a <a href=\"#VkPhysicalDeviceFeatures2\">VkPhysicalDeviceFeatures2</a> structure, then <code>pEnabledFeatures</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ],\r
- "(VK_AMD_negative_viewport_height)+(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-ppEnabledExtensionNames-01840",\r
- "text": " <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> not contain <code>VK_AMD_negative_viewport_height</code>"\r
- }\r
- ],\r
- "(VK_AMD_negative_viewport_height)+!(VK_VERSION_1_1)+(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkDeviceCreateInfo-ppEnabledExtensionNames-00374",\r
- "text": " <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> not contain both <code><a href=\"#VK_KHR_maintenance1\">VK_KHR_maintenance1</a></code> and <code><a href=\"#VK_AMD_negative_viewport_height\">VK_AMD_negative_viewport_height</a></code>"\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupDeviceCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group_creation)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-pPhysicalDevices-00375",\r
- "text": " Each element of <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-pPhysicalDevices-00376",\r
- "text": " All elements of <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be in the same device group as enumerated by <a href=\"#vkEnumeratePhysicalDeviceGroups\">vkEnumeratePhysicalDeviceGroups</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-physicalDeviceCount-00377",\r
- "text": " If <code>physicalDeviceCount</code> is not <code>0</code>, the <code>physicalDevice</code> parameter of <a href=\"#vkCreateDevice\">vkCreateDevice</a> <strong class=\"purple\">must</strong> be an element of <code>pPhysicalDevices</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-pPhysicalDevices-parameter",\r
- "text": " If <code>physicalDeviceCount</code> is not <code>0</code>, <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>physicalDeviceCount</code> valid <code>VkPhysicalDevice</code> handles"\r
- }\r
- ]\r
- },\r
- "vkDestroyDevice": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyDevice-device-00378",\r
- "text": " All child objects created on <code>device</code> <strong class=\"purple\">must</strong> have been destroyed prior to destroying <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDevice-device-00379",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>device</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDevice-device-00380",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>device</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDevice-device-parameter",\r
- "text": " If <code>device</code> is not <code>NULL</code>, <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDevice-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDeviceQueueCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-queueFamilyIndex-00381",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-queueCount-00382",\r
- "text": " <code>queueCount</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>queueCount</code> member of the <code>VkQueueFamilyProperties</code> structure, as returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> in the <code>pQueueFamilyProperties</code>[<code>queueFamilyIndex</code>]"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-pQueuePriorities-00383",\r
- "text": " Each element of <code>pQueuePriorities</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code> inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceQueueGlobalPriorityCreateInfoEXT\">VkDeviceQueueGlobalPriorityCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDeviceQueueCreateFlagBits\">VkDeviceQueueCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-pQueuePriorities-parameter",\r
- "text": " <code>pQueuePriorities</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueCount</code> <code>float</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueCreateInfo-queueCount-arraylength",\r
- "text": " <code>queueCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkDeviceQueueGlobalPriorityCreateInfoEXT": {\r
- "(VK_EXT_global_priority)": [\r
- {\r
- "vuid": "VUID-VkDeviceQueueGlobalPriorityCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueGlobalPriorityCreateInfoEXT-globalPriority-parameter",\r
- "text": " <code>globalPriority</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkQueueGlobalPriorityEXT\">VkQueueGlobalPriorityEXT</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetDeviceQueue": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue-queueFamilyIndex-00384",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be one of the queue family indices specified when <code>device</code> was created, via the <code>VkDeviceQueueCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue-queueIndex-00385",\r
- "text": " <code>queueIndex</code> <strong class=\"purple\">must</strong> be less than the number of queues created for the specified queue family index when <code>device</code> was created, via the <code>queueCount</code> member of the <code>VkDeviceQueueCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue-flags-01841",\r
- "text": " <a href=\"#VkDeviceQueueCreateInfo\">VkDeviceQueueCreateInfo</a>::<code>flags</code> <strong class=\"purple\">must</strong> have been set to zero when <code>device</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue-pQueue-parameter",\r
- "text": " <code>pQueue</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkQueue</code> handle"\r
- }\r
- ]\r
- },\r
- "vkGetDeviceQueue2": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue2-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue2-pQueueInfo-parameter",\r
- "text": " <code>pQueueInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDeviceQueueInfo2</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceQueue2-pQueue-parameter",\r
- "text": " <code>pQueue</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkQueue</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDeviceQueueInfo2": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkDeviceQueueInfo2-queueFamilyIndex-01842",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be one of the queue family indices specified when <code>device</code> was created, via the <code>VkDeviceQueueCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueInfo2-queueIndex-01843",\r
- "text": " <code>queueIndex</code> <strong class=\"purple\">must</strong> be less than the number of queues created for the specified queue family index and <code>VkDeviceQueueCreateFlags</code> member <code>flags</code> equal to this <code>flags</code> value when <code>device</code> was created, via the <code>queueCount</code> member of the <code>VkDeviceQueueCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueInfo2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueInfo2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueInfo2-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDeviceQueueCreateFlagBits\">VkDeviceQueueCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceQueueInfo2-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateCommandPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateCommandPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateCommandPool-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCommandPoolCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateCommandPool-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateCommandPool-pCommandPool-parameter",\r
- "text": " <code>pCommandPool</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkCommandPool</code> handle"\r
- }\r
- ]\r
- },\r
- "VkCommandPoolCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkCommandPoolCreateInfo-queueFamilyIndex-00039",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be the index of a queue family available in the calling command’s <code>device</code> parameter"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandPoolCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandPoolCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandPoolCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandPoolCreateFlagBits\">VkCommandPoolCreateFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "vkTrimCommandPool": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-vkTrimCommandPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkTrimCommandPool-commandPool-parameter",\r
- "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkTrimCommandPool-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkTrimCommandPool-commandPool-parent",\r
- "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkResetCommandPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkResetCommandPool-commandPool-00040",\r
- "text": " All <code>VkCommandBuffer</code> objects allocated from <code>commandPool</code> <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkResetCommandPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetCommandPool-commandPool-parameter",\r
- "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetCommandPool-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandPoolResetFlagBits\">VkCommandPoolResetFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkResetCommandPool-commandPool-parent",\r
- "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyCommandPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyCommandPool-commandPool-00041",\r
- "text": " All <code>VkCommandBuffer</code> objects allocated from <code>commandPool</code> <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyCommandPool-commandPool-00042",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>commandPool</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyCommandPool-commandPool-00043",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>commandPool</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyCommandPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyCommandPool-commandPool-parameter",\r
- "text": " If <code>commandPool</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyCommandPool-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyCommandPool-commandPool-parent",\r
- "text": " If <code>commandPool</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkAllocateCommandBuffers": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkAllocateCommandBuffers-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateCommandBuffers-pAllocateInfo-parameter",\r
- "text": " <code>pAllocateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCommandBufferAllocateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateCommandBuffers-pCommandBuffers-parameter",\r
- "text": " <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pAllocateInfo</code>::commandBufferCount <code>VkCommandBuffer</code> handles"\r
- }\r
- ]\r
- },\r
- "VkCommandBufferAllocateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkCommandBufferAllocateInfo-commandBufferCount-00044",\r
- "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferAllocateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferAllocateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferAllocateInfo-commandPool-parameter",\r
- "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferAllocateInfo-level-parameter",\r
- "text": " <code>level</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCommandBufferLevel\">VkCommandBufferLevel</a> value"\r
- }\r
- ]\r
- },\r
- "vkResetCommandBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkResetCommandBuffer-commandBuffer-00045",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkResetCommandBuffer-commandBuffer-00046",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been allocated from a pool that was created with the <code>VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkResetCommandBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetCommandBuffer-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandBufferResetFlagBits\">VkCommandBufferResetFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "vkFreeCommandBuffers": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkFreeCommandBuffers-pCommandBuffers-00047",\r
- "text": " All elements of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeCommandBuffers-pCommandBuffers-00048",\r
- "text": " <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> <code>VkCommandBuffer</code> handles, each element of which <strong class=\"purple\">must</strong> either be a valid handle or <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeCommandBuffers-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeCommandBuffers-commandPool-parameter",\r
- "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeCommandBuffers-commandBufferCount-arraylength",\r
- "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeCommandBuffers-commandPool-parent",\r
- "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeCommandBuffers-pCommandBuffers-parent",\r
- "text": " Each element of <code>pCommandBuffers</code> that is a valid handle <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>commandPool</code>"\r
- }\r
- ]\r
- },\r
- "vkBeginCommandBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00049",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording or pending state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00050",\r
- "text": " If <code>commandBuffer</code> was allocated from a <a href=\"#VkCommandPool\">VkCommandPool</a> which did not have the <code>VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT</code> flag set, <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, initial state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00051",\r
- "text": " If <code>commandBuffer</code> is a secondary command buffer, the <code>pInheritanceInfo</code> member of <code>pBeginInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBufferInheritanceInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00052",\r
- "text": " If <code>commandBuffer</code> is a secondary command buffer and either the <code>occlusionQueryEnable</code> member of the <code>pInheritanceInfo</code> member of <code>pBeginInfo</code> is <code>VK_FALSE</code>, or the precise occlusion queries feature is not enabled, the <code>queryFlags</code> member of the <code>pInheritanceInfo</code> member <code>pBeginInfo</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_CONTROL_PRECISE_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBeginCommandBuffer-pBeginInfo-parameter",\r
- "text": " <code>pBeginInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCommandBufferBeginInfo</code> structure"\r
- }\r
- ]\r
- },\r
- "VkCommandBufferBeginInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkCommandBufferBeginInfo-flags-00053",\r
- "text": " If <code>flags</code> contains <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>, the <code>renderPass</code> member of <code>pInheritanceInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferBeginInfo-flags-00054",\r
- "text": " If <code>flags</code> contains <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>, the <code>subpass</code> member of <code>pInheritanceInfo</code> <strong class=\"purple\">must</strong> be a valid subpass index within the <code>renderPass</code> member of <code>pInheritanceInfo</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferBeginInfo-flags-00055",\r
- "text": " If <code>flags</code> contains <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>, the <code>framebuffer</code> member of <code>pInheritanceInfo</code> <strong class=\"purple\">must</strong> be either <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, or a valid <code>VkFramebuffer</code> that is compatible with the <code>renderPass</code> member of <code>pInheritanceInfo</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferBeginInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferBeginInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupCommandBufferBeginInfo\">VkDeviceGroupCommandBufferBeginInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferBeginInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandBufferUsageFlagBits\">VkCommandBufferUsageFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkCommandBufferInheritanceInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkCommandBufferInheritanceInfo-occlusionQueryEnable-00056",\r
- "text": " If the &amp;lt;&amp;lt;features-features-inheritedQueries,inherited queries&amp;gt;&amp;gt; feature is not enabled, <code>occlusionQueryEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferInheritanceInfo-queryFlags-00057",\r
- "text": " If the &amp;lt;&amp;lt;features-features-inheritedQueries,inherited queries&amp;gt;&amp;gt; feature is enabled, <code>queryFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryControlFlagBits\">VkQueryControlFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferInheritanceInfo-pipelineStatistics-00058",\r
- "text": " If the &amp;lt;&amp;lt;features-features-pipelineStatisticsQuery,pipeline statistics queries&amp;gt;&amp;gt; feature is not enabled, <code>pipelineStatistics</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferInheritanceInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferInheritanceInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCommandBufferInheritanceInfo-commonparent",\r
- "text": " Both of <code>framebuffer</code>, and <code>renderPass</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkEndCommandBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00059",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00060",\r
- "text": " If <code>commandBuffer</code> is a primary command buffer, there <strong class=\"purple\">must</strong> not be an active render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00061",\r
- "text": " All queries made &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt; during the recording of <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been made inactive"\r
- },\r
- {\r
- "vuid": "VUID-vkEndCommandBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- }\r
- ],\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkEndCommandBuffer-commandBuffer-01815",\r
- "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> not be an outstanding <a href=\"#vkCmdBeginDebugUtilsLabelEXT\">vkCmdBeginDebugUtilsLabelEXT</a> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <a href=\"#vkCmdEndDebugUtilsLabelEXT\">vkCmdEndDebugUtilsLabelEXT</a>."\r
- }\r
- ],\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00062",\r
- "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> not be an outstanding <a href=\"#vkCmdDebugMarkerBeginEXT\">vkCmdDebugMarkerBeginEXT</a> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <a href=\"#vkCmdDebugMarkerEndEXT\">vkCmdDebugMarkerEndEXT</a>."\r
- }\r
- ]\r
- },\r
- "vkQueueSubmit": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkQueueSubmit-fence-00063",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be unsignaled"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-fence-00064",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00065",\r
- "text": " Any calls to <a href=\"#vkCmdSetEvent\">vkCmdSetEvent</a>, <a href=\"#vkCmdResetEvent\">vkCmdResetEvent</a> or <a href=\"#vkCmdWaitEvents\">vkCmdWaitEvents</a> that have been recorded into any of the command buffer elements of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code>, <strong class=\"purple\">must</strong> not reference any <a href=\"#VkEvent\">VkEvent</a> that is referenced by any of those commands in a command buffer that has been submitted to another queue and is still in the <em>pending state</em>."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pWaitDstStageMask-00066",\r
- "text": " Any stage flag included in any element of the <code>pWaitDstStageMask</code> member of any element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be a pipeline stage supported by one of the capabilities of <code>queue</code>, as specified in the &amp;lt;&amp;lt;synchronization-pipeline-stages-supported, table of supported pipeline stages&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pSignalSemaphores-00067",\r
- "text": " Each element of the <code>pSignalSemaphores</code> member of any element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be unsignaled when the semaphore signal operation it defines is executed on the device"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pWaitSemaphores-00068",\r
- "text": " When a semaphore unsignal operation defined by any element of the <code>pWaitSemaphores</code> member of any element of <code>pSubmits</code> executes on <code>queue</code>, no other queue <strong class=\"purple\">must</strong> be waiting on the same semaphore."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pWaitSemaphores-00069",\r
- "text": " All elements of the <code>pWaitSemaphores</code> member of all elements of <code>pSubmits</code> <strong class=\"purple\">must</strong> be semaphores that are signaled, or have &amp;lt;&amp;lt;synchronization-semaphores-signaling, semaphore signal operations&amp;gt;&amp;gt; previously submitted for execution."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00070",\r
- "text": " Each element of the <code>pCommandBuffers</code> member of each element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending or executable state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00071",\r
- "text": " If any element of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code>, it <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00072",\r
- "text": " Any &amp;lt;&amp;lt;commandbuffers-secondary, secondary command buffers recorded&amp;gt;&amp;gt; into any element of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending or executable state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00073",\r
- "text": " If any &amp;lt;&amp;lt;commandbuffers-secondary, secondary command buffers recorded&amp;gt;&amp;gt; into any element of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code>, it <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00074",\r
- "text": " Each element of the <code>pCommandBuffers</code> member of each element of <code>pSubmits</code> <strong class=\"purple\">must</strong> have been allocated from a <code>VkCommandPool</code> that was created for the same queue family <code>queue</code> belongs to."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-queue-parameter",\r
- "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-pSubmits-parameter",\r
- "text": " If <code>submitCount</code> is not <code>0</code>, <code>pSubmits</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>submitCount</code> valid <code>VkSubmitInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-fence-parameter",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueSubmit-commonparent",\r
- "text": " Both of <code>fence</code>, and <code>queue</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkSubmitInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pCommandBuffers-00075",\r
- "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not have been allocated with <code>VK_COMMAND_BUFFER_LEVEL_SECONDARY</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-00076",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-00077",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-00078",\r
- "text": " Each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SUBMIT_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkD3D12FenceSubmitInfoKHR\">VkD3D12FenceSubmitInfoKHR</a>, <a href=\"#VkDeviceGroupSubmitInfo\">VkDeviceGroupSubmitInfo</a>, <a href=\"#VkProtectedSubmitInfo\">VkProtectedSubmitInfo</a>, <a href=\"#VkWin32KeyedMutexAcquireReleaseInfoKHR\">VkWin32KeyedMutexAcquireReleaseInfoKHR</a>, or <a href=\"#VkWin32KeyedMutexAcquireReleaseInfoNV\">VkWin32KeyedMutexAcquireReleaseInfoNV</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pWaitSemaphores-parameter",\r
- "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid <code>VkSemaphore</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-parameter",\r
- "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid combinations of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-requiredbitmask",\r
- "text": " Each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pCommandBuffers-parameter",\r
- "text": " If <code>commandBufferCount</code> is not <code>0</code>, <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> valid <code>VkCommandBuffer</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-pSignalSemaphores-parameter",\r
- "text": " If <code>signalSemaphoreCount</code> is not <code>0</code>, <code>pSignalSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreCount</code> valid <code>VkSemaphore</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkSubmitInfo-commonparent",\r
- "text": " Each of the elements of <code>pCommandBuffers</code>, the elements of <code>pSignalSemaphores</code>, and the elements of <code>pWaitSemaphores</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkD3D12FenceSubmitInfoKHR": {\r
- "(VK_KHR_external_semaphore_win32)": [\r
- {\r
- "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-waitSemaphoreValuesCount-00079",\r
- "text": " <code>waitSemaphoreValuesCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkSubmitInfo</code>::<code>waitSemaphoreCount</code>, where <code>VkSubmitInfo</code> is in the <code>pNext</code> chain of this <code>VkD3D12FenceSubmitInfoKHR</code> structure."\r
- },\r
- {\r
- "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-signalSemaphoreValuesCount-00080",\r
- "text": " <code>signalSemaphoreValuesCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkSubmitInfo</code>::<code>signalSemaphoreCount</code>, where <code>VkSubmitInfo</code> is in the <code>pNext</code> chain of this <code>VkD3D12FenceSubmitInfoKHR</code> structure."\r
- },\r
- {\r
- "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-pWaitSemaphoreValues-parameter",\r
- "text": " If <code>waitSemaphoreValuesCount</code> is not <code>0</code>, and <code>pWaitSemaphoreValues</code> is not <code>NULL</code>, <code>pWaitSemaphoreValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreValuesCount</code> <code>uint64_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-pSignalSemaphoreValues-parameter",\r
- "text": " If <code>signalSemaphoreValuesCount</code> is not <code>0</code>, and <code>pSignalSemaphoreValues</code> is not <code>NULL</code>, <code>pSignalSemaphoreValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreValuesCount</code> <code>uint64_t</code> values"\r
- }\r
- ]\r
- },\r
- "VkWin32KeyedMutexAcquireReleaseInfoKHR": {\r
- "(VK_KHR_win32_keyed_mutex)": [\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireSyncs-00081",\r
- "text": " Each member of <code>pAcquireSyncs</code> and <code>pReleaseSyncs</code> <strong class=\"purple\">must</strong> be a device memory object imported by setting <a href=\"#VkImportMemoryWin32HandleInfoKHR\">VkImportMemoryWin32HandleInfoKHR</a>::<code>handleType</code> to <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireSyncs-parameter",\r
- "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> valid <code>VkDeviceMemory</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireKeys-parameter",\r
- "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint64_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireTimeouts-parameter",\r
- "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireTimeouts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pReleaseSyncs-parameter",\r
- "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> valid <code>VkDeviceMemory</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pReleaseKeys-parameter",\r
- "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> <code>uint64_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-commonparent",\r
- "text": " Both of the elements of <code>pAcquireSyncs</code>, and the elements of <code>pReleaseSyncs</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkWin32KeyedMutexAcquireReleaseInfoNV": {\r
- "(VK_NV_win32_keyed_mutex)": [\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pAcquireSyncs-parameter",\r
- "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> valid <code>VkDeviceMemory</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pAcquireKeys-parameter",\r
- "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint64_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pAcquireTimeoutMilliseconds-parameter",\r
- "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireTimeoutMilliseconds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pReleaseSyncs-parameter",\r
- "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> valid <code>VkDeviceMemory</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pReleaseKeys-parameter",\r
- "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> <code>uint64_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-commonparent",\r
- "text": " Both of the elements of <code>pAcquireSyncs</code>, and the elements of <code>pReleaseSyncs</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkProtectedSubmitInfo": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkProtectedSubmitInfo-protectedSubmit-01816",\r
- "text": " If the protected memory feature is not enabled, <code>protectedSubmit</code> <strong class=\"purple\">must</strong> not be <code>VK_TRUE</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkProtectedSubmitInfo-protectedSubmit-01817",\r
- "text": " If <code>protectedSubmit</code> is <code>VK_TRUE</code>, then each element of the <code>pCommandBuffers</code> array <strong class=\"purple\">must</strong> be a protected command buffer."\r
- },\r
- {\r
- "vuid": "VUID-VkProtectedSubmitInfo-protectedSubmit-01818",\r
- "text": " If <code>protectedSubmit</code> is <code>VK_FALSE</code>, then each element of the <code>pCommandBuffers</code> array <strong class=\"purple\">must</strong> be an unprotected command buffer."\r
- },\r
- {\r
- "vuid": "VUID-VkProtectedSubmitInfo-pNext-01819",\r
- "text": " If the <code>VkSubmitInfo</code>::<code>pNext</code> chain does not include a <code>VkProtectedSubmitInfo</code> structure, then each element of the command buffer of the <code>pCommandBuffers</code> array <strong class=\"purple\">must</strong> be an unprotected command buffer."\r
- },\r
- {\r
- "vuid": "VUID-VkProtectedSubmitInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO</code>"\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupSubmitInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-waitSemaphoreCount-00082",\r
- "text": " <code>waitSemaphoreCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkSubmitInfo\">VkSubmitInfo</a>::<code>waitSemaphoreCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-commandBufferCount-00083",\r
- "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkSubmitInfo\">VkSubmitInfo</a>::<code>commandBufferCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-signalSemaphoreCount-00084",\r
- "text": " <code>signalSemaphoreCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkSubmitInfo\">VkSubmitInfo</a>::<code>signalSemaphoreCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-pWaitSemaphoreDeviceIndices-00085",\r
- "text": " All elements of <code>pWaitSemaphoreDeviceIndices</code> and <code>pSignalSemaphoreDeviceIndices</code> <strong class=\"purple\">must</strong> be valid device indices"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-pCommandBufferDeviceMasks-00086",\r
- "text": " All elements of <code>pCommandBufferDeviceMasks</code> <strong class=\"purple\">must</strong> be valid device masks"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-pWaitSemaphoreDeviceIndices-parameter",\r
- "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphoreDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-pCommandBufferDeviceMasks-parameter",\r
- "text": " If <code>commandBufferCount</code> is not <code>0</code>, <code>pCommandBufferDeviceMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSubmitInfo-pSignalSemaphoreDeviceIndices-parameter",\r
- "text": " If <code>signalSemaphoreCount</code> is not <code>0</code>, <code>pSignalSemaphoreDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreCount</code> <code>uint32_t</code> values"\r
- }\r
- ]\r
- },\r
- "vkCmdExecuteCommands": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00087",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been allocated with a <code>level</code> of <code>VK_COMMAND_BUFFER_LEVEL_PRIMARY</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00088",\r
- "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been allocated with a <code>level</code> of <code>VK_COMMAND_BUFFER_LEVEL_SECONDARY</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00089",\r
- "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending or executable state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00090",\r
- "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, and it was recorded into any other primary command buffer, that primary command buffer <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00091",\r
- "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, it <strong class=\"purple\">must</strong> not be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00092",\r
- "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, it <strong class=\"purple\">must</strong> not have already been recorded to <code>commandBuffer</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00093",\r
- "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, it <strong class=\"purple\">must</strong> not appear more than once in <code>pCommandBuffers</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00094",\r
- "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been allocated from a <code>VkCommandPool</code> that was created for the same queue family as the <code>VkCommandPool</code> from which <code>commandBuffer</code> was allocated"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-contents-00095",\r
- "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, that render pass instance <strong class=\"purple\">must</strong> have been begun with the <code>contents</code> parameter of <code>vkCmdBeginRenderPass</code> set to <code>VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00096",\r
- "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with the <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00097",\r
- "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>subpass</code> set to the index of the subpass which the given command buffer will be executed in"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pInheritanceInfo-00098",\r
- "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, the render passes specified in the pname::pBeginInfo::<code>pInheritanceInfo</code>::<code>renderPass</code> members of the <a href=\"#vkBeginCommandBuffer\">vkBeginCommandBuffer</a> commands used to begin recording each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the current render pass."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00099",\r
- "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, and any element of <code>pCommandBuffers</code> was recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>framebuffer</code> not equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, that <code>VkFramebuffer</code> <strong class=\"purple\">must</strong> match the <code>VkFramebuffer</code> used in the current render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00100",\r
- "text": " If <code>vkCmdExecuteCommands</code> is not being called within a render pass instance, each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not have been recorded with the <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00101",\r
- "text": " If the &amp;lt;&amp;lt;features-features-inheritedQueries,inherited queries&amp;gt;&amp;gt; feature is not enabled, <code>commandBuffer</code> <strong class=\"purple\">must</strong> not have any queries &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00102",\r
- "text": " If <code>commandBuffer</code> has a <code>VK_QUERY_TYPE_OCCLUSION</code> query &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt;, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>occlusionQueryEnable</code> set to <code>VK_TRUE</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00103",\r
- "text": " If <code>commandBuffer</code> has a <code>VK_QUERY_TYPE_OCCLUSION</code> query &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt;, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>queryFlags</code> having all bits set that are set for the query"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00104",\r
- "text": " If <code>commandBuffer</code> has a <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code> query &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt;, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>pipelineStatistics</code> having all bits set that are set in the <code>VkQueryPool</code> the query uses"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00105",\r
- "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not begin any query types that are &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt; in <code>commandBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-parameter",\r
- "text": " <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> valid <code>VkCommandBuffer</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-bufferlevel",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBufferCount-arraylength",\r
- "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and the elements of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-01820",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a protected command buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-01821",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be an unprotected command buffer."\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupCommandBufferBeginInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupCommandBufferBeginInfo-deviceMask-00106",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask value"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupCommandBufferBeginInfo-deviceMask-00107",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupCommandBufferBeginInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdSetDeviceMask": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00108",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00109",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00110",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not include any set bits that were not in the <a href=\"#VkDeviceGroupCommandBufferBeginInfo\">VkDeviceGroupCommandBufferBeginInfo</a>::<code>deviceMask</code> value when the command buffer began recording."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00111",\r
- "text": " If <code>vkCmdSetDeviceMask</code> is called inside a render pass instance, <code>deviceMask</code> <strong class=\"purple\">must</strong> not include any set bits that were not in the <a href=\"#VkDeviceGroupRenderPassBeginInfo\">VkDeviceGroupRenderPassBeginInfo</a>::<code>deviceMask</code> value when the render pass instance began recording."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDeviceMask-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDeviceMask-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDeviceMask-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, compute, or transfer operations"\r
- }\r
- ]\r
- },\r
- "vkCreateFence": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateFence-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateFence-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFenceCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateFence-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateFence-pFence-parameter",\r
- "text": " <code>pFence</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFence</code> handle"\r
- }\r
- ]\r
- },\r
- "VkFenceCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkFenceCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FENCE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a> or <a href=\"#VkExportFenceWin32HandleInfoKHR\">VkExportFenceWin32HandleInfoKHR</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkFenceCreateFlagBits\">VkFenceCreateFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkExportFenceCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_fence)": [\r
- {\r
- "vuid": "VUID-VkExportFenceCreateInfo-handleTypes-01446",\r
- "text": " The bits in <code>handleTypes</code> must be supported and compatible, as reported by <a href=\"#VkExternalFenceProperties\">VkExternalFenceProperties</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkExportFenceCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportFenceCreateInfo-handleTypes-parameter",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkExportFenceWin32HandleInfoKHR": {\r
- "(VK_KHR_external_fence_win32)": [\r
- {\r
- "vuid": "VUID-VkExportFenceWin32HandleInfoKHR-handleTypes-01447",\r
- "text": " If <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a>::<code>handleTypes</code> does not include <code>VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, VkExportFenceWin32HandleInfoKHR <strong class=\"purple\">must</strong> not be in the <code>pNext</code> chain of <a href=\"#VkFenceCreateInfo\">VkFenceCreateInfo</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkExportFenceWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportFenceWin32HandleInfoKHR-pAttributes-parameter",\r
- "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"\r
- }\r
- ]\r
- },\r
- "vkGetFenceWin32HandleKHR": {\r
- "(VK_KHR_external_fence_win32)": [\r
- {\r
- "vuid": "VUID-vkGetFenceWin32HandleKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetFenceWin32HandleKHR-pGetWin32HandleInfo-parameter",\r
- "text": " <code>pGetWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFenceGetWin32HandleInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetFenceWin32HandleKHR-pHandle-parameter",\r
- "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"\r
- }\r
- ]\r
- },\r
- "VkFenceGetWin32HandleInfoKHR": {\r
- "(VK_KHR_external_fence_win32)": [\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01448",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a>::<code>handleTypes</code> when the <code>fence</code>’s current payload was created."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01449",\r
- "text": " If <code>handleType</code> is defined as an NT handle, <a href=\"#vkGetFenceWin32HandleKHR\">vkGetFenceWin32HandleKHR</a> <strong class=\"purple\">must</strong> be called no more than once for each valid unique combination of <code>fence</code> and <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-fence-01450",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in &amp;lt;&amp;lt;synchronization-fences-importing,Importing Fence Payloads&amp;gt;&amp;gt; unless that imported payload’s handle type was included in <a href=\"#VkExternalFenceProperties\">VkExternalFenceProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01451",\r
- "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>fence</code> <strong class=\"purple\">must</strong> be signaled, or have an associated &amp;lt;&amp;lt;synchronization-fences-signaling,fence signal operation&amp;gt;&amp;gt; pending execution."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01452",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-fence-parameter",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetFenceFdKHR": {\r
- "(VK_KHR_external_fence_fd)": [\r
- {\r
- "vuid": "VUID-vkGetFenceFdKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetFenceFdKHR-pGetFdInfo-parameter",\r
- "text": " <code>pGetFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFenceGetFdInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetFenceFdKHR-pFd-parameter",\r
- "text": " <code>pFd</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>int</code> value"\r
- }\r
- ]\r
- },\r
- "VkFenceGetFdInfoKHR": {\r
- "(VK_KHR_external_fence_fd)": [\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-01453",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a>::<code>handleTypes</code> when <code>fence</code>’s current payload was created."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-01454",\r
- "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>fence</code> <strong class=\"purple\">must</strong> be signaled, or have an associated &amp;lt;&amp;lt;synchronization-fences-signaling,fence signal operation&amp;gt;&amp;gt; pending execution."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-fence-01455",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in &amp;lt;&amp;lt;synchronization-fences-importing,Importing Fence Payloads&amp;gt;&amp;gt; unless that imported payload’s handle type was included in <a href=\"#VkExternalFenceProperties\">VkExternalFenceProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-01456",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-fence-parameter",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroyFence": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyFence-fence-01120",\r
- "text": " All &amp;lt;&amp;lt;devsandqueues-submission, queue submission&amp;gt;&amp;gt; commands that refer to <code>fence</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFence-fence-01121",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>fence</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFence-fence-01122",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>fence</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFence-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFence-fence-parameter",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFence-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFence-fence-parent",\r
- "text": " If <code>fence</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetFenceStatus": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetFenceStatus-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetFenceStatus-fence-parameter",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetFenceStatus-fence-parent",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkResetFences": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkResetFences-pFences-01123",\r
- "text": " Each element of <code>pFences</code> <strong class=\"purple\">must</strong> not be currently associated with any queue command that has not yet completed execution on that queue"\r
- },\r
- {\r
- "vuid": "VUID-vkResetFences-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetFences-pFences-parameter",\r
- "text": " <code>pFences</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>fenceCount</code> valid <code>VkFence</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkResetFences-fenceCount-arraylength",\r
- "text": " <code>fenceCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkResetFences-pFences-parent",\r
- "text": " Each element of <code>pFences</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkWaitForFences": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkWaitForFences-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkWaitForFences-pFences-parameter",\r
- "text": " <code>pFences</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>fenceCount</code> valid <code>VkFence</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkWaitForFences-fenceCount-arraylength",\r
- "text": " <code>fenceCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkWaitForFences-pFences-parent",\r
- "text": " Each element of <code>pFences</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkRegisterDeviceEventEXT": {\r
- "(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-vkRegisterDeviceEventEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterDeviceEventEXT-pDeviceEventInfo-parameter",\r
- "text": " <code>pDeviceEventInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDeviceEventInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterDeviceEventEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterDeviceEventEXT-pFence-parameter",\r
- "text": " <code>pFence</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFence</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDeviceEventInfoEXT": {\r
- "(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-VkDeviceEventInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceEventInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceEventInfoEXT-deviceEvent-parameter",\r
- "text": " <code>deviceEvent</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDeviceEventTypeEXT\">VkDeviceEventTypeEXT</a> value"\r
- }\r
- ]\r
- },\r
- "vkRegisterDisplayEventEXT": {\r
- "(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-vkRegisterDisplayEventEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterDisplayEventEXT-display-parameter",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterDisplayEventEXT-pDisplayEventInfo-parameter",\r
- "text": " <code>pDisplayEventInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplayEventInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterDisplayEventEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterDisplayEventEXT-pFence-parameter",\r
- "text": " <code>pFence</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFence</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDisplayEventInfoEXT": {\r
- "(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-VkDisplayEventInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayEventInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayEventInfoEXT-displayEvent-parameter",\r
- "text": " <code>displayEvent</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDisplayEventTypeEXT\">VkDisplayEventTypeEXT</a> value"\r
- }\r
- ]\r
- },\r
- "vkImportFenceWin32HandleKHR": {\r
- "(VK_KHR_external_fence_win32)": [\r
- {\r
- "vuid": "VUID-vkImportFenceWin32HandleKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkImportFenceWin32HandleKHR-pImportFenceWin32HandleInfo-parameter",\r
- "text": " <code>pImportFenceWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportFenceWin32HandleInfoKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImportFenceWin32HandleInfoKHR": {\r
- "(VK_KHR_external_fence_win32)": [\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01457",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the &amp;lt;&amp;lt;synchronization-fence-handletypes-win32, Handle Types Supported by VkImportFenceWin32HandleInfoKHR&amp;gt;&amp;gt; table."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01459",\r
- "text": " If <code>handleType</code> is not <code>VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>name</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01460",\r
- "text": " If <code>handleType</code> is not <code>0</code> and <code>handle</code> is <code>NULL</code>, <code>name</code> <strong class=\"purple\">must</strong> name a valid synchronization primitive of the type specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01461",\r
- "text": " If <code>handleType</code> is not <code>0</code> and <code>name</code> is <code>NULL</code>, <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handle-01462",\r
- "text": " If <code>handle</code> is not <code>NULL</code>, <code>name</code> must be <code>NULL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handle-01539",\r
- "text": " If <code>handle</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-fence-handle-types-compatibility\">external fence handle types compatibility</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-name-01540",\r
- "text": " If <code>name</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-fence-handle-types-compatibility\">external fence handle types compatibility</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-fence-parameter",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkFenceImportFlagBits\">VkFenceImportFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-parameter",\r
- "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkImportFenceFdKHR": {\r
- "(VK_KHR_external_fence_fd)": [\r
- {\r
- "vuid": "VUID-vkImportFenceFdKHR-fence-01463",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> not be associated with any queue command that has not yet completed execution on that queue"\r
- },\r
- {\r
- "vuid": "VUID-vkImportFenceFdKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkImportFenceFdKHR-pImportFenceFdInfo-parameter",\r
- "text": " <code>pImportFenceFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportFenceFdInfoKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImportFenceFdInfoKHR": {\r
- "(VK_KHR_external_fence_fd)": [\r
- {\r
- "vuid": "VUID-VkImportFenceFdInfoKHR-handleType-01464",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the &amp;lt;&amp;lt;synchronization-fence-handletypes-fd, Handle Types Supported by VkImportFenceFdInfoKHR&amp;gt;&amp;gt; table."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceFdInfoKHR-fd-01541",\r
- "text": " <code>fd</code> <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in &amp;lt;&amp;lt;external-fence-handle-types-compatibility,external fence handle types compatibility&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceFdInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceFdInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceFdInfoKHR-fence-parameter",\r
- "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceFdInfoKHR-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkFenceImportFlagBits\">VkFenceImportFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImportFenceFdInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkCreateSemaphore": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateSemaphore-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSemaphore-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSemaphoreCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSemaphore-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSemaphore-pSemaphore-parameter",\r
- "text": " <code>pSemaphore</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSemaphore</code> handle"\r
- }\r
- ]\r
- },\r
- "VkSemaphoreCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSemaphoreCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a> or <a href=\"#VkExportSemaphoreWin32HandleInfoKHR\">VkExportSemaphoreWin32HandleInfoKHR</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkExportSemaphoreCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_semaphore)": [\r
- {\r
- "vuid": "VUID-VkExportSemaphoreCreateInfo-handleTypes-01124",\r
- "text": " The bits in <code>handleTypes</code> <strong class=\"purple\">must</strong> be supported and compatible, as reported by <a href=\"#VkExternalSemaphoreProperties\">VkExternalSemaphoreProperties</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkExportSemaphoreCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportSemaphoreCreateInfo-handleTypes-parameter",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkExportSemaphoreWin32HandleInfoKHR": {\r
- "(VK_KHR_external_semaphore_win32)": [\r
- {\r
- "vuid": "VUID-VkExportSemaphoreWin32HandleInfoKHR-handleTypes-01125",\r
- "text": " If <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a>::<code>handleTypes</code> does not include <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code> or <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT</code>, <code>VkExportSemaphoreWin32HandleInfoKHR</code> <strong class=\"purple\">must</strong> not be in the <code>pNext</code> chain of <a href=\"#VkSemaphoreCreateInfo\">VkSemaphoreCreateInfo</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkExportSemaphoreWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportSemaphoreWin32HandleInfoKHR-pAttributes-parameter",\r
- "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"\r
- }\r
- ]\r
- },\r
- "vkGetSemaphoreWin32HandleKHR": {\r
- "(VK_KHR_external_semaphore_win32)": [\r
- {\r
- "vuid": "VUID-vkGetSemaphoreWin32HandleKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSemaphoreWin32HandleKHR-pGetWin32HandleInfo-parameter",\r
- "text": " <code>pGetWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSemaphoreGetWin32HandleInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSemaphoreWin32HandleKHR-pHandle-parameter",\r
- "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"\r
- }\r
- ]\r
- },\r
- "VkSemaphoreGetWin32HandleInfoKHR": {\r
- "(VK_KHR_external_semaphore_win32)": [\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01126",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a>::<code>handleTypes</code> when the <code>semaphore</code>’s current payload was created."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01127",\r
- "text": " If <code>handleType</code> is defined as an NT handle, <a href=\"#vkGetSemaphoreWin32HandleKHR\">vkGetSemaphoreWin32HandleKHR</a> <strong class=\"purple\">must</strong> be called no more than once for each valid unique combination of <code>semaphore</code> and <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-semaphore-01128",\r
- "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in &amp;lt;&amp;lt;synchronization-semaphores-importing,Importing Semaphore Payloads&amp;gt;&amp;gt; unless that imported payload’s handle type was included in <a href=\"#VkExternalSemaphoreProperties\">VkExternalSemaphoreProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01129",\r
- "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, as defined below in &amp;lt;&amp;lt;synchronization-semaphores-importing,Importing Semaphore Payloads&amp;gt;&amp;gt;, there <strong class=\"purple\">must</strong> be no queue waiting on <code>semaphore</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01130",\r
- "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>semaphore</code> <strong class=\"purple\">must</strong> be signaled, or have an associated &amp;lt;&amp;lt;synchronization-semaphores-signaling,semaphore signal operation&amp;gt;&amp;gt; pending execution."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01131",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-semaphore-parameter",\r
- "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetSemaphoreFdKHR": {\r
- "(VK_KHR_external_semaphore_fd)": [\r
- {\r
- "vuid": "VUID-vkGetSemaphoreFdKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSemaphoreFdKHR-pGetFdInfo-parameter",\r
- "text": " <code>pGetFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSemaphoreGetFdInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSemaphoreFdKHR-pFd-parameter",\r
- "text": " <code>pFd</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>int</code> value"\r
- }\r
- ]\r
- },\r
- "VkSemaphoreGetFdInfoKHR": {\r
- "(VK_KHR_external_semaphore_fd)": [\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01132",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a>::<code>handleTypes</code> when <code>semaphore</code>’s current payload was created."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-semaphore-01133",\r
- "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in &amp;lt;&amp;lt;synchronization-semaphores-importing,Importing Semaphore Payloads&amp;gt;&amp;gt; unless that imported payload’s handle type was included in <a href=\"#VkExternalSemaphoreProperties\">VkExternalSemaphoreProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01134",\r
- "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, as defined below in &amp;lt;&amp;lt;synchronization-semaphores-importing,Importing Semaphore Payloads&amp;gt;&amp;gt;, there <strong class=\"purple\">must</strong> be no queue waiting on <code>semaphore</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01135",\r
- "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>semaphore</code> <strong class=\"purple\">must</strong> be signaled, or have an associated &amp;lt;&amp;lt;synchronization-semaphores-signaling,semaphore signal operation&amp;gt;&amp;gt; pending execution."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01136",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-semaphore-parameter",\r
- "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroySemaphore": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroySemaphore-semaphore-01137",\r
- "text": " All submitted batches that refer to <code>semaphore</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySemaphore-semaphore-01138",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>semaphore</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySemaphore-semaphore-01139",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>semaphore</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySemaphore-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySemaphore-semaphore-parameter",\r
- "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySemaphore-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySemaphore-semaphore-parent",\r
- "text": " If <code>semaphore</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkImportSemaphoreWin32HandleKHR": {\r
- "(VK_KHR_external_semaphore_win32)": [\r
- {\r
- "vuid": "VUID-vkImportSemaphoreWin32HandleKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkImportSemaphoreWin32HandleKHR-pImportSemaphoreWin32HandleInfo-parameter",\r
- "text": " <code>pImportSemaphoreWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportSemaphoreWin32HandleInfoKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImportSemaphoreWin32HandleInfoKHR": {\r
- "(VK_KHR_external_semaphore_win32)": [\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01140",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the &amp;lt;&amp;lt;synchronization-semaphore-handletypes-win32,Handle Types Supported by VkImportSemaphoreWin32HandleInfoKHR&amp;gt;&amp;gt; table."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01466",\r
- "text": " If <code>handleType</code> is not <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code> or <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT</code>, <code>name</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01467",\r
- "text": " If <code>handleType</code> is not <code>0</code> and <code>handle</code> is <code>NULL</code>, <code>name</code> <strong class=\"purple\">must</strong> name a valid synchronization primitive of the type specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01468",\r
- "text": " If <code>handleType</code> is not <code>0</code> and <code>name</code> is <code>NULL</code>, <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handle-01469",\r
- "text": " If <code>handle</code> is not <code>NULL</code>, <code>name</code> must be <code>NULL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handle-01542",\r
- "text": " If <code>handle</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-semaphore-handle-types-compatibility\">external semaphore handle types compatibility</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-name-01543",\r
- "text": " If <code>name</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-semaphore-handle-types-compatibility\">external semaphore handle types compatibility</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-semaphore-parameter",\r
- "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSemaphoreImportFlagBits\">VkSemaphoreImportFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-parameter",\r
- "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkImportSemaphoreFdKHR": {\r
- "(VK_KHR_external_semaphore_fd)": [\r
- {\r
- "vuid": "VUID-vkImportSemaphoreFdKHR-semaphore-01142",\r
- "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> not be associated with any queue command that has not yet completed execution on that queue"\r
- },\r
- {\r
- "vuid": "VUID-vkImportSemaphoreFdKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkImportSemaphoreFdKHR-pImportSemaphoreFdInfo-parameter",\r
- "text": " <code>pImportSemaphoreFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportSemaphoreFdInfoKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImportSemaphoreFdInfoKHR": {\r
- "(VK_KHR_external_semaphore_fd)": [\r
- {\r
- "vuid": "VUID-VkImportSemaphoreFdInfoKHR-handleType-01143",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the &amp;lt;&amp;lt;synchronization-semaphore-handletypes-fd,Handle Types Supported by VkImportSemaphoreFdInfoKHR&amp;gt;&amp;gt; table."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreFdInfoKHR-fd-01544",\r
- "text": " <code>fd</code> <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in &amp;lt;&amp;lt;external-semaphore-handle-types-compatibility,external semaphore handle types compatibility&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreFdInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreFdInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreFdInfoKHR-semaphore-parameter",\r
- "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreFdInfoKHR-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSemaphoreImportFlagBits\">VkSemaphoreImportFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImportSemaphoreFdInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkCreateEvent": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateEvent-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateEvent-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkEventCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateEvent-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateEvent-pEvent-parameter",\r
- "text": " <code>pEvent</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkEvent</code> handle"\r
- }\r
- ]\r
- },\r
- "VkEventCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkEventCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EVENT_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkEventCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkEventCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyEvent": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyEvent-event-01145",\r
- "text": " All submitted commands that refer to <code>event</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyEvent-event-01146",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>event</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyEvent-event-01147",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>event</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyEvent-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyEvent-event-parameter",\r
- "text": " If <code>event</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyEvent-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyEvent-event-parent",\r
- "text": " If <code>event</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetEventStatus": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetEventStatus-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetEventStatus-event-parameter",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetEventStatus-event-parent",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkSetEvent": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkSetEvent-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkSetEvent-event-parameter",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkSetEvent-event-parent",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkResetEvent": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkResetEvent-event-01148",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> not be waited on by a <code>vkCmdWaitEvents</code> command that is currently executing"\r
- },\r
- {\r
- "vuid": "VUID-vkResetEvent-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetEvent-event-parameter",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetEvent-event-parent",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdSetEvent": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-stageMask-01149",\r
- "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-stageMask-01150",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-stageMask-01151",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-event-parameter",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-stageMask-parameter",\r
- "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-stageMask-requiredbitmask",\r
- "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkCmdSetEvent-commandBuffer-01152",\r
- "text": " <code>commandBuffer</code>’s current device mask <strong class=\"purple\">must</strong> include exactly one physical device."\r
- }\r
- ]\r
- },\r
- "vkCmdResetEvent": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-stageMask-01153",\r
- "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-stageMask-01154",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-stageMask-01155",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-event-01156",\r
- "text": " When this command executes, <code>event</code> <strong class=\"purple\">must</strong> not be waited on by a <code>vkCmdWaitEvents</code> command that is currently executing"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-event-parameter",\r
- "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-stageMask-parameter",\r
- "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-stageMask-requiredbitmask",\r
- "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkCmdResetEvent-commandBuffer-01157",\r
- "text": " <code>commandBuffer</code>’s current device mask <strong class=\"purple\">must</strong> include exactly one physical device."\r
- }\r
- ]\r
- },\r
- "vkCmdWaitEvents": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01158",\r
- "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be the bitwise OR of the <code>stageMask</code> parameter used in previous calls to <code>vkCmdSetEvent</code> with any of the members of <code>pEvents</code> and <code>VK_PIPELINE_STAGE_HOST_BIT</code> if any of the members of <code>pEvents</code> was set using <code>vkSetEvent</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01159",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-dstStageMask-01160",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01161",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-dstStageMask-01162",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-pEvents-01163",\r
- "text": " If <code>pEvents</code> includes one or more events that will be signaled by <code>vkSetEvent</code> after <code>commandBuffer</code> has been submitted to a queue, then <code>vkCmdWaitEvents</code> <strong class=\"purple\">must</strong> not be called inside a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01164",\r
- "text": " Any pipeline stage included in <code>srcStageMask</code> or <code>dstStageMask</code> <strong class=\"purple\">must</strong> be supported by the capabilities of the queue family specified by the <code>queueFamilyIndex</code> member of the <a href=\"#VkCommandPoolCreateInfo\">VkCommandPoolCreateInfo</a> structure that was used to create the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from, as specified in the &amp;lt;&amp;lt;synchronization-pipeline-stages-supported, table of supported pipeline stages&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-pMemoryBarriers-01165",\r
- "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>srcAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>srcStageMask</code>, as specified in the &amp;lt;&amp;lt;synchronization-access-types-supported, table of supported access types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-pMemoryBarriers-01166",\r
- "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>dstAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>dstStageMask</code>, as specified in the &amp;lt;&amp;lt;synchronization-access-types-supported, table of supported access types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-pEvents-parameter",\r
- "text": " <code>pEvents</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>eventCount</code> valid <code>VkEvent</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-srcStageMask-parameter",\r
- "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-srcStageMask-requiredbitmask",\r
- "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-dstStageMask-parameter",\r
- "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-dstStageMask-requiredbitmask",\r
- "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-pMemoryBarriers-parameter",\r
- "text": " If <code>memoryBarrierCount</code> is not <code>0</code>, <code>pMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryBarrierCount</code> valid <code>VkMemoryBarrier</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-pBufferMemoryBarriers-parameter",\r
- "text": " If <code>bufferMemoryBarrierCount</code> is not <code>0</code>, <code>pBufferMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bufferMemoryBarrierCount</code> valid <code>VkBufferMemoryBarrier</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-pImageMemoryBarriers-parameter",\r
- "text": " If <code>imageMemoryBarrierCount</code> is not <code>0</code>, <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageMemoryBarrierCount</code> valid <code>VkImageMemoryBarrier</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-eventCount-arraylength",\r
- "text": " <code>eventCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and the elements of <code>pEvents</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkCmdWaitEvents-commandBuffer-01167",\r
- "text": " <code>commandBuffer</code>’s current device mask <strong class=\"purple\">must</strong> include exactly one physical device."\r
- }\r
- ]\r
- },\r
- "vkCmdPipelineBarrier": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01168",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-01169",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01170",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-01171",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-pDependencies-01172",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the render pass <strong class=\"purple\">must</strong> have been created with a <code>VkSubpassDependency</code> instance in <code>pDependencies</code> that expresses a dependency from the current subpass to itself."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01173",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>srcStageMask</code> <strong class=\"purple\">must</strong> contain a subset of the bit values in the <code>srcStageMask</code> member of that instance of <code>VkSubpassDependency</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-01174",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>dstStageMask</code> <strong class=\"purple\">must</strong> contain a subset of the bit values in the <code>dstStageMask</code> member of that instance of <code>VkSubpassDependency</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcAccessMask-01175",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>srcAccessMask</code> of any element of <code>pMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> contain a subset of the bit values the <code>srcAccessMask</code> member of that instance of <code>VkSubpassDependency</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dstAccessMask-01176",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>dstAccessMask</code> of any element of <code>pMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> contain a subset of the bit values the <code>dstAccessMask</code> member of that instance of <code>VkSubpassDependency</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dependencyFlags-01177",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>dependencyFlags</code> <strong class=\"purple\">must</strong> be equal to the <code>dependencyFlags</code> member of that instance of <code>VkSubpassDependency</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-bufferMemoryBarrierCount-01178",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>bufferMemoryBarrierCount</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-image-01179",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>image</code> member of any element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be equal to one of the elements of <code>pAttachments</code> that the current <code>framebuffer</code> was created with, that is also referred to by one of the elements of the <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code> members of the <code>VkSubpassDescription</code> instance that the current subpass was created with"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-oldLayout-01180",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>oldLayout</code> and <code>newLayout</code> members of any element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be equal to the <code>layout</code> member of an element of the <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code> members of the <code>VkSubpassDescription</code> instance that the current subpass was created with, that refers to the same <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-oldLayout-01181",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>oldLayout</code> and <code>newLayout</code> members of an element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be equal"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcQueueFamilyIndex-01182",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> members of any element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01183",\r
- "text": " Any pipeline stage included in <code>srcStageMask</code> or <code>dstStageMask</code> <strong class=\"purple\">must</strong> be supported by the capabilities of the queue family specified by the <code>queueFamilyIndex</code> member of the <a href=\"#VkCommandPoolCreateInfo\">VkCommandPoolCreateInfo</a> structure that was used to create the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from, as specified in the &amp;lt;&amp;lt;synchronization-pipeline-stages-supported, table of supported pipeline stages&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-pMemoryBarriers-01184",\r
- "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> and <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>srcAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>srcStageMask</code>, as specified in the &amp;lt;&amp;lt;synchronization-access-types-supported, table of supported access types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-pMemoryBarriers-01185",\r
- "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> and <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>dstAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>dstStageMask</code>, as specified in the &amp;lt;&amp;lt;synchronization-access-types-supported, table of supported access types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-parameter",\r
- "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-requiredbitmask",\r
- "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-parameter",\r
- "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-requiredbitmask",\r
- "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dependencyFlags-parameter",\r
- "text": " <code>dependencyFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDependencyFlagBits\">VkDependencyFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-pMemoryBarriers-parameter",\r
- "text": " If <code>memoryBarrierCount</code> is not <code>0</code>, <code>pMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryBarrierCount</code> valid <code>VkMemoryBarrier</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-pBufferMemoryBarriers-parameter",\r
- "text": " If <code>bufferMemoryBarrierCount</code> is not <code>0</code>, <code>pBufferMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bufferMemoryBarrierCount</code> valid <code>VkBufferMemoryBarrier</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-pImageMemoryBarriers-parameter",\r
- "text": " If <code>imageMemoryBarrierCount</code> is not <code>0</code>, <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageMemoryBarrierCount</code> valid <code>VkImageMemoryBarrier</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdPipelineBarrier-dependencyFlags-01186",\r
- "text": " If <code>vkCmdPipelineBarrier</code> is called outside of a render pass instance, <code>dependencyFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>"\r
- }\r
- ]\r
- },\r
- "VkMemoryBarrier": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkMemoryBarrier-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_BARRIER</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryBarrier-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryBarrier-srcAccessMask-parameter",\r
- "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryBarrier-dstAccessMask-parameter",\r
- "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkBufferMemoryBarrier": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-offset-01187",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-size-01188",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-size-01189",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to than the size of <code>buffer</code> minus <code>offset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01196",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, and <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> are not <code>VK_QUEUE_FAMILY_IGNORED</code>, at least one of them <strong class=\"purple\">must</strong> be the same as the family of the queue that will execute this barrier"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01931",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-srcAccessMask-parameter",\r
- "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-dstAccessMask-parameter",\r
- "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01190",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> both be <code>VK_QUEUE_FAMILY_IGNORED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01192",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> either both be <code>VK_QUEUE_FAMILY_IGNORED</code>, or both be a valid queue family (see &amp;lt;&amp;lt;devsandqueues-queueprops&amp;gt;&amp;gt;)"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01191",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, at least one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01763",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, and one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, the other <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code> or a special queue family reserved for external memory ownership transfers, as described in &amp;lt;&amp;lt;synchronization-queue-transfers&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01193",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> also be <code>VK_QUEUE_FAMILY_IGNORED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01764",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in &amp;lt;&amp;lt;synchronization-queue-transfers&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryBarrier-buffer-01765",\r
- "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>dstQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in &amp;lt;&amp;lt;synchronization-queue-transfers&amp;gt;&amp;gt;."\r
- }\r
- ]\r
- },\r
- "VkImageMemoryBarrier": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01197",\r
- "text": " <code>oldLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or the current layout of the image subresources affected by the barrier"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-newLayout-01198",\r
- "text": " <code>newLayout</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01205",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, and <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> are not <code>VK_QUEUE_FAMILY_IGNORED</code>, at least one of them <strong class=\"purple\">must</strong> be the same as the family of the queue that will execute this barrier"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01486",\r
- "text": " <code>subresourceRange.baseMipLevel</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01724",\r
- "text": " If <code>subresourceRange.levelCount</code> is not <code>VK_REMAINING_MIP_LEVELS</code>, <span class=\"eq\"><code>subresourceRange.baseMipLevel</code> + <code>subresourceRange.levelCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01488",\r
- "text": " <code>subresourceRange.baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01725",\r
- "text": " If <code>subresourceRange.layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <span class=\"eq\"><code>subresourceRange.baseArrayLayer</code> + <code>subresourceRange.layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01207",\r
- "text": " If <code>image</code> has a depth/stencil format with both depth and stencil components, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> include both <code>VK_IMAGE_ASPECT_DEPTH_BIT</code> and <code>VK_IMAGE_ASPECT_STENCIL_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01208",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01209",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01210",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01211",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_SAMPLED_BIT</code> or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01212",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01213",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01932",\r
- "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkSampleLocationsInfoEXT\">VkSampleLocationsInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-srcAccessMask-parameter",\r
- "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-dstAccessMask-parameter",\r
- "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-parameter",\r
- "text": " <code>oldLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-newLayout-parameter",\r
- "text": " <code>newLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-parameter",\r
- "text": " <code>subresourceRange</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceRange</code> structure"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01199",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> both be <code>VK_QUEUE_FAMILY_IGNORED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01200",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> either both be <code>VK_QUEUE_FAMILY_IGNORED</code>, or both be a valid queue family (see &amp;lt;&amp;lt;devsandqueues-queueprops&amp;gt;&amp;gt;)."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01381",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, at least one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01766",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, and one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, the other <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code> or a special queue family reserved for external memory transfers, as described in &amp;lt;&amp;lt;synchronization-queue-transfers&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01201",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> also be <code>VK_QUEUE_FAMILY_IGNORED</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01767",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in &amp;lt;&amp;lt;synchronization-queue-transfers&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01768",\r
- "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>dstQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in &amp;lt;&amp;lt;synchronization-queue-transfers&amp;gt;&amp;gt;."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01671",\r
- "text": " If <code>image</code> has a single-plane color format or is not <em>disjoint</em>, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01672",\r
- "text": " If <code>image</code> has a multi-planar format and the image is <em>disjoint</em>, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> include either at least one of <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, and <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>; or <strong class=\"purple\">must</strong> include <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-image-01673",\r
- "text": " If <code>image</code> has a multi-planar format with only two planes, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01658",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01659",\r
- "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"\r
- }\r
- ]\r
- },\r
- "vkQueueWaitIdle": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkQueueWaitIdle-queue-parameter",\r
- "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"\r
- }\r
- ]\r
- },\r
- "vkDeviceWaitIdle": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDeviceWaitIdle-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- }\r
- ]\r
- },\r
- "vkCreateRenderPass": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateRenderPass-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateRenderPass-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkRenderPassCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateRenderPass-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateRenderPass-pRenderPass-parameter",\r
- "text": " <code>pRenderPass</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkRenderPass</code> handle"\r
- }\r
- ]\r
- },\r
- "VkRenderPassCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-None-00832",\r
- "text": " If any two subpasses operate on attachments with overlapping ranges of the same <code>VkDeviceMemory</code> object, and at least one subpass writes to that area of <code>VkDeviceMemory</code>, a subpass dependency <strong class=\"purple\">must</strong> be included (either directly or via some intermediate subpasses) between them"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-attachment-00833",\r
- "text": " If the <code>attachment</code> member of any element of <code>pInputAttachments</code>, <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code>, or the attachment indexed by any element of <code>pPreserveAttachments</code> in any element of <code>pSubpasses</code> is bound to a range of a <code>VkDeviceMemory</code> object that overlaps with any other attachment in any subpass (including the same subpass), the <code>VkAttachmentDescription</code> structures describing them <strong class=\"purple\">must</strong> include <code>VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT</code> in <code>flags</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-attachment-00834",\r
- "text": " If the <code>attachment</code> member of any element of <code>pInputAttachments</code>, <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code>, or any element of <code>pPreserveAttachments</code> in any element of <code>pSubpasses</code> is not <code>VK_ATTACHMENT_UNUSED</code>, it <strong class=\"purple\">must</strong> be less than <code>attachmentCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pPreserveAttachments-00835",\r
- "text": " The value of each element of the <code>pPreserveAttachments</code> member in each element of <code>pSubpasses</code> <strong class=\"purple\">must</strong> not be <code>VK_ATTACHMENT_UNUSED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-00836",\r
- "text": " For any member of <code>pAttachments</code> with a <code>loadOp</code> equal to <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>, the first use of that attachment <strong class=\"purple\">must</strong> not specify a <code>layout</code> equal to <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pDependencies-00837",\r
- "text": " For any element of <code>pDependencies</code>, if the <code>srcSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, all stage flags included in the <code>srcStageMask</code> member of that dependency <strong class=\"purple\">must</strong> be a pipeline stage supported by the &amp;lt;&amp;lt;synchronization-pipeline-stages-types, pipeline&amp;gt;&amp;gt; identified by the <code>pipelineBindPoint</code> member of the source subpass."\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pDependencies-00838",\r
- "text": " For any element of <code>pDependencies</code>, if the <code>dstSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, all stage flags included in the <code>dstStageMask</code> member of that dependency <strong class=\"purple\">must</strong> be a pipeline stage supported by the &amp;lt;&amp;lt;synchronization-pipeline-stages-types, pipeline&amp;gt;&amp;gt; identified by the <code>pipelineBindPoint</code> member of the source subpass."\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a> or <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-parameter",\r
- "text": " If <code>attachmentCount</code> is not <code>0</code>, <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkAttachmentDescription</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pSubpasses-parameter",\r
- "text": " <code>pSubpasses</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>subpassCount</code> valid <code>VkSubpassDescription</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pDependencies-parameter",\r
- "text": " If <code>dependencyCount</code> is not <code>0</code>, <code>pDependencies</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dependencyCount</code> valid <code>VkSubpassDependency</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-subpassCount-arraylength",\r
- "text": " <code>subpassCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-01566",\r
- "text": " For any member of <code>pAttachments</code> with a <code>loadOp</code> equal to <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>, the first use of that attachment <strong class=\"purple\">must</strong> not specify a <code>layout</code> equal to <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-01567",\r
- "text": " For any member of <code>pAttachments</code> with a <code>stencilLoadOp</code> equal to <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>, the first use of that attachment <strong class=\"purple\">must</strong> not specify a <code>layout</code> equal to <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pNext-01926",\r
- "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a>, the <code>subpass</code> member of each element of its <code>pAspectReferences</code> member <strong class=\"purple\">must</strong> be less than <code>subpassCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pNext-01927",\r
- "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a>, the <code>inputAttachmentIndex</code> member of each element of its <code>pAspectReferences</code> member <strong class=\"purple\">must</strong> be less than the value of <code>inputAttachmentCount</code> in the member of <code>pSubpasses</code> identified by its <code>subpass</code> member"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pNext-01928",\r
- "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>, and its <code>subpassCount</code> member is not zero, that member <strong class=\"purple\">must</strong> be equal to the value of <code>subpassCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pNext-01929",\r
- "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>, if its <code>dependencyCount</code> member is not zero, it <strong class=\"purple\">must</strong> be equal to <code>dependencyCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassCreateInfo-pNext-01930",\r
- "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>, for each non-zero element of <code>pViewOffsets</code>, the <code>srcSubpass</code> and <code>dstSubpass</code> members of <code>pDependencies</code> at the same index <strong class=\"purple\">must</strong> not be equal"\r
- }\r
- ]\r
- },\r
- "VkRenderPassMultiviewCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pCorrelationMasks-00841",\r
- "text": " Each view index <strong class=\"purple\">must</strong> not be set in more than one element of <code>pCorrelationMasks</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassMultiviewCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pViewMasks-parameter",\r
- "text": " If <code>subpassCount</code> is not <code>0</code>, <code>pViewMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>subpassCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pViewOffsets-parameter",\r
- "text": " If <code>dependencyCount</code> is not <code>0</code>, <code>pViewOffsets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dependencyCount</code> <code>int32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pCorrelationMasks-parameter",\r
- "text": " If <code>correlationMaskCount</code> is not <code>0</code>, <code>pCorrelationMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>correlationMaskCount</code> <code>uint32_t</code> values"\r
- }\r
- ]\r
- },\r
- "VkAttachmentDescription": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-finalLayout-00843",\r
- "text": " <code>finalLayout</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAttachmentDescriptionFlagBits\">VkAttachmentDescriptionFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-samples-parameter",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-loadOp-parameter",\r
- "text": " <code>loadOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentLoadOp\">VkAttachmentLoadOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-storeOp-parameter",\r
- "text": " <code>storeOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentStoreOp\">VkAttachmentStoreOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-stencilLoadOp-parameter",\r
- "text": " <code>stencilLoadOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentLoadOp\">VkAttachmentLoadOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-stencilStoreOp-parameter",\r
- "text": " <code>stencilStoreOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentStoreOp\">VkAttachmentStoreOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-initialLayout-parameter",\r
- "text": " <code>initialLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentDescription-finalLayout-parameter",\r
- "text": " <code>finalLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- }\r
- ]\r
- },\r
- "VkRenderPassInputAttachmentAspectCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkRenderPassInputAttachmentAspectCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassInputAttachmentAspectCreateInfo-pAspectReferences-parameter",\r
- "text": " <code>pAspectReferences</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>aspectReferenceCount</code> valid <code>VkInputAttachmentAspectReference</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassInputAttachmentAspectCreateInfo-aspectReferenceCount-arraylength",\r
- "text": " <code>aspectReferenceCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkInputAttachmentAspectReference": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkInputAttachmentAspectReference-pCreateInfo-01568",\r
- "text": " There <strong class=\"purple\">must</strong> be an input attachment at <code>pCreateInfo</code>::<code>pSubpasses</code>[<code>subpass</code>].<code>pInputAttachments</code>[<code>inputAttachmentIndex</code>]."\r
- },\r
- {\r
- "vuid": "VUID-VkInputAttachmentAspectReference-None-01569",\r
- "text": " The specified input attachment <strong class=\"purple\">must</strong> have more than one aspect mask."\r
- },\r
- {\r
- "vuid": "VUID-VkInputAttachmentAspectReference-aspectMask-01570",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a subset of the aspect masks in the specified input attachment."\r
- },\r
- {\r
- "vuid": "VUID-VkInputAttachmentAspectReference-aspectMask-parameter",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkInputAttachmentAspectReference-aspectMask-requiredbitmask",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkSubpassDescription": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pipelineBindPoint-00844",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-colorAttachmentCount-00845",\r
- "text": " <code>colorAttachmentCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxColorAttachments</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-loadOp-00846",\r
- "text": " If the first use of an attachment in this render pass is as an input attachment, and the attachment is not also used as a color or depth/stencil attachment in the same subpass, then <code>loadOp</code> <strong class=\"purple\">must</strong> not be <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00847",\r
- "text": " If <code>pResolveAttachments</code> is not <code>NULL</code>, for each resolve attachment that does not have the value <code>VK_ATTACHMENT_UNUSED</code>, the corresponding color attachment <strong class=\"purple\">must</strong> not have the value <code>VK_ATTACHMENT_UNUSED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00848",\r
- "text": " If <code>pResolveAttachments</code> is not <code>NULL</code>, the sample count of each element of <code>pColorAttachments</code> <strong class=\"purple\">must</strong> be anything other than <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00849",\r
- "text": " Each element of <code>pResolveAttachments</code> <strong class=\"purple\">must</strong> have a sample count of <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00850",\r
- "text": " Each element of <code>pResolveAttachments</code> <strong class=\"purple\">must</strong> have the same <a href=\"#VkFormat\">VkFormat</a> as its corresponding color attachment"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pColorAttachments-01417",\r
- "text": " All attachments in <code>pColorAttachments</code> that are not <code>VK_ATTACHMENT_UNUSED</code> <strong class=\"purple\">must</strong> have the same sample count"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-None-00852",\r
- "text": " If any input attachments are <code>VK_ATTACHMENT_UNUSED</code>, then any pipelines bound during the subpass <strong class=\"purple\">must</strong> not access those input attachments from the fragment shader"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-attachment-00853",\r
- "text": " The <code>attachment</code> member of each element of <code>pPreserveAttachments</code> <strong class=\"purple\">must</strong> not be <code>VK_ATTACHMENT_UNUSED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pPreserveAttachments-00854",\r
- "text": " Each element of <code>pPreserveAttachments</code> <strong class=\"purple\">must</strong> not also be an element of any other member of the subpass description"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-layout-00855",\r
- "text": " If any attachment is used as both an input attachment and a color or depth/stencil attachment, then each use <strong class=\"purple\">must</strong> use the same <code>layout</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSubpassDescriptionFlagBits\">VkSubpassDescriptionFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pipelineBindPoint-parameter",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pInputAttachments-parameter",\r
- "text": " If <code>inputAttachmentCount</code> is not <code>0</code>, <code>pInputAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>inputAttachmentCount</code> valid <code>VkAttachmentReference</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pColorAttachments-parameter",\r
- "text": " If <code>colorAttachmentCount</code> is not <code>0</code>, <code>pColorAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>colorAttachmentCount</code> valid <code>VkAttachmentReference</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pResolveAttachments-parameter",\r
- "text": " If <code>colorAttachmentCount</code> is not <code>0</code>, and <code>pResolveAttachments</code> is not <code>NULL</code>, <code>pResolveAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>colorAttachmentCount</code> valid <code>VkAttachmentReference</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pDepthStencilAttachment-parameter",\r
- "text": " If <code>pDepthStencilAttachment</code> is not <code>NULL</code>, <code>pDepthStencilAttachment</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAttachmentReference</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pPreserveAttachments-parameter",\r
- "text": " If <code>preserveAttachmentCount</code> is not <code>0</code>, <code>pPreserveAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>preserveAttachmentCount</code> <code>uint32_t</code> values"\r
- }\r
- ],\r
- "(VK_AMD_mixed_attachment_samples)": [\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pColorAttachments-01506",\r
- "text": " All attachments in <code>pColorAttachments</code> that are not <code>VK_ATTACHMENT_UNUSED</code> <strong class=\"purple\">must</strong> have a sample count that is smaller than or equal to the sample count of <code>pDepthStencilAttachment</code> if it is not <code>VK_ATTACHMENT_UNUSED</code>"\r
- }\r
- ],\r
- "!(VK_AMD_mixed_attachment_samples)+!(VK_NV_framebuffer_mixed_samples)": [\r
- {\r
- "vuid": "VUID-VkSubpassDescription-pDepthStencilAttachment-01418",\r
- "text": " If <code>pDepthStencilAttachment</code> is not <code>VK_ATTACHMENT_UNUSED</code> and any attachments in <code>pColorAttachments</code> are not <code>VK_ATTACHMENT_UNUSED</code>, they <strong class=\"purple\">must</strong> have the same sample count"\r
- }\r
- ],\r
- "(VK_NVX_multiview_per_view_attributes)": [\r
- {\r
- "vuid": "VUID-VkSubpassDescription-flags-00856",\r
- "text": " If <code>flags</code> includes <code>VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX</code>, it <strong class=\"purple\">must</strong> also include <code>VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX</code>."\r
- }\r
- ]\r
- },\r
- "VkAttachmentReference": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkAttachmentReference-layout-00857",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentReference-layout-parameter",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- }\r
- ]\r
- },\r
- "VkSubpassDependency": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcSubpass-00858",\r
- "text": " If <code>srcSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dstSubpass-00859",\r
- "text": " If <code>dstSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcStageMask-00860",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dstStageMask-00861",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcStageMask-00862",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dstStageMask-00863",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcSubpass-00864",\r
- "text": " <code>srcSubpass</code> <strong class=\"purple\">must</strong> be less than or equal to <code>dstSubpass</code>, unless one of them is <code>VK_SUBPASS_EXTERNAL</code>, to avoid cyclic dependencies and ensure a valid execution order"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcSubpass-00865",\r
- "text": " <code>srcSubpass</code> and <code>dstSubpass</code> <strong class=\"purple\">must</strong> not both be equal to <code>VK_SUBPASS_EXTERNAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcSubpass-00866",\r
- "text": " If <code>srcSubpass</code> is equal to <code>dstSubpass</code>, <code>srcStageMask</code> and <code>dstStageMask</code> <strong class=\"purple\">must</strong> only contain one of <code>VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT</code>, <code>VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT</code>, <code>VK_PIPELINE_STAGE_VERTEX_INPUT_BIT</code>, <code>VK_PIPELINE_STAGE_VERTEX_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT</code>, <code>VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT</code>, <code>VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT</code>, <code>VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT</code>, or <code>VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcSubpass-00867",\r
- "text": " If <code>srcSubpass</code> is equal to <code>dstSubpass</code> and not all of the stages in <code>srcStageMask</code> and <code>dstStageMask</code> are &amp;lt;&amp;lt;synchronization-framebuffer-regions,framebuffer-space stages&amp;gt;&amp;gt;, the &amp;lt;&amp;lt;synchronization-pipeline-stages-order, logically latest&amp;gt;&amp;gt; pipeline stage in <code>srcStageMask</code> <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;synchronization-pipeline-stages-order, logically earlier&amp;gt;&amp;gt; than or equal to the &amp;lt;&amp;lt;synchronization-pipeline-stages-order, logically earliest&amp;gt;&amp;gt; pipeline stage in <code>dstStageMask</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcAccessMask-00868",\r
- "text": " Any access flag included in <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be supported by one of the pipeline stages in <code>srcStageMask</code>, as specified in the &amp;lt;&amp;lt;synchronization-access-types-supported, table of supported access types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dstAccessMask-00869",\r
- "text": " Any access flag included in <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be supported by one of the pipeline stages in <code>dstStageMask</code>, as specified in the &amp;lt;&amp;lt;synchronization-access-types-supported, table of supported access types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcStageMask-parameter",\r
- "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcStageMask-requiredbitmask",\r
- "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dstStageMask-parameter",\r
- "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dstStageMask-requiredbitmask",\r
- "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcAccessMask-parameter",\r
- "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dstAccessMask-parameter",\r
- "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dependencyFlags-parameter",\r
- "text": " <code>dependencyFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDependencyFlagBits\">VkDependencyFlagBits</a> values"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dependencyFlags-00870",\r
- "text": " If <code>dependencyFlags</code> includes <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>, then both <code>srcSubpass</code> and <code>dstSubpass</code> <strong class=\"purple\">must</strong> not equal <code>VK_SUBPASS_EXTERNAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-dependencyFlags-00871",\r
- "text": " If <code>dependencyFlags</code> includes <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>, then the render pass <strong class=\"purple\">must</strong> have multiview enabled"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassDependency-srcSubpass-00872",\r
- "text": " If <code>srcSubpass</code> equals <code>dstSubpass</code> and that subpass has more than one bit set in the view mask, then <code>dependencyFlags</code> <strong class=\"purple\">must</strong> include <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyRenderPass": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyRenderPass-renderPass-00873",\r
- "text": " All submitted commands that refer to <code>renderPass</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyRenderPass-renderPass-00874",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>renderPass</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyRenderPass-renderPass-00875",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>renderPass</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyRenderPass-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyRenderPass-renderPass-parameter",\r
- "text": " If <code>renderPass</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyRenderPass-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyRenderPass-renderPass-parent",\r
- "text": " If <code>renderPass</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateFramebuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateFramebuffer-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateFramebuffer-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFramebufferCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateFramebuffer-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateFramebuffer-pFramebuffer-parameter",\r
- "text": " <code>pFramebuffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFramebuffer</code> handle"\r
- }\r
- ]\r
- },\r
- "VkFramebufferCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-attachmentCount-00876",\r
- "text": " <code>attachmentCount</code> <strong class=\"purple\">must</strong> be equal to the attachment count specified in <code>renderPass</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00877",\r
- "text": " Each element of <code>pAttachments</code> that is used as a color attachment or resolve attachment by <code>renderPass</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value including <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00878",\r
- "text": " Each element of <code>pAttachments</code> that is used as a depth/stencil attachment by <code>renderPass</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value including <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00879",\r
- "text": " Each element of <code>pAttachments</code> that is used as an input attachment by <code>renderPass</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value including <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00880",\r
- "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have been created with an <a href=\"#VkFormat\">VkFormat</a> value that matches the <a href=\"#VkFormat\">VkFormat</a> specified by the corresponding <code>VkAttachmentDescription</code> in <code>renderPass</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00881",\r
- "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have been created with a <code>samples</code> value that matches the <code>samples</code> value specified by the corresponding <code>VkAttachmentDescription</code> in <code>renderPass</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00882",\r
- "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have dimensions at least as large as the corresponding framebuffer dimension"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00883",\r
- "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> only specify a single mip level"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00884",\r
- "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have been created with the identity swizzle"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-width-00885",\r
- "text": " <code>width</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-width-00886",\r
- "text": " <code>width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferWidth</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-height-00887",\r
- "text": " <code>height</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-height-00888",\r
- "text": " <code>height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferHeight</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-layers-00889",\r
- "text": " <code>layers</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-layers-00890",\r
- "text": " <code>layers</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferLayers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-renderPass-parameter",\r
- "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-parameter",\r
- "text": " If <code>attachmentCount</code> is not <code>0</code>, <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkImageView</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-commonparent",\r
- "text": " Both of <code>renderPass</code>, and the elements of <code>pAttachments</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00891",\r
- "text": " Each element of <code>pAttachments</code> that is a 2D or 2D array image view taken from a 3D image <strong class=\"purple\">must</strong> not be a depth/stencil format"\r
- }\r
- ]\r
- },\r
- "vkDestroyFramebuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyFramebuffer-framebuffer-00892",\r
- "text": " All submitted commands that refer to <code>framebuffer</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFramebuffer-framebuffer-00893",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>framebuffer</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFramebuffer-framebuffer-00894",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>framebuffer</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFramebuffer-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFramebuffer-framebuffer-parameter",\r
- "text": " If <code>framebuffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>framebuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkFramebuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFramebuffer-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyFramebuffer-framebuffer-parent",\r
- "text": " If <code>framebuffer</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdBeginRenderPass": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00895",\r
- "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00897",\r
- "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_SAMPLED_BIT</code> or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00898",\r
- "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00899",\r
- "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00900",\r
- "text": " If any of the <code>initialLayout</code> members of the <code>VkAttachmentDescription</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is not <code>VK_IMAGE_LAYOUT_UNDEFINED</code>, then each such <code>initialLayout</code> <strong class=\"purple\">must</strong> be equal to the current layout of the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-srcStageMask-00901",\r
- "text": " The <code>srcStageMask</code> and <code>dstStageMask</code> members of any element of the <code>pDependencies</code> member of <a href=\"#VkRenderPassCreateInfo\">VkRenderPassCreateInfo</a> used to create <code>renderPass</code> <strong class=\"purple\">must</strong> be supported by the capabilities of the queue family identified by the <code>queueFamilyIndex</code> member of the <a href=\"#VkCommandPoolCreateInfo\">VkCommandPoolCreateInfo</a> used to create the command pool which <code>commandBuffer</code> was allocated from."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-pRenderPassBegin-parameter",\r
- "text": " <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkRenderPassBeginInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-contents-parameter",\r
- "text": " <code>contents</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSubpassContents\">VkSubpassContents</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-bufferlevel",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00896",\r
- "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL</code>, or <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-01758",\r
- "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL</code>, or <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"\r
- }\r
- ]\r
- },\r
- "VkRenderPassBeginInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-clearValueCount-00902",\r
- "text": " <code>clearValueCount</code> <strong class=\"purple\">must</strong> be greater than the largest attachment index in <code>renderPass</code> that specifies a <code>loadOp</code> (or <code>stencilLoadOp</code>, if the attachment has a depth/stencil format) of <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-clearValueCount-00903",\r
- "text": " If <code>clearValueCount</code> is not <code>0</code>, <code>pClearValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>clearValueCount</code> valid <code>VkClearValue</code> unions"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-renderPass-00904",\r
- "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the <code>renderPass</code> member of the <code>VkFramebufferCreateInfo</code> structure specified when creating <code>framebuffer</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupRenderPassBeginInfo\">VkDeviceGroupRenderPassBeginInfo</a> or <a href=\"#VkRenderPassSampleLocationsBeginInfoEXT\">VkRenderPassSampleLocationsBeginInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-renderPass-parameter",\r
- "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-framebuffer-parameter",\r
- "text": " <code>framebuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkFramebuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassBeginInfo-commonparent",\r
- "text": " Both of <code>framebuffer</code>, and <code>renderPass</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkRenderPassSampleLocationsBeginInfoEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkRenderPassSampleLocationsBeginInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassSampleLocationsBeginInfoEXT-pAttachmentInitialSampleLocations-parameter",\r
- "text": " If <code>attachmentInitialSampleLocationsCount</code> is not <code>0</code>, <code>pAttachmentInitialSampleLocations</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentInitialSampleLocationsCount</code> valid <code>VkAttachmentSampleLocationsEXT</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkRenderPassSampleLocationsBeginInfoEXT-pPostSubpassSampleLocations-parameter",\r
- "text": " If <code>postSubpassSampleLocationsCount</code> is not <code>0</code>, <code>pPostSubpassSampleLocations</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>postSubpassSampleLocationsCount</code> valid <code>VkSubpassSampleLocationsEXT</code> structures"\r
- }\r
- ]\r
- },\r
- "VkAttachmentSampleLocationsEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkAttachmentSampleLocationsEXT-attachmentIndex-01531",\r
- "text": " <code>attachmentIndex</code> <strong class=\"purple\">must</strong> be less than the <code>attachmentCount</code> specified in <a href=\"#VkRenderPassCreateInfo\">VkRenderPassCreateInfo</a> the render pass specified by <a href=\"#VkRenderPassBeginInfo\">VkRenderPassBeginInfo</a>::<code>renderPass</code> was created with"\r
- },\r
- {\r
- "vuid": "VUID-VkAttachmentSampleLocationsEXT-sampleLocationsInfo-parameter",\r
- "text": " <code>sampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampleLocationsInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkSubpassSampleLocationsEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkSubpassSampleLocationsEXT-subpassIndex-01532",\r
- "text": " <code>subpassIndex</code> <strong class=\"purple\">must</strong> be less than the <code>subpassCount</code> specified in <a href=\"#VkRenderPassCreateInfo\">VkRenderPassCreateInfo</a> the render pass specified by <a href=\"#VkRenderPassBeginInfo\">VkRenderPassBeginInfo</a>::<code>renderPass</code> was created with"\r
- },\r
- {\r
- "vuid": "VUID-VkSubpassSampleLocationsEXT-sampleLocationsInfo-parameter",\r
- "text": " <code>sampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampleLocationsInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupRenderPassBeginInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceMask-00905",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask value"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceMask-00906",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceMask-00907",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a subset of the command buffer’s initial device mask"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceRenderAreaCount-00908",\r
- "text": " <code>deviceRenderAreaCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device."\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-pDeviceRenderAreas-parameter",\r
- "text": " If <code>deviceRenderAreaCount</code> is not <code>0</code>, <code>pDeviceRenderAreas</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>deviceRenderAreaCount</code> <code>VkRect2D</code> structures"\r
- }\r
- ]\r
- },\r
- "vkGetRenderAreaGranularity": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetRenderAreaGranularity-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRenderAreaGranularity-renderPass-parameter",\r
- "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRenderAreaGranularity-pGranularity-parameter",\r
- "text": " <code>pGranularity</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExtent2D</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRenderAreaGranularity-renderPass-parent",\r
- "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdNextSubpass": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdNextSubpass-None-00909",\r
- "text": " The current subpass index <strong class=\"purple\">must</strong> be less than the number of subpasses in the render pass minus one"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdNextSubpass-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdNextSubpass-contents-parameter",\r
- "text": " <code>contents</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSubpassContents\">VkSubpassContents</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdNextSubpass-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdNextSubpass-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdNextSubpass-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdNextSubpass-bufferlevel",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdEndRenderPass": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdEndRenderPass-None-00910",\r
- "text": " The current subpass index <strong class=\"purple\">must</strong> be equal to the number of subpasses in the render pass minus one"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndRenderPass-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndRenderPass-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndRenderPass-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndRenderPass-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndRenderPass-bufferlevel",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateShaderModule": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateShaderModule-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateShaderModule-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkShaderModuleCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateShaderModule-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateShaderModule-pShaderModule-parameter",\r
- "text": " <code>pShaderModule</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkShaderModule</code> handle"\r
- }\r
- ]\r
- },\r
- "VkShaderModuleCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-codeSize-01085",\r
- "text": " <code>codeSize</code> <strong class=\"purple\">must</strong> be greater than 0"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01089",\r
- "text": " <code>pCode</code> <strong class=\"purple\">must</strong> declare the <code>Shader</code> capability for SPIR-V code"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01090",\r
- "text": " <code>pCode</code> <strong class=\"purple\">must</strong> not declare any capability that is not supported by the API, as described by the &amp;lt;&amp;lt;spirvenv-module-validation, Capabilities&amp;gt;&amp;gt; section of the &amp;lt;&amp;lt;spirvenv-capabilities,SPIR-V Environment&amp;gt;&amp;gt; appendix"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01091",\r
- "text": " If <code>pCode</code> declares any of the capabilities listed as <strong class=\"purple\">optional</strong> in the &amp;lt;&amp;lt;spirvenv-capabilities-table,SPIR-V Environment&amp;gt;&amp;gt; appendix, the corresponding feature(s) <strong class=\"purple\">must</strong> be enabled."\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkShaderModuleValidationCacheCreateInfoEXT\">VkShaderModuleValidationCacheCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-parameter",\r
- "text": " <code>pCode</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of \\(codeSize \\over 4\\) <code>uint32_t</code> values"\r
- }\r
- ],\r
- "!(VK_NV_glsl_shader)": [\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-codeSize-01086",\r
- "text": " <code>codeSize</code> <strong class=\"purple\">must</strong> be a multiple of 4"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01087",\r
- "text": " <code>pCode</code> <strong class=\"purple\">must</strong> point to valid SPIR-V code, formatted and packed as described by the &amp;lt;&amp;lt;spirv-spec,Khronos SPIR-V Specification&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01088",\r
- "text": " <code>pCode</code> <strong class=\"purple\">must</strong> adhere to the validation rules described by the &amp;lt;&amp;lt;spirvenv-module-validation, Validation Rules within a Module&amp;gt;&amp;gt; section of the &amp;lt;&amp;lt;spirvenv-capabilities,SPIR-V Environment&amp;gt;&amp;gt; appendix"\r
- }\r
- ],\r
- "(VK_NV_glsl_shader)": [\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01376",\r
- "text": " If <code>pCode</code> points to SPIR-V code, <code>codeSize</code> <strong class=\"purple\">must</strong> be a multiple of 4"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01377",\r
- "text": " <code>pCode</code> <strong class=\"purple\">must</strong> point to either valid SPIR-V code, formatted and packed as described by the <a href=\"#spirv-spec\">Khronos SPIR-V Specification</a> or valid GLSL code which <strong class=\"purple\">must</strong> be written to the GL_KHR_vulkan_glsl extension specification"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01378",\r
- "text": " If <code>pCode</code> points to SPIR-V code, that code <strong class=\"purple\">must</strong> adhere to the validation rules described by the &amp;lt;&amp;lt;spirvenv-module-validation, Validation Rules within a Module&amp;gt;&amp;gt; section of the &amp;lt;&amp;lt;spirvenv-capabilities,SPIR-V Environment&amp;gt;&amp;gt; appendix"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01379",\r
- "text": " If <code>pCode</code> points to GLSL code, it <strong class=\"purple\">must</strong> be valid GLSL code written to the GL_KHR_vulkan_glsl GLSL extension specification"\r
- }\r
- ]\r
- },\r
- "VkShaderModuleValidationCacheCreateInfoEXT": {\r
- "(VK_EXT_validation_cache)": [\r
- {\r
- "vuid": "VUID-VkShaderModuleValidationCacheCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkShaderModuleValidationCacheCreateInfoEXT-validationCache-parameter",\r
- "text": " <code>validationCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"\r
- }\r
- ]\r
- },\r
- "vkDestroyShaderModule": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyShaderModule-shaderModule-01092",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>shaderModule</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyShaderModule-shaderModule-01093",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>shaderModule</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyShaderModule-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyShaderModule-shaderModule-parameter",\r
- "text": " If <code>shaderModule</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>shaderModule</code> <strong class=\"purple\">must</strong> be a valid <code>VkShaderModule</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyShaderModule-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyShaderModule-shaderModule-parent",\r
- "text": " If <code>shaderModule</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateValidationCacheEXT": {\r
- "(VK_EXT_validation_cache)": [\r
- {\r
- "vuid": "VUID-vkCreateValidationCacheEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateValidationCacheEXT-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkValidationCacheCreateInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateValidationCacheEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateValidationCacheEXT-pValidationCache-parameter",\r
- "text": " <code>pValidationCache</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkValidationCacheEXT</code> handle"\r
- }\r
- ]\r
- },\r
- "VkValidationCacheCreateInfoEXT": {\r
- "(VK_EXT_validation_cache)": [\r
- {\r
- "vuid": "VUID-VkValidationCacheCreateInfoEXT-initialDataSize-01534",\r
- "text": " If <code>initialDataSize</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be equal to the size of <code>pInitialData</code>, as returned by <code>vkGetValidationCacheDataEXT</code> when <code>pInitialData</code> was originally retrieved"\r
- },\r
- {\r
- "vuid": "VUID-VkValidationCacheCreateInfoEXT-initialDataSize-01535",\r
- "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> have been retrieved from a previous call to <code>vkGetValidationCacheDataEXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkValidationCacheCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkValidationCacheCreateInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkValidationCacheCreateInfoEXT-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkValidationCacheCreateInfoEXT-pInitialData-parameter",\r
- "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>initialDataSize</code> bytes"\r
- }\r
- ]\r
- },\r
- "vkMergeValidationCachesEXT": {\r
- "(VK_EXT_validation_cache)": [\r
- {\r
- "vuid": "VUID-vkMergeValidationCachesEXT-dstCache-01536",\r
- "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> not appear in the list of source caches"\r
- },\r
- {\r
- "vuid": "VUID-vkMergeValidationCachesEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkMergeValidationCachesEXT-dstCache-parameter",\r
- "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkMergeValidationCachesEXT-pSrcCaches-parameter",\r
- "text": " <code>pSrcCaches</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>srcCacheCount</code> valid <code>VkValidationCacheEXT</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkMergeValidationCachesEXT-srcCacheCount-arraylength",\r
- "text": " <code>srcCacheCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMergeValidationCachesEXT-dstCache-parent",\r
- "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMergeValidationCachesEXT-pSrcCaches-parent",\r
- "text": " Each element of <code>pSrcCaches</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetValidationCacheDataEXT": {\r
- "(VK_EXT_validation_cache)": [\r
- {\r
- "vuid": "VUID-vkGetValidationCacheDataEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetValidationCacheDataEXT-validationCache-parameter",\r
- "text": " <code>validationCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetValidationCacheDataEXT-pDataSize-parameter",\r
- "text": " <code>pDataSize</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>size_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetValidationCacheDataEXT-pData-parameter",\r
- "text": " If the value referenced by <code>pDataSize</code> is not <code>0</code>, and <code>pData</code> is not <code>NULL</code>, <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pDataSize</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-vkGetValidationCacheDataEXT-validationCache-parent",\r
- "text": " <code>validationCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyValidationCacheEXT": {\r
- "(VK_EXT_validation_cache)": [\r
- {\r
- "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-01537",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>validationCache</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-01538",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>validationCache</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyValidationCacheEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-parameter",\r
- "text": " If <code>validationCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>validationCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyValidationCacheEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-parent",\r
- "text": " If <code>validationCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateComputePipelines": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-flags-00695",\r
- "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and the <code>basePipelineIndex</code> member of that same element is not <code>-1</code>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be less than the index into <code>pCreateInfos</code> that corresponds to that element"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-flags-00696",\r
- "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, the base pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT</code> flag set"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-pipelineCache-parameter",\r
- "text": " If <code>pipelineCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-pCreateInfos-parameter",\r
- "text": " <code>pCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> valid <code>VkComputePipelineCreateInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-pPipelines-parameter",\r
- "text": " <code>pPipelines</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> <code>VkPipeline</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-createInfoCount-arraylength",\r
- "text": " <code>createInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateComputePipelines-pipelineCache-parent",\r
- "text": " If <code>pipelineCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkComputePipelineCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-flags-00697",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be a valid handle to a compute <code>VkPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-flags-00698",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be a valid index into the calling command’s <code>pCreateInfos</code> parameter"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-flags-00699",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is not -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-flags-00700",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be -1"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-stage-00701",\r
- "text": " The <code>stage</code> member of <code>stage</code> <strong class=\"purple\">must</strong> be <code>VK_SHADER_STAGE_COMPUTE_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-stage-00702",\r
- "text": " The shader code for the entry point identified by <code>stage</code> and the rest of the state identified by this structure <strong class=\"purple\">must</strong> adhere to the pipeline linking rules described in the &amp;lt;&amp;lt;interfaces,Shader Interfaces&amp;gt;&amp;gt; chapter"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-layout-00703",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;descriptorsets-pipelinelayout-consistency,consistent&amp;gt;&amp;gt; with the layout of the compute shader specified in <code>stage</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-layout-01687",\r
- "text": " The number of resources in <code>layout</code> accessible to the compute shader stage <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageResources</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineCreateFlagBits\">VkPipelineCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-stage-parameter",\r
- "text": " <code>stage</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineShaderStageCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-layout-parameter",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkComputePipelineCreateInfo-commonparent",\r
- "text": " Both of <code>basePipelineHandle</code>, and <code>layout</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineShaderStageCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00704",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>stage</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00705",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>stage</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT</code> or <code>VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00706",\r
- "text": " <code>stage</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_ALL_GRAPHICS</code>, or <code>VK_SHADER_STAGE_ALL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-pName-00707",\r
- "text": " <code>pName</code> <strong class=\"purple\">must</strong> be the name of an <code>OpEntryPoint</code> in <code>module</code> with an execution model that matches <code>stage</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxClipDistances-00708",\r
- "text": " If the identified entry point includes any variable in its interface that is declared with the <code>ClipDistance</code> <code>BuiltIn</code> decoration, that variable <strong class=\"purple\">must</strong> not have an array size greater than <code>VkPhysicalDeviceLimits</code>::<code>maxClipDistances</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxCullDistances-00709",\r
- "text": " If the identified entry point includes any variable in its interface that is declared with the <code>CullDistance</code> <code>BuiltIn</code> decoration, that variable <strong class=\"purple\">must</strong> not have an array size greater than <code>VkPhysicalDeviceLimits</code>::<code>maxCullDistances</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxCombinedClipAndCullDistances-00710",\r
- "text": " If the identified entry point includes any variables in its interface that are declared with the <code>ClipDistance</code> or <code>CullDistance</code> <code>BuiltIn</code> decoration, those variables <strong class=\"purple\">must</strong> not have array sizes which sum to more than <code>VkPhysicalDeviceLimits</code>::<code>maxCombinedClipAndCullDistances</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxSampleMaskWords-00711",\r
- "text": " If the identified entry point includes any variable in its interface that is declared with the <code>SampleMask</code> <code>BuiltIn</code> decoration, that variable <strong class=\"purple\">must</strong> not have an array size greater than <code>VkPhysicalDeviceLimits</code>::<code>maxSampleMaskWords</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00712",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_VERTEX_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> not include any input variable in its interface that is decorated with <code>CullDistance</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00713",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT</code> or <code>VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT</code>, and the identified entry point has an <code>OpExecutionMode</code> instruction that specifies a patch size with <code>OutputVertices</code>, the patch size <strong class=\"purple\">must</strong> be greater than <code>0</code> and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxTessellationPatchSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00714",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> have an <code>OpExecutionMode</code> instruction that specifies a maximum output vertex count that is greater than <code>0</code> and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxGeometryOutputVertices</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00715",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> have an <code>OpExecutionMode</code> instruction that specifies an invocation count that is greater than <code>0</code> and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxGeometryShaderInvocations</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00716",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, and the identified entry point writes to <code>Layer</code> for any primitive, it <strong class=\"purple\">must</strong> write the same value to <code>Layer</code> for all vertices of a given primitive"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00717",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, and the identified entry point writes to <code>ViewportIndex</code> for any primitive, it <strong class=\"purple\">must</strong> write the same value to <code>ViewportIndex</code> for all vertices of a given primitive"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00718",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> not include any output variables in its interface decorated with <code>CullDistance</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00719",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>, and the identified entry point writes to <code>FragDepth</code> in any execution path, it <strong class=\"purple\">must</strong> write to <code>FragDepth</code> in all execution paths"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-parameter",\r
- "text": " <code>stage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-module-parameter",\r
- "text": " <code>module</code> <strong class=\"purple\">must</strong> be a valid <code>VkShaderModule</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-pName-parameter",\r
- "text": " <code>pName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-pSpecializationInfo-parameter",\r
- "text": " If <code>pSpecializationInfo</code> is not <code>NULL</code>, <code>pSpecializationInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSpecializationInfo</code> structure"\r
- }\r
- ],\r
- "(VK_EXT_shader_stencil_export)": [\r
- {\r
- "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-01511",\r
- "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>, and the identified entry point writes to <code>FragStencilRefEXT</code> in any execution path, it <strong class=\"purple\">must</strong> write to <code>FragStencilRefEXT</code> in all execution paths"\r
- }\r
- ]\r
- },\r
- "vkCreateGraphicsPipelines": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-flags-00720",\r
- "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and the <code>basePipelineIndex</code> member of that same element is not <code>-1</code>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be less than the index into <code>pCreateInfos</code> that corresponds to that element"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-flags-00721",\r
- "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, the base pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT</code> flag set"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-pipelineCache-parameter",\r
- "text": " If <code>pipelineCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-pCreateInfos-parameter",\r
- "text": " <code>pCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> valid <code>VkGraphicsPipelineCreateInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-pPipelines-parameter",\r
- "text": " <code>pPipelines</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> <code>VkPipeline</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-createInfoCount-arraylength",\r
- "text": " <code>createInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateGraphicsPipelines-pipelineCache-parent",\r
- "text": " If <code>pipelineCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkGraphicsPipelineCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00722",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be a valid handle to a graphics <code>VkPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00723",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be a valid index into the calling command’s <code>pCreateInfos</code> parameter"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00724",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is not -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00725",\r
- "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be -1"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-stage-00726",\r
- "text": " The <code>stage</code> member of each element of <code>pStages</code> <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-stage-00727",\r
- "text": " The <code>stage</code> member of one element of <code>pStages</code> <strong class=\"purple\">must</strong> be <code>VK_SHADER_STAGE_VERTEX_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-stage-00728",\r
- "text": " The <code>stage</code> member of each element of <code>pStages</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_COMPUTE_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00729",\r
- "text": " If <code>pStages</code> includes a tessellation control shader stage, it <strong class=\"purple\">must</strong> include a tessellation evaluation shader stage"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00730",\r
- "text": " If <code>pStages</code> includes a tessellation evaluation shader stage, it <strong class=\"purple\">must</strong> include a tessellation control shader stage"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00731",\r
- "text": " If <code>pStages</code> includes a tessellation control shader stage and a tessellation evaluation shader stage, <code>pTessellationState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineTessellationStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00732",\r
- "text": " If <code>pStages</code> includes tessellation shader stages, the shader code of at least one stage <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies the type of subdivision in the pipeline"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00733",\r
- "text": " If <code>pStages</code> includes tessellation shader stages, and the shader code of both stages contain an <code>OpExecutionMode</code> instruction that specifies the type of subdivision in the pipeline, they <strong class=\"purple\">must</strong> both specify the same subdivision mode"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00734",\r
- "text": " If <code>pStages</code> includes tessellation shader stages, the shader code of at least one stage <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies the output patch size in the pipeline"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00735",\r
- "text": " If <code>pStages</code> includes tessellation shader stages, and the shader code of both contain an <code>OpExecutionMode</code> instruction that specifies the out patch size in the pipeline, they <strong class=\"purple\">must</strong> both specify the same patch size"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00736",\r
- "text": " If <code>pStages</code> includes tessellation shader stages, the <code>topology</code> member of <code>pInputAssembly</code> <strong class=\"purple\">must</strong> be <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-topology-00737",\r
- "text": " If the <code>topology</code> member of <code>pInputAssembly</code> is <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>, <code>pStages</code> <strong class=\"purple\">must</strong> include tessellation shader stages"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00738",\r
- "text": " If <code>pStages</code> includes a geometry shader stage, and does not include any tessellation shader stages, its shader code <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies an input primitive type that is &amp;lt;&amp;lt;shaders-geometry-execution, compatible&amp;gt;&amp;gt; with the primitive topology specified in <code>pInputAssembly</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00739",\r
- "text": " If <code>pStages</code> includes a geometry shader stage, and also includes tessellation shader stages, its shader code <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies an input primitive type that is &amp;lt;&amp;lt;shaders-geometry-execution, compatible&amp;gt;&amp;gt; with the primitive topology that is output by the tessellation stages"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00740",\r
- "text": " If <code>pStages</code> includes a fragment shader stage and a geometry shader stage, and the fragment shader code reads from an input variable that is decorated with <code>PrimitiveID</code>, then the geometry shader code <strong class=\"purple\">must</strong> write to a matching output variable, decorated with <code>PrimitiveID</code>, in all execution paths"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00741",\r
- "text": " If <code>pStages</code> includes a fragment shader stage, its shader code <strong class=\"purple\">must</strong> not read from any input attachment that is defined as <code>VK_ATTACHMENT_UNUSED</code> in <code>subpass</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00742",\r
- "text": " The shader code for the entry points identified by <code>pStages</code>, and the rest of the state identified by this structure <strong class=\"purple\">must</strong> adhere to the pipeline linking rules described in the &amp;lt;&amp;lt;interfaces,Shader Interfaces&amp;gt;&amp;gt; chapter"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00745",\r
- "text": " If rasterization is not disabled and the subpass uses color attachments, then for each color attachment in the subpass the <code>blendEnable</code> member of the corresponding element of the <code>pAttachment</code> member of <code>pColorBlendState</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code> if the <code>format</code> of the attachment does not support color blend operations, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-attachmentCount-00746",\r
- "text": " If rasterization is not disabled and the subpass uses color attachments, the <code>attachmentCount</code> member of <code>pColorBlendState</code> <strong class=\"purple\">must</strong> be equal to the <code>colorAttachmentCount</code> used to create <code>subpass</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00747",\r
- "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_VIEWPORT</code>, the <code>pViewports</code> member of <code>pViewportState</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pViewportState</code>::<code>viewportCount</code> <code>VkViewport</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00748",\r
- "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SCISSOR</code>, the <code>pScissors</code> member of <code>pViewportState</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pViewportState</code>::<code>scissorCount</code> <code>VkRect2D</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00749",\r
- "text": " If the wide lines feature is not enabled, and no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_LINE_WIDTH</code>, the <code>lineWidth</code> member of <code>pRasterizationState</code> <strong class=\"purple\">must</strong> be <code>1.0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00750",\r
- "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, <code>pViewportState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineViewportStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00751",\r
- "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineMultisampleStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00752",\r
- "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, and <code>subpass</code> uses a depth/stencil attachment, <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineDepthStencilStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00753",\r
- "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, and <code>subpass</code> uses color attachments, <code>pColorBlendState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineColorBlendStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00754",\r
- "text": " If the depth bias clamping feature is not enabled, no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_DEPTH_BIAS</code>, and the <code>depthBiasEnable</code> member of <code>pRasterizationState</code> is <code>VK_TRUE</code>, the <code>depthBiasClamp</code> member of <code>pRasterizationState</code> <strong class=\"purple\">must</strong> be <code>0.0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-layout-00756",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;descriptorsets-pipelinelayout-consistency,consistent&amp;gt;&amp;gt; with all shaders specified in <code>pStages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00758",\r
- "text": " If <code>subpass</code> does not use any color and/or depth/stencil attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> follow the rules for a &amp;lt;&amp;lt;renderpass-noattachments, zero-attachment subpass&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00759",\r
- "text": " <code>subpass</code> <strong class=\"purple\">must</strong> be a valid subpass within <code>renderPass</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-layout-01688",\r
- "text": " The number of resources in <code>layout</code> accessible to each shader stage that is used by the pipeline <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageResources</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineDiscardRectangleStateCreateInfoEXT\">VkPipelineDiscardRectangleStateCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineCreateFlagBits\">VkPipelineCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-parameter",\r
- "text": " <code>pStages</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>stageCount</code> valid <code>VkPipelineShaderStageCreateInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pVertexInputState-parameter",\r
- "text": " <code>pVertexInputState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineVertexInputStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pInputAssemblyState-parameter",\r
- "text": " <code>pInputAssemblyState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineInputAssemblyStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pRasterizationState-parameter",\r
- "text": " <code>pRasterizationState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineRasterizationStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicState-parameter",\r
- "text": " If <code>pDynamicState</code> is not <code>NULL</code>, <code>pDynamicState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineDynamicStateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-layout-parameter",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-parameter",\r
- "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-stageCount-arraylength",\r
- "text": " <code>stageCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-commonparent",\r
- "text": " Each of <code>basePipelineHandle</code>, <code>layout</code>, and <code>renderPass</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00743",\r
- "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>depthWriteEnable</code> member of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00744",\r
- "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>failOp</code>, <code>passOp</code> and <code>depthFailOp</code> members of each of the <code>front</code> and <code>back</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_STENCIL_OP_KEEP</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01756",\r
- "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>depthWriteEnable</code> member of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01757",\r
- "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>failOp</code>, <code>passOp</code> and <code>depthFailOp</code> members of each of the <code>front</code> and <code>back</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_STENCIL_OP_KEEP</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-01565",\r
- "text": " If <code>pStages</code> includes a fragment shader stage and an input attachment was referenced by the <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a> at <code>renderPass</code> create time, its shader code <strong class=\"purple\">must</strong> not read from any aspect that was not specified in the <code>aspectMask</code> of the corresponding <a href=\"#VkInputAttachmentAspectReference\">VkInputAttachmentAspectReference</a> structure."\r
- }\r
- ],\r
- "!(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00755",\r
- "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_DEPTH_BOUNDS</code>, and the <code>depthBoundsTestEnable</code> member of <code>pDepthStencilState</code> is <code>VK_TRUE</code>, the <code>minDepthBounds</code> and <code>maxDepthBounds</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ],\r
- "(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00755",\r
- "text": " If the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is not enabled and no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_DEPTH_BOUNDS</code>, and the <code>depthBoundsTestEnable</code> member of <code>pDepthStencilState</code> is <code>VK_TRUE</code>, the <code>minDepthBounds</code> and <code>maxDepthBounds</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ],\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01521",\r
- "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code>, and the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, <code>sampleLocationsInfo.sampleLocationGridSize.width</code> <strong class=\"purple\">must</strong> evenly divide <a href=\"#VkMultisamplePropertiesEXT\">VkMultisamplePropertiesEXT</a>::<code>sampleLocationGridSize.width</code> as returned by <a href=\"#vkGetPhysicalDeviceMultisamplePropertiesEXT\">vkGetPhysicalDeviceMultisamplePropertiesEXT</a> with a <code>samples</code> parameter equaling <code>rasterizationSamples</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01522",\r
- "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code>, and the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, <code>sampleLocationsInfo.sampleLocationGridSize.height</code> <strong class=\"purple\">must</strong> evenly divide <a href=\"#VkMultisamplePropertiesEXT\">VkMultisamplePropertiesEXT</a>::<code>sampleLocationGridSize.height</code> as returned by <a href=\"#vkGetPhysicalDeviceMultisamplePropertiesEXT\">vkGetPhysicalDeviceMultisamplePropertiesEXT</a> with a <code>samples</code> parameter equaling <code>rasterizationSamples</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01523",\r
- "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code>, and the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, <code>sampleLocationsInfo.sampleLocationsPerPixel</code> <strong class=\"purple\">must</strong> equal <code>rasterizationSamples</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-sampleLocationsEnable-01524",\r
- "text": " If the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, the fragment shader code <strong class=\"purple\">must</strong> not statically use the extended instruction <code>InterpolateAtSample</code>"\r
- }\r
- ],\r
- "!(VK_AMD_mixed_attachment_samples)+!(VK_NV_framebuffer_mixed_samples)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00757",\r
- "text": " If <code>subpass</code> uses color and/or depth/stencil attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be the same as the sample count for those subpass attachments"\r
- }\r
- ],\r
- "(VK_AMD_mixed_attachment_samples)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01505",\r
- "text": " If <code>subpass</code> uses color and/or depth/stencil attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> equal the maximum of the sample counts of those subpass attachments"\r
- }\r
- ],\r
- "(VK_NV_framebuffer_mixed_samples)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01411",\r
- "text": " If <code>subpass</code> has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be the same as the sample count of the depth/stencil attachment"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01412",\r
- "text": " If <code>subpass</code> has any color attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be greater than or equal to the sample count for those subpass attachments"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00760",\r
- "text": " If the <code>renderPass</code> has multiview enabled and <code>subpass</code> has more than one bit set in the view mask and <code>multiviewTessellationShader</code> is not enabled, then <code>pStages</code> <strong class=\"purple\">must</strong> not include tessellation shaders."\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00761",\r
- "text": " If the <code>renderPass</code> has multiview enabled and <code>subpass</code> has more than one bit set in the view mask and <code>multiviewGeometryShader</code> is not enabled, then <code>pStages</code> <strong class=\"purple\">must</strong> not include a geometry shader."\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00762",\r
- "text": " If the <code>renderPass</code> has multiview enabled and <code>subpass</code> has more than one bit set in the view mask, shaders in the pipeline <strong class=\"purple\">must</strong> not write to the <code>Layer</code> built-in output"\r
- },\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00763",\r
- "text": " If the <code>renderPass</code> has multiview enabled, then all shaders <strong class=\"purple\">must</strong> not include variables decorated with the <code>Layer</code> built-in decoration in their interfaces."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00764",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not contain the <code>VK_PIPELINE_CREATE_DISPATCH_BASE</code> flag."\r
- }\r
- ],\r
- "(VK_NV_clip_space_w_scaling)": [\r
- {\r
- "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01715",\r
- "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV</code>, and the <code>viewportWScalingEnable</code> member of a <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> structure, chained to the <code>pNext</code> chain of <code>pViewportState</code>, is <code>VK_TRUE</code>, the <code>pViewportWScalings</code> member of the <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> <strong class=\"purple\">must</strong> be a pointer to an array of <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a>::<code>viewportCount</code> valid <a href=\"#VkViewportWScalingNV\">VkViewportWScalingNV</a> structures"\r
- }\r
- ]\r
- },\r
- "VkPipelineDynamicStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineDynamicStateCreateInfo-pDynamicStates-01442",\r
- "text": " Each element of <code>pDynamicStates</code> <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDynamicStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDynamicStateCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDynamicStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDynamicStateCreateInfo-pDynamicStates-parameter",\r
- "text": " <code>pDynamicStates</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dynamicStateCount</code> valid <a href=\"#VkDynamicState\">VkDynamicState</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDynamicStateCreateInfo-dynamicStateCount-arraylength",\r
- "text": " <code>dynamicStateCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyPipeline": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyPipeline-pipeline-00765",\r
- "text": " All submitted commands that refer to <code>pipeline</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipeline-pipeline-00766",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>pipeline</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipeline-pipeline-00767",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>pipeline</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipeline-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipeline-pipeline-parameter",\r
- "text": " If <code>pipeline</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipeline-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipeline-pipeline-parent",\r
- "text": " If <code>pipeline</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreatePipelineCache": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreatePipelineCache-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreatePipelineCache-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineCacheCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreatePipelineCache-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreatePipelineCache-pPipelineCache-parameter",\r
- "text": " <code>pPipelineCache</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPipelineCache</code> handle"\r
- }\r
- ]\r
- },\r
- "VkPipelineCacheCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineCacheCreateInfo-initialDataSize-00768",\r
- "text": " If <code>initialDataSize</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be equal to the size of <code>pInitialData</code>, as returned by <code>vkGetPipelineCacheData</code> when <code>pInitialData</code> was originally retrieved"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCacheCreateInfo-initialDataSize-00769",\r
- "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> have been retrieved from a previous call to <code>vkGetPipelineCacheData</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCacheCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCacheCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCacheCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCacheCreateInfo-pInitialData-parameter",\r
- "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>initialDataSize</code> bytes"\r
- }\r
- ]\r
- },\r
- "vkMergePipelineCaches": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkMergePipelineCaches-dstCache-00770",\r
- "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> not appear in the list of source caches"\r
- },\r
- {\r
- "vuid": "VUID-vkMergePipelineCaches-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkMergePipelineCaches-dstCache-parameter",\r
- "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkMergePipelineCaches-pSrcCaches-parameter",\r
- "text": " <code>pSrcCaches</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>srcCacheCount</code> valid <code>VkPipelineCache</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkMergePipelineCaches-srcCacheCount-arraylength",\r
- "text": " <code>srcCacheCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMergePipelineCaches-dstCache-parent",\r
- "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMergePipelineCaches-pSrcCaches-parent",\r
- "text": " Each element of <code>pSrcCaches</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPipelineCacheData": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPipelineCacheData-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPipelineCacheData-pipelineCache-parameter",\r
- "text": " <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPipelineCacheData-pDataSize-parameter",\r
- "text": " <code>pDataSize</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>size_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPipelineCacheData-pData-parameter",\r
- "text": " If the value referenced by <code>pDataSize</code> is not <code>0</code>, and <code>pData</code> is not <code>NULL</code>, <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pDataSize</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPipelineCacheData-pipelineCache-parent",\r
- "text": " <code>pipelineCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyPipelineCache": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-00771",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>pipelineCache</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-00772",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>pipelineCache</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineCache-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-parameter",\r
- "text": " If <code>pipelineCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineCache-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-parent",\r
- "text": " If <code>pipelineCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkSpecializationInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSpecializationInfo-offset-00773",\r
- "text": " The <code>offset</code> member of each element of <code>pMapEntries</code> <strong class=\"purple\">must</strong> be less than <code>dataSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSpecializationInfo-pMapEntries-00774",\r
- "text": " The <code>size</code> member of each element of <code>pMapEntries</code> <strong class=\"purple\">must</strong> be less than or equal to <code>dataSize</code> minus <code>offset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSpecializationInfo-mapEntryCount-00775",\r
- "text": " If <code>mapEntryCount</code> is not <code>0</code>, <code>pMapEntries</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>mapEntryCount</code> valid <code>VkSpecializationMapEntry</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSpecializationInfo-pData-parameter",\r
- "text": " If <code>dataSize</code> is not <code>0</code>, <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dataSize</code> bytes"\r
- }\r
- ]\r
- },\r
- "VkSpecializationMapEntry": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSpecializationMapEntry-constantID-00776",\r
- "text": " For a <code>constantID</code> specialization constant declared in a shader, <code>size</code> <strong class=\"purple\">must</strong> match the byte size of the <code>constantID</code>. If the specialization constant is of type <code>boolean</code>, <code>size</code> <strong class=\"purple\">must</strong> be the byte size of <code>VkBool32</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdBindPipeline": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00777",\r
- "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00778",\r
- "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00779",\r
- "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, <code>pipeline</code> <strong class=\"purple\">must</strong> be a compute pipeline"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00780",\r
- "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, <code>pipeline</code> <strong class=\"purple\">must</strong> be a graphics pipeline"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-pipeline-00781",\r
- "text": " If the &amp;lt;&amp;lt;features-features-variableMultisampleRate,variable multisample rate&amp;gt;&amp;gt; feature is not supported, <code>pipeline</code> is a graphics pipeline, the current subpass has no attachments, and this is not the first call to this function with a graphics pipeline after transitioning to the current subpass, then the sample count specified by this pipeline <strong class=\"purple\">must</strong> match that set in the previous pipeline"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-parameter",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-pipeline-parameter",\r
- "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>pipeline</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdBindPipeline-variableSampleLocations-01525",\r
- "text": " If <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>::<code>variableSampleLocations</code> is <code>VK_FALSE</code>, and <code>pipeline</code> is a graphics pipeline created with a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure having its <code>sampleLocationsEnable</code> member set to <code>VK_TRUE</code> but without <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code> enabled then the current render pass instance <strong class=\"purple\">must</strong> have been begun by specifying a <a href=\"#VkRenderPassSampleLocationsBeginInfoEXT\">VkRenderPassSampleLocationsBeginInfoEXT</a> structure whose <code>pPostSubpassSampleLocations</code> member contains an element with a <code>subpassIndex</code> matching the current subpass index and the <code>sampleLocationsInfo</code> member of that element <strong class=\"purple\">must</strong> match the <code>sampleLocationsInfo</code> specified in <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> when the pipeline was created"\r
- }\r
- ]\r
- },\r
- "vkGetShaderInfoAMD": {\r
- "(VK_AMD_shader_info)": [\r
- {\r
- "vuid": "VUID-vkGetShaderInfoAMD-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetShaderInfoAMD-pipeline-parameter",\r
- "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetShaderInfoAMD-shaderStage-parameter",\r
- "text": " <code>shaderStage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetShaderInfoAMD-infoType-parameter",\r
- "text": " <code>infoType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkShaderInfoTypeAMD\">VkShaderInfoTypeAMD</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetShaderInfoAMD-pInfoSize-parameter",\r
- "text": " <code>pInfoSize</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>size_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetShaderInfoAMD-pInfo-parameter",\r
- "text": " If the value referenced by <code>pInfoSize</code> is not <code>0</code>, and <code>pInfo</code> is not <code>NULL</code>, <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pInfoSize</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-vkGetShaderInfoAMD-pipeline-parent",\r
- "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkAllocationCallbacks": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkAllocationCallbacks-pfnAllocation-00632",\r
- "text": " <code>pfnAllocation</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid user-defined <a href=\"#PFN_vkAllocationFunction\">PFN_vkAllocationFunction</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkAllocationCallbacks-pfnReallocation-00633",\r
- "text": " <code>pfnReallocation</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid user-defined <a href=\"#PFN_vkReallocationFunction\">PFN_vkReallocationFunction</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkAllocationCallbacks-pfnFree-00634",\r
- "text": " <code>pfnFree</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid user-defined <a href=\"#PFN_vkFreeFunction\">PFN_vkFreeFunction</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkAllocationCallbacks-pfnInternalAllocation-00635",\r
- "text": " If either of <code>pfnInternalAllocation</code> or <code>pfnInternalFree</code> is not <code>NULL</code>, both <strong class=\"purple\">must</strong> be valid callbacks"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceMemoryProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties-pMemoryProperties-parameter",\r
- "text": " <code>pMemoryProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceMemoryProperties</code> structure"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceMemoryProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties2-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties2-pMemoryProperties-parameter",\r
- "text": " <code>pMemoryProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceMemoryProperties2</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceMemoryProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMemoryProperties2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMemoryProperties2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkAllocateMemory": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkAllocateMemory-pAllocateInfo-01713",\r
- "text": " <code>pAllocateInfo</code>\\-&amp;gt;<code>allocationSize</code> <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMemoryProperties\">VkPhysicalDeviceMemoryProperties</a>::<code>memoryHeaps</code>[<code>pAllocateInfo</code>\\-&amp;gt;<code>memoryTypeIndex</code>].<code>size</code> as returned by <a href=\"#vkGetPhysicalDeviceMemoryProperties\">vkGetPhysicalDeviceMemoryProperties</a> for the <a href=\"#VkPhysicalDevice\">VkPhysicalDevice</a> that <code>device</code> was created from."\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateMemory-pAllocateInfo-01714",\r
- "text": " <code>pAllocateInfo</code>\\-&amp;gt;<code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be less than <a href=\"#VkPhysicalDeviceMemoryProperties\">VkPhysicalDeviceMemoryProperties</a>::<code>memoryTypeCount</code> as returned by <a href=\"#vkGetPhysicalDeviceMemoryProperties\">vkGetPhysicalDeviceMemoryProperties</a> for the <a href=\"#VkPhysicalDevice\">VkPhysicalDevice</a> that <code>device</code> was created from."\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateMemory-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateMemory-pAllocateInfo-parameter",\r
- "text": " <code>pAllocateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryAllocateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateMemory-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateMemory-pMemory-parameter",\r
- "text": " <code>pMemory</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceMemory</code> handle"\r
- }\r
- ]\r
- },\r
- "VkMemoryAllocateInfo": {\r
- "!(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-00638",\r
- "text": " <code>allocationSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ],\r
- "(VK_KHR_external_memory)+(VK_KHR_dedicated_allocation,VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-pNext-00639",\r
- "text": " If the <code>pNext</code> chain contains an instance of <code>VkExportMemoryAllocateInfo</code>, and any of the handle types specified in <code>VkExportMemoryAllocateInfo</code>::<code>handleTypes</code> require a dedicated allocation, as reported by <a href=\"#vkGetPhysicalDeviceImageFormatProperties2\">vkGetPhysicalDeviceImageFormatProperties2</a> in <code>VkExternalImageFormatProperties</code>::<code>externalMemoryProperties</code>::<code>externalMemoryFeatures</code> or <code>VkExternalBufferProperties</code>::<code>externalMemoryProperties</code>::<code>externalMemoryFeatures</code>, the <code>pNext</code> chain must contain an instance of ifdef::VK_KHR_dedicated_allocation[<a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>]"\r
- }\r
- ],\r
- "(VK_KHR_external_memory)+(VK_NV_external_memory)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-pNext-00640",\r
- "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>, it <strong class=\"purple\">must</strong> not contain an instance of <a href=\"#VkExportMemoryAllocateInfoNV\">VkExportMemoryAllocateInfoNV</a> or <a href=\"#VkExportMemoryWin32HandleInfoNV\">VkExportMemoryWin32HandleInfoNV</a>."\r
- }\r
- ],\r
- "(VK_KHR_external_memory_win32+VK_NV_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-pNext-00641",\r
- "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkImportMemoryWin32HandleInfoKHR\">VkImportMemoryWin32HandleInfoKHR</a>, it <strong class=\"purple\">must</strong> not contain an instance of <a href=\"#VkImportMemoryWin32HandleInfoNV\">VkImportMemoryWin32HandleInfoNV</a>."\r
- }\r
- ],\r
- "(VK_KHR_external_memory_fd)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-01742",\r
- "text": " If the parameters define an import operation, the external handle specified was created by the Vulkan API, and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR</code>, then the values of <code>allocationSize</code> and <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> match those specified when the memory object being imported was created."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-00648",\r
- "text": " If the parameters define an import operation and the external handle is a POSIX file descriptor created outside of the Vulkan API, the value of <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be one of those returned by <a href=\"#vkGetMemoryFdPropertiesKHR\">vkGetMemoryFdPropertiesKHR</a>."\r
- }\r
- ],\r
- "(VK_KHR_external_memory+VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-None-00643",\r
- "text": " If the parameters define an import operation and the external handle specified was created by the Vulkan API, the device mask specified by <a href=\"#VkMemoryAllocateFlagsInfo\">VkMemoryAllocateFlagsInfo</a> <strong class=\"purple\">must</strong> match that specified when the memory object being imported was allocated."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-None-00644",\r
- "text": " If the parameters define an import operation and the external handle specified was created by the Vulkan API, the list of physical devices that comprise the logical device passed to <a href=\"#vkAllocateMemory\">vkAllocateMemory</a> <strong class=\"purple\">must</strong> match the list of physical devices that comprise the logical device on which the memory was originally allocated."\r
- }\r
- ],\r
- "(VK_KHR_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-00645",\r
- "text": " If the parameters define an import operation and the external handle is an NT handle or a global share handle created outside of the Vulkan API, the value of <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be one of those returned by <a href=\"#vkGetMemoryWin32HandlePropertiesKHR\">vkGetMemoryWin32HandlePropertiesKHR</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-01743",\r
- "text": " If the parameters define an import operation, the external handle was created by the Vulkan API, and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR</code>, then the values of <code>allocationSize</code> and <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> match those specified when the memory object being imported was created."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-00646",\r
- "text": " If the parameters define an import operation and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, <code>allocationSize</code> <strong class=\"purple\">must</strong> match the size reported in the memory requirements of the <code>image</code> or <code>buffer</code> member of the instance of <code>VkDedicatedAllocationMemoryAllocateInfoNV</code> included in the <code>pNext</code> chain."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-00647",\r
- "text": " If the parameters define an import operation and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, <code>allocationSize</code> <strong class=\"purple\">must</strong> match the size specified when creating the Direct3D 12 heap from which the external handle was extracted."\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-01872",\r
- "text": " If the protected memory feature is not enabled, the <code>VkMemoryAllocateInfo</code>::<code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> not indicate a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>."\r
- }\r
- ],\r
- "(VK_EXT_external_memory_host)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-01744",\r
- "text": " If the parameters define an import operation and the external handle is a host pointer, the value of <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be one of those returned by <a href=\"#vkGetMemoryHostPointerPropertiesEXT\">vkGetMemoryHostPointerPropertiesEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-01745",\r
- "text": " If the parameters define an import operation and the external handle is a host pointer, <code>allocationSize</code> <strong class=\"purple\">must</strong> be an integer multiple of <code>VkPhysicalDeviceExternalMemoryHostPropertiesEXT</code>::<code>minImportedHostPointerAlignment</code>"\r
- }\r
- ],\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-None-01873",\r
- "text": " If the parameters define an import operation and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BIT_ANDROID</code>:"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-pNext-01874",\r
- "text": " If the parameters do not define an import operation, and the <code>pNext</code> chain contains an instance of <code>VkExportMemoryAllocateInfo</code> with <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code> included in its <code>handleTypes</code> member, and the <code>pNext</code> contains an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> with <code>image</code> not equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, then <code>allocationSize</code> <strong class=\"purple\">must</strong> be <code>0</code>, otherwise <code>allocationSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-pNext-01875",\r
- "text": " If the parameters define an import operation, the external handle is an Android hardware buffer, and the <code>pNext</code> chain includes an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> with <code>image</code> that is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>:"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>, <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>, <a href=\"#VkExportMemoryAllocateInfoNV\">VkExportMemoryAllocateInfoNV</a>, <a href=\"#VkExportMemoryWin32HandleInfoKHR\">VkExportMemoryWin32HandleInfoKHR</a>, <a href=\"#VkExportMemoryWin32HandleInfoNV\">VkExportMemoryWin32HandleInfoNV</a>, <a href=\"#VkImportAndroidHardwareBufferInfoANDROID\">VkImportAndroidHardwareBufferInfoANDROID</a>, <a href=\"#VkImportMemoryFdInfoKHR\">VkImportMemoryFdInfoKHR</a>, <a href=\"#VkImportMemoryHostPointerInfoEXT\">VkImportMemoryHostPointerInfoEXT</a>, <a href=\"#VkImportMemoryWin32HandleInfoKHR\">VkImportMemoryWin32HandleInfoKHR</a>, <a href=\"#VkImportMemoryWin32HandleInfoNV\">VkImportMemoryWin32HandleInfoNV</a>, <a href=\"#VkMemoryAllocateFlagsInfo\">VkMemoryAllocateFlagsInfo</a>, or <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- }\r
- ]\r
- },\r
- "VkMemoryDedicatedAllocateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01432",\r
- "text": " At least one of <code>image</code> and <code>buffer</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01433",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the image"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01434",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> have been created without <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code> set in <code>VkImageCreateInfo</code>::<code>flags</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01435",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the buffer"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01436",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> have been created without <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code> set in <a href=\"#VkBufferCreateInfo\">VkBufferCreateInfo</a>::<code>flags</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-parameter",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-parameter",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-commonparent",\r
- "text": " Both of <code>buffer</code>, and <code>image</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)+(VK_KHR_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01876",\r
- "text": " If <code>image</code> is not <code>VK_NULL_HANDLE</code> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, and the external handle was created by the Vulkan API, then the memory being imported <strong class=\"purple\">must</strong> also be a dedicated image allocation and <code>image</code> must be identical to the image associated with the imported memory."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01877",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, and the external handle was created by the Vulkan API, then the memory being imported <strong class=\"purple\">must</strong> also be a dedicated buffer allocation and <code>buffer</code> must be identical to the buffer associated with the imported memory."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)+(VK_KHR_external_memory_fd)": [\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01878",\r
- "text": " If <code>image</code> is not <code>VK_NULL_HANDLE</code> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT</code>, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated image allocation and <code>image</code> must be identical to the image associated with the imported memory."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01879",\r
- "text": " If <code>buffer</code> is not <code>VK_NULL_HANDLE</code> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT</code>, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated buffer allocation and <code>buffer</code> must be identical to the buffer associated with the imported memory."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)+(VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01797",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> not have been created with <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> set in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a>::<code>flags</code>"\r
- }\r
- ]\r
- },\r
- "VkDedicatedAllocationMemoryAllocateInfoNV": {\r
- "(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00649",\r
- "text": " At least one of <code>image</code> and <code>buffer</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00650",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, the image <strong class=\"purple\">must</strong> have been created with <code>VkDedicatedAllocationImageCreateInfoNV</code>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-00651",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, the buffer <strong class=\"purple\">must</strong> have been created with <code>VkDedicatedAllocationBufferCreateInfoNV</code>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00652",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the image"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-00653",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the buffer"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-parameter",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-parameter",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-commonparent",\r
- "text": " Both of <code>buffer</code>, and <code>image</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_NV_dedicated_allocation)+(VK_KHR_external_memory_win32,VK_KHR_external_memory_fd)": [\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00654",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated image allocation and <code>image</code> <strong class=\"purple\">must</strong> be identical to the image associated with the imported memory."\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-00655",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated buffer allocation and <code>buffer</code> <strong class=\"purple\">must</strong> be identical to the buffer associated with the imported memory."\r
- }\r
- ]\r
- },\r
- "VkExportMemoryAllocateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkExportMemoryAllocateInfo-handleTypes-00656",\r
- "text": " The bits in <code>handleTypes</code> <strong class=\"purple\">must</strong> be supported and compatible, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkExportMemoryAllocateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportMemoryAllocateInfo-handleTypes-parameter",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkExportMemoryWin32HandleInfoKHR": {\r
- "(VK_KHR_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkExportMemoryWin32HandleInfoKHR-handleTypes-00657",\r
- "text": " If <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>::<code>handleTypes</code> does not include <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, VkExportMemoryWin32HandleInfoKHR <strong class=\"purple\">must</strong> not be in the <code>pNext</code> chain of <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkExportMemoryWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportMemoryWin32HandleInfoKHR-pAttributes-parameter",\r
- "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"\r
- }\r
- ]\r
- },\r
- "VkImportMemoryWin32HandleInfoKHR": {\r
- "(VK_KHR_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-00658",\r
- "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be supported for import, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handle-00659",\r
- "text": " The memory from which <code>handle</code> was exported, or the memory named by <code>name</code> <strong class=\"purple\">must</strong> have been created on the same underlying physical device as <code>device</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-00660",\r
- "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-01439",\r
- "text": " If <code>handleType</code> is not <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, <code>name</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-01440",\r
- "text": " If <code>handleType</code> is not <code>0</code> and <code>handle</code> is <code>NULL</code>, <code>name</code> <strong class=\"purple\">must</strong> name a valid memory resource of the type specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-00661",\r
- "text": " If <code>handleType</code> is not <code>0</code> and <code>name</code> is <code>NULL</code>, <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handle-01441",\r
- "text": " if <code>handle</code> is not <code>NULL</code>, <code>name</code> must be <code>NULL</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handle-01518",\r
- "text": " If <code>handle</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-memory-handle-types-compatibility\">external memory handle types compatibility</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-name-01519",\r
- "text": " If <code>name</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-memory-handle-types-compatibility\">external memory handle types compatibility</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-parameter",\r
- "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetMemoryWin32HandleKHR": {\r
- "(VK_KHR_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleKHR-pGetWin32HandleInfo-parameter",\r
- "text": " <code>pGetWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryGetWin32HandleInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleKHR-pHandle-parameter",\r
- "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"\r
- }\r
- ]\r
- },\r
- "VkMemoryGetWin32HandleInfoKHR": {\r
- "(VK_KHR_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-00662",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>::<code>handleTypes</code> when <code>memory</code> was created."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-00663",\r
- "text": " If <code>handleType</code> is defined as an NT handle, <a href=\"#vkGetMemoryWin32HandleKHR\">vkGetMemoryWin32HandleKHR</a> <strong class=\"purple\">must</strong> be called no more than once for each valid unique combination of <code>memory</code> and <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-00664",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetMemoryWin32HandlePropertiesKHR": {\r
- "(VK_KHR_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-handle-00665",\r
- "text": " <code>handle</code> <strong class=\"purple\">must</strong> be an external memory handle created outside of the Vulkan API."\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-handleType-00666",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not be one of the handle types defined as opaque."\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-pMemoryWin32HandleProperties-parameter",\r
- "text": " <code>pMemoryWin32HandleProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryWin32HandlePropertiesKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImportMemoryFdInfoKHR": {\r
- "(VK_KHR_external_memory_fd)": [\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-00667",\r
- "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be supported for import, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-fd-00668",\r
- "text": " The memory from which <code>fd</code> was exported <strong class=\"purple\">must</strong> have been created on the same underlying physical device as <code>device</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-00669",\r
- "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-00670",\r
- "text": " If <code>handleType</code> is not <code>0</code>, <code>fd</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-fd-01746",\r
- "text": " The memory represented by <code>fd</code> <strong class=\"purple\">must</strong> have been created from a physical device and driver that is compatible with <code>device</code> and <code>handleType</code>, as described in &amp;lt;&amp;lt;external-memory-handle-types-compatibility&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-fd-01520",\r
- "text": " <code>fd</code> <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in &amp;lt;&amp;lt;external-memory-handle-types-compatibility,external memory handle types compatibility&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-parameter",\r
- "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetMemoryFdKHR": {\r
- "(VK_KHR_external_memory_fd)": [\r
- {\r
- "vuid": "VUID-vkGetMemoryFdKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryFdKHR-pGetFdInfo-parameter",\r
- "text": " <code>pGetFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryGetFdInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryFdKHR-pFd-parameter",\r
- "text": " <code>pFd</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>int</code> value"\r
- }\r
- ]\r
- },\r
- "VkMemoryGetFdInfoKHR": {\r
- "(VK_KHR_external_memory_fd)": [\r
- {\r
- "vuid": "VUID-VkMemoryGetFdInfoKHR-handleType-00671",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>::<code>handleTypes</code> when <code>memory</code> was created."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetFdInfoKHR-handleType-00672",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetFdInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetFdInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetFdInfoKHR-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetFdInfoKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetMemoryFdPropertiesKHR": {\r
- "(VK_KHR_external_memory_fd)": [\r
- {\r
- "vuid": "VUID-vkGetMemoryFdPropertiesKHR-fd-00673",\r
- "text": " <code>fd</code> <strong class=\"purple\">must</strong> be an external memory handle created outside of the Vulkan API."\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryFdPropertiesKHR-handleType-00674",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not be <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryFdPropertiesKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryFdPropertiesKHR-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryFdPropertiesKHR-pMemoryFdProperties-parameter",\r
- "text": " <code>pMemoryFdProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryFdPropertiesKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImportMemoryHostPointerInfoEXT": {\r
- "(VK_EXT_external_memory_host)": [\r
- {\r
- "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01747",\r
- "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be supported for import, as reported in <a href=\"#VkExternalMemoryPropertiesKHR\">VkExternalMemoryPropertiesKHR</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01748",\r
- "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-pHostPointer-01749",\r
- "text": " <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer aligned to an integer multiple of <code>VkPhysicalDeviceExternalMemoryHostPropertiesEXT</code>::<code>minImportedHostPointerAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01750",\r
- "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to <code>allocationSize</code> number of bytes of host memory, where <code>allocationSize</code> is the member of the <code>VkMemoryAllocateInfo</code> structure this structure is chained to"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01751",\r
- "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to <code>allocationSize</code> number of bytes of host mapped foreign memory, where <code>allocationSize</code> is the member of the <code>VkMemoryAllocateInfo</code> structure this structure is chained to"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetMemoryHostPointerPropertiesEXT": {\r
- "(VK_EXT_external_memory_host)": [\r
- {\r
- "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-01752",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-pHostPointer-01753",\r
- "text": " <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer aligned to an integer multiple of <code>VkPhysicalDeviceExternalMemoryHostPropertiesEXT</code>::<code>minImportedHostPointerAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-01754",\r
- "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to host memory"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-01755",\r
- "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to host mapped foreign memory"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-pMemoryHostPointerProperties-parameter",\r
- "text": " <code>pMemoryHostPointerProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryHostPointerPropertiesEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkMemoryHostPointerPropertiesEXT": {\r
- "(VK_EXT_external_memory_host)": [\r
- {\r
- "vuid": "VUID-VkMemoryHostPointerPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryHostPointerPropertiesEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "VkImportAndroidHardwareBufferInfoANDROID": {\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-buffer-01880",\r
- "text": " If <code>buffer</code> is not <code>NULL</code>, Android hardware buffers <strong class=\"purple\">must</strong> be supported for import, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-buffer-01881",\r
- "text": " If <code>buffer</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> be a valid Android hardware buffer object with format and usage compatible with Vulkan as described by <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>AHardwareBuffer</code> value"\r
- }\r
- ]\r
- },\r
- "vkGetMemoryAndroidHardwareBufferANDROID": {\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-vkGetMemoryAndroidHardwareBufferANDROID-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryAndroidHardwareBufferANDROID-pInfo-parameter",\r
- "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryGetAndroidHardwareBufferInfoANDROID</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryAndroidHardwareBufferANDROID-pBuffer-parameter",\r
- "text": " <code>pBuffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid pointer to a <code>AHardwareBuffer</code> value"\r
- }\r
- ]\r
- },\r
- "VkMemoryGetAndroidHardwareBufferInfoANDROID": {\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkMemoryGetAndroidHardwareBufferInfoANDROID-handleTypes-01882",\r
- "text": " <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportMemoryAllocateInfoKHR\">VkExportMemoryAllocateInfoKHR</a>::<code>handleTypes</code> when <code>memory</code> was created."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryGetAndroidHardwareBufferInfoANDROID-pNext-01883",\r
- "text": " If the <code>pNext</code> chain of the <code>VkMemoryAllocateInfo</code> used to allocate <code>memory</code> included a <code>VkMemoryDedicatedAllocateInfo</code> with non-NULL <code>image</code> member, then that <code>image</code> <strong class=\"purple\">must</strong> already be bound to <code>memory</code>."\r
- }\r
- ]\r
- },\r
- "vkGetAndroidHardwareBufferPropertiesANDROID": {\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-buffer-01884",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid Android hardware buffer object with at least one of the <code>AHARDWAREBUFFER_USAGE_GPU_</code>* usage flags."\r
- },\r
- {\r
- "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>AHardwareBuffer</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-pProperties-parameter",\r
- "text": " <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkAndroidHardwareBufferPropertiesANDROID</code> structure"\r
- }\r
- ]\r
- },\r
- "VkAndroidHardwareBufferFormatPropertiesANDROID": {\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkAndroidHardwareBufferFormatPropertiesANDROID-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID</code>"\r
- }\r
- ]\r
- },\r
- "VkExportMemoryAllocateInfoNV": {\r
- "(VK_NV_external_memory)": [\r
- {\r
- "vuid": "VUID-VkExportMemoryAllocateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportMemoryAllocateInfoNV-handleTypes-parameter",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"\r
- }\r
- ]\r
- },\r
- "VkExportMemoryWin32HandleInfoNV": {\r
- "(VK_NV_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkExportMemoryWin32HandleInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExportMemoryWin32HandleInfoNV-pAttributes-parameter",\r
- "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"\r
- }\r
- ]\r
- },\r
- "VkImportMemoryWin32HandleInfoNV": {\r
- "(VK_NV_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-handleType-01327",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not have more than one bit set."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-handle-01328",\r
- "text": " <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle to memory, obtained as specified by <code>handleType</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"\r
- }\r
- ]\r
- },\r
- "vkGetMemoryWin32HandleNV": {\r
- "(VK_NV_external_memory_win32)": [\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleNV-handleType-01326",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a flag specified in <a href=\"#VkExportMemoryAllocateInfoNV\">VkExportMemoryAllocateInfoNV</a>::<code>handleTypes</code> when allocating <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleNV-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleNV-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleNV-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleNV-handleType-requiredbitmask",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleNV-pHandle-parameter",\r
- "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetMemoryWin32HandleNV-memory-parent",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkMemoryAllocateFlagsInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkMemoryAllocateFlagsInfo-deviceMask-00675",\r
- "text": " If <code>VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT</code> is set, <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask."\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateFlagsInfo-deviceMask-00676",\r
- "text": " If <code>VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT</code> is set, <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateFlagsInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryAllocateFlagsInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkMemoryAllocateFlagBits\">VkMemoryAllocateFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "vkFreeMemory": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkFreeMemory-memory-00677",\r
- "text": " All submitted commands that refer to <code>memory</code> (via images or buffers) <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeMemory-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeMemory-memory-parameter",\r
- "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeMemory-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeMemory-memory-parent",\r
- "text": " If <code>memory</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkMapMemory": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkMapMemory-memory-00678",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> not be currently mapped"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-offset-00679",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-size-00680",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-size-00681",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of the <code>memory</code> minus <code>offset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-memory-00682",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created with a memory type that reports <code>VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-ppData-parameter",\r
- "text": " <code>ppData</code> <strong class=\"purple\">must</strong> be a valid pointer to a pointer value"\r
- },\r
- {\r
- "vuid": "VUID-vkMapMemory-memory-parent",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ],\r
- "(VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkMapMemory-memory-00683",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated with multiple instances."\r
- }\r
- ]\r
- },\r
- "vkFlushMappedMemoryRanges": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkFlushMappedMemoryRanges-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkFlushMappedMemoryRanges-pMemoryRanges-parameter",\r
- "text": " <code>pMemoryRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryRangeCount</code> valid <code>VkMappedMemoryRange</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkFlushMappedMemoryRanges-memoryRangeCount-arraylength",\r
- "text": " <code>memoryRangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkInvalidateMappedMemoryRanges": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkInvalidateMappedMemoryRanges-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkInvalidateMappedMemoryRanges-pMemoryRanges-parameter",\r
- "text": " <code>pMemoryRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryRangeCount</code> valid <code>VkMappedMemoryRange</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkInvalidateMappedMemoryRanges-memoryRangeCount-arraylength",\r
- "text": " <code>memoryRangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkMappedMemoryRange": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-memory-00684",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be currently mapped"\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-size-00685",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>offset</code> and <code>size</code> <strong class=\"purple\">must</strong> specify a range contained within the currently mapped range of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-size-00686",\r
- "text": " If <code>size</code> is equal to <code>VK_WHOLE_SIZE</code>, <code>offset</code> <strong class=\"purple\">must</strong> be within the currently mapped range of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-size-01389",\r
- "text": " If <code>size</code> is equal to <code>VK_WHOLE_SIZE</code>, the end of the current mapping of <code>memory</code> <strong class=\"purple\">must</strong> be a multiple of <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>nonCoherentAtomSize</code> bytes from the beginning of the memory object."\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-offset-00687",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>nonCoherentAtomSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-size-01390",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> either be a multiple of <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>nonCoherentAtomSize</code>, or <code>offset</code> plus <code>size</code> <strong class=\"purple\">must</strong> equal the size of <code>memory</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMappedMemoryRange-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- }\r
- ]\r
- },\r
- "vkUnmapMemory": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkUnmapMemory-memory-00689",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be currently mapped"\r
- },\r
- {\r
- "vuid": "VUID-vkUnmapMemory-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUnmapMemory-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUnmapMemory-memory-parent",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetDeviceMemoryCommitment": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetDeviceMemoryCommitment-memory-00690",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created with a memory type that reports <code>VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceMemoryCommitment-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceMemoryCommitment-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceMemoryCommitment-pCommittedMemoryInBytes-parameter",\r
- "text": " <code>pCommittedMemoryInBytes</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceSize</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceMemoryCommitment-memory-parent",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetDeviceGroupPeerMemoryFeatures": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-heapIndex-00691",\r
- "text": " <code>heapIndex</code> <strong class=\"purple\">must</strong> be less than <code>memoryHeapCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-localDeviceIndex-00692",\r
- "text": " <code>localDeviceIndex</code> <strong class=\"purple\">must</strong> be a valid device index"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-remoteDeviceIndex-00693",\r
- "text": " <code>remoteDeviceIndex</code> <strong class=\"purple\">must</strong> be a valid device index"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-localDeviceIndex-00694",\r
- "text": " <code>localDeviceIndex</code> <strong class=\"purple\">must</strong> not equal remoteDeviceIndex"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-pPeerMemoryFeatures-parameter",\r
- "text": " <code>pPeerMemoryFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <a href=\"#VkPeerMemoryFeatureFlags\">VkPeerMemoryFeatureFlags</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-pPeerMemoryFeatures-requiredbitmask",\r
- "text": " <code>pPeerMemoryFeatures</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateBuffer-flags-00911",\r
- "text": " If the <code>flags</code> member of <code>pCreateInfo</code> includes <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>, creating this <code>VkBuffer</code> <strong class=\"purple\">must</strong> not cause the total required sparse memory for all currently valid sparse resources on the device to exceed <code>VkPhysicalDeviceLimits</code>::<code>sparseAddressSpaceSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateBuffer-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateBuffer-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkBufferCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateBuffer-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateBuffer-pBuffer-parameter",\r
- "text": " <code>pBuffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkBuffer</code> handle"\r
- }\r
- ]\r
- },\r
- "VkBufferCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-size-00912",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-sharingMode-00913",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueFamilyIndexCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-sharingMode-00914",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>queueFamilyIndexCount</code> <strong class=\"purple\">must</strong> be greater than <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-flags-00915",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseBinding,sparse bindings&amp;gt;&amp;gt; feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-flags-00916",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidencyBuffer,sparse buffer residency&amp;gt;&amp;gt; feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-flags-00917",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidencyAliased,sparse aliased residency&amp;gt;&amp;gt; feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-flags-00918",\r
- "text": " If <code>flags</code> contains <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code> or <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code>, it <strong class=\"purple\">must</strong> also contain <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a> or <a href=\"#VkExternalMemoryBufferCreateInfo\">VkExternalMemoryBufferCreateInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferCreateFlagBits\">VkBufferCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferUsageFlagBits\">VkBufferUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-sharingMode-parameter",\r
- "text": " <code>sharingMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSharingMode\">VkSharingMode</a> value"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-sharingMode-01391",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-sharingMode-01419",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by either <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> or <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties2\">vkGetPhysicalDeviceQueueFamilyProperties2</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-pNext-00920",\r
- "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryBufferCreateInfo\">VkExternalMemoryBufferCreateInfo</a>, its <code>handleTypes</code> member <strong class=\"purple\">must</strong> only contain bits that are also in <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>::<code>externalMemoryProperties.pname</code>:compatibleHandleTypes, as returned by <a href=\"#vkGetPhysicalDeviceExternalBufferProperties\">vkGetPhysicalDeviceExternalBufferProperties</a> with <code>pExternalBufferInfo</code>\\-&amp;gt;<code>handleType</code> equal to any one of the handle types specified in <a href=\"#VkExternalMemoryBufferCreateInfo\">VkExternalMemoryBufferCreateInfo</a>::<code>handleTypes</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-flags-01887",\r
- "text": " If the protected memory feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_PROTECTED_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-None-01888",\r
- "text": " If any of the bits <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code> are set, <code>VK_BUFFER_CREATE_PROTECTED_BIT</code> <strong class=\"purple\">must</strong> not also be set"\r
- }\r
- ],\r
- "(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkBufferCreateInfo-pNext-01571",\r
- "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>, and the <code>dedicatedAllocation</code> member of the chained structure is <code>VK_TRUE</code>, then <code>flags</code> <strong class=\"purple\">must</strong> not include <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code>"\r
- }\r
- ]\r
- },\r
- "VkDedicatedAllocationBufferCreateInfoNV": {\r
- "(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationBufferCreateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV</code>"\r
- }\r
- ]\r
- },\r
- "VkExternalMemoryBufferCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkExternalMemoryBufferCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalMemoryBufferCreateInfo-handleTypes-parameter",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "vkDestroyBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyBuffer-buffer-00922",\r
- "text": " All submitted commands that refer to <code>buffer</code>, either directly or via a <code>VkBufferView</code>, <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBuffer-buffer-00923",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>buffer</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBuffer-buffer-00924",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>buffer</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBuffer-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBuffer-buffer-parameter",\r
- "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBuffer-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBuffer-buffer-parent",\r
- "text": " If <code>buffer</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateBufferView": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateBufferView-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateBufferView-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkBufferViewCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateBufferView-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateBufferView-pView-parameter",\r
- "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkBufferView</code> handle"\r
- }\r
- ]\r
- },\r
- "VkBufferViewCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-offset-00925",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-offset-00926",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minTexelBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-range-00928",\r
- "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-range-00929",\r
- "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be a multiple of the element size of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-range-00930",\r
- "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> divided by the element size of <code>format</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxTexelBufferElements</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-offset-00931",\r
- "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, the sum of <code>offset</code> and <code>range</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-buffer-00932",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value containing at least one of <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> or <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-buffer-00933",\r
- "text": " If <code>buffer</code> was created with <code>usage</code> containing <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for uniform texel buffers, as specified by the <code>VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT</code> flag in <code>VkFormatProperties</code>::<code>bufferFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-buffer-00934",\r
- "text": " If <code>buffer</code> was created with <code>usage</code> containing <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for storage texel buffers, as specified by the <code>VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT</code> flag in <code>VkFormatProperties</code>::<code>bufferFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-buffer-00935",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferViewCreateInfo-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroyBufferView": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyBufferView-bufferView-00936",\r
- "text": " All submitted commands that refer to <code>bufferView</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBufferView-bufferView-00937",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>bufferView</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBufferView-bufferView-00938",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>bufferView</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBufferView-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBufferView-bufferView-parameter",\r
- "text": " If <code>bufferView</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>bufferView</code> <strong class=\"purple\">must</strong> be a valid <code>VkBufferView</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBufferView-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyBufferView-bufferView-parent",\r
- "text": " If <code>bufferView</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateImage": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateImage-flags-00939",\r
- "text": " If the <code>flags</code> member of <code>pCreateInfo</code> includes <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, creating this <code>VkImage</code> <strong class=\"purple\">must</strong> not cause the total required sparse memory for all currently valid sparse resources on the device to exceed <code>VkPhysicalDeviceLimits</code>::<code>sparseAddressSpaceSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateImage-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateImage-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateImage-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateImage-pImage-parameter",\r
- "text": " <code>pImage</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImage</code> handle"\r
- }\r
- ]\r
- },\r
- "VkImageCreateInfo": {\r
- "!(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-format-00940",\r
- "text": " The combination of <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> <strong class=\"purple\">must</strong> be supported, as indicated by a <code>VK_SUCCESS</code> return value from <code>vkGetPhysicalDeviceImageFormatProperties</code> invoked with the same values passed to the corresponding parameters."\r
- }\r
- ],\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-01889",\r
- "text": " If the <code>pNext</code> chain doesn’t contain an instance of <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a>, or if <code>format</code> is not VK_FORMAT_UNDEFINED, the combination of <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> <strong class=\"purple\">must</strong> be supported, as indicated by a <code>VK_SUCCESS</code> return value from <code>vkGetPhysicalDeviceImageFormatProperties</code> invoked with the same values passed to the corresponding parameters."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-01892",\r
- "text": " If the <code>pNext</code> chain includes a <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a> structure whose <code>handleTypes</code> member includes <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code>:"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-01893",\r
- "text": " If the <code>pNext</code> chain includes a <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a> structure whose <code>externalFormat</code> member is not <code>0</code>:"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-sharingMode-00941",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueFamilyIndexCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-sharingMode-00942",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>queueFamilyIndexCount</code> <strong class=\"purple\">must</strong> be greater than <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-format-00943",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> not be <code>VK_FORMAT_UNDEFINED</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-extent-00944",\r
- "text": " <code>extent</code>::<code>width</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-extent-00945",\r
- "text": " <code>extent</code>::<code>height</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-extent-00946",\r
- "text": " <code>extent</code>::<code>depth</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-mipLevels-00947",\r
- "text": " <code>mipLevels</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-arrayLayers-00948",\r
- "text": " <code>arrayLayers</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-00949",\r
- "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_2D</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00951",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_1D</code>, <code>extent.width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimension1D</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00952",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code> and <code>flags</code> does not contain <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>extent.width</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimension2D</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code>/<code>height</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00953",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code> and <code>flags</code> contains <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>extent.width</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimensionCube</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code>/<code>height</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00954",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code> and <code>flags</code> contains <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>extent.width</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be equal and <code>arrayLayers</code> <strong class=\"purple\">must</strong> be greater than or equal to 6"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00955",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_3D</code>, <code>extent.width</code>, <code>extent.height</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimension3D</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code>/<code>height</code>/<code>depth</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00956",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_1D</code>, both <code>extent.height</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00957",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-mipLevels-00958",\r
- "text": " <code>mipLevels</code> <strong class=\"purple\">must</strong> be less than or equal to <span class=\"eq\">{lfloor}log<sub>2</sub>(max(<code>extent.width</code>, <code>extent.height</code>, <code>extent.depth</code>)){rfloor} + 1</span>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-extent-00959",\r
- "text": " <code>mipLevels</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkImageFormatProperties</code>::<code>maxMipLevels</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure)"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-arrayLayers-00960",\r
- "text": " <code>arrayLayers</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkImageFormatProperties</code>::<code>maxArrayLayers</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure)"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00961",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_3D</code>, <code>arrayLayers</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-samples-00962",\r
- "text": " If <code>samples</code> is not <code>VK_SAMPLE_COUNT_1_BIT</code>, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_2D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>tiling</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TILING_OPTIMAL</code>, and <code>mipLevels</code> <strong class=\"purple\">must</strong> be equal to <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-usage-00963",\r
- "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, then bits other than <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, and <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> <strong class=\"purple\">must</strong> not be set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-usage-00964",\r
- "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>, <code>extent.width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferWidth</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-usage-00965",\r
- "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>, <code>extent.height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferHeight</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-usage-00966",\r
- "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, <code>usage</code> <strong class=\"purple\">must</strong> also contain at least one of <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-samples-00967",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a bit value that is set in <code>VkImageFormatProperties</code>::<code>sampleCounts</code> returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-usage-00968",\r
- "text": " If the &amp;lt;&amp;lt;features-features-shaderStorageImageMultisample,multisampled storage images&amp;gt;&amp;gt; feature is not enabled, and <code>usage</code> contains <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>samples</code> <strong class=\"purple\">must</strong> be <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-00969",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseBinding,sparse bindings&amp;gt;&amp;gt; feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-01924",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidencyAliased,sparse aliased residency&amp;gt;&amp;gt; feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00970",\r
- "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_1D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00971",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidencyImage2D,sparse residency for 2D images&amp;gt;&amp;gt; feature is not enabled, and <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00972",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidencyImage3D,sparse residency for 3D images&amp;gt;&amp;gt; feature is not enabled, and <code>imageType</code> is <code>VK_IMAGE_TYPE_3D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00973",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidency2Samples,sparse residency for images with 2 samples&amp;gt;&amp;gt; feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_2_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00974",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidency4Samples,sparse residency for images with 4 samples&amp;gt;&amp;gt; feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_4_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00975",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidency8Samples,sparse residency for images with 8 samples&amp;gt;&amp;gt; feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_8_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-00976",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidency16Samples,sparse residency for images with 16 samples&amp;gt;&amp;gt; feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_16_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-00987",\r
- "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code> or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code>, it <strong class=\"purple\">must</strong> also contain <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-None-01925",\r
- "text": " If any of the bits <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code> are set, <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code> <strong class=\"purple\">must</strong> not also be set"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-initialLayout-00993",\r
- "text": " <code>initialLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>, <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a>, <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>, <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>, <a href=\"#VkImageFormatListCreateInfoKHR\">VkImageFormatListCreateInfoKHR</a>, or <a href=\"#VkImageSwapchainCreateInfoKHR\">VkImageSwapchainCreateInfoKHR</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-imageType-parameter",\r
- "text": " <code>imageType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-samples-parameter",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-tiling-parameter",\r
- "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-sharingMode-parameter",\r
- "text": " <code>sharingMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSharingMode\">VkSharingMode</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-initialLayout-parameter",\r
- "text": " <code>initialLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-sharingMode-01392",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-sharingMode-01420",\r
- "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by either <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> or <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties2\">vkGetPhysicalDeviceQueueFamilyProperties2</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-00950",\r
- "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code>, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_3D</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-01890",\r
- "text": " If the protected memory feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_PROTECTED_BIT</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-None-01891",\r
- "text": " If any of the bits <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code> are set, <code>VK_IMAGE_CREATE_PROTECTED_BIT</code> <strong class=\"purple\">must</strong> not also be set."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)+(VK_NV_external_memory)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-00988",\r
- "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>, it <strong class=\"purple\">must</strong> not contain an instance of <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-00990",\r
- "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>, its <code>handleTypes</code> member <strong class=\"purple\">must</strong> only contain bits that are also in <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a>::<code>externalMemoryProperties</code>::<code>compatibleHandleTypes</code>, as returned by <a href=\"#vkGetPhysicalDeviceImageFormatProperties2\">vkGetPhysicalDeviceImageFormatProperties2</a> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure, and with an instance of <a href=\"#VkPhysicalDeviceExternalImageFormatInfo\">VkPhysicalDeviceExternalImageFormatInfo</a> in the <code>pNext</code> chain, with a <code>handleType</code> equal to any one of the handle types specified in <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>::<code>handleTypes</code>"\r
- }\r
- ],\r
- "(VK_NV_external_memory+VK_NV_external_memory_capabilities)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-00991",\r
- "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>, its <code>handleTypes</code> member <strong class=\"purple\">must</strong> only contain bits that are also in <a href=\"#VkExternalImageFormatPropertiesNV\">VkExternalImageFormatPropertiesNV</a>::<code>externalMemoryProperties</code>::<code>compatibleHandleTypes</code>, as returned by <a href=\"#vkGetPhysicalDeviceExternalImageFormatPropertiesNV\">vkGetPhysicalDeviceExternalImageFormatPropertiesNV</a> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure, and with <code>externalHandleType</code> equal to any one of the handle types specified in <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>::<code>handleTypes</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-physicalDeviceCount-01421",\r
- "text": " If the logical device was created with <a href=\"#VkDeviceGroupDeviceCreateInfo\">VkDeviceGroupDeviceCreateInfo</a>::<code>physicalDeviceCount</code> equal to 1, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-00992",\r
- "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT</code>, then <code>mipLevels</code> <strong class=\"purple\">must</strong> be one, <code>arrayLayers</code> <strong class=\"purple\">must</strong> be one, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_2D</code>, and <code>tiling</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TILING_OPTIMAL</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-01572",\r
- "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code>, then <code>format</code> <strong class=\"purple\">must</strong> be a &amp;lt;&amp;lt;appendix-compressedtex-bc,block-compressed image format&amp;gt;&amp;gt;, an &amp;lt;&amp;lt;appendix-compressedtex-etc2, ETC compressed image format&amp;gt;&amp;gt;, or an &amp;lt;&amp;lt;appendix-compressedtex-astc, ASTC compressed image format&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-01573",\r
- "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code>, then <code>flags</code> <strong class=\"purple\">must</strong> also contain <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_external_memory,VK_NV_external_memory)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-pNext-01443",\r
- "text": " If the <code>pNext</code> chain includes a ifdef::VK_VERSION_1_1,VK_KHR_external_memory[<a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>]"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-format-01574",\r
- "text": " If the image <code>format</code> is one of those listed in &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion&amp;gt;&amp;gt;:"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-tiling-01575",\r
- "text": " If <code>tiling</code> is <code>VK_IMAGE_TILING_OPTIMAL</code>, <code>format</code> is a <em>multi-planar</em> format, and <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (as returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>) does not include <code>VK_FORMAT_FEATURE_DISJOINT_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_DISJOINT_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-tiling-01576",\r
- "text": " If <code>tiling</code> is <code>VK_IMAGE_TILING_LINEAR</code>, <code>format</code> is a <em>multi-planar</em> format, and <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (as returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>) does not include <code>VK_FORMAT_FEATURE_DISJOINT_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_DISJOINT_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-format-01577",\r
- "text": " If <code>format</code> is not a <em>multi-planar</em> format, and <code>flags</code> does not include <code>VK_IMAGE_CREATE_ALIAS_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_DISJOINT_BIT</code>"\r
- }\r
- ],\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkImageCreateInfo-flags-01533",\r
- "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> <code>format</code> <strong class=\"purple\">must</strong> be a depth or depth/stencil format"\r
- }\r
- ]\r
- },\r
- "VkDedicatedAllocationImageCreateInfoNV": {\r
- "(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationImageCreateInfoNV-dedicatedAllocation-00994",\r
- "text": " If <code>dedicatedAllocation</code> is <code>VK_TRUE</code>, <code>VkImageCreateInfo</code>::<code>flags</code> <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDedicatedAllocationImageCreateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV</code>"\r
- }\r
- ]\r
- },\r
- "VkExternalMemoryImageCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_memory)": [\r
- {\r
- "vuid": "VUID-VkExternalMemoryImageCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalMemoryImageCreateInfo-handleTypes-parameter",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalMemoryImageCreateInfo-handleTypes-requiredbitmask",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkExternalMemoryImageCreateInfoNV": {\r
- "(VK_NV_external_memory)": [\r
- {\r
- "vuid": "VUID-VkExternalMemoryImageCreateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalMemoryImageCreateInfoNV-handleTypes-parameter",\r
- "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"\r
- }\r
- ]\r
- },\r
- "VkExternalFormatANDROID": {\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkExternalFormatANDROID-externalFormat-01894",\r
- "text": " <code>externalFormat</code> <strong class=\"purple\">must</strong> be <code>0</code> or a value returned in the <code>externalFormat</code> member of <a href=\"#VkAndroidHardwareBufferFormatPropertiesANDROID\">VkAndroidHardwareBufferFormatPropertiesANDROID</a> by an earlier call to <a href=\"#vkGetAndroidHardwareBufferPropertiesANDROID\">vkGetAndroidHardwareBufferPropertiesANDROID</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalFormatANDROID-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID</code>"\r
- }\r
- ]\r
- },\r
- "VkImageSwapchainCreateInfoKHR": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-VkImageSwapchainCreateInfoKHR-swapchain-00995",\r
- "text": " If <code>swapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, the fields of <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> <strong class=\"purple\">must</strong> match the &amp;lt;&amp;lt;swapchain-wsi-image-create-info, implied image creation parameters&amp;gt;&amp;gt; of the swapchain"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSwapchainCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSwapchainCreateInfoKHR-swapchain-parameter",\r
- "text": " If <code>swapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkImageFormatListCreateInfoKHR": {\r
- "(VK_KHR_image_format_list)": [\r
- {\r
- "vuid": "VUID-VkImageFormatListCreateInfoKHR-viewFormatCount-01578",\r
- "text": " If <code>viewFormatCount</code> is not <code>0</code>, all of the formats in the <code>pViewFormats</code> array <strong class=\"purple\">must</strong> be compatible with the format specified in the <code>format</code> field of <code>VkImageCreateInfo</code>, as described in the <a href=\"#resources-image-views-compatibility\">compatibility table</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageFormatListCreateInfoKHR-flags-01579",\r
- "text": " If <code>VkImageCreateInfo</code>::<code>flags</code> does not contain <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code>, <code>viewFormatCount</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageFormatListCreateInfoKHR-viewFormatCount-01580",\r
- "text": " If <code>viewFormatCount</code> is not <code>0</code>, <code>VkImageCreateInfo</code>::<code>format</code> <strong class=\"purple\">must</strong> be in <code>pViewFormats</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageFormatListCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageFormatListCreateInfoKHR-pViewFormats-parameter",\r
- "text": " If <code>viewFormatCount</code> is not <code>0</code>, <code>pViewFormats</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>viewFormatCount</code> valid <a href=\"#VkFormat\">VkFormat</a> values"\r
- }\r
- ]\r
- },\r
- "vkGetImageSubresourceLayout": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-image-00996",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>tiling</code> equal to <code>VK_IMAGE_TILING_LINEAR</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-aspectMask-00997",\r
- "text": " The <code>aspectMask</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> only have a single bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-mipLevel-01716",\r
- "text": " The <code>mipLevel</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-arrayLayer-01717",\r
- "text": " The <code>arrayLayer</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-pSubresource-parameter",\r
- "text": " <code>pSubresource</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageSubresource</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-pLayout-parameter",\r
- "text": " <code>pLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSubresourceLayout</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-image-parent",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-format-01581",\r
- "text": " If the <code>format</code> of <code>image</code> is a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar format&amp;gt;&amp;gt; with two planes, the <code>aspectMask</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-format-01582",\r
- "text": " If the <code>format</code> of <code>image</code> is a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar format&amp;gt;&amp;gt; with three planes, the <code>aspectMask</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"\r
- }\r
- ],\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-vkGetImageSubresourceLayout-image-01895",\r
- "text": " If <code>image</code> was created with the VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID external memory handle type, then <code>image</code> <strong class=\"purple\">must</strong> be bound to memory."\r
- }\r
- ]\r
- },\r
- "VkImageSubresource": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageSubresource-aspectMask-parameter",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresource-aspectMask-requiredbitmask",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyImage": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyImage-image-01000",\r
- "text": " All submitted commands that refer to <code>image</code>, either directly or via a <code>VkImageView</code>, <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImage-image-01001",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>image</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImage-image-01002",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>image</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImage-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImage-image-parameter",\r
- "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImage-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImage-image-parent",\r
- "text": " If <code>image</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateImageView": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateImageView-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateImageView-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageViewCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateImageView-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateImageView-pView-parameter",\r
- "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImageView</code> handle"\r
- }\r
- ]\r
- },\r
- "VkImageViewCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01003",\r
- "text": " If <code>image</code> was not created with <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code> then <code>viewType</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_VIEW_TYPE_CUBE</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-viewType-01004",\r
- "text": " If the &amp;lt;&amp;lt;features-features-imageCubeArray,image cubemap arrays&amp;gt;&amp;gt; feature is not enabled, <code>viewType</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01006",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code>, <code>format</code> <strong class=\"purple\">must</strong> be format that has at least one supported feature bit present in the value of <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01007",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value containing at least one of <code>VK_IMAGE_USAGE_SAMPLED_BIT</code>, <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01008",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_SAMPLED_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for sampled images, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01009",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for storage images, as specified by the <code>VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01010",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for color attachments, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01011",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for depth/stencil attachments, as specified by the <code>VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01012",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code>, <code>format</code> <strong class=\"purple\">must</strong> be format that has at least one supported feature bit present in the value of <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01013",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_SAMPLED_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for sampled images, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01014",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for storage images, as specified by the <code>VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01015",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for color attachments, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01016",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for depth/stencil attachments, as specified by the <code>VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01478",\r
- "text": " <code>subresourceRange.baseMipLevel</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01718",\r
- "text": " If <code>subresourceRange.levelCount</code> is not <code>VK_REMAINING_MIP_LEVELS</code>, <span class=\"eq\"><code>subresourceRange.baseMipLevel</code> + <code>subresourceRange.levelCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01018",\r
- "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in &amp;lt;&amp;lt;features-formats-compatibility-classes,Format Compatibility Classes&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01020",\r
- "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subResourceRange-01021",\r
- "text": " <code>subresourceRange</code> and <code>viewType</code> <strong class=\"purple\">must</strong> be compatible with the image, as described in the &amp;lt;&amp;lt;resources-image-views-compatibility,compatibility table&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkImageViewUsageCreateInfo\">VkImageViewUsageCreateInfo</a> or <a href=\"#VkSamplerYcbcrConversionInfo\">VkSamplerYcbcrConversionInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-viewType-parameter",\r
- "text": " <code>viewType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageViewType\">VkImageViewType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-components-parameter",\r
- "text": " <code>components</code> <strong class=\"purple\">must</strong> be a valid <code>VkComponentMapping</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-parameter",\r
- "text": " <code>subresourceRange</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceRange</code> structure"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01005",\r
- "text": " If <code>image</code> was created with <code>VK_IMAGE_TYPE_3D</code> but without <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set then <code>viewType</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01482",\r
- "text": " If <code>image</code> is not a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, or <code>viewType</code> is not <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01483",\r
- "text": " If <code>subresourceRange</code>::<code>layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <code>image</code> is not a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, or <code>viewType</code> is not <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>layerCount</code> <strong class=\"purple\">must</strong> be non-zero and <span class=\"eq\"><code>subresourceRange</code>::<code>baseArrayLayer</code> + <code>subresourceRange</code>::<code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01484",\r
- "text": " If <code>image</code> is a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, and <code>viewType</code> is <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>extent.depth</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01485",\r
- "text": " If <code>subresourceRange</code>::<code>layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <code>image</code> is a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, and <code>viewType</code> is <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>layerCount</code> <strong class=\"purple\">must</strong> be non-zero and <span class=\"eq\"><code>subresourceRange</code>::<code>baseArrayLayer</code> + <code>subresourceRange</code>::<code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>extent.depth</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01480",\r
- "text": " <code>subresourceRange.baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01719",\r
- "text": " If <code>subresourceRange.layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <span class=\"eq\"><code>subresourceRange.baseArrayLayer</code> + <code>subresourceRange.layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)+!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01759",\r
- "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, but without the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in &amp;lt;&amp;lt;features-formats-compatibility-classes,Format Compatibility Classes&amp;gt;&amp;gt;"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01760",\r
- "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, and if the <code>format</code> of the <code>image</code> is not a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar&amp;gt;&amp;gt; format, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in &amp;lt;&amp;lt;features-formats-compatibility-classes,Format Compatibility Classes&amp;gt;&amp;gt;"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01761",\r
- "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, but without the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, and if the <code>format</code> of the <code>image</code> is not a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar&amp;gt;&amp;gt; format, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in &amp;lt;&amp;lt;features-formats-compatibility-classes,Format Compatibility Classes&amp;gt;&amp;gt;"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01583",\r
- "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be compatible with, or <strong class=\"purple\">must</strong> be an uncompressed format that is size-compatible with, the <code>format</code> used to create <code>image</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01584",\r
- "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, the <code>levelCount</code> and <code>layerCount</code> members of <code>subresourceRange</code> <strong class=\"purple\">must</strong> both be <code>1</code>."\r
- }\r
- ],\r
- "(VK_KHR_image_format_list)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-pNext-01585",\r
- "text": " If a <code>VkImageFormatListCreateInfoKHR</code> structure was included in the <code>pNext</code> chain of the <code>VkImageCreateInfo</code> struct used when creating <code>image</code> and the <code>viewFormatCount</code> field of <code>VkImageFormatListCreateInfoKHR</code> is not zero then <code>format</code> <strong class=\"purple\">must</strong> be one of the formats in <code>VkImageFormatListCreateInfoKHR</code>::<code>pViewFormats</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01586",\r
- "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, if the <code>format</code> of the <code>image</code> is a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar&amp;gt;&amp;gt; format, and if <code>subresourceRange.aspectMask</code> is one of <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>, then <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <a href=\"#VkFormat\">VkFormat</a> for the plane of the <code>image</code> <code>format</code> indicated by <code>subresourceRange.aspectMask</code>, as defined in &amp;lt;&amp;lt;features-formats-compatible-planes&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01762",\r
- "text": " If <code>image</code> was not created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag,"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01019",\r
- "text": " If <code>image</code> was not created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be identical to the <code>format</code> used to create <code>image</code>"\r
- }\r
- ],\r
- "(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkImageViewCreateInfo-image-01896",\r
- "text": " If <code>image</code> has an &amp;lt;&amp;lt;memory-external-android-hardware-buffer-external-formats,external format&amp;gt;&amp;gt;:"\r
- }\r
- ]\r
- },\r
- "VkImageViewUsageCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkImageViewUsageCreateInfo-usage-01587",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not include any set bits that were not set in the <code>usage</code> member of the <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> structure used to create the image this image view is created from."\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewUsageCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewUsageCreateInfo-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageViewUsageCreateInfo-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkImageSubresourceRange": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageSubresourceRange-levelCount-01720",\r
- "text": " If <code>levelCount</code> is not <code>VK_REMAINING_MIP_LEVELS</code>, it <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresourceRange-layerCount-01721",\r
- "text": " If <code>layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, it <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresourceRange-aspectMask-parameter",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresourceRange-aspectMask-requiredbitmask",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageSubresourceRange-aspectMask-01670",\r
- "text": " If <code>aspectMask</code> includes <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, then it <strong class=\"purple\">must</strong> not include any of <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"\r
- }\r
- ]\r
- },\r
- "VkComponentMapping": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkComponentMapping-r-parameter",\r
- "text": " <code>r</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkComponentMapping-g-parameter",\r
- "text": " <code>g</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkComponentMapping-b-parameter",\r
- "text": " <code>b</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkComponentMapping-a-parameter",\r
- "text": " <code>a</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroyImageView": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyImageView-imageView-01026",\r
- "text": " All submitted commands that refer to <code>imageView</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImageView-imageView-01027",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>imageView</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImageView-imageView-01028",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>imageView</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImageView-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImageView-imageView-parameter",\r
- "text": " If <code>imageView</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>imageView</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageView</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImageView-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyImageView-imageView-parent",\r
- "text": " If <code>imageView</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetBufferMemoryRequirements": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetBufferMemoryRequirements-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetBufferMemoryRequirements-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetBufferMemoryRequirements-pMemoryRequirements-parameter",\r
- "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetBufferMemoryRequirements-buffer-parent",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetImageMemoryRequirements": {\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements-image-01588",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> flag set"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements-pMemoryRequirements-parameter",\r
- "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements-image-parent",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetBufferMemoryRequirements2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-vkGetBufferMemoryRequirements2-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetBufferMemoryRequirements2-pInfo-parameter",\r
- "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkBufferMemoryRequirementsInfo2</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetBufferMemoryRequirements2-pMemoryRequirements-parameter",\r
- "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements2</code> structure"\r
- }\r
- ]\r
- },\r
- "VkBufferMemoryRequirementsInfo2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-VkBufferMemoryRequirementsInfo2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryRequirementsInfo2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferMemoryRequirementsInfo2-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- }\r
- ]\r
- },\r
- "vkGetImageMemoryRequirements2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements2-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements2-pInfo-parameter",\r
- "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageMemoryRequirementsInfo2</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageMemoryRequirements2-pMemoryRequirements-parameter",\r
- "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements2</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImageMemoryRequirementsInfo2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01589",\r
- "text": " If <code>image</code> was created with a <em>multi-planar</em> format and the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> flag, there <strong class=\"purple\">must</strong> be a <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> in the <code>pNext</code> chain of the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01590",\r
- "text": " If <code>image</code> was not created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> flag, there <strong class=\"purple\">must</strong> not be a <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> in the <code>pNext</code> chain of the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01591",\r
- "text": " If <code>image</code> was created with a single-plane format, there <strong class=\"purple\">must</strong> not be a <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> in the <code>pNext</code> chain of the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a> structure"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01897",\r
- "text": " If <code>image</code> was created with the VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID external memory handle type, then <code>image</code> <strong class=\"purple\">must</strong> be bound to memory."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-VkImageMemoryRequirementsInfo2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryRequirementsInfo2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- }\r
- ]\r
- },\r
- "VkImagePlaneMemoryRequirementsInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImagePlaneMemoryRequirementsInfo-planeAspect-01592",\r
- "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be an aspect that exists in the format; that is, for a two-plane image <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, and for a three-plane image <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImagePlaneMemoryRequirementsInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImagePlaneMemoryRequirementsInfo-planeAspect-parameter",\r
- "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "VkMemoryRequirements2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-VkMemoryRequirements2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMemoryRequirements2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>"\r
- }\r
- ]\r
- },\r
- "VkMemoryDedicatedRequirements": {\r
- "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkMemoryDedicatedRequirements-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS</code>"\r
- }\r
- ]\r
- },\r
- "vkBindBufferMemory": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01029",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01030",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-memoryOffset-01031",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01032",\r
- "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> or <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minTexelBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01033",\r
- "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minUniformBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01034",\r
- "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_STORAGE_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minStorageBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-memory-01035",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-memoryOffset-01036",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-size-01037",\r
- "text": " The <code>size</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-parent",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-memory-parent",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01444",\r
- "text": " If <code>buffer</code> requires a dedicated allocation(as reported by <a href=\"#vkGetBufferMemoryRequirements2\">vkGetBufferMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>buffer</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> equal to <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-memory-01508",\r
- "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> was not <code>VK_NULL_HANDLE</code>, then <code>buffer</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code>, and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-None-01898",\r
- "text": " If buffer was created with the <code>VK_BUFFER_CREATE_PROTECTED_BIT</code> bit set, the buffer <strong class=\"purple\">must</strong> be bound to a memory object allocated with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-None-01899",\r
- "text": " If buffer was created with the <code>VK_BUFFER_CREATE_PROTECTED_BIT</code> bit not set, the buffer <strong class=\"purple\">must</strong> not be bound to a memory object created with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"\r
- }\r
- ],\r
- "(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01038",\r
- "text": " If <code>buffer</code> was created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>buffer</code> equal to a buffer handle created with identical creation parameters to <code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"\r
- }\r
- ],\r
- "(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-vkBindBufferMemory-buffer-01039",\r
- "text": " If <code>buffer</code> was not created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"\r
- }\r
- ]\r
- },\r
- "vkBindBufferMemory2": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [\r
- {\r
- "vuid": "VUID-vkBindBufferMemory2-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory2-pBindInfos-parameter",\r
- "text": " <code>pBindInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindInfoCount</code> valid <code>VkBindBufferMemoryInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkBindBufferMemory2-bindInfoCount-arraylength",\r
- "text": " <code>bindInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkBindBufferMemoryInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01593",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01594",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-memoryOffset-01595",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01596",\r
- "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> or <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minTexelBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01597",\r
- "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minUniformBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01598",\r
- "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_STORAGE_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minStorageBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-memory-01599",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-memoryOffset-01600",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-size-01601",\r
- "text": " The <code>size</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkBindBufferMemoryDeviceGroupInfo\">VkBindBufferMemoryDeviceGroupInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-commonparent",\r
- "text": " Both of <code>buffer</code>, and <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01602",\r
- "text": " If <code>buffer</code> requires a dedicated allocation(as reported by <a href=\"#vkGetBufferMemoryRequirements2\">vkGetBufferMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>buffer</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> equal to <code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-memory-01900",\r
- "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> was not <code>VK_NULL_HANDLE</code>, then <code>buffer</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01603",\r
- "text": " If <code>buffer</code> was created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>buffer</code> equal to <code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01604",\r
- "text": " If <code>buffer</code> was not created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryInfo-pNext-01605",\r
- "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindBufferMemoryDeviceGroupInfo\">VkBindBufferMemoryDeviceGroupInfo</a>, all instances of <code>memory</code> specified by <a href=\"#VkBindBufferMemoryDeviceGroupInfo\">VkBindBufferMemoryDeviceGroupInfo</a>::<code>pDeviceIndices</code> <strong class=\"purple\">must</strong> have been allocated"\r
- }\r
- ]\r
- },\r
- "VkBindBufferMemoryDeviceGroupInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-deviceIndexCount-01606",\r
- "text": " <code>deviceIndexCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-pDeviceIndices-01607",\r
- "text": " All elements of <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be valid device indices"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-pDeviceIndices-parameter",\r
- "text": " If <code>deviceIndexCount</code> is not <code>0</code>, <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>deviceIndexCount</code> <code>uint32_t</code> values"\r
- }\r
- ]\r
- },\r
- "vkBindImageMemory": {\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-01608",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> set."\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-01044",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-01045",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-memoryOffset-01046",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-memory-01047",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetImageMemoryRequirements</code> with <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-memoryOffset-01048",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetImageMemoryRequirements</code> with <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-size-01049",\r
- "text": " The <code>size</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetImageMemoryRequirements</code> with <code>image</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-memory-parameter",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-parent",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-memory-parent",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-01445",\r
- "text": " If <code>image</code> requires a dedicated allocation (as reported by <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>image</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> equal to <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-memory-01509",\r
- "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> was not <code>VK_NULL_HANDLE</code>, then <code>image</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkBindImageMemory-None-01901",\r
- "text": " If image was created with the <code>VK_IMAGE_CREATE_PROTECTED_BIT</code> bit set, the image <strong class=\"purple\">must</strong> be bound to a memory object allocated with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory-None-01902",\r
- "text": " If image was created with the <code>VK_IMAGE_CREATE_PROTECTED_BIT</code> bit not set, the image <strong class=\"purple\">must</strong> not be bound to a memory object created with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"\r
- }\r
- ],\r
- "(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-01050",\r
- "text": " If <code>image</code> was created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>image</code> equal to an image handle created with identical creation parameters to <code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"\r
- }\r
- ],\r
- "(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-vkBindImageMemory-image-01051",\r
- "text": " If <code>image</code> was not created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"\r
- }\r
- ]\r
- },\r
- "vkBindImageMemory2": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [\r
- {\r
- "vuid": "VUID-vkBindImageMemory2-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory2-pBindInfos-parameter",\r
- "text": " <code>pBindInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindInfoCount</code> valid <code>VkBindImageMemoryInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkBindImageMemory2-bindInfoCount-arraylength",\r
- "text": " <code>bindInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkBindImageMemoryInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-image-01609",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-image-01610",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-memoryOffset-01611",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>, or <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-commonparent",\r
- "text": " Both of <code>image</code>, and <code>memory</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-memory-01612",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements\">vkGetImageMemoryRequirements</a> with <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-memoryOffset-01613",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements\">vkGetImageMemoryRequirements</a> with <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-memory-01614",\r
- "text": " The difference of the size of <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be greater than or equal to the <code>size</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements\">vkGetImageMemoryRequirements</a> with the same <code>image</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01615",\r
- "text": " If the <code>pNext</code> chain does not include an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01616",\r
- "text": " If the <code>pNext</code> chain does not include an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01617",\r
- "text": " If the <code>pNext</code> chain does not include an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, the difference of the size of <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be greater than or equal to the <code>size</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with the same <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01618",\r
- "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>image</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> bit set."\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01619",\r
- "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code> and the correct <code>planeAspect</code> for this plane in the <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> structure attached to the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a>’s <code>pNext</code> chain"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01620",\r
- "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code> and the correct <code>planeAspect</code> for this plane in the <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> structure attached to the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a>’s <code>pNext</code> chain"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01621",\r
- "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, the difference of the size of <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be greater than or equal to the <code>size</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with the same <code>image</code> and the correct <code>planeAspect</code> for this plane in the <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> structure attached to the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a>’s <code>pNext</code> chain"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-image-01622",\r
- "text": " If <code>image</code> requires a dedicated allocation (as reported by <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>image</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> equal to <code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-memory-01903",\r
- "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> was not <code>VK_NULL_HANDLE</code>, then <code>image</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-image-01623",\r
- "text": " If <code>image</code> was created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>image</code> equal to <code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-image-01624",\r
- "text": " If <code>image</code> was not created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+!(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-memory-01625",\r
- "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01626",\r
- "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, all instances of <code>memory</code> specified by <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>pDeviceIndices</code> <strong class=\"purple\">must</strong> have been allocated"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01627",\r
- "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, and <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>splitInstanceBindRegionCount</code> is not zero, then <code>image</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01628",\r
- "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, all elements of <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be valid rectangles contained within the dimensions of <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01629",\r
- "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, the union of the areas of all elements of <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>pSplitInstanceBindRegions</code> that correspond to the same instance of <code>image</code> <strong class=\"purple\">must</strong> cover the entire image."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-image-01630",\r
- "text": " If <code>image</code> was created with a valid swapchain handle in <a href=\"#VkImageSwapchainCreateInfoKHR\">VkImageSwapchainCreateInfoKHR</a>::<code>swapchain</code>, then the <code>pNext</code> chain <strong class=\"purple\">must</strong> include a valid instance of <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01631",\r
- "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>, <code>memory</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryInfo-pNext-01632",\r
- "text": " If the <code>pNext</code> chain does not include an instance of <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- }\r
- ]\r
- },\r
- "VkBindImageMemoryDeviceGroupInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-deviceIndexCount-01633",\r
- "text": " At least one of <code>deviceIndexCount</code> and <code>splitInstanceBindRegionCount</code> <strong class=\"purple\">must</strong> be zero."\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-deviceIndexCount-01634",\r
- "text": " <code>deviceIndexCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pDeviceIndices-01635",\r
- "text": " All elements of <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be valid device indices."\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-splitInstanceBindRegionCount-01636",\r
- "text": " <code>splitInstanceBindRegionCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device squared"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pSplitInstanceBindRegions-01637",\r
- "text": " Elements of <code>pSplitInstanceBindRegions</code> that correspond to the same instance of an image <strong class=\"purple\">must</strong> not overlap."\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-offset-01638",\r
- "text": " The <code>offset.x</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block width (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.width</code>) of all non-metadata aspects of the image"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-offset-01639",\r
- "text": " The <code>offset.y</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block height (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.height</code>) of all non-metadata aspects of the image"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-extent-01640",\r
- "text": " The <code>extent.width</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block width of all non-metadata aspects of the image, or else <code>extent.width</code> + <code>offset.x</code> <strong class=\"purple\">must</strong> equal the width of the image subresource"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-extent-01641",\r
- "text": " The <code>extent.height</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block height of all non-metadata aspects of the image, or else <code>extent.height</code><br> <code>offset.y</code> <strong class=\"purple\">must</strong> equal the width of the image subresource"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pDeviceIndices-parameter",\r
- "text": " If <code>deviceIndexCount</code> is not <code>0</code>, <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>deviceIndexCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pSplitInstanceBindRegions-parameter",\r
- "text": " If <code>splitInstanceBindRegionCount</code> is not <code>0</code>, <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>splitInstanceBindRegionCount</code> <code>VkRect2D</code> structures"\r
- }\r
- ]\r
- },\r
- "VkBindImageMemorySwapchainInfoKHR": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-VkBindImageMemorySwapchainInfoKHR-imageIndex-01644",\r
- "text": " <code>imageIndex</code> <strong class=\"purple\">must</strong> be less than the number of images in <code>swapchain</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemorySwapchainInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImageMemorySwapchainInfoKHR-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkBindImagePlaneMemoryInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkBindImagePlaneMemoryInfo-planeAspect-01642",\r
- "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be a single valid plane aspect for the image format (that is, <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> for “<code>_2PLANE</code>” formats and <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> for “<code>_3PLANE</code>” formats)"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImagePlaneMemoryInfo-None-01643",\r
- "text": " A single call to <a href=\"#vkBindImageMemory2\">vkBindImageMemory2</a> <strong class=\"purple\">must</strong> bind all or none of the planes of an image (i.e. bindings to all planes of an image <strong class=\"purple\">must</strong> be made in a single <a href=\"#vkBindImageMemory2\">vkBindImageMemory2</a> call), as separate bindings"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImagePlaneMemoryInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindImagePlaneMemoryInfo-planeAspect-parameter",\r
- "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "vkCreateSampler": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateSampler-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSampler-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSamplerCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSampler-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSampler-pSampler-parameter",\r
- "text": " <code>pSampler</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSampler</code> handle"\r
- }\r
- ]\r
- },\r
- "VkSamplerCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-mipLodBias-01069",\r
- "text": " The absolute value of <code>mipLodBias</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxSamplerLodBias</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-anisotropyEnable-01070",\r
- "text": " If the &amp;lt;&amp;lt;features-features-samplerAnisotropy,anisotropic sampling&amp;gt;&amp;gt; feature is not enabled, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-anisotropyEnable-01071",\r
- "text": " If <code>anisotropyEnable</code> is <code>VK_TRUE</code>, <code>maxAnisotropy</code> <strong class=\"purple\">must</strong> be between <code>1.0</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxSamplerAnisotropy</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01072",\r
- "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>minFilter</code> and <code>magFilter</code> <strong class=\"purple\">must</strong> be equal"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01073",\r
- "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>mipmapMode</code> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_MIPMAP_MODE_NEAREST</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01074",\r
- "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>minLod</code> and <code>maxLod</code> <strong class=\"purple\">must</strong> be zero"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01075",\r
- "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>addressModeU</code> and <code>addressModeV</code> <strong class=\"purple\">must</strong> each be either <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE</code> or <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01076",\r
- "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01077",\r
- "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>compareEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-addressModeU-01078",\r
- "text": " If any of <code>addressModeU</code>, <code>addressModeV</code> or <code>addressModeW</code> are <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER</code>, <code>borderColor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBorderColor\">VkBorderColor</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-addressModeU-01079",\r
- "text": " If the <code><a href=\"#VK_KHR_sampler_mirror_clamp_to_edge\">VK_KHR_sampler_mirror_clamp_to_edge</a></code> extension is not enabled, <code>addressModeU</code>, <code>addressModeV</code> and <code>addressModeW</code> <strong class=\"purple\">must</strong> not be <code>VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-compareEnable-01080",\r
- "text": " If <code>compareEnable</code> is <code>VK_TRUE</code>, <code>compareOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompareOp\">VkCompareOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkSamplerReductionModeCreateInfoEXT\">VkSamplerReductionModeCreateInfoEXT</a> or <a href=\"#VkSamplerYcbcrConversionInfo\">VkSamplerYcbcrConversionInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-magFilter-parameter",\r
- "text": " <code>magFilter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-minFilter-parameter",\r
- "text": " <code>minFilter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-mipmapMode-parameter",\r
- "text": " <code>mipmapMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerMipmapMode\">VkSamplerMipmapMode</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-addressModeU-parameter",\r
- "text": " <code>addressModeU</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerAddressMode\">VkSamplerAddressMode</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-addressModeV-parameter",\r
- "text": " <code>addressModeV</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerAddressMode\">VkSamplerAddressMode</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-addressModeW-parameter",\r
- "text": " <code>addressModeW</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerAddressMode\">VkSamplerAddressMode</a> value"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-minFilter-01645",\r
- "text": " If &amp;lt;&amp;lt;samplers-YCbCr-conversion,sampler Y’C<sub>B</sub>C<sub>R</sub> conversion&amp;gt;&amp;gt; is enabled and <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT</code> is not set for the format, <code>minFilter</code> and <code>magFilter</code> <strong class=\"purple\">must</strong> be equal to the sampler Y’C<sub>B</sub>C<sub>R</sub> conversion’s <code>chromaFilter</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-addressModeU-01646",\r
- "text": " If &amp;lt;&amp;lt;samplers-YCbCr-conversion,sampler Y’C<sub>B</sub>C<sub>R</sub> conversion&amp;gt;&amp;gt; is enabled, <code>addressModeU</code>, <code>addressModeV</code>, and <code>addressModeW</code> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE</code>, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>, and <code>unnormalizedCoordinates</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+(VK_EXT_sampler_filter_minmax)": [\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-None-01647",\r
- "text": " The sampler reduction mode <strong class=\"purple\">must</strong> be set to <code>VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT</code> if &amp;lt;&amp;lt;samplers-YCbCr-conversion,sampler Y’C<sub>B</sub>C<sub>R</sub> conversion&amp;gt;&amp;gt; is enabled"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-magFilter-01081",\r
- "text": " If either <code>magFilter</code> or <code>minFilter</code> is <code>VK_FILTER_CUBIC_IMG</code>, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic+VK_EXT_sampler_filter_minmax)": [\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-magFilter-01422",\r
- "text": " If either <code>magFilter</code> or <code>minFilter</code> is <code>VK_FILTER_CUBIC_IMG</code>, the <code>reductionMode</code> member of <a href=\"#VkSamplerReductionModeCreateInfoEXT\">VkSamplerReductionModeCreateInfoEXT</a> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT</code>"\r
- }\r
- ],\r
- "(VK_EXT_sampler_filter_minmax)": [\r
- {\r
- "vuid": "VUID-VkSamplerCreateInfo-compareEnable-01423",\r
- "text": " If <code>compareEnable</code> is <code>VK_TRUE</code>, the <code>reductionMode</code> member of <a href=\"#VkSamplerReductionModeCreateInfoEXT\">VkSamplerReductionModeCreateInfoEXT</a> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkSamplerReductionModeCreateInfoEXT": {\r
- "(VK_EXT_sampler_filter_minmax)": [\r
- {\r
- "vuid": "VUID-VkSamplerReductionModeCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerReductionModeCreateInfoEXT-reductionMode-parameter",\r
- "text": " <code>reductionMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerReductionModeEXT\">VkSamplerReductionModeEXT</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroySampler": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroySampler-sampler-01082",\r
- "text": " All submitted commands that refer to <code>sampler</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySampler-sampler-01083",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>sampler</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySampler-sampler-01084",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>sampler</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySampler-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySampler-sampler-parameter",\r
- "text": " If <code>sampler</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>sampler</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampler</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySampler-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySampler-sampler-parent",\r
- "text": " If <code>sampler</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkSamplerYcbcrConversionInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionInfo-conversion-parameter",\r
- "text": " <code>conversion</code> <strong class=\"purple\">must</strong> be a valid <code>VkSamplerYcbcrConversion</code> handle"\r
- }\r
- ]\r
- },\r
- "vkCreateSamplerYcbcrConversion": {\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkCreateSamplerYcbcrConversion-None-01648",\r
- "text": " The &amp;lt;&amp;lt;features-features-sampler-YCbCr-conversion, sampler Y’C<sub>B</sub>C<sub>R</sub> conversion feature&amp;gt;&amp;gt; <strong class=\"purple\">must</strong> be enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSamplerYcbcrConversion-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSamplerYcbcrConversion-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSamplerYcbcrConversionCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSamplerYcbcrConversion-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSamplerYcbcrConversion-pYcbcrConversion-parameter",\r
- "text": " <code>pYcbcrConversion</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSamplerYcbcrConversion</code> handle"\r
- }\r
- ]\r
- },\r
- "VkSamplerYcbcrConversionCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01649",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> not be <code>VK_FORMAT_UNDEFINED</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01904",\r
- "text": " If an external format conversion is being created, <code>format</code> <strong class=\"purple\">must</strong> be <code>VK_FORMAT_UNDEFINED</code>, otherwise it <strong class=\"purple\">must</strong> not be <code>VK_FORMAT_UNDEFINED</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01650",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> support <code>VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT</code> or <code>VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-xChromaOffset-01651",\r
- "text": " If the format does not support <code>VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT</code>, <code>xChromaOffset</code> and <code>yChromaOffset</code> <strong class=\"purple\">must</strong> not be <code>VK_CHROMA_LOCATION_COSITED_EVEN</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-xChromaOffset-01652",\r
- "text": " If the format does not support <code>VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT</code>, <code>xChromaOffset</code> and <code>yChromaOffset</code> <strong class=\"purple\">must</strong> not be <code>VK_CHROMA_LOCATION_MIDPOINT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01653",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> represent unsigned normalized values (i.e. the format must be a <code>UNORM</code> format)"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-None-01654",\r
- "text": " If the format has a <code>_422</code> or <code>_420</code> suffix:"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-ycbcrModel-01655",\r
- "text": " If <code>ycbcrModel</code> is not <code>VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY</code>, then <code>components.r</code>, <code>components.g</code>, and <code>components.b</code> <strong class=\"purple\">must</strong> correspond to channels of the <code>format</code>; that is, <code>components.r</code>, <code>components.g</code>, and <code>components.b</code> <strong class=\"purple\">must</strong> not be <code>VK_COMPONENT_SWIZZLE_ZERO</code> or <code>VK_COMPONENT_SWIZZLE_ONE</code>, and <strong class=\"purple\">must</strong> not correspond to a channel which contains zero or one as a consequence of &amp;lt;&amp;lt;textures-conversion-to-rgba,conversion to RGBA&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-forceExplicitReconstruction-01656",\r
- "text": " If the format does not support <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT</code>, <code>forceExplicitReconstruction</code> <strong class=\"purple\">must</strong> be FALSE"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-chromaFilter-01657",\r
- "text": " If the format does not support <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT</code>, <code>chromaFilter</code> <strong class=\"purple\">must</strong> be <code>VK_FILTER_NEAREST</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-ycbcrModel-parameter",\r
- "text": " <code>ycbcrModel</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerYcbcrModelConversion\">VkSamplerYcbcrModelConversion</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-ycbcrRange-parameter",\r
- "text": " <code>ycbcrRange</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerYcbcrRange\">VkSamplerYcbcrRange</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-components-parameter",\r
- "text": " <code>components</code> <strong class=\"purple\">must</strong> be a valid <code>VkComponentMapping</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-xChromaOffset-parameter",\r
- "text": " <code>xChromaOffset</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkChromaLocation\">VkChromaLocation</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-yChromaOffset-parameter",\r
- "text": " <code>yChromaOffset</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkChromaLocation\">VkChromaLocation</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-chromaFilter-parameter",\r
- "text": " <code>chromaFilter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroySamplerYcbcrConversion": {\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkDestroySamplerYcbcrConversion-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySamplerYcbcrConversion-ycbcrConversion-parameter",\r
- "text": " If <code>ycbcrConversion</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>ycbcrConversion</code> <strong class=\"purple\">must</strong> be a valid <code>VkSamplerYcbcrConversion</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySamplerYcbcrConversion-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySamplerYcbcrConversion-ycbcrConversion-parent",\r
- "text": " If <code>ycbcrConversion</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateDescriptorSetLayout": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateDescriptorSetLayout-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorSetLayout-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorSetLayoutCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorSetLayout-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorSetLayout-pSetLayout-parameter",\r
- "text": " <code>pSetLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorSetLayout</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDescriptorSetLayoutCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-binding-00279",\r
- "text": " The <a href=\"#VkDescriptorSetLayoutBinding\">VkDescriptorSetLayoutBinding</a>::<code>binding</code> members of the elements of the <code>pBindings</code> array <strong class=\"purple\">must</strong> each have different values."\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDescriptorSetLayoutBindingFlagsCreateInfoEXT\">VkDescriptorSetLayoutBindingFlagsCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDescriptorSetLayoutCreateFlagBits\">VkDescriptorSetLayoutCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-pBindings-parameter",\r
- "text": " If <code>bindingCount</code> is not <code>0</code>, <code>pBindings</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> valid <code>VkDescriptorSetLayoutBinding</code> structures"\r
- }\r
- ],\r
- "(VK_KHR_push_descriptor)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-00280",\r
- "text": " If <code>flags</code> contains <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>, then all elements of <code>pBindings</code> <strong class=\"purple\">must</strong> not have a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-00281",\r
- "text": " If <code>flags</code> contains <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>, then the total number of elements of all bindings <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDevicePushDescriptorPropertiesKHR\">VkPhysicalDevicePushDescriptorPropertiesKHR</a>::<code>maxPushDescriptors</code>"\r
- }\r
- ],\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-03000",\r
- "text": " If any binding has the <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code> bit set, <code>flags</code> <strong class=\"purple\">must</strong> include <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-descriptorType-03001",\r
- "text": " If any binding has the <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code> bit set, then all bindings <strong class=\"purple\">must</strong> not have <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>"\r
- }\r
- ]\r
- },\r
- "VkDescriptorSetLayoutBinding": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorType-00282",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, and <code>descriptorCount</code> is not <code>0</code> and <code>pImmutableSamplers</code> is not <code>NULL</code>, <code>pImmutableSamplers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkSampler</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorCount-00283",\r
- "text": " If <code>descriptorCount</code> is not <code>0</code>, <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorType-01510",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> and <code>descriptorCount</code> is not <code>0</code>, then <code>stageFlags</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorType-parameter",\r
- "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"\r
- }\r
- ]\r
- },\r
- "VkDescriptorSetLayoutBindingFlagsCreateInfoEXT": {\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-bindingCount-03002",\r
- "text": " If <code>bindingCount</code> is not zero, <code>bindingCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkDescriptorSetLayoutCreateInfo\">VkDescriptorSetLayoutCreateInfo</a>::<code>bindingCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-03004",\r
- "text": " If an element of <code>pBindingFlags</code> includes <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>, then all other elements of <a href=\"#VkDescriptorSetLayoutCreateInfo\">VkDescriptorSetLayoutCreateInfo</a>::<code>pBindings</code> <strong class=\"purple\">must</strong> have a smaller value of <code>binding</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingUniformBufferUpdateAfterBind-03005",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingUniformBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingSampledImageUpdateAfterBind-03006",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingSampledImageUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, or <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingStorageImageUpdateAfterBind-03007",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingStorageImageUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingStorageBufferUpdateAfterBind-03008",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingStorageBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingUniformTexelBufferUpdateAfterBind-03009",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingUniformTexelBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingStorageTexelBufferUpdateAfterBind-03010",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingStorageTexelBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-None-03011",\r
- "text": " All bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingUpdateUnusedWhilePending-03012",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingUpdateUnusedWhilePending</code> is not enabled, all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingPartiallyBound-03013",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingPartiallyBound</code> is not enabled, all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingVariableDescriptorCount-03014",\r
- "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingVariableDescriptorCount</code> is not enabled, all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-03015",\r
- "text": " If an element of <code>pBindingFlags</code> includes <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>, that element’s <code>descriptorType</code> <strong class=\"purple\">must</strong> not be <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-parameter",\r
- "text": " If <code>bindingCount</code> is not <code>0</code>, <code>pBindingFlags</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> valid combinations of <a href=\"#VkDescriptorBindingFlagBitsEXT\">VkDescriptorBindingFlagBitsEXT</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-requiredbitmask",\r
- "text": " Each element of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ],\r
- "(VK_EXT_descriptor_indexing)+(VK_KHR_push_descriptor)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-flags-03003",\r
- "text": " If <a href=\"#VkDescriptorSetLayoutCreateInfo\">VkDescriptorSetLayoutCreateInfo</a>::<code>flags</code> includes <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>, then all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>, <code>VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT</code>, or <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>"\r
- }\r
- ]\r
- },\r
- "vkGetDescriptorSetLayoutSupport": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance3)": [\r
- {\r
- "vuid": "VUID-vkGetDescriptorSetLayoutSupport-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDescriptorSetLayoutSupport-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorSetLayoutCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDescriptorSetLayoutSupport-pSupport-parameter",\r
- "text": " <code>pSupport</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorSetLayoutSupport</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDescriptorSetLayoutSupport": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance3)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutSupport-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetLayoutSupport-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDescriptorSetVariableDescriptorCountLayoutSupportEXT\">VkDescriptorSetVariableDescriptorCountLayoutSupportEXT</a>"\r
- }\r
- ]\r
- },\r
- "VkDescriptorSetVariableDescriptorCountLayoutSupportEXT": {\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetVariableDescriptorCountLayoutSupportEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyDescriptorSetLayout": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-00284",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-00285",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorSetLayout-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-parameter",\r
- "text": " If <code>descriptorSetLayout</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorSetLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSetLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorSetLayout-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-parent",\r
- "text": " If <code>descriptorSetLayout</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreatePipelineLayout": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreatePipelineLayout-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreatePipelineLayout-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineLayoutCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreatePipelineLayout-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreatePipelineLayout-pPipelineLayout-parameter",\r
- "text": " <code>pPipelineLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPipelineLayout</code> handle"\r
- }\r
- ]\r
- },\r
- "VkPipelineLayoutCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-setLayoutCount-00286",\r
- "text": " <code>setLayoutCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxBoundDescriptorSets</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pPushConstantRanges-00292",\r
- "text": " Any two elements of <code>pPushConstantRanges</code> <strong class=\"purple\">must</strong> not include the same stage in <code>stageFlags</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-parameter",\r
- "text": " If <code>setLayoutCount</code> is not <code>0</code>, <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>setLayoutCount</code> valid <code>VkDescriptorSetLayout</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pPushConstantRanges-parameter",\r
- "text": " If <code>pushConstantRangeCount</code> is not <code>0</code>, <code>pPushConstantRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pushConstantRangeCount</code> valid <code>VkPushConstantRange</code> structures"\r
- }\r
- ],\r
- "!(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00287",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSamplers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00288",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorUniformBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00289",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00290",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSampledImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00291",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01676",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorInputAttachments</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01677",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSamplers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01678",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> accessible across all shader stagess and and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01679",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffersDynamic</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01680",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01681",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffersDynamic</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01682",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSampledImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01683",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01684",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetInputAttachments</code>"\r
- }\r
- ],\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03016",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSamplers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03017",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorUniformBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03018",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03019",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSampledImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03020",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03021",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorInputAttachments</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03022",\r
- "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindSamplers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03023",\r
- "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindUniformBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03024",\r
- "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindStorageBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03025",\r
- "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindSampledImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03026",\r
- "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindStorageImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03027",\r
- "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindInputAttachments</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03028",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSamplers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03029",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> accessible across all shader stagess and and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03030",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffersDynamic</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03031",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03032",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffersDynamic</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03033",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSampledImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03034",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03035",\r
- "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetInputAttachments</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03036",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindSamplers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03037",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> accessible across all shader stagess and and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindUniformBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03038",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindUniformBuffersDynamic</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03039",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindStorageBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03040",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindStorageBuffersDynamic</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03041",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindSampledImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03042",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindStorageImages</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03043",\r
- "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindInputAttachments</code>"\r
- }\r
- ],\r
- "(VK_KHR_push_descriptor)": [\r
- {\r
- "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00293",\r
- "text": " <code>pSetLayouts</code> <strong class=\"purple\">must</strong> not contain more than one descriptor set layout that was created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code> set"\r
- }\r
- ]\r
- },\r
- "VkPushConstantRange": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPushConstantRange-offset-00294",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPushConstantRange-offset-00295",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPushConstantRange-size-00296",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPushConstantRange-size-00297",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPushConstantRange-size-00298",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code> minus <code>offset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPushConstantRange-stageFlags-parameter",\r
- "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPushConstantRange-stageFlags-requiredbitmask",\r
- "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyPipelineLayout": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-00299",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>pipelineLayout</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-00300",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>pipelineLayout</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineLayout-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-parameter",\r
- "text": " If <code>pipelineLayout</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineLayout-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-parent",\r
- "text": " If <code>pipelineLayout</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateDescriptorPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateDescriptorPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorPool-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorPoolCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorPool-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorPool-pDescriptorPool-parameter",\r
- "text": " <code>pDescriptorPool</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorPool</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDescriptorPoolCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDescriptorPoolCreateInfo-maxSets-00301",\r
- "text": " <code>maxSets</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorPoolCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorPoolCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorPoolCreateInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDescriptorPoolCreateFlagBits\">VkDescriptorPoolCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorPoolCreateInfo-pPoolSizes-parameter",\r
- "text": " <code>pPoolSizes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>poolSizeCount</code> valid <code>VkDescriptorPoolSize</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorPoolCreateInfo-poolSizeCount-arraylength",\r
- "text": " <code>poolSizeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkDescriptorPoolSize": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDescriptorPoolSize-descriptorCount-00302",\r
- "text": " <code>descriptorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorPoolSize-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroyDescriptorPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-00303",\r
- "text": " All submitted commands that refer to <code>descriptorPool</code> (via any allocated descriptor sets) <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-00304",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>descriptorPool</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-00305",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>descriptorPool</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-parameter",\r
- "text": " If <code>descriptorPool</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorPool-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-parent",\r
- "text": " If <code>descriptorPool</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkAllocateDescriptorSets": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkAllocateDescriptorSets-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateDescriptorSets-pAllocateInfo-parameter",\r
- "text": " <code>pAllocateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorSetAllocateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkAllocateDescriptorSets-pDescriptorSets-parameter",\r
- "text": " <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pAllocateInfo</code>::descriptorSetCount <code>VkDescriptorSet</code> handles"\r
- }\r
- ]\r
- },\r
- "VkDescriptorSetAllocateInfo": {\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorSetCount-00306",\r
- "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> not be greater than the number of sets that are currently available for allocation in <code>descriptorPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorPool-00307",\r
- "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have enough free descriptor capacity remaining to allocate the descriptor sets of the specified layouts"\r
- }\r
- ],\r
- "(VK_KHR_push_descriptor)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-pSetLayouts-00308",\r
- "text": " Each element of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> not have been created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code> set"\r
- }\r
- ],\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-pSetLayouts-03044",\r
- "text": " If any element of <code>pSetLayouts</code> was created with the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set, <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDescriptorSetVariableDescriptorCountAllocateInfoEXT\">VkDescriptorSetVariableDescriptorCountAllocateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorPool-parameter",\r
- "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-pSetLayouts-parameter",\r
- "text": " <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> valid <code>VkDescriptorSetLayout</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorSetCount-arraylength",\r
- "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetAllocateInfo-commonparent",\r
- "text": " Both of <code>descriptorPool</code>, and the elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkDescriptorSetVariableDescriptorCountAllocateInfoEXT": {\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-descriptorSetCount-03045",\r
- "text": " If <code>descriptorSetCount</code> is not zero, <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkDescriptorSetAllocateInfo\">VkDescriptorSetAllocateInfo</a>::<code>descriptorSetCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-pSetLayouts-03046",\r
- "text": " If <a href=\"#VkDescriptorSetAllocateInfo\">VkDescriptorSetAllocateInfo</a>::<code>pSetLayouts</code>[i] has a variable descriptor count binding, then <code>pDescriptorCounts</code>[i] <strong class=\"purple\">must</strong> be less than or equal to the descriptor count specified for that binding when the descriptor set layout was created."\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-pDescriptorCounts-parameter",\r
- "text": " If <code>descriptorSetCount</code> is not <code>0</code>, <code>pDescriptorCounts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> <code>uint32_t</code> values"\r
- }\r
- ]\r
- },\r
- "vkFreeDescriptorSets": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-00309",\r
- "text": " All submitted commands that refer to any element of <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-00310",\r
- "text": " <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> <code>VkDescriptorSet</code> handles, each element of which <strong class=\"purple\">must</strong> either be a valid handle or <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-00311",\r
- "text": " Each valid handle in <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have been allocated from <code>descriptorPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-descriptorPool-00312",\r
- "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT</code> flag"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-descriptorPool-parameter",\r
- "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-descriptorSetCount-arraylength",\r
- "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-descriptorPool-parent",\r
- "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-parent",\r
- "text": " Each element of <code>pDescriptorSets</code> that is a valid handle <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>descriptorPool</code>"\r
- }\r
- ]\r
- },\r
- "vkResetDescriptorPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkResetDescriptorPool-descriptorPool-00313",\r
- "text": " All uses of <code>descriptorPool</code> (via any allocated descriptor sets) <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkResetDescriptorPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetDescriptorPool-descriptorPool-parameter",\r
- "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkResetDescriptorPool-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkResetDescriptorPool-descriptorPool-parent",\r
- "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkUpdateDescriptorSets": {\r
- "!(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSets-dstSet-00314",\r
- "text": " The <code>dstSet</code> member of each element of <code>pDescriptorWrites</code> or <code>pDescriptorCopies</code> <strong class=\"purple\">must</strong> not be used by any command that was recorded to a command buffer which is in the &amp;lt;&amp;lt;commandbuffers-lifecycle, pending state&amp;gt;&amp;gt;."\r
- }\r
- ],\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSets-None-03047",\r
- "text": " Descriptor bindings updated by this command which were created without the <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code> or <code>VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT</code> bits set <strong class=\"purple\">must</strong> not be used by any command that was recorded to a command buffer which is in the &amp;lt;&amp;lt;commandbuffers-lifecycle,pending state&amp;gt;&amp;gt;."\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSets-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSets-pDescriptorWrites-parameter",\r
- "text": " If <code>descriptorWriteCount</code> is not <code>0</code>, <code>pDescriptorWrites</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorWriteCount</code> valid <code>VkWriteDescriptorSet</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSets-pDescriptorCopies-parameter",\r
- "text": " If <code>descriptorCopyCount</code> is not <code>0</code>, <code>pDescriptorCopies</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCopyCount</code> valid <code>VkCopyDescriptorSet</code> structures"\r
- }\r
- ]\r
- },\r
- "VkWriteDescriptorSet": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-dstBinding-00315",\r
- "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be less than or equal to the maximum value of <code>binding</code> of all <a href=\"#VkDescriptorSetLayoutBinding\">VkDescriptorSetLayoutBinding</a> structures specified when <code>dstSet</code>’s descriptor set layout was created"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-dstBinding-00316",\r
- "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be a binding with a non-zero <code>descriptorCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-00317",\r
- "text": " All consecutive bindings updated via a single <code>VkWriteDescriptorSet</code> structure, except those with a <code>descriptorCount</code> of zero, <strong class=\"purple\">must</strong> have identical <code>descriptorType</code> and <code>stageFlags</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-00318",\r
- "text": " All consecutive bindings updated via a single <code>VkWriteDescriptorSet</code> structure, except those with a <code>descriptorCount</code> of zero, <strong class=\"purple\">must</strong> all either use immutable samplers or <strong class=\"purple\">must</strong> all not use immutable samplers."\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00319",\r
- "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> match the type of <code>dstBinding</code> within <code>dstSet</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-dstSet-00320",\r
- "text": " <code>dstSet</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorSet\">VkDescriptorSet</a> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-dstArrayElement-00321",\r
- "text": " The sum of <code>dstArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding specified by <code>dstBinding</code>, and all applicable consecutive bindings, as described by &amp;lt;&amp;lt;descriptorsets-updates-consecutive&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00322",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, or <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, <code>pImageInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkDescriptorImageInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00323",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code>, <code>pTexelBufferView</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkBufferView</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00324",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code>, <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, <code>pBufferInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkDescriptorBufferInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00325",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, and <code>dstSet</code> was not allocated with a layout that included immutable samplers for <code>dstBinding</code> with <code>descriptorType</code>, the <code>sampler</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampler</code> object"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00326",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, or <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, the <code>imageView</code> and <code>imageLayout</code> members of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageView</code> and <a href=\"#VkImageLayout\">VkImageLayout</a>, respectively"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-01402",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, for each descriptor that will be accessed via load or store operations the <code>imageLayout</code> member for corresponding elements of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00327",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, the <code>offset</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minUniformBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00328",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, the <code>offset</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minStorageBufferOffsetAlignment</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00329",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code>, <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code>, or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, and the <code>buffer</code> member of any element of <code>pBufferInfo</code> is the handle of a non-sparse buffer, then that buffer <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00330",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, the <code>buffer</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00331",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, the <code>buffer</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_STORAGE_BUFFER_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00332",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, the <code>range</code> member of each element of <code>pBufferInfo</code>, or the effective range if <code>range</code> is <code>VK_WHOLE_SIZE</code>, <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxUniformBufferRange</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00333",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, the <code>range</code> member of each element of <code>pBufferInfo</code>, or the effective range if <code>range</code> is <code>VK_WHOLE_SIZE</code>, <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxStorageBufferRange</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00334",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code>, the <code>VkBuffer</code> that each element of <code>pTexelBufferView</code> was created from <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00335",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code>, the <code>VkBuffer</code> that each element of <code>pTexelBufferView</code> was created from <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00336",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code> or <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with the identity swizzle"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00337",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_SAMPLED_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-01403",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, the <code>imageLayout</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00338",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00339",\r
- "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_STORAGE_BIT</code> set"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorType-parameter",\r
- "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-arraylength",\r
- "text": " <code>descriptorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-commonparent",\r
- "text": " Both of <code>dstSet</code>, and the elements of <code>pTexelBufferView</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-03048",\r
- "text": " All consecutive bindings updated via a single <code>VkWriteDescriptorSet</code> structure, except those with a <code>descriptorCount</code> of zero, <strong class=\"purple\">must</strong> have identical <a href=\"#VkDescriptorBindingFlagBitsEXT\">VkDescriptorBindingFlagBitsEXT</a>."\r
- }\r
- ]\r
- },\r
- "VkDescriptorBufferInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDescriptorBufferInfo-offset-00340",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorBufferInfo-range-00341",\r
- "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorBufferInfo-range-00342",\r
- "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code> minus <code>offset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorBufferInfo-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDescriptorImageInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkDescriptorImageInfo-imageView-00343",\r
- "text": " <code>imageView</code> <strong class=\"purple\">must</strong> not be 2D or 2D array image view created from a 3D image"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDescriptorImageInfo-imageLayout-00344",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> match the actual <a href=\"#VkImageLayout\">VkImageLayout</a> of each subresource accessible from <code>imageView</code> at the time this descriptor is accessed"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorImageInfo-commonparent",\r
- "text": " Both of <code>imageView</code>, and <code>sampler</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkDescriptorImageInfo-sampler-01563",\r
- "text": " If <code>sampler</code> is used and enables &amp;lt;&amp;lt;samplers-YCbCr-conversion,sampler Y’C<sub>B</sub>C<sub>R</sub> conversion&amp;gt;&amp;gt;:"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorImageInfo-sampler-01564",\r
- "text": " If <code>sampler</code> is used and does not enable &amp;lt;&amp;lt;samplers-YCbCr-conversion, sampler Y’C<sub>B</sub>C<sub>R</sub> conversion&amp;gt;&amp;gt; and the <a href=\"#VkFormat\">VkFormat</a> of the image is a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar format&amp;gt;&amp;gt;, the image <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code>, and the <code>aspectMask</code> of the <code>imageView</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> or (for three-plane formats only) <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"\r
- }\r
- ]\r
- },\r
- "VkCopyDescriptorSet": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcBinding-00345",\r
- "text": " <code>srcBinding</code> <strong class=\"purple\">must</strong> be a valid binding within <code>srcSet</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcArrayElement-00346",\r
- "text": " The sum of <code>srcArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding specified by <code>srcBinding</code>, and all applicable consecutive bindings, as described by &amp;lt;&amp;lt;descriptorsets-updates-consecutive&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-dstBinding-00347",\r
- "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be a valid binding within <code>dstSet</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-dstArrayElement-00348",\r
- "text": " The sum of <code>dstArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding specified by <code>dstBinding</code>, and all applicable consecutive bindings, as described by &amp;lt;&amp;lt;descriptorsets-updates-consecutive&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcSet-00349",\r
- "text": " If <code>srcSet</code> is equal to <code>dstSet</code>, then the source and destination ranges of descriptors <strong class=\"purple\">must</strong> not overlap, where the ranges <strong class=\"purple\">may</strong> include array elements from consecutive bindings as described by &amp;lt;&amp;lt;descriptorsets-updates-consecutive&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcSet-parameter",\r
- "text": " <code>srcSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-dstSet-parameter",\r
- "text": " <code>dstSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-commonparent",\r
- "text": " Both of <code>dstSet</code>, and <code>srcSet</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcSet-01918",\r
- "text": " If <code>srcSet</code>’s layout was created with the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set, then <code>dstSet</code>’s layout <strong class=\"purple\">must</strong> also have been created with the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcSet-01919",\r
- "text": " If <code>srcSet</code>’s layout was created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set, then <code>dstSet</code>’s layout <strong class=\"purple\">must</strong> also have been created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcSet-01920",\r
- "text": " If the descriptor pool from which <code>srcSet</code> was allocated was created with the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set, then the descriptor pool from which <code>dstSet</code> was allocated <strong class=\"purple\">must</strong> also have been created with the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set"\r
- },\r
- {\r
- "vuid": "VUID-VkCopyDescriptorSet-srcSet-01921",\r
- "text": " If the descriptor pool from which <code>srcSet</code> was allocated was created without the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set, then the descriptor pool from which <code>dstSet</code> was allocated <strong class=\"purple\">must</strong> also have been created without the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set"\r
- }\r
- ]\r
- },\r
- "vkCreateDescriptorUpdateTemplate": {\r
- "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [\r
- {\r
- "vuid": "VUID-vkCreateDescriptorUpdateTemplate-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorUpdateTemplate-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorUpdateTemplateCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorUpdateTemplate-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDescriptorUpdateTemplate-pDescriptorUpdateTemplate-parameter",\r
- "text": " <code>pDescriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorUpdateTemplate</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDescriptorUpdateTemplateCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00350",\r
- "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET</code>, <code>descriptorSetLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSetLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-pDescriptorUpdateEntries-parameter",\r
- "text": " <code>pDescriptorUpdateEntries</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorUpdateEntryCount</code> valid <code>VkDescriptorUpdateTemplateEntry</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-parameter",\r
- "text": " <code>templateType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorUpdateTemplateType\">VkDescriptorUpdateTemplateType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-descriptorSetLayout-parameter",\r
- "text": " If <code>descriptorSetLayout</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorSetLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSetLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-descriptorUpdateEntryCount-arraylength",\r
- "text": " <code>descriptorUpdateEntryCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-commonparent",\r
- "text": " Both of <code>descriptorSetLayout</code>, and <code>pipelineLayout</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)+(VK_KHR_push_descriptor)": [\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00351",\r
- "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR</code>, <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00352",\r
- "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR</code>, <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00353",\r
- "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR</code>, <code>set</code> <strong class=\"purple\">must</strong> be the unique set number in the pipeline layout that uses a descriptor set layout that was created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>"\r
- }\r
- ]\r
- },\r
- "VkDescriptorUpdateTemplateEntry": {\r
- "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateEntry-dstBinding-00354",\r
- "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be a valid binding in the descriptor set layout implicitly specified when using a descriptor update template to update descriptors."\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateEntry-dstArrayElement-00355",\r
- "text": " <code>dstArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding implicitly specified when using a descriptor update template to update descriptors, and all applicable consecutive bindings, as described by &amp;lt;&amp;lt;descriptorsets-updates-consecutive&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkDescriptorUpdateTemplateEntry-descriptorType-parameter",\r
- "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroyDescriptorUpdateTemplate": {\r
- "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorSetLayout-00356",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorSetLayout-00357",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorUpdateTemplate-parameter",\r
- "text": " If <code>descriptorUpdateTemplate</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorUpdateTemplate</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorUpdateTemplate-parent",\r
- "text": " If <code>descriptorUpdateTemplate</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkUpdateDescriptorSetWithTemplate": {\r
- "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-pData-01685",\r
- "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to a memory that contains one or more valid instances of <a href=\"#VkDescriptorImageInfo\">VkDescriptorImageInfo</a>, <a href=\"#VkDescriptorBufferInfo\">VkDescriptorBufferInfo</a>, or <a href=\"#VkBufferView\">VkBufferView</a> in a layout defined by <code>descriptorUpdateTemplate</code> when it was created with <a href=\"#vkCreateDescriptorUpdateTemplate\">vkCreateDescriptorUpdateTemplate</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-descriptorSet-parameter",\r
- "text": " <code>descriptorSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-descriptorUpdateTemplate-parameter",\r
- "text": " <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorUpdateTemplate</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-descriptorUpdateTemplate-parent",\r
- "text": " <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdBindDescriptorSets": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-pDescriptorSets-00358",\r
- "text": " Each element of <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have been allocated with a <code>VkDescriptorSetLayout</code> that matches (is the same as, or identically defined as) the <code>VkDescriptorSetLayout</code> at set <em>n</em> in <code>layout</code>, where <em>n</em> is the sum of <code>firstSet</code> and the index into <code>pDescriptorSets</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-dynamicOffsetCount-00359",\r
- "text": " <code>dynamicOffsetCount</code> <strong class=\"purple\">must</strong> be equal to the total number of dynamic descriptors in <code>pDescriptorSets</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-firstSet-00360",\r
- "text": " The sum of <code>firstSet</code> and <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPipelineLayoutCreateInfo</code>::<code>setLayoutCount</code> provided when <code>layout</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-pipelineBindPoint-00361",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be supported by the <code>commandBuffer</code>’s parent <code>VkCommandPool</code>’s queue family"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-pDynamicOffsets-00362",\r
- "text": " Each element of <code>pDynamicOffsets</code> <strong class=\"purple\">must</strong> satisfy the required alignment for the corresponding descriptor binding’s descriptor type"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-pipelineBindPoint-parameter",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-layout-parameter",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-pDescriptorSets-parameter",\r
- "text": " <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> valid <code>VkDescriptorSet</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-pDynamicOffsets-parameter",\r
- "text": " If <code>dynamicOffsetCount</code> is not <code>0</code>, <code>pDynamicOffsets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dynamicOffsetCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-descriptorSetCount-arraylength",\r
- "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindDescriptorSets-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>layout</code>, and the elements of <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdPushDescriptorSetKHR": {\r
- "(VK_KHR_push_descriptor)": [\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-pipelineBindPoint-00363",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be supported by the <code>commandBuffer</code>’s parent <code>VkCommandPool</code>’s queue family"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-set-00364",\r
- "text": " <code>set</code> <strong class=\"purple\">must</strong> be less than <code>VkPipelineLayoutCreateInfo</code>::<code>setLayoutCount</code> provided when <code>layout</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-set-00365",\r
- "text": " <code>set</code> <strong class=\"purple\">must</strong> be the unique set number in the pipeline layout that uses a descriptor set layout that was created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-pipelineBindPoint-parameter",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-layout-parameter",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-pDescriptorWrites-parameter",\r
- "text": " <code>pDescriptorWrites</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorWriteCount</code> valid <code>VkWriteDescriptorSet</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-descriptorWriteCount-arraylength",\r
- "text": " <code>descriptorWriteCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetKHR-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>layout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdPushDescriptorSetWithTemplateKHR": {\r
- "(VK_KHR_push_descriptor)+(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-00366",\r
- "text": " The pipelineBindPoint specified during the creation of the descriptor update template <strong class=\"purple\">must</strong> be supported by the <code>commandBuffer</code>’s parent <code>VkCommandPool</code>’s queue family"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-pData-01686",\r
- "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to a memory that contains one or more valid instances of <a href=\"#VkDescriptorImageInfo\">VkDescriptorImageInfo</a>, <a href=\"#VkDescriptorBufferInfo\">VkDescriptorBufferInfo</a>, or <a href=\"#VkBufferView\">VkBufferView</a> in a layout defined by <code>descriptorUpdateTemplate</code> when it was created with <a href=\"#vkCreateDescriptorUpdateTemplateKHR\">vkCreateDescriptorUpdateTemplateKHR</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-descriptorUpdateTemplate-parameter",\r
- "text": " <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorUpdateTemplate</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-layout-parameter",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>descriptorUpdateTemplate</code>, and <code>layout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdPushConstants": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-offset-01795",\r
- "text": " For each byte in the range specified by <code>offset</code> and <code>size</code> and for each shader stage in <code>stageFlags</code>, there <strong class=\"purple\">must</strong> be a push constant range in <code>layout</code> that includes that byte and that stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-offset-01796",\r
- "text": " For each byte in the range specified by <code>offset</code> and <code>size</code> and for each push constant range that overlaps that byte, <code>stageFlags</code> <strong class=\"purple\">must</strong> include all stages in that push constant range’s <a href=\"#VkPushConstantRange\">VkPushConstantRange</a>::<code>stageFlags</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-offset-00368",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-size-00369",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-offset-00370",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-size-00371",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code> minus <code>offset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-layout-parameter",\r
- "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-stageFlags-parameter",\r
- "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-stageFlags-requiredbitmask",\r
- "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-pValues-parameter",\r
- "text": " <code>pValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>size</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-size-arraylength",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdPushConstants-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>layout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateQueryPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCreateQueryPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateQueryPool-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkQueryPoolCreateInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateQueryPool-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateQueryPool-pQueryPool-parameter",\r
- "text": " <code>pQueryPool</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkQueryPool</code> handle"\r
- }\r
- ]\r
- },\r
- "VkQueryPoolCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkQueryPoolCreateInfo-queryType-00791",\r
- "text": " If the &amp;lt;&amp;lt;features-features-pipelineStatisticsQuery,pipeline statistics queries&amp;gt;&amp;gt; feature is not enabled, <code>queryType</code> <strong class=\"purple\">must</strong> not be <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkQueryPoolCreateInfo-queryType-00792",\r
- "text": " If <code>queryType</code> is <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code>, <code>pipelineStatistics</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryPipelineStatisticFlagBits\">VkQueryPipelineStatisticFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkQueryPoolCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkQueryPoolCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkQueryPoolCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkQueryPoolCreateInfo-queryType-parameter",\r
- "text": " <code>queryType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkQueryType\">VkQueryType</a> value"\r
- }\r
- ]\r
- },\r
- "vkDestroyQueryPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkDestroyQueryPool-queryPool-00793",\r
- "text": " All submitted commands that refer to <code>queryPool</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyQueryPool-queryPool-00794",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>queryPool</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyQueryPool-queryPool-00795",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>queryPool</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyQueryPool-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyQueryPool-queryPool-parameter",\r
- "text": " If <code>queryPool</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyQueryPool-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyQueryPool-queryPool-parent",\r
- "text": " If <code>queryPool</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdResetQueryPool": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-firstQuery-00796",\r
- "text": " <code>firstQuery</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-firstQuery-00797",\r
- "text": " The sum of <code>firstQuery</code> and <code>queryCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-queryPool-parameter",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResetQueryPool-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdBeginQuery": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-queryPool-01922",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> have been created with a <code>queryType</code> that differs from that of any queries that are &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt; within <code>commandBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-None-00807",\r
- "text": " All queries used by the command <strong class=\"purple\">must</strong> be unavailable"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-queryType-00800",\r
- "text": " If the &amp;lt;&amp;lt;features-features-occlusionQueryPrecise,precise occlusion queries&amp;gt;&amp;gt; feature is not enabled, or the <code>queryType</code> used to create <code>queryPool</code> was not <code>VK_QUERY_TYPE_OCCLUSION</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_CONTROL_PRECISE_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-query-00802",\r
- "text": " <code>query</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-queryType-00803",\r
- "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_OCCLUSION</code>, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-queryType-00804",\r
- "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code> and any of the <code>pipelineStatistics</code> indicate graphics operations, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-queryType-00805",\r
- "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code> and any of the <code>pipelineStatistics</code> indicate compute operations, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-queryPool-parameter",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryControlFlagBits\">VkQueryControlFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-commandBuffer-01885",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be a protected command buffer"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdBeginQuery-query-00808",\r
- "text": " If <code>vkCmdBeginQuery</code> is called within a render pass instance, the sum of <code>query</code> and the number of bits set in the current subpass’s view mask <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdEndQuery": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-None-01923",\r
- "text": " All queries used by the command <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;queries-operation-active,active&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-query-00810",\r
- "text": " <code>query</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-queryPool-parameter",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-commandBuffer-01886",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be a protected command buffer"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdEndQuery-query-00812",\r
- "text": " If <code>vkCmdEndQuery</code> is called within a render pass instance, the sum of <code>query</code> and the number of bits set in the current subpass’s view mask <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"\r
- }\r
- ]\r
- },\r
- "vkGetQueryPoolResults": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-firstQuery-00813",\r
- "text": " <code>firstQuery</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-flags-00814",\r
- "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is not set in <code>flags</code> then <code>pData</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-flags-00815",\r
- "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is set in <code>flags</code> then <code>pData</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>8</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-firstQuery-00816",\r
- "text": " The sum of <code>firstQuery</code> and <code>queryCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-dataSize-00817",\r
- "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be large enough to contain the result of each query, as described &amp;lt;&amp;lt;queries-operation-memorylayout,here&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-queryType-00818",\r
- "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_TIMESTAMP</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_RESULT_PARTIAL_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-queryPool-parameter",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-pData-parameter",\r
- "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dataSize</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryResultFlagBits\">VkQueryResultFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-dataSize-arraylength",\r
- "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetQueryPoolResults-queryPool-parent",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdCopyQueryPoolResults": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-dstOffset-00819",\r
- "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-firstQuery-00820",\r
- "text": " <code>firstQuery</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-firstQuery-00821",\r
- "text": " The sum of <code>firstQuery</code> and <code>queryCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-flags-00822",\r
- "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is not set in <code>flags</code> then <code>dstOffset</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-flags-00823",\r
- "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is set in <code>flags</code> then <code>dstOffset</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>8</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-00824",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have enough storage, from <code>dstOffset</code>, to contain the result of each query, as described &amp;lt;&amp;lt;queries-operation-memorylayout,here&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-00825",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-00826",\r
- "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-queryType-00827",\r
- "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_TIMESTAMP</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_RESULT_PARTIAL_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-queryPool-parameter",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-parameter",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryResultFlagBits\">VkQueryResultFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyQueryPoolResults-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>dstBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdWriteTimestamp": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-queryPool-01416",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> have been created with a <code>queryType</code> of <code>VK_QUERY_TYPE_TIMESTAMP</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-queryPool-00828",\r
- "text": " The query identified by <code>queryPool</code> and <code>query</code> <strong class=\"purple\">must</strong> be <em>unavailable</em>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-timestampValidBits-00829",\r
- "text": " The command pool’s queue family <strong class=\"purple\">must</strong> support a non-zero <code>timestampValidBits</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-pipelineStage-parameter",\r
- "text": " <code>pipelineStage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-queryPool-parameter",\r
- "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-None-00830",\r
- "text": " All queries used by the command <strong class=\"purple\">must</strong> be unavailable"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteTimestamp-query-00831",\r
- "text": " If <code>vkCmdWriteTimestamp</code> is called within a render pass instance, the sum of <code>query</code> and the number of bits set in the current subpass’s view mask <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdClearColorImage": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-image-00001",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-image-00002",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-image-00003",\r
- "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-imageLayout-00004",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresource ranges of <code>image</code> specified in <code>pRanges</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-baseMipLevel-01470",\r
- "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseMipLevel</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-pRanges-01692",\r
- "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>levelCount</code> member is not <code>VK_REMAINING_MIP_LEVELS</code>, then <span class=\"eq\"><code>baseMipLevel</code> + <code>levelCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-baseArrayLayer-01472",\r
- "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseArrayLayer</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-pRanges-01693",\r
- "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>layerCount</code> member is not <code>VK_REMAINING_ARRAY_LAYERS</code>, then <span class=\"eq\"><code>baseArrayLayer</code> + <code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-image-00007",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not have a compressed or depth/stencil format"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-imageLayout-parameter",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-pColor-parameter",\r
- "text": " <code>pColor</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkClearColorValue</code> union"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-pRanges-parameter",\r
- "text": " <code>pRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rangeCount</code> valid <code>VkImageSubresourceRange</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-rangeCount-arraylength",\r
- "text": " <code>rangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-image-01545",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> not use a format listed in &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion&amp;gt;&amp;gt;"\r
- }\r
- ],\r
- "!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-imageLayout-00005",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-imageLayout-01394",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-commandBuffer-01805",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearColorImage-commandBuffer-01806",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be an unprotected image"\r
- }\r
- ]\r
- },\r
- "vkCmdClearDepthStencilImage": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-image-00008",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-image-00009",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-image-00010",\r
- "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-imageLayout-00011",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresource ranges of <code>image</code> specified in <code>pRanges</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-imageLayout-00012",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be either of <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-baseMipLevel-01474",\r
- "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseMipLevel</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-pRanges-01694",\r
- "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>levelCount</code> member is not <code>VK_REMAINING_MIP_LEVELS</code>, then <span class=\"eq\"><code>baseMipLevel</code> + <code>levelCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-baseArrayLayer-01476",\r
- "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseArrayLayer</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-pRanges-01695",\r
- "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>layerCount</code> member is not <code>VK_REMAINING_ARRAY_LAYERS</code>, then <span class=\"eq\"><code>baseArrayLayer</code> + <code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-image-00014",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have a depth/stencil format"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-imageLayout-parameter",\r
- "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-pDepthStencil-parameter",\r
- "text": " <code>pDepthStencil</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkClearDepthStencilValue</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-pRanges-parameter",\r
- "text": " <code>pRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rangeCount</code> valid <code>VkImageSubresourceRange</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-rangeCount-arraylength",\r
- "text": " <code>rangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-01807",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-01808",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be an unprotected image"\r
- }\r
- ]\r
- },\r
- "vkCmdClearAttachments": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-aspectMask-00015",\r
- "text": " If the <code>aspectMask</code> member of any element of <code>pAttachments</code> contains <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, the <code>colorAttachment</code> member of that element <strong class=\"purple\">must</strong> refer to a valid color attachment in the current subpass"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-pRects-00016",\r
- "text": " The rectangular region specified by each element of <code>pRects</code> <strong class=\"purple\">must</strong> be contained within the render area of the current render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-pRects-00017",\r
- "text": " The layers specified by each element of <code>pRects</code> <strong class=\"purple\">must</strong> be contained within every attachment that <code>pAttachments</code> refers to"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-layerCount-01934",\r
- "text": " The <code>layerCount</code> member of each element of <code>pRects</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-pAttachments-parameter",\r
- "text": " <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkClearAttachment</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-pRects-parameter",\r
- "text": " <code>pRects</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rectCount</code> <code>VkClearRect</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-attachmentCount-arraylength",\r
- "text": " <code>attachmentCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-rectCount-arraylength",\r
- "text": " <code>rectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdClearAttachments-baseArrayLayer-00018",\r
- "text": " If the render pass instance this is recorded in uses multiview, then <code>baseArrayLayer</code> <strong class=\"purple\">must</strong> be zero and <code>layerCount</code> <strong class=\"purple\">must</strong> be one."\r
- }\r
- ]\r
- },\r
- "VkClearAttachment": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkClearAttachment-aspectMask-00019",\r
- "text": " If <code>aspectMask</code> includes <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, it <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_ASPECT_DEPTH_BIT</code> or <code>VK_IMAGE_ASPECT_STENCIL_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkClearAttachment-aspectMask-00020",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_ASPECT_METADATA_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkClearAttachment-clearValue-00021",\r
- "text": " <code>clearValue</code> <strong class=\"purple\">must</strong> be a valid <code>VkClearValue</code> union"\r
- },\r
- {\r
- "vuid": "VUID-VkClearAttachment-aspectMask-parameter",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkClearAttachment-aspectMask-requiredbitmask",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkClearAttachment-commandBuffer-01809",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then the attachment to be cleared <strong class=\"purple\">must</strong> not be a protected image."\r
- },\r
- {\r
- "vuid": "VUID-VkClearAttachment-commandBuffer-01810",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then the attachment to be cleared <strong class=\"purple\">must</strong> not be an unprotected image."\r
- }\r
- ]\r
- },\r
- "VkClearDepthStencilValue": {\r
- "(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-VkClearDepthStencilValue-depth-00022",\r
- "text": " Unless the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>depth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ],\r
- "!(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-VkClearDepthStencilValue-depth-00022",\r
- "text": " <code>depth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ]\r
- },\r
- "VkClearValue": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkClearValue-depthStencil-00023",\r
- "text": " <code>depthStencil</code> <strong class=\"purple\">must</strong> be a valid <code>VkClearDepthStencilValue</code> structure"\r
- }\r
- ]\r
- },\r
- "vkCmdFillBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-dstOffset-00024",\r
- "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-dstOffset-00025",\r
- "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-size-00026",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-size-00027",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>dstOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-size-00028",\r
- "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-dstBuffer-00029",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-dstBuffer-00031",\r
- "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-dstBuffer-parameter",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-commandBuffer-00030",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics or compute operations"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-commandBuffer-01811",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdFillBuffer-commandBuffer-01812",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"\r
- }\r
- ]\r
- },\r
- "vkCmdUpdateBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dstOffset-00032",\r
- "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dataSize-00033",\r
- "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>dstOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dstBuffer-00034",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dstBuffer-00035",\r
- "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dstOffset-00036",\r
- "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dataSize-00037",\r
- "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be less than or equal to <code>65536</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dataSize-00038",\r
- "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dstBuffer-parameter",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-pData-parameter",\r
- "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dataSize</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-dataSize-arraylength",\r
- "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-01813",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-01814",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"\r
- }\r
- ]\r
- },\r
- "vkCmdCopyBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-size-00112",\r
- "text": " The <code>size</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-srcOffset-00113",\r
- "text": " The <code>srcOffset</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the size of <code>srcBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-dstOffset-00114",\r
- "text": " The <code>dstOffset</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-size-00115",\r
- "text": " The <code>size</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>srcBuffer</code> minus <code>srcOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-size-00116",\r
- "text": " The <code>size</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>dstOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-pRegions-00117",\r
- "text": " The union of the source regions, and the union of the destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-srcBuffer-00118",\r
- "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_SRC_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-srcBuffer-00119",\r
- "text": " If <code>srcBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-dstBuffer-00120",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-dstBuffer-00121",\r
- "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-srcBuffer-parameter",\r
- "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-dstBuffer-parameter",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-pRegions-parameter",\r
- "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> <code>VkBufferCopy</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-regionCount-arraylength",\r
- "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>dstBuffer</code>, and <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-01822",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-01823",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-01824",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"\r
- }\r
- ]\r
- },\r
- "vkCmdCopyImage": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-pRegions-00122",\r
- "text": " The source region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-pRegions-00123",\r
- "text": " The destination region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-pRegions-00124",\r
- "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-00126",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImageLayout-00128",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImage-00131",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImageLayout-00133",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-00136",\r
- "text": " The sample count of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> match"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcSubresource-01696",\r
- "text": " The <code>srcSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstSubresource-01697",\r
- "text": " The <code>dstSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcSubresource-01698",\r
- "text": " The <span class=\"eq\"><code>srcSubresource.baseArrayLayer</code> + <code>srcSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstSubresource-01699",\r
- "text": " The <span class=\"eq\"><code>dstSubresource.baseArrayLayer</code> + <code>dstSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcOffset-01783",\r
- "text": " The <code>srcOffset</code> and and <code>extent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstOffset-01784",\r
- "text": " The <code>dstOffset</code> and and <code>extent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-parameter",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImageLayout-parameter",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImage-parameter",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImageLayout-parameter",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-pRegions-parameter",\r
- "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkImageCopy</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-regionCount-arraylength",\r
- "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-00125",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_SRC_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <a href=\"#vkGetPhysicalDeviceFormatProperties\">vkGetPhysicalDeviceFormatProperties</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImage-00130",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <a href=\"#vkGetPhysicalDeviceFormatProperties\">vkGetPhysicalDeviceFormatProperties</a>"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-00127",\r
- "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImage-00132",\r
- "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-00135",\r
- "text": " The <a href=\"#VkFormat\">VkFormat</a> of each of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> be compatible, as defined &amp;lt;&amp;lt;copies-images-format-compatibility, below&amp;gt;&amp;gt;"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-01546",\r
- "text": " If <code>srcImage</code> is non-sparse then the image or <em>disjoint</em> plane to be copied <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImage-01547",\r
- "text": " If <code>dstImage</code> is non-sparse then the image or <em>disjoint</em> plane that is the destination of the copy <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImage-01548",\r
- "text": " If the <a href=\"#VkFormat\">VkFormat</a> of each of <code>srcImage</code> and <code>dstImage</code> is not a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,<em>multi-planar format</em>&amp;gt;&amp;gt;, the <a href=\"#VkFormat\">VkFormat</a> of each of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> be compatible, as defined &amp;lt;&amp;lt;copies-images-format-compatibility, below&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-None-01549",\r
- "text": " In a copy to or from a plane of a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar image&amp;gt;&amp;gt;, the <a href=\"#VkFormat\">VkFormat</a> of the image and plane <strong class=\"purple\">must</strong> be compatible according to &amp;lt;&amp;lt;features-formats-compatible-planes,the description of compatible planes&amp;gt;&amp;gt; for the plane being copied"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-aspectMask-01550",\r
- "text": " When a copy is performed to or from an image with a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar format&amp;gt;&amp;gt;, the <code>aspectMask</code> of the <code>srcSubresource</code> and/or <code>dstSubresource</code> that refers to the multi-planar image <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> (with <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> valid only for a <a href=\"#VkFormat\">VkFormat</a> with three planes)"\r
- }\r
- ],\r
- "!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImageLayout-00129",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImageLayout-00134",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-srcImageLayout-01917",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-dstImageLayout-01395",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-commandBuffer-01825",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-commandBuffer-01826",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImage-commandBuffer-01827",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"\r
- }\r
- ]\r
- },\r
- "VkImageCopy": {\r
- "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageCopy-aspectMask-00137",\r
- "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcOffset-00157",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, all members of <code>srcOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-extent-00158",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-extent-00159",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-extent-00160",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstOffset-00162",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, all members of <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-extent-00163",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-extent-00164",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-extent-00165",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource depth"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01551",\r
- "text": " If neither the calling command’s <code>srcImage</code> nor the calling command’s <code>dstImage</code> has a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion, multi-planar image format&amp;gt;&amp;gt; then the <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01552",\r
- "text": " If the calling command’s <code>srcImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,two planes&amp;gt;&amp;gt; then the <code>srcSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01553",\r
- "text": " If the calling command’s <code>srcImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,three planes&amp;gt;&amp;gt; then the <code>srcSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01554",\r
- "text": " If the calling command’s <code>dstImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,two planes&amp;gt;&amp;gt; then the <code>dstSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01555",\r
- "text": " If the calling command’s <code>dstImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,three planes&amp;gt;&amp;gt; then the <code>dstSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01556",\r
- "text": " If the calling command’s <code>srcImage</code> has a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar image format&amp;gt;&amp;gt; and the <code>dstImage</code> does not have a multi-planar image format, the <code>dstSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01557",\r
- "text": " If the calling command’s <code>dstImage</code> has a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar image format&amp;gt;&amp;gt; and the <code>srcImage</code> does not have a multi-planar image format, the <code>srcSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01727",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, all members of <code>srcOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01728",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01729",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01730",\r
- "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01731",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, all members of <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01732",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01733",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01734",\r
- "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource depth"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkImageCopy-layerCount-00138",\r
- "text": " The <code>layerCount</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-00139",\r
- "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of both <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01789",\r
- "text": " If the calling command’s <code>srcImage</code> or <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, then <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-VkImageCopy-extent-00140",\r
- "text": " The number of slices of the <code>extent</code> (for 3D) or layers of the <code>srcSubresource</code> (for non-3D) <strong class=\"purple\">must</strong> match the number of slices of the <code>extent</code> (for 3D) or layers of the <code>dstSubresource</code> (for non-3D)"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-00141",\r
- "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of the corresponding subresource <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01790",\r
- "text": " If both <code>srcImage</code> and <code>dstImage</code> are of type <code>VK_IMAGE_TYPE_2D</code> then then <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01791",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, and the <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_3D</code>, then <code>extent.depth</code> <strong class=\"purple\">must</strong> equal to the <code>layerCount</code> member of <code>srcSubresource</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01792",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, and the <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_3D</code>, then <code>extent.depth</code> <strong class=\"purple\">must</strong> equal to the <code>layerCount</code> member of <code>dstSubresource</code>."\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageCopy-aspectMask-00142",\r
- "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>srcImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-aspectMask-00143",\r
- "text": " The <code>aspectMask</code> member of <code>dstSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>dstImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcOffset-00144",\r
- "text": " <code>srcOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcOffset-00145",\r
- "text": " <code>srcOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-00146",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcOffset-00147",\r
- "text": " <code>srcOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01785",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01786",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcImage-01787",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, then <code>srcOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-01788",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, then <code>dstOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstOffset-00150",\r
- "text": " <code>dstOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstOffset-00151",\r
- "text": " <code>dstOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstImage-00152",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstOffset-00153",\r
- "text": " <code>dstOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-srcSubresource-parameter",\r
- "text": " <code>srcSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkImageCopy-dstSubresource-parameter",\r
- "text": " <code>dstSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"\r
- }\r
- ]\r
- },\r
- "VkImageSubresourceLayers": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageSubresourceLayers-aspectMask-00167",\r
- "text": " If <code>aspectMask</code> contains <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, it <strong class=\"purple\">must</strong> not contain either of <code>VK_IMAGE_ASPECT_DEPTH_BIT</code> or <code>VK_IMAGE_ASPECT_STENCIL_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresourceLayers-aspectMask-00168",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_ASPECT_METADATA_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresourceLayers-layerCount-01700",\r
- "text": " <code>layerCount</code> <strong class=\"purple\">must</strong> be greater than 0"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresourceLayers-aspectMask-parameter",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSubresourceLayers-aspectMask-requiredbitmask",\r
- "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdCopyBufferToImage": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-00171",\r
- "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> be large enough to contain all buffer locations that are accessed according to &amp;lt;&amp;lt;copies-buffers-images-addressing,Buffer and Image Addressing&amp;gt;&amp;gt;, for each element of <code>pRegions</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-00172",\r
- "text": " The image region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-00173",\r
- "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-srcBuffer-00174",\r
- "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_SRC_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-srcBuffer-00176",\r
- "text": " If <code>srcBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00177",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00178",\r
- "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00179",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have a sample count equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-00180",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-imageSubresource-01701",\r
- "text": " The <code>imageSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-imageSubresource-01702",\r
- "text": " The <span class=\"eq\"><code>imageSubresource.baseArrayLayer</code> + <code>imageSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-imageOffset-01793",\r
- "text": " The <code>imageOffset</code> and and <code>imageExtent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-srcBuffer-parameter",\r
- "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-parameter",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-parameter",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-parameter",\r
- "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkBufferImageCopy</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-regionCount-arraylength",\r
- "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00175",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <a href=\"#vkGetPhysicalDeviceFormatProperties\">vkGetPhysicalDeviceFormatProperties</a>"\r
- }\r
- ],\r
- "!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-00181",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-01396",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-01828",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-01829",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-01830",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"\r
- }\r
- ]\r
- },\r
- "vkCmdCopyImageToBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-00182",\r
- "text": " The image region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-00183",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be large enough to contain all buffer locations that are accessed according to &amp;lt;&amp;lt;copies-buffers-images-addressing,Buffer and Image Addressing&amp;gt;&amp;gt;, for each element of <code>pRegions</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-00184",\r
- "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00186",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00187",\r
- "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00188",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have a sample count equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-00189",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-dstBuffer-00191",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-dstBuffer-00192",\r
- "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-imageSubresource-01703",\r
- "text": " The <code>imageSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-imageSubresource-01704",\r
- "text": " The <span class=\"eq\"><code>imageSubresource.baseArrayLayer</code> + <code>imageSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-imageOffset-01794",\r
- "text": " The <code>imageOffset</code> and and <code>imageExtent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-parameter",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-parameter",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-dstBuffer-parameter",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-parameter",\r
- "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkBufferImageCopy</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-regionCount-arraylength",\r
- "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>dstBuffer</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00185",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_SRC_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <a href=\"#vkGetPhysicalDeviceFormatProperties\">vkGetPhysicalDeviceFormatProperties</a>"\r
- }\r
- ],\r
- "!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-00190",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-01397",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-01831",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-01832",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-01833",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"\r
- }\r
- ]\r
- },\r
- "VkBufferImageCopy": {\r
- "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferOffset-00193",\r
- "text": " If the calling command’s <code>VkImage</code> parameter’s format is not a depth/stencil format, then <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the format’s element size"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferRowLength-00203",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>bufferRowLength</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferImageHeight-00204",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>bufferImageHeight</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageOffset-00205",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, all members of <code>imageOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferOffset-00206",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block size in bytes"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageExtent-00207",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>imageExtent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>imageExtent.width</code> + <code>imageOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageExtent-00208",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>imageExtent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>imageExtent.height</code> + <code>imageOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageExtent-00209",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>imageExtent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>imageExtent.depth</code> + <code>imageOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource depth"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferOffset-01558",\r
- "text": " If the calling command’s <code>VkImage</code> parameter’s format is not a depth/stencil format or a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar format&amp;gt;&amp;gt;, then <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the format’s element size"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferOffset-01559",\r
- "text": " If the calling command’s <code>VkImage</code> parameter’s format is a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar format&amp;gt;&amp;gt;, then <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the element size of the compatible format for the format and the <code>aspectMask</code> of the <code>imageSubresource</code> as defined in &amp;lt;&amp;lt;features-formats-compatible-planes&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-01735",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>bufferRowLength</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-01736",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>bufferImageHeight</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-01737",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, all members of <code>imageOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-01738",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block size in bytes"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-01739",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>imageExtent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>imageExtent.width</code> + <code>imageOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-01740",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>imageExtent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>imageExtent.height</code> + <code>imageOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-01741",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>imageExtent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>imageExtent.depth</code> + <code>imageOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-aspectMask-01560",\r
- "text": " If the calling command’s <code>VkImage</code> parameter’s format is a &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion,multi-planar format&amp;gt;&amp;gt;, then the <code>aspectMask</code> member of <code>imageSubresource</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> (with <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> valid only for image formats with three planes)"\r
- }\r
- ],\r
- "core": [\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferOffset-00194",\r
- "text": " <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferRowLength-00195",\r
- "text": " <code>bufferRowLength</code> <strong class=\"purple\">must</strong> be <code>0</code>, or greater than or equal to the <code>width</code> member of <code>imageExtent</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-bufferImageHeight-00196",\r
- "text": " <code>bufferImageHeight</code> <strong class=\"purple\">must</strong> be <code>0</code>, or greater than or equal to the <code>height</code> member of <code>imageExtent</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageOffset-00197",\r
- "text": " <code>imageOffset.x</code> and <span class=\"eq\">(<code>imageExtent.width</code> + <code>imageOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageOffset-00198",\r
- "text": " <code>imageOffset.y</code> and <span class=\"eq\">(imageExtent.height + <code>imageOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-srcImage-00199",\r
- "text": " If the calling command’s <code>srcImage</code> (<a href=\"#vkCmdCopyImageToBuffer\">vkCmdCopyImageToBuffer</a>) or <code>dstImage</code> (<a href=\"#vkCmdCopyBufferToImage\">vkCmdCopyBufferToImage</a>) is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>imageOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>imageExtent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageOffset-00200",\r
- "text": " <code>imageOffset.z</code> and <span class=\"eq\">(imageExtent.depth + <code>imageOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-srcImage-00201",\r
- "text": " If the calling command’s <code>srcImage</code> (<a href=\"#vkCmdCopyImageToBuffer\">vkCmdCopyImageToBuffer</a>) or <code>dstImage</code> (<a href=\"#vkCmdCopyBufferToImage\">vkCmdCopyBufferToImage</a>) is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>imageOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>imageExtent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-aspectMask-00211",\r
- "text": " The <code>aspectMask</code> member of <code>imageSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>VkImage</code> parameter"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-aspectMask-00212",\r
- "text": " The <code>aspectMask</code> member of <code>imageSubresource</code> <strong class=\"purple\">must</strong> only have a single bit set"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-baseArrayLayer-00213",\r
- "text": " If the calling command’s <code>VkImage</code> parameter is of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of <code>imageSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-None-00214",\r
- "text": " When copying to the depth aspect of an image subresource, the data in the source buffer <strong class=\"purple\">must</strong> be in the range <span class=\"eq\">[0,1]</span>"\r
- },\r
- {\r
- "vuid": "VUID-VkBufferImageCopy-imageSubresource-parameter",\r
- "text": " <code>imageSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"\r
- }\r
- ]\r
- },\r
- "vkCmdBlitImage": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-pRegions-00215",\r
- "text": " The source region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-pRegions-00216",\r
- "text": " The destination region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-pRegions-00217",\r
- "text": " The union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory with any texel that <strong class=\"purple\">may</strong> be sampled during the blit operation"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00218",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_BLIT_SRC_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00219",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00220",\r
- "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImageLayout-00221",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImage-00223",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_BLIT_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for linearly tiled images) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (for optimally tiled images) - as returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImage-00224",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImage-00225",\r
- "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImageLayout-00226",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00228",\r
- "text": " The sample count of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> both be equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00229",\r
- "text": " If either of <code>srcImage</code> or <code>dstImage</code> was created with a signed integer <a href=\"#VkFormat\">VkFormat</a>, the other <strong class=\"purple\">must</strong> also have been created with a signed integer <a href=\"#VkFormat\">VkFormat</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00230",\r
- "text": " If either of <code>srcImage</code> or <code>dstImage</code> was created with an unsigned integer <a href=\"#VkFormat\">VkFormat</a>, the other <strong class=\"purple\">must</strong> also have been created with an unsigned integer <a href=\"#VkFormat\">VkFormat</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00231",\r
- "text": " If either of <code>srcImage</code> or <code>dstImage</code> was created with a depth/stencil format, the other <strong class=\"purple\">must</strong> have exactly the same format"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00232",\r
- "text": " If <code>srcImage</code> was created with a depth/stencil format, <code>filter</code> <strong class=\"purple\">must</strong> be <code>VK_FILTER_NEAREST</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-00233",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with a <code>samples</code> value of <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImage-00234",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with a <code>samples</code> value of <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-filter-00235",\r
- "text": " If <code>filter</code> is <code>VK_FILTER_LINEAR</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcSubresource-01705",\r
- "text": " The <code>srcSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstSubresource-01706",\r
- "text": " The <code>dstSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcSubresource-01707",\r
- "text": " The <span class=\"eq\"><code>srcSubresource.baseArrayLayer</code> + <code>srcSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstSubresource-01708",\r
- "text": " The <span class=\"eq\"><code>dstSubresource.baseArrayLayer</code> + <code>dstSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-parameter",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImageLayout-parameter",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImage-parameter",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImageLayout-parameter",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-pRegions-parameter",\r
- "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkImageBlit</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-filter-parameter",\r
- "text": " <code>filter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-regionCount-arraylength",\r
- "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImage-01561",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> not use a format listed in &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImage-01562",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> not use a format listed in &amp;lt;&amp;lt;features-formats-requiring-sampler-ycbcr-conversion&amp;gt;&amp;gt;"\r
- }\r
- ],\r
- "!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImageLayout-00222",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImageLayout-00227",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-srcImageLayout-01398",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-dstImageLayout-01399",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-filter-00236",\r
- "text": " If <code>filter</code> is <code>VK_FILTER_CUBIC_IMG</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-filter-00237",\r
- "text": " If <code>filter</code> is <code>VK_FILTER_CUBIC_IMG</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> have a <a href=\"#VkImageType\">VkImageType</a> of <code>VK_IMAGE_TYPE_3D</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-commandBuffer-01834",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-commandBuffer-01835",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBlitImage-commandBuffer-01836",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"\r
- }\r
- ]\r
- },\r
- "VkImageBlit": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageBlit-aspectMask-00238",\r
- "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-layerCount-00239",\r
- "text": " The <code>layerCount</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-srcImage-00240",\r
- "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of both <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-aspectMask-00241",\r
- "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>srcImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-aspectMask-00242",\r
- "text": " The <code>aspectMask</code> member of <code>dstSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>dstImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-srcOffset-00243",\r
- "text": " <code>srcOffset</code>[0].<code>x</code> and <code>srcOffset</code>[1].<code>x</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-srcOffset-00244",\r
- "text": " <code>srcOffset</code>[0].<code>y</code> and <code>srcOffset</code>[1].<code>y</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-srcImage-00245",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset</code>[0].y <strong class=\"purple\">must</strong> be <code>0</code> and <code>srcOffset</code>[1].y <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-srcOffset-00246",\r
- "text": " <code>srcOffset</code>[0].<code>z</code> and <code>srcOffset</code>[1].<code>z</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-srcImage-00247",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>srcOffset</code>[0].z <strong class=\"purple\">must</strong> be <code>0</code> and <code>srcOffset</code>[1].z <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-dstOffset-00248",\r
- "text": " <code>dstOffset</code>[0].<code>x</code> and <code>dstOffset</code>[1].<code>x</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-dstOffset-00249",\r
- "text": " <code>dstOffset</code>[0].<code>y</code> and <code>dstOffset</code>[1].<code>y</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-dstImage-00250",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset</code>[0].y <strong class=\"purple\">must</strong> be <code>0</code> and <code>dstOffset</code>[1].y <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-dstOffset-00251",\r
- "text": " <code>dstOffset</code>[0].<code>z</code> and <code>dstOffset</code>[1].<code>z</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-dstImage-00252",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>dstOffset</code>[0].z <strong class=\"purple\">must</strong> be <code>0</code> and <code>dstOffset</code>[1].z <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-srcSubresource-parameter",\r
- "text": " <code>srcSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkImageBlit-dstSubresource-parameter",\r
- "text": " <code>dstSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"\r
- }\r
- ]\r
- },\r
- "vkCmdResolveImage": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-pRegions-00253",\r
- "text": " The source region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-pRegions-00254",\r
- "text": " The destination region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-pRegions-00255",\r
- "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImage-00256",\r
- "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImage-00257",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have a sample count equal to any valid sample count value other than <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImage-00258",\r
- "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImage-00259",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have a sample count equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImageLayout-00260",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImageLayout-00262",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImage-00264",\r
- "text": " If <code>dstImage</code> was created with <code>tiling</code> equal to <code>VK_IMAGE_TILING_LINEAR</code>, <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with a <code>format</code> that supports being a color attachment, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImage-00265",\r
- "text": " If <code>dstImage</code> was created with <code>tiling</code> equal to <code>VK_IMAGE_TILING_OPTIMAL</code>, <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with a <code>format</code> that supports being a color attachment, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImage-01386",\r
- "text": " <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with the same image format"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcSubresource-01709",\r
- "text": " The <code>srcSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstSubresource-01710",\r
- "text": " The <code>dstSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcSubresource-01711",\r
- "text": " The <span class=\"eq\"><code>srcSubresource.baseArrayLayer</code> + <code>srcSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstSubresource-01712",\r
- "text": " The <span class=\"eq\"><code>dstSubresource.baseArrayLayer</code> + <code>dstSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImage-parameter",\r
- "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImageLayout-parameter",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImage-parameter",\r
- "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImageLayout-parameter",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-pRegions-parameter",\r
- "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkImageResolve</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-regionCount-arraylength",\r
- "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-commonparent",\r
- "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImageLayout-00261",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImageLayout-00263",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-srcImageLayout-01400",\r
- "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-dstImageLayout-01401",\r
- "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-commandBuffer-01837",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-commandBuffer-01838",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdResolveImage-commandBuffer-01839",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"\r
- }\r
- ]\r
- },\r
- "VkImageResolve": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkImageResolve-aspectMask-00266",\r
- "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> only contain <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-layerCount-00267",\r
- "text": " The <code>layerCount</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-srcImage-00268",\r
- "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of both <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-srcOffset-00269",\r
- "text": " <code>srcOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-srcOffset-00270",\r
- "text": " <code>srcOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-srcImage-00271",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-srcOffset-00272",\r
- "text": " <code>srcOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-srcImage-00273",\r
- "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>srcOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-dstOffset-00274",\r
- "text": " <code>dstOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource width"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-dstOffset-00275",\r
- "text": " <code>dstOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource height"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-dstImage-00276",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-dstOffset-00277",\r
- "text": " <code>dstOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource depth"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-dstImage-00278",\r
- "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>dstOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-srcSubresource-parameter",\r
- "text": " <code>srcSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkImageResolve-dstSubresource-parameter",\r
- "text": " <code>dstSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"\r
- }\r
- ]\r
- },\r
- "vkCmdWriteBufferMarkerAMD": {\r
- "(VK_AMD_buffer_marker)": [\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstOffset-01798",\r
- "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>4</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-01799",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-01800",\r
- "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstOffset-01801",\r
- "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-pipelineStage-parameter",\r
- "text": " <code>pipelineStage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-parameter",\r
- "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineInputAssemblyStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00428",\r
- "text": " If <code>topology</code> is <code>VK_PRIMITIVE_TOPOLOGY_POINT_LIST</code>, <code>VK_PRIMITIVE_TOPOLOGY_LINE_LIST</code>, <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST</code>, <code>VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY</code>, <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY</code> or <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>, <code>primitiveRestartEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00429",\r
- "text": " If the &amp;lt;&amp;lt;features-features-geometryShader,geometry shaders&amp;gt;&amp;gt; feature is not enabled, <code>topology</code> <strong class=\"purple\">must</strong> not be any of <code>VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY</code>, <code>VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY</code>, <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY</code> or <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00430",\r
- "text": " If the &amp;lt;&amp;lt;features-features-tessellationShader,tessellation shaders&amp;gt;&amp;gt; feature is not enabled, <code>topology</code> <strong class=\"purple\">must</strong> not be <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-parameter",\r
- "text": " <code>topology</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPrimitiveTopology\">VkPrimitiveTopology</a> value"\r
- }\r
- ]\r
- },\r
- "vkCmdBindIndexBuffer": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-offset-00431",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-offset-00432",\r
- "text": " The sum of <code>offset</code> and the address of the range of <code>VkDeviceMemory</code> object that is backing <code>buffer</code>, <strong class=\"purple\">must</strong> be a multiple of the type indicated by <code>indexType</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-buffer-00433",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDEX_BUFFER_BIT</code> flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-buffer-00434",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-indexType-parameter",\r
- "text": " <code>indexType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndexType\">VkIndexType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindIndexBuffer-commonparent",\r
- "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdDraw": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdDraw-renderPass-00435",\r
- "text": " The current render pass <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-subpass-00436",\r
- "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00437",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00438",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00439",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00440",\r
- "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00441",\r
- "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in &amp;lt;&amp;lt;fxvertex-input&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00442",\r
- "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00443",\r
- "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00444",\r
- "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00445",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00446",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00447",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00448",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00449",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-linearTilingFeatures-00450",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-01499",\r
- "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-vkCmdDraw-linearTilingFeatures-00451",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-None-00452",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdDraw-maxMultiviewInstanceIndex-00453",\r
- "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDraw-commandBuffer-01850",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-commandBuffer-01851",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDraw-commandBuffer-01852",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ],\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdDraw-sampleLocationsEnable-01512",\r
- "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"\r
- }\r
- ]\r
- },\r
- "vkCmdDrawIndexed": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-renderPass-00454",\r
- "text": " The current render pass <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-subpass-00455",\r
- "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00456",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00457",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00458",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00459",\r
- "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00460",\r
- "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in &amp;lt;&amp;lt;fxvertex-input&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00461",\r
- "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00462",\r
- "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-indexSize-00463",\r
- "text": " <span class=\"eq\">(<code>indexSize</code> * (<code>firstIndex</code> + <code>indexCount</code>) + <code>offset</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to the size of the bound index buffer, with indexSize being based on the type specified by <code>indexType</code>, where the index buffer, <code>indexType</code>, and <code>offset</code> are specified via <code>vkCmdBindIndexBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00464",\r
- "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00465",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00466",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00467",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00468",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00469",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-linearTilingFeatures-00470",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-01500",\r
- "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-linearTilingFeatures-00471",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-None-00472",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-maxMultiviewInstanceIndex-00473",\r
- "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-01853",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-01854",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-01855",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ],\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexed-sampleLocationsEnable-01513",\r
- "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"\r
- }\r
- ]\r
- },\r
- "vkCmdDrawIndirect": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-buffer-00474",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-buffer-01660",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-offset-00475",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-drawCount-00476",\r
- "text": " If <code>drawCount</code> is greater than <code>1</code>, <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndirectCommand</code>)"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-drawCount-00477",\r
- "text": " If the <a href=\"#features-features-multiDrawIndirect\">multi-draw indirect</a> feature is not enabled, <code>drawCount</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-firstInstance-00478",\r
- "text": " If the &amp;lt;&amp;lt;features-features-drawIndirectFirstInstance,drawIndirectFirstInstance&amp;gt;&amp;gt; feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-renderPass-00479",\r
- "text": " The current render pass <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-subpass-00480",\r
- "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00481",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00482",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00483",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00484",\r
- "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00485",\r
- "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00486",\r
- "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-drawCount-00487",\r
- "text": " If <code>drawCount</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<a href=\"#VkDrawIndirectCommand\">VkDrawIndirectCommand</a>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-drawCount-00488",\r
- "text": " If <code>drawCount</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<a href=\"#VkDrawIndirectCommand\">VkDrawIndirectCommand</a>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-drawCount-00489",\r
- "text": " <code>drawCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00490",\r
- "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00491",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00492",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00493",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00494",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00495",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-linearTilingFeatures-00496",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-01501",\r
- "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-commonparent",\r
- "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-linearTilingFeatures-00497",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-None-00498",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-maxMultiviewInstanceIndex-00499",\r
- "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-01856",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-01857",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-01858",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ],\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirect-sampleLocationsEnable-01514",\r
- "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"\r
- }\r
- ]\r
- },\r
- "VkDrawIndirectCommand": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDrawIndirectCommand-None-00500",\r
- "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in &amp;lt;&amp;lt;fxvertex-input&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkDrawIndirectCommand-firstInstance-00501",\r
- "text": " If the &amp;lt;&amp;lt;features-features-drawIndirectFirstInstance,drawIndirectFirstInstance&amp;gt;&amp;gt; feature is not enabled, <code>firstInstance</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdDrawIndirectCountAMD": {\r
- "(VK_AMD_draw_indirect_count)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-buffer-01661",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-buffer-01662",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-01663",\r
- "text": " If <code>countBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-01664",\r
- "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-offset-00502",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBufferOffset-00503",\r
- "text": " <code>countBufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-stride-00504",\r
- "text": " <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndirectCommand</code>)"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-maxDrawCount-00505",\r
- "text": " If <code>maxDrawCount</code> is greater than or equal to <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>maxDrawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-firstInstance-00506",\r
- "text": " If the &amp;lt;&amp;lt;features-features-drawIndirectFirstInstance,drawIndirectFirstInstance&amp;gt;&amp;gt; feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-renderPass-00507",\r
- "text": " The current render pass <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-subpass-00508",\r
- "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00509",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00510",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00511",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00512",\r
- "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00513",\r
- "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00514",\r
- "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-00515",\r
- "text": " If the count stored in <code>countBuffer</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-00516",\r
- "text": " If the count stored in <code>countBuffer</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-00517",\r
- "text": " The count stored in <code>countBuffer</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00518",\r
- "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00519",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00520",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00521",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00522",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00523",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-linearTilingFeatures-00524",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-01502",\r
- "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-parameter",\r
- "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-commonparent",\r
- "text": " Each of <code>buffer</code>, <code>commandBuffer</code>, and <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-maxMultiviewInstanceIndex-00525",\r
- "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."\r
- }\r
- ],\r
- "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-01859",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-01860",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-01861",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ],\r
- "(VK_AMD_draw_indirect_count)+(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndirectCountAMD-sampleLocationsEnable-01515",\r
- "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"\r
- }\r
- ]\r
- },\r
- "vkCmdDrawIndexedIndirect": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-buffer-00526",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-buffer-01665",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-offset-00527",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00528",\r
- "text": " If <code>drawCount</code> is greater than <code>1</code>, <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>)"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00529",\r
- "text": " If the <a href=\"#features-features-multiDrawIndirect\">multi-draw indirect</a> feature is not enabled, <code>drawCount</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-firstInstance-00530",\r
- "text": " If the &amp;lt;&amp;lt;features-features-drawIndirectFirstInstance,drawIndirectFirstInstance&amp;gt;&amp;gt; feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndexedIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-renderPass-00531",\r
- "text": " The current render pass <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-subpass-00532",\r
- "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00533",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00534",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00535",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00536",\r
- "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00537",\r
- "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00538",\r
- "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00539",\r
- "text": " If <code>drawCount</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00540",\r
- "text": " If <code>drawCount</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00541",\r
- "text": " <code>drawCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00542",\r
- "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00543",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00544",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00545",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00546",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00547",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-linearTilingFeatures-00548",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-01503",\r
- "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-commonparent",\r
- "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-linearTilingFeatures-00549",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00550",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-maxMultiviewInstanceIndex-00551",\r
- "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-01862",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-01863",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-01864",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ],\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-01516",\r
- "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"\r
- }\r
- ]\r
- },\r
- "VkDrawIndexedIndirectCommand": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDrawIndexedIndirectCommand-None-00552",\r
- "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in &amp;lt;&amp;lt;fxvertex-input&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkDrawIndexedIndirectCommand-indexSize-00553",\r
- "text": " <span class=\"eq\">(<code>indexSize</code> * (<code>firstIndex</code> + <code>indexCount</code>) + <code>offset</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to the size of the bound index buffer, with <code>indexSize</code> being based on the type specified by <code>indexType</code>, where the index buffer, <code>indexType</code>, and <code>offset</code> are specified via <code>vkCmdBindIndexBuffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDrawIndexedIndirectCommand-firstInstance-00554",\r
- "text": " If the &amp;lt;&amp;lt;features-features-drawIndirectFirstInstance,drawIndirectFirstInstance&amp;gt;&amp;gt; feature is not enabled, <code>firstInstance</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdDrawIndexedIndirectCountAMD": {\r
- "(VK_AMD_draw_indirect_count)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-buffer-01666",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-buffer-01667",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-01668",\r
- "text": " If <code>countBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-01669",\r
- "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-offset-00555",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBufferOffset-00556",\r
- "text": " <code>countBufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-stride-00557",\r
- "text": " <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndirectCommand</code>)"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-maxDrawCount-00558",\r
- "text": " If <code>maxDrawCount</code> is greater than or equal to <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>maxDrawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-firstInstance-00559",\r
- "text": " If the <a href=\"#features-features-drawIndirectFirstInstance\">drawIndirectFirstInstance</a> feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndexedIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-renderPass-00560",\r
- "text": " The current render pass <strong class=\"purple\">must</strong> be &amp;lt;&amp;lt;renderpass-compatibility,compatible&amp;gt;&amp;gt; with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-subpass-00561",\r
- "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00562",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00563",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00564",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00565",\r
- "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00566",\r
- "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00567",\r
- "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-00568",\r
- "text": " If count stored in <code>countBuffer</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-00569",\r
- "text": " If count stored in <code>countBuffer</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-drawCount-00570",\r
- "text": " <code>drawCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00571",\r
- "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00572",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00573",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00574",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00575",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00576",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-linearTilingFeatures-00577",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-01504",\r
- "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-parameter",\r
- "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commonparent",\r
- "text": " Each of <code>buffer</code>, <code>commandBuffer</code>, and <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-maxMultiviewInstanceIndex-00578",\r
- "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."\r
- }\r
- ],\r
- "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-01865",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-01866",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-01867",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ],\r
- "(VK_AMD_draw_indirect_count)+(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-sampleLocationsEnable-01517",\r
- "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"\r
- }\r
- ]\r
- },\r
- "VkPipelineVertexInputStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-vertexBindingDescriptionCount-00613",\r
- "text": " <code>vertexBindingDescriptionCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-vertexAttributeDescriptionCount-00614",\r
- "text": " <code>vertexAttributeDescriptionCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputAttributes</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-binding-00615",\r
- "text": " For every <code>binding</code> specified by each element of <code>pVertexAttributeDescriptions</code>, a <code>VkVertexInputBindingDescription</code> <strong class=\"purple\">must</strong> exist in <code>pVertexBindingDescriptions</code> with the same value of <code>binding</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexBindingDescriptions-00616",\r
- "text": " All elements of <code>pVertexBindingDescriptions</code> <strong class=\"purple\">must</strong> describe distinct binding numbers"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexAttributeDescriptions-00617",\r
- "text": " All elements of <code>pVertexAttributeDescriptions</code> <strong class=\"purple\">must</strong> describe distinct attribute locations"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineVertexInputDivisorStateCreateInfoEXT\">VkPipelineVertexInputDivisorStateCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexBindingDescriptions-parameter",\r
- "text": " If <code>vertexBindingDescriptionCount</code> is not <code>0</code>, <code>pVertexBindingDescriptions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>vertexBindingDescriptionCount</code> valid <code>VkVertexInputBindingDescription</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexAttributeDescriptions-parameter",\r
- "text": " If <code>vertexAttributeDescriptionCount</code> is not <code>0</code>, <code>pVertexAttributeDescriptions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>vertexAttributeDescriptionCount</code> valid <code>VkVertexInputAttributeDescription</code> structures"\r
- }\r
- ]\r
- },\r
- "VkVertexInputBindingDescription": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkVertexInputBindingDescription-binding-00618",\r
- "text": " <code>binding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputBindingDescription-stride-00619",\r
- "text": " <code>stride</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindingStride</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputBindingDescription-inputRate-parameter",\r
- "text": " <code>inputRate</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkVertexInputRate\">VkVertexInputRate</a> value"\r
- }\r
- ]\r
- },\r
- "VkVertexInputAttributeDescription": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkVertexInputAttributeDescription-location-00620",\r
- "text": " <code>location</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputAttributes</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputAttributeDescription-binding-00621",\r
- "text": " <code>binding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputAttributeDescription-offset-00622",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputAttributeOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputAttributeDescription-format-00623",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be allowed as a vertex buffer format, as specified by the <code>VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT</code> flag in <code>VkFormatProperties</code>::<code>bufferFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputAttributeDescription-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- }\r
- ]\r
- },\r
- "vkCmdBindVertexBuffers": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-firstBinding-00624",\r
- "text": " <code>firstBinding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-firstBinding-00625",\r
- "text": " The sum of <code>firstBinding</code> and <code>bindingCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-pOffsets-00626",\r
- "text": " All elements of <code>pOffsets</code> <strong class=\"purple\">must</strong> be less than the size of the corresponding element in <code>pBuffers</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-pBuffers-00627",\r
- "text": " All elements of <code>pBuffers</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_VERTEX_BUFFER_BIT</code> flag"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-pBuffers-00628",\r
- "text": " Each element of <code>pBuffers</code> that is non-sparse <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-pBuffers-parameter",\r
- "text": " <code>pBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> valid <code>VkBuffer</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-pOffsets-parameter",\r
- "text": " <code>pOffsets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> <code>VkDeviceSize</code> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-bindingCount-arraylength",\r
- "text": " <code>bindingCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBindVertexBuffers-commonparent",\r
- "text": " Both of <code>commandBuffer</code>, and the elements of <code>pBuffers</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineVertexInputDivisorStateCreateInfoEXT": {\r
- "(VK_EXT_vertex_attribute_divisor)": [\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputDivisorStateCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputDivisorStateCreateInfoEXT-pVertexBindingDivisors-parameter",\r
- "text": " <code>pVertexBindingDivisors</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>vertexBindingDivisorCount</code> <code>VkVertexInputBindingDivisorDescriptionEXT</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineVertexInputDivisorStateCreateInfoEXT-vertexBindingDivisorCount-arraylength",\r
- "text": " <code>vertexBindingDivisorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkVertexInputBindingDivisorDescriptionEXT": {\r
- "(VK_EXT_vertex_attribute_divisor)": [\r
- {\r
- "vuid": "VUID-VkVertexInputBindingDivisorDescriptionEXT-binding-01869",\r
- "text": " <code>binding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputBindingDivisorDescriptionEXT-divisor-01870",\r
- "text": " <code>divisor</code> <strong class=\"purple\">must</strong> be a value between <code>0</code> and <code>VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT</code>::<code>maxVertexAttribDivisor</code>, inclusive."\r
- },\r
- {\r
- "vuid": "VUID-VkVertexInputBindingDivisorDescriptionEXT-inputRate-01871",\r
- "text": " <a href=\"#VkVertexInputBindingDescription\">VkVertexInputBindingDescription</a>::<code>inputRate</code> <strong class=\"purple\">must</strong> be of type <code>VK_VERTEX_INPUT_RATE_INSTANCE</code> for this <code>binding</code>."\r
- }\r
- ]\r
- },\r
- "VkPipelineTessellationStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineTessellationStateCreateInfo-patchControlPoints-01214",\r
- "text": " <code>patchControlPoints</code> <strong class=\"purple\">must</strong> be greater than zero and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxTessellationPatchSize</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineTessellationStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineTessellationStateCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineTessellationDomainOriginStateCreateInfo\">VkPipelineTessellationDomainOriginStateCreateInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineTessellationStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineTessellationDomainOriginStateCreateInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkPipelineTessellationDomainOriginStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineTessellationDomainOriginStateCreateInfo-domainOrigin-parameter",\r
- "text": " <code>domainOrigin</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkTessellationDomainOrigin\">VkTessellationDomainOrigin</a> value"\r
- }\r
- ]\r
- },\r
- "VkPipelineViewportSwizzleStateCreateInfoNV": {\r
- "(VK_NV_viewport_swizzle)": [\r
- {\r
- "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-viewportCount-01215",\r
- "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> match the <code>viewportCount</code> set in <code>VkPipelineViewportStateCreateInfo</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-viewportCount-arraylength",\r
- "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkViewportSwizzleNV": {\r
- "(VK_NV_viewport_swizzle)": [\r
- {\r
- "vuid": "VUID-VkViewportSwizzleNV-x-parameter",\r
- "text": " <code>x</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkViewportSwizzleNV-y-parameter",\r
- "text": " <code>y</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkViewportSwizzleNV-z-parameter",\r
- "text": " <code>z</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkViewportSwizzleNV-w-parameter",\r
- "text": " <code>w</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"\r
- }\r
- ]\r
- },\r
- "VkPipelineViewportWScalingStateCreateInfoNV": {\r
- "(VK_NV_clip_space_w_scaling)": [\r
- {\r
- "vuid": "VUID-VkPipelineViewportWScalingStateCreateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportWScalingStateCreateInfoNV-viewportCount-arraylength",\r
- "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdSetViewportWScalingNV": {\r
- "(VK_NV_clip_space_w_scaling)": [\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-None-01322",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-firstViewport-01323",\r
- "text": " <code>firstViewport</code> <strong class=\"purple\">must</strong> be less than <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>maxViewports</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-firstViewport-01324",\r
- "text": " The sum of <code>firstViewport</code> and <code>viewportCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>maxViewports</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-pViewportWScalings-parameter",\r
- "text": " <code>pViewportWScalings</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>viewportCount</code> <code>VkViewportWScalingNV</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewportWScalingNV-viewportCount-arraylength",\r
- "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineViewportStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportCount-01216",\r
- "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>viewportCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-01217",\r
- "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>scissorCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportCount-01218",\r
- "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-01219",\r
- "text": " <code>scissorCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-01220",\r
- "text": " <code>scissorCount</code> and <code>viewportCount</code> <strong class=\"purple\">must</strong> be identical"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineViewportSwizzleStateCreateInfoNV\">VkPipelineViewportSwizzleStateCreateInfoNV</a> or <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportCount-arraylength",\r
- "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-arraylength",\r
- "text": " <code>scissorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ],\r
- "(VK_NV_clip_space_w_scaling)": [\r
- {\r
- "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportWScalingEnable-01726",\r
- "text": " If the <code>viewportWScalingEnable</code> member of a <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> structure chained to the <code>pNext</code> chain is <code>VK_TRUE</code>, the <code>viewportCount</code> member of the <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> structure <strong class=\"purple\">must</strong> be equal to <code>viewportCount</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdSetViewport": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-None-01221",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_VIEWPORT</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-firstViewport-01222",\r
- "text": " <code>firstViewport</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-firstViewport-01223",\r
- "text": " The sum of <code>firstViewport</code> and <code>viewportCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-firstViewport-01224",\r
- "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>firstViewport</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-viewportCount-01225",\r
- "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>viewportCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-pViewports-parameter",\r
- "text": " <code>pViewports</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>viewportCount</code> <code>VkViewport</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetViewport-viewportCount-arraylength",\r
- "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkViewport": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkViewport-width-01770",\r
- "text": " <code>width</code> <strong class=\"purple\">must</strong> be greater than <code>0.0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-width-01771",\r
- "text": " <code>width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxViewportDimensions</code>[0]"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-height-01773",\r
- "text": " The absolute value of <code>height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxViewportDimensions</code>[1]"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-x-01774",\r
- "text": " <code>x</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>viewportBoundsRange</code>[0]"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-x-01232",\r
- "text": " <span class=\"eq\">(<code>x</code> + <code>width</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to <code>viewportBoundsRange</code>[1]"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-y-01775",\r
- "text": " <code>y</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>viewportBoundsRange</code>[0]"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-y-01233",\r
- "text": " <span class=\"eq\">(<code>y</code> + <code>height</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to <code>viewportBoundsRange</code>[1]"\r
- }\r
- ],\r
- "!(VK_VERSION_1_1,VK_KHR_maintenance1,VK_AMD_negative_viewport_height)": [\r
- {\r
- "vuid": "VUID-VkViewport-height-01772",\r
- "text": " <code>height</code> <strong class=\"purple\">must</strong> be greater than <code>0.0</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_maintenance1,VK_AMD_negative_viewport_height)": [\r
- {\r
- "vuid": "VUID-VkViewport-y-01776",\r
- "text": " <code>y</code> <strong class=\"purple\">must</strong> be less than or equal to <code>viewportBoundsRange</code>[1]"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-y-01777",\r
- "text": " <span class=\"eq\">(<code>y</code> + <code>height</code>)</span> <strong class=\"purple\">must</strong> be greater than or equal to <code>viewportBoundsRange</code>[0]"\r
- }\r
- ],\r
- "(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-VkViewport-minDepth-01234",\r
- "text": " Unless <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>minDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-maxDepth-01235",\r
- "text": " Unless <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>maxDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ],\r
- "!(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-VkViewport-minDepth-01234",\r
- "text": " <code>minDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkViewport-maxDepth-01235",\r
- "text": " <code>maxDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ]\r
- },\r
- "VkPipelineRasterizationStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-depthClampEnable-00782",\r
- "text": " If the &amp;lt;&amp;lt;features-features-depthClamp,depth clamping&amp;gt;&amp;gt; feature is not enabled, <code>depthClampEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineRasterizationConservativeStateCreateInfoEXT\">VkPipelineRasterizationConservativeStateCreateInfoEXT</a> or <a href=\"#VkPipelineRasterizationStateRasterizationOrderAMD\">VkPipelineRasterizationStateRasterizationOrderAMD</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-parameter",\r
- "text": " <code>polygonMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPolygonMode\">VkPolygonMode</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-cullMode-parameter",\r
- "text": " <code>cullMode</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCullModeFlagBits\">VkCullModeFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-frontFace-parameter",\r
- "text": " <code>frontFace</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFrontFace\">VkFrontFace</a> value"\r
- }\r
- ],\r
- "!(VK_NV_fill_rectangle)": [\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01413",\r
- "text": " If the &amp;lt;&amp;lt;features-features-fillModeNonSolid,non-solid fill modes&amp;gt;&amp;gt; feature is not enabled, <code>polygonMode</code> <strong class=\"purple\">must</strong> be <code>VK_POLYGON_MODE_FILL</code>"\r
- }\r
- ],\r
- "(VK_NV_fill_rectangle)": [\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01507",\r
- "text": " If the &amp;lt;&amp;lt;features-features-fillModeNonSolid,non-solid fill modes&amp;gt;&amp;gt; feature is not enabled, <code>polygonMode</code> <strong class=\"purple\">must</strong> be <code>VK_POLYGON_MODE_FILL</code> or <code>VK_POLYGON_MODE_FILL_RECTANGLE_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01414",\r
- "text": " If the <code><a href=\"#VK_NV_fill_rectangle\">VK_NV_fill_rectangle</a></code> extension is not enabled, <code>polygonMode</code> <strong class=\"purple\">must</strong> not be <code>VK_POLYGON_MODE_FILL_RECTANGLE_NV</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineMultisampleStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-sampleShadingEnable-00784",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sampleRateShading,sample rate shading&amp;gt;&amp;gt; feature is not enabled, <code>sampleShadingEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-alphaToOneEnable-00785",\r
- "text": " If the &amp;lt;&amp;lt;features-features-alphaToOne,alpha to one&amp;gt;&amp;gt; feature is not enabled, <code>alphaToOneEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-minSampleShading-00786",\r
- "text": " <code>minSampleShading</code> <strong class=\"purple\">must</strong> be in the range <span class=\"eq\">[0,1]</span>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineCoverageModulationStateCreateInfoNV\">VkPipelineCoverageModulationStateCreateInfoNV</a>, <a href=\"#VkPipelineCoverageToColorStateCreateInfoNV\">VkPipelineCoverageToColorStateCreateInfoNV</a>, or <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-rasterizationSamples-parameter",\r
- "text": " <code>rasterizationSamples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-pSampleMask-parameter",\r
- "text": " If <code>pSampleMask</code> is not <code>NULL</code>, <code>pSampleMask</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of \\(\\lceil{\\mathit{rasterizationSamples} \\over 32}\\rceil\\) <code>VkSampleMask</code> values"\r
- }\r
- ],\r
- "(VK_NV_framebuffer_mixed_samples)": [\r
- {\r
- "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-rasterizationSamples-01415",\r
- "text": " If the subpass has any color attachments and <code>rasterizationSamples</code> is greater than the number of color samples, then <code>sampleShadingEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineRasterizationStateRasterizationOrderAMD": {\r
- "(VK_AMD_rasterization_order)": [\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateRasterizationOrderAMD-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationStateRasterizationOrderAMD-rasterizationOrder-parameter",\r
- "text": " <code>rasterizationOrder</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkRasterizationOrderAMD\">VkRasterizationOrderAMD</a> value"\r
- }\r
- ]\r
- },\r
- "VkPipelineSampleLocationsStateCreateInfoEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkPipelineSampleLocationsStateCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineSampleLocationsStateCreateInfoEXT-sampleLocationsInfo-parameter",\r
- "text": " <code>sampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampleLocationsInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkSampleLocationsInfoEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsPerPixel-01526",\r
- "text": " <code>sampleLocationsPerPixel</code> <strong class=\"purple\">must</strong> be a bit value that is set in <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>::<code>sampleLocationSampleCounts</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsCount-01527",\r
- "text": " <code>sampleLocationsCount</code> <strong class=\"purple\">must</strong> equal <span class=\"eq\"><code>sampleLocationsPerPixel</code> {times} <code>sampleLocationGridSize.width</code> {times} <code>sampleLocationGridSize.height</code></span>"\r
- },\r
- {\r
- "vuid": "VUID-VkSampleLocationsInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsPerPixel-parameter",\r
- "text": " <code>sampleLocationsPerPixel</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSampleLocationsInfoEXT-pSampleLocations-parameter",\r
- "text": " <code>pSampleLocations</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>sampleLocationsCount</code> <code>VkSampleLocationEXT</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsCount-arraylength",\r
- "text": " <code>sampleLocationsCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdSetSampleLocationsEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkCmdSetSampleLocationsEXT-None-01528",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetSampleLocationsEXT-sampleLocationsPerPixel-01529",\r
- "text": " The <code>sampleLocationsPerPixel</code> member of <code>pSampleLocationsInfo</code> <strong class=\"purple\">must</strong> equal the <code>rasterizationSamples</code> member of the <a href=\"#VkPipelineMultisampleStateCreateInfo\">VkPipelineMultisampleStateCreateInfo</a> structure the bound graphics pipeline has been created with"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetSampleLocationsEXT-variableSampleLocations-01530",\r
- "text": " If <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>::<code>variableSampleLocations</code> is <code>VK_FALSE</code> then the current render pass <strong class=\"purple\">must</strong> have been begun by specifying a <a href=\"#VkRenderPassSampleLocationsBeginInfoEXT\">VkRenderPassSampleLocationsBeginInfoEXT</a> structure whose <code>pPostSubpassSampleLocations</code> member contains an element with a <code>subpassIndex</code> matching the current subpass index and the <code>sampleLocationsInfo</code> member of that element <strong class=\"purple\">must</strong> match the sample locations state pointed to by <code>pSampleLocationsInfo</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetSampleLocationsEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetSampleLocationsEXT-pSampleLocationsInfo-parameter",\r
- "text": " <code>pSampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSampleLocationsInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetSampleLocationsEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetSampleLocationsEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ]\r
- },\r
- "vkCmdSetLineWidth": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetLineWidth-None-00787",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_LINE_WIDTH</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetLineWidth-lineWidth-00788",\r
- "text": " If the <a href=\"#features-features-wideLines\">wide lines</a> feature is not enabled, <code>lineWidth</code> <strong class=\"purple\">must</strong> be <code>1.0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetLineWidth-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetLineWidth-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetLineWidth-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ]\r
- },\r
- "vkCmdSetDepthBias": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBias-None-00789",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_DEPTH_BIAS</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBias-depthBiasClamp-00790",\r
- "text": " If the <a href=\"#features-features-depthBiasClamp\">depth bias clamping</a> feature is not enabled, <code>depthBiasClamp</code> <strong class=\"purple\">must</strong> be <code>0.0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBias-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBias-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBias-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ]\r
- },\r
- "VkPipelineRasterizationConservativeStateCreateInfoEXT": {\r
- "(VK_EXT_conservative_rasterization)": [\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-extraPrimitiveOverestimationSize-01769",\r
- "text": " <code>extraPrimitiveOverestimationSize</code> <strong class=\"purple\">must</strong> be in the range of <code>0.0</code> to <code>VkPhysicalDeviceConservativeRasterizationPropertiesEXT</code>::<code>maxExtraPrimitiveOverestimationSize</code> inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-conservativeRasterizationMode-parameter",\r
- "text": " <code>conservativeRasterizationMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkConservativeRasterizationModeEXT\">VkConservativeRasterizationModeEXT</a> value"\r
- }\r
- ]\r
- },\r
- "VkPipelineDiscardRectangleStateCreateInfoEXT": {\r
- "(VK_EXT_discard_rectangles)": [\r
- {\r
- "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-discardRectangleCount-00582",\r
- "text": " <code>discardRectangleCount</code> <strong class=\"purple\">must</strong> be between <code>0</code> and <code>VkPhysicalDeviceDiscardRectanglePropertiesEXT</code>::<code>maxDiscardRectangles</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-discardRectangleMode-parameter",\r
- "text": " <code>discardRectangleMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDiscardRectangleModeEXT\">VkDiscardRectangleModeEXT</a> value"\r
- }\r
- ]\r
- },\r
- "vkCmdSetDiscardRectangleEXT": {\r
- "(VK_EXT_discard_rectangles)": [\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-None-00583",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-firstDiscardRectangle-00585",\r
- "text": " The sum of <code>firstDiscardRectangle</code> and <code>discardRectangleCount</code> <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceDiscardRectanglePropertiesEXT\">VkPhysicalDeviceDiscardRectanglePropertiesEXT</a>::<code>maxDiscardRectangles</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-x-00587",\r
- "text": " The <code>x</code> and <code>y</code> member of <code>offset</code> in each <a href=\"#VkRect2D\">VkRect2D</a> element of <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-offset-00588",\r
- "text": " Evaluation of <span class=\"eq\">(<code>offset.x</code> + <code>extent.width</code>)</span> in each <a href=\"#VkRect2D\">VkRect2D</a> element of <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-offset-00589",\r
- "text": " Evaluation of <span class=\"eq\">(<code>offset.y</code> + <code>extent.height</code>)</span> in each <a href=\"#VkRect2D\">VkRect2D</a> element of <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-pDiscardRectangles-parameter",\r
- "text": " <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>discardRectangleCount</code> <code>VkRect2D</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDiscardRectangleEXT-discardRectangleCount-arraylength",\r
- "text": " <code>discardRectangleCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdSetScissor": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-None-00590",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_SCISSOR</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-firstScissor-00591",\r
- "text": " <code>firstScissor</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-firstScissor-00592",\r
- "text": " The sum of <code>firstScissor</code> and <code>scissorCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-firstScissor-00593",\r
- "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>firstScissor</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-scissorCount-00594",\r
- "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>scissorCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-x-00595",\r
- "text": " The <code>x</code> and <code>y</code> members of <code>offset</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-offset-00596",\r
- "text": " Evaluation of <span class=\"eq\">(<code>offset.x</code> + <code>extent.width</code>)</span> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-offset-00597",\r
- "text": " Evaluation of <span class=\"eq\">(<code>offset.y</code> + <code>extent.height</code>)</span> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-pScissors-parameter",\r
- "text": " <code>pScissors</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>scissorCount</code> <code>VkRect2D</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetScissor-scissorCount-arraylength",\r
- "text": " <code>scissorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineDepthStencilStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-depthBoundsTestEnable-00598",\r
- "text": " If the &amp;lt;&amp;lt;features-features-depthBounds,depth bounds testing&amp;gt;&amp;gt; feature is not enabled, <code>depthBoundsTestEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-depthCompareOp-parameter",\r
- "text": " <code>depthCompareOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompareOp\">VkCompareOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-front-parameter",\r
- "text": " <code>front</code> <strong class=\"purple\">must</strong> be a valid <code>VkStencilOpState</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-back-parameter",\r
- "text": " <code>back</code> <strong class=\"purple\">must</strong> be a valid <code>VkStencilOpState</code> structure"\r
- }\r
- ]\r
- },\r
- "vkCmdSetDepthBounds": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-None-00599",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_DEPTH_BOUNDS</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ],\r
- "(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-minDepthBounds-00600",\r
- "text": " Unless the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>minDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-maxDepthBounds-00601",\r
- "text": " Unless the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>maxDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ],\r
- "!(VK_EXT_depth_range_unrestricted)": [\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-minDepthBounds-00600",\r
- "text": " <code>minDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetDepthBounds-maxDepthBounds-00601",\r
- "text": " <code>maxDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"\r
- }\r
- ]\r
- },\r
- "VkStencilOpState": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkStencilOpState-failOp-parameter",\r
- "text": " <code>failOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkStencilOp\">VkStencilOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkStencilOpState-passOp-parameter",\r
- "text": " <code>passOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkStencilOp\">VkStencilOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkStencilOpState-depthFailOp-parameter",\r
- "text": " <code>depthFailOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkStencilOp\">VkStencilOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkStencilOpState-compareOp-parameter",\r
- "text": " <code>compareOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompareOp\">VkCompareOp</a> value"\r
- }\r
- ]\r
- },\r
- "vkCmdSetStencilCompareMask": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetStencilCompareMask-None-00602",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilCompareMask-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilCompareMask-faceMask-parameter",\r
- "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkStencilFaceFlagBits\">VkStencilFaceFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilCompareMask-faceMask-requiredbitmask",\r
- "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilCompareMask-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilCompareMask-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ]\r
- },\r
- "vkCmdSetStencilWriteMask": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetStencilWriteMask-None-00603",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_STENCIL_WRITE_MASK</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilWriteMask-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilWriteMask-faceMask-parameter",\r
- "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkStencilFaceFlagBits\">VkStencilFaceFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilWriteMask-faceMask-requiredbitmask",\r
- "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilWriteMask-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilWriteMask-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ]\r
- },\r
- "vkCmdSetStencilReference": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetStencilReference-None-00604",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_STENCIL_REFERENCE</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilReference-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilReference-faceMask-parameter",\r
- "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkStencilFaceFlagBits\">VkStencilFaceFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilReference-faceMask-requiredbitmask",\r
- "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilReference-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetStencilReference-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ]\r
- },\r
- "VkPipelineCoverageToColorStateCreateInfoNV": {\r
- "(VK_NV_fragment_coverage_to_color)": [\r
- {\r
- "vuid": "VUID-VkPipelineCoverageToColorStateCreateInfoNV-coverageToColorEnable-01404",\r
- "text": " If <code>coverageToColorEnable</code> is <code>VK_TRUE</code>, then the render pass subpass indicated by <a href=\"#VkGraphicsPipelineCreateInfo\">VkGraphicsPipelineCreateInfo</a>::<code>renderPass</code> and <a href=\"#VkGraphicsPipelineCreateInfo\">VkGraphicsPipelineCreateInfo</a>::<code>subpass</code> <strong class=\"purple\">must</strong> have a color attachment at the location selected by <code>coverageToColorLocation</code>, with a <a href=\"#VkFormat\">VkFormat</a> of <code>VK_FORMAT_R8_UINT</code>, <code>VK_FORMAT_R8_SINT</code>, <code>VK_FORMAT_R16_UINT</code>, <code>VK_FORMAT_R16_SINT</code>, <code>VK_FORMAT_R32_UINT</code>, or <code>VK_FORMAT_R32_SINT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCoverageToColorStateCreateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCoverageToColorStateCreateInfoNV-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineCoverageModulationStateCreateInfoNV": {\r
- "(VK_NV_framebuffer_mixed_samples)": [\r
- {\r
- "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-coverageModulationTableEnable-01405",\r
- "text": " If <code>coverageModulationTableEnable</code> is <code>VK_TRUE</code>, <code>coverageModulationTableCount</code> <strong class=\"purple\">must</strong> be equal to the number of rasterization samples divided by the number of color samples in the subpass."\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-coverageModulationMode-parameter",\r
- "text": " <code>coverageModulationMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCoverageModulationModeNV\">VkCoverageModulationModeNV</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-coverageModulationTableCount-arraylength",\r
- "text": " <code>coverageModulationTableCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkPipelineColorBlendStateCreateInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605",\r
- "text": " If the &amp;lt;&amp;lt;features-features-independentBlend,independent blending&amp;gt;&amp;gt; feature is not enabled, all elements of <code>pAttachments</code> <strong class=\"purple\">must</strong> be identical"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-logicOpEnable-00606",\r
- "text": " If the &amp;lt;&amp;lt;features-features-logicOp,logic operations&amp;gt;&amp;gt; feature is not enabled, <code>logicOpEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-logicOpEnable-00607",\r
- "text": " If <code>logicOpEnable</code> is <code>VK_TRUE</code>, <code>logicOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkLogicOp\">VkLogicOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineColorBlendAdvancedStateCreateInfoEXT\">VkPipelineColorBlendAdvancedStateCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-parameter",\r
- "text": " If <code>attachmentCount</code> is not <code>0</code>, <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkPipelineColorBlendAttachmentState</code> structures"\r
- }\r
- ]\r
- },\r
- "VkPipelineColorBlendAttachmentState": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcColorBlendFactor-00608",\r
- "text": " If the &amp;lt;&amp;lt;features-features-dualSrcBlend,dual source blending&amp;gt;&amp;gt; feature is not enabled, <code>srcColorBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstColorBlendFactor-00609",\r
- "text": " If the &amp;lt;&amp;lt;features-features-dualSrcBlend,dual source blending&amp;gt;&amp;gt; feature is not enabled, <code>dstColorBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcAlphaBlendFactor-00610",\r
- "text": " If the &amp;lt;&amp;lt;features-features-dualSrcBlend,dual source blending&amp;gt;&amp;gt; feature is not enabled, <code>srcAlphaBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstAlphaBlendFactor-00611",\r
- "text": " If the &amp;lt;&amp;lt;features-features-dualSrcBlend,dual source blending&amp;gt;&amp;gt; feature is not enabled, <code>dstAlphaBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcColorBlendFactor-parameter",\r
- "text": " <code>srcColorBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstColorBlendFactor-parameter",\r
- "text": " <code>dstColorBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorBlendOp-parameter",\r
- "text": " <code>colorBlendOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendOp\">VkBlendOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcAlphaBlendFactor-parameter",\r
- "text": " <code>srcAlphaBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstAlphaBlendFactor-parameter",\r
- "text": " <code>dstAlphaBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-alphaBlendOp-parameter",\r
- "text": " <code>alphaBlendOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendOp\">VkBlendOp</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorWriteMask-parameter",\r
- "text": " <code>colorWriteMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkColorComponentFlagBits\">VkColorComponentFlagBits</a> values"\r
- }\r
- ],\r
- "(VK_EXT_blend_operation_advanced)": [\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorBlendOp-01406",\r
- "text": " If either of <code>colorBlendOp</code> or <code>alphaBlendOp</code> is an &amp;lt;&amp;lt;framebuffer-blend-advanced,advanced blend operation&amp;gt;&amp;gt;, then <code>colorBlendOp</code> <strong class=\"purple\">must</strong> equal <code>alphaBlendOp</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-advancedBlendIndependentBlend-01407",\r
- "text": " If <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::<code>advancedBlendIndependentBlend</code> is <code>VK_FALSE</code> and <code>colorBlendOp</code> is an &amp;lt;&amp;lt;framebuffer-blend-advanced,advanced blend operation&amp;gt;&amp;gt;, then <code>colorBlendOp</code> <strong class=\"purple\">must</strong> be the same for all attachments."\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-advancedBlendIndependentBlend-01408",\r
- "text": " If <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::<code>advancedBlendIndependentBlend</code> is <code>VK_FALSE</code> and <code>alphaBlendOp</code> is an &amp;lt;&amp;lt;framebuffer-blend-advanced,advanced blend operation&amp;gt;&amp;gt;, then <code>alphaBlendOp</code> <strong class=\"purple\">must</strong> be the same for all attachments."\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-advancedBlendAllOperations-01409",\r
- "text": " If <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::<code>advancedBlendAllOperations</code> is <code>VK_FALSE</code>, then <code>colorBlendOp</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_OP_ZERO_EXT</code>, <code>VK_BLEND_OP_SRC_EXT</code>, <code>VK_BLEND_OP_DST_EXT</code>, <code>VK_BLEND_OP_SRC_OVER_EXT</code>, <code>VK_BLEND_OP_DST_OVER_EXT</code>, <code>VK_BLEND_OP_SRC_IN_EXT</code>, <code>VK_BLEND_OP_DST_IN_EXT</code>, <code>VK_BLEND_OP_SRC_OUT_EXT</code>, <code>VK_BLEND_OP_DST_OUT_EXT</code>, <code>VK_BLEND_OP_SRC_ATOP_EXT</code>, <code>VK_BLEND_OP_DST_ATOP_EXT</code>, <code>VK_BLEND_OP_XOR_EXT</code>, <code>VK_BLEND_OP_INVERT_EXT</code>, <code>VK_BLEND_OP_INVERT_RGB_EXT</code>, <code>VK_BLEND_OP_LINEARDODGE_EXT</code>, <code>VK_BLEND_OP_LINEARBURN_EXT</code>, <code>VK_BLEND_OP_VIVIDLIGHT_EXT</code>, <code>VK_BLEND_OP_LINEARLIGHT_EXT</code>, <code>VK_BLEND_OP_PINLIGHT_EXT</code>, <code>VK_BLEND_OP_HARDMIX_EXT</code>, <code>VK_BLEND_OP_PLUS_EXT</code>, <code>VK_BLEND_OP_PLUS_CLAMPED_EXT</code>, <code>VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT</code>, <code>VK_BLEND_OP_PLUS_DARKER_EXT</code>, <code>VK_BLEND_OP_MINUS_EXT</code>, <code>VK_BLEND_OP_MINUS_CLAMPED_EXT</code>, <code>VK_BLEND_OP_CONTRAST_EXT</code>, <code>VK_BLEND_OP_INVERT_OVG_EXT</code>, <code>VK_BLEND_OP_RED_EXT</code>, <code>VK_BLEND_OP_GREEN_EXT</code>, or <code>VK_BLEND_OP_BLUE_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorBlendOp-01410",\r
- "text": " If <code>colorBlendOp</code> or <code>alphaBlendOp</code> is an &amp;lt;&amp;lt;framebuffer-blend-advanced,advanced blend operation&amp;gt;&amp;gt;, then <a href=\"#VkSubpassDescription\">VkSubpassDescription</a>::<code>colorAttachmentCount</code> of the subpass this pipeline is compiled against <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::advancedBlendMaxColorAttachments"\r
- }\r
- ]\r
- },\r
- "vkCmdSetBlendConstants": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdSetBlendConstants-None-00612",\r
- "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_BLEND_CONSTANTS</code> dynamic state enabled"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetBlendConstants-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetBlendConstants-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdSetBlendConstants-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"\r
- }\r
- ]\r
- },\r
- "VkPipelineColorBlendAdvancedStateCreateInfoEXT": {\r
- "(VK_EXT_blend_operation_advanced)": [\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-srcPremultiplied-01424",\r
- "text": " If the &amp;lt;&amp;lt;features-limits-advancedBlendNonPremultipliedSrcColor,non-premultiplied source color&amp;gt;&amp;gt; property is not supported, <code>srcPremultiplied</code> <strong class=\"purple\">must</strong> be <code>VK_TRUE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-dstPremultiplied-01425",\r
- "text": " If the &amp;lt;&amp;lt;features-limits-advancedBlendNonPremultipliedDstColor,non-premultiplied destination color&amp;gt;&amp;gt; property is not supported, <code>dstPremultiplied</code> <strong class=\"purple\">must</strong> be <code>VK_TRUE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-blendOverlap-01426",\r
- "text": " If the &amp;lt;&amp;lt;features-limits-advancedBlendCorrelatedOverlap,correlated overlap&amp;gt;&amp;gt; property is not supported, <code>blendOverlap</code> <strong class=\"purple\">must</strong> be <code>VK_BLEND_OVERLAP_UNCORRELATED_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-blendOverlap-parameter",\r
- "text": " <code>blendOverlap</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendOverlapEXT\">VkBlendOverlapEXT</a> value"\r
- }\r
- ]\r
- },\r
- "vkCmdDispatch": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdDispatch-groupCountX-00386",\r
- "text": " <code>groupCountX</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0]"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-groupCountY-00387",\r
- "text": " <code>groupCountY</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1]"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-groupCountZ-00388",\r
- "text": " <code>groupCountZ</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2]"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00389",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00390",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00391",\r
- "text": " A valid compute pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00392",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants with the one used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00393",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00394",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00395",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00396",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00397",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-linearTilingFeatures-00398",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-vkCmdDispatch-linearTilingFeatures-00399",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-None-00400",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDispatch-commandBuffer-01844",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-commandBuffer-01845",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatch-commandBuffer-01846",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the compute pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> reads from any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ]\r
- },\r
- "vkCmdDispatchIndirect": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-buffer-00401",\r
- "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00402",\r
- "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00403",\r
- "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00404",\r
- "text": " A valid compute pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-buffer-00405",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-offset-00406",\r
- "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-offset-00407",\r
- "text": " The sum of <code>offset</code> and the size of <code>VkDispatchIndirectCommand</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00408",\r
- "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants with the one used to create the current <code>VkPipeline</code>, as described in &amp;lt;&amp;lt;descriptorsets-compatibility&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00409",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00410",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00411",\r
- "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00412",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00413",\r
- "text": " If the &amp;lt;&amp;lt;features-features-robustBufferAccess,robust buffer access&amp;gt;&amp;gt; feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-linearTilingFeatures-00414",\r
- "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-commonparent",\r
- "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_IMG_filter_cubic)": [\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-linearTilingFeatures-00415",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (for a linear image) or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code>(for an optimally tiled image) returned by <code>vkGetPhysicalDeviceFormatProperties</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-None-00416",\r
- "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"\r
- }\r
- ],\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-01847",\r
- "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-01848",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-01849",\r
- "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the compute pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> reads from any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."\r
- }\r
- ]\r
- },\r
- "VkDispatchIndirectCommand": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkDispatchIndirectCommand-x-00417",\r
- "text": " <code>x</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0]"\r
- },\r
- {\r
- "vuid": "VUID-VkDispatchIndirectCommand-y-00418",\r
- "text": " <code>y</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1]"\r
- },\r
- {\r
- "vuid": "VUID-VkDispatchIndirectCommand-z-00419",\r
- "text": " <code>z</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2]"\r
- }\r
- ]\r
- },\r
- "vkCmdDispatchBase": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-None-00420",\r
- "text": " All valid usage rules from <a href=\"#vkCmdDispatch\">vkCmdDispatch</a> apply"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-baseGroupX-00421",\r
- "text": " <code>baseGroupX</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0]"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-baseGroupX-00422",\r
- "text": " <code>baseGroupX</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1]"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-baseGroupZ-00423",\r
- "text": " <code>baseGroupZ</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2]"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-groupCountX-00424",\r
- "text": " <code>groupCountX</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0] minus <code>baseGroupX</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-groupCountY-00425",\r
- "text": " <code>groupCountY</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1] minus <code>baseGroupY</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-groupCountZ-00426",\r
- "text": " <code>groupCountZ</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2] minus <code>baseGroupZ</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-baseGroupX-00427",\r
- "text": " If any of <code>baseGroupX</code>, <code>baseGroupY</code>, or <code>baseGroupZ</code> are not zero, then the bound compute pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_PIPELINE_CREATE_DISPATCH_BASE</code> flag."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDispatchBase-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX-pFeatures-parameter",\r
- "text": " <code>pFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceGeneratedCommandsFeaturesNVX</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX-pLimits-parameter",\r
- "text": " <code>pLimits</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceGeneratedCommandsLimitsNVX</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDeviceGeneratedCommandsFeaturesNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkDeviceGeneratedCommandsFeaturesNVX-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGeneratedCommandsFeaturesNVX-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "VkDeviceGeneratedCommandsLimitsNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkDeviceGeneratedCommandsLimitsNVX-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGeneratedCommandsLimitsNVX-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateObjectTableNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkCreateObjectTableNVX-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateObjectTableNVX-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkObjectTableCreateInfoNVX</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateObjectTableNVX-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateObjectTableNVX-pObjectTable-parameter",\r
- "text": " <code>pObjectTable</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkObjectTableNVX</code> handle"\r
- }\r
- ]\r
- },\r
- "VkObjectTableCreateInfoNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-computeBindingPointSupport-01355",\r
- "text": " If the <code>VkDeviceGeneratedCommandsFeaturesNVX</code>::<code>computeBindingPointSupport</code> feature is not enabled, <code>pObjectEntryUsageFlags</code> <strong class=\"purple\">must</strong> not contain <code>VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryCounts-01356",\r
- "text": " Any value within <code>pObjectEntryCounts</code> <strong class=\"purple\">must</strong> not exceed <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>maxObjectEntryCounts</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-maxUniformBuffersPerDescriptor-01357",\r
- "text": " <code>maxUniformBuffersPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-maxStorageBuffersPerDescriptor-01358",\r
- "text": " <code>maxStorageBuffersPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-maxStorageImagesPerDescriptor-01359",\r
- "text": " <code>maxStorageImagesPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-maxSampledImagesPerDescriptor-01360",\r
- "text": " <code>maxSampledImagesPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryTypes-parameter",\r
- "text": " <code>pObjectEntryTypes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryCounts-parameter",\r
- "text": " <code>pObjectEntryCounts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryUsageFlags-parameter",\r
- "text": " <code>pObjectEntryUsageFlags</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid combinations of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryUsageFlags-requiredbitmask",\r
- "text": " Each element of <code>pObjectEntryUsageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableCreateInfoNVX-objectCount-arraylength",\r
- "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyObjectTableNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-01361",\r
- "text": " All submitted commands that refer to <code>objectTable</code> <strong class=\"purple\">must</strong> have completed execution."\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-01362",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here."\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-01363",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyObjectTableNVX-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-parameter",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyObjectTableNVX-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-parent",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkRegisterObjectsNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-pObjectTableEntry-01364",\r
- "text": " The contents of <code>pObjectTableEntry</code> <strong class=\"purple\">must</strong> yield plausible bindings supported by the device."\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-pObjectIndices-01365",\r
- "text": " At any <code>pObjectIndices</code> there <strong class=\"purple\">must</strong> not be a registered resource already."\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-pObjectIndices-01366",\r
- "text": " Any value inside <code>pObjectIndices</code> <strong class=\"purple\">must</strong> be below the appropriate <code>VkObjectTableCreateInfoNVX</code>::<code>pObjectEntryCounts</code> limits provided at <code>objectTable</code> creation time."\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-objectTable-parameter",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-ppObjectTableEntries-parameter",\r
- "text": " <code>ppObjectTableEntries</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid <code>VkObjectTableEntryNVX</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-pObjectIndices-parameter",\r
- "text": " <code>pObjectIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-objectCount-arraylength",\r
- "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkRegisterObjectsNVX-objectTable-parent",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkObjectTableEntryNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkObjectTableEntryNVX-computeBindingPointSupport-01367",\r
- "text": " If the <code>VkDeviceGeneratedCommandsFeaturesNVX</code>::<code>computeBindingPointSupport</code> feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableEntryNVX-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableEntryNVX-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableEntryNVX-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkObjectTablePipelineEntryNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkObjectTablePipelineEntryNVX-type-01368",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePipelineEntryNVX-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePipelineEntryNVX-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePipelineEntryNVX-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePipelineEntryNVX-pipeline-parameter",\r
- "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"\r
- }\r
- ]\r
- },\r
- "VkObjectTableDescriptorSetEntryNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-type-01369",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-pipelineLayout-parameter",\r
- "text": " <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-descriptorSet-parameter",\r
- "text": " <code>descriptorSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-commonparent",\r
- "text": " Both of <code>descriptorSet</code>, and <code>pipelineLayout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkObjectTableVertexBufferEntryNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-type-01370",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- }\r
- ]\r
- },\r
- "VkObjectTableIndexBufferEntryNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-type-01371",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-indexType-parameter",\r
- "text": " <code>indexType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndexType\">VkIndexType</a> value"\r
- }\r
- ]\r
- },\r
- "VkObjectTablePushConstantEntryNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkObjectTablePushConstantEntryNVX-type-01372",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePushConstantEntryNVX-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePushConstantEntryNVX-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePushConstantEntryNVX-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePushConstantEntryNVX-pipelineLayout-parameter",\r
- "text": " <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePushConstantEntryNVX-stageFlags-parameter",\r
- "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkObjectTablePushConstantEntryNVX-stageFlags-requiredbitmask",\r
- "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkUnregisterObjectsNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-pObjectIndices-01373",\r
- "text": " At any <code>pObjectIndices</code> there <strong class=\"purple\">must</strong> be a registered resource already."\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-pObjectEntryTypes-01374",\r
- "text": " The <code>pObjectEntryTypes</code> of the resource at <code>pObjectIndices</code> <strong class=\"purple\">must</strong> match."\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-None-01375",\r
- "text": " All operations on the device using the registered resource <strong class=\"purple\">must</strong> have been completed."\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-objectTable-parameter",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-pObjectEntryTypes-parameter",\r
- "text": " <code>pObjectEntryTypes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-pObjectIndices-parameter",\r
- "text": " <code>pObjectIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-objectCount-arraylength",\r
- "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkUnregisterObjectsNVX-objectTable-parent",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "VkIndirectCommandsLayoutTokenNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-bindingUnit-01342",\r
- "text": " <code>bindingUnit</code> <strong class=\"purple\">must</strong> stay within device supported limits for the appropriate commands."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-dynamicCount-01343",\r
- "text": " <code>dynamicCount</code> <strong class=\"purple\">must</strong> stay within device supported limits for the appropriate commands."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-divisor-01344",\r
- "text": " <code>divisor</code> <strong class=\"purple\">must</strong> be greater than <code>0</code> and a power of two."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-tokenType-parameter",\r
- "text": " <code>tokenType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndirectCommandsTokenTypeNVX\">VkIndirectCommandsTokenTypeNVX</a> value"\r
- }\r
- ]\r
- },\r
- "VkIndirectCommandsTokenNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkIndirectCommandsTokenNVX-buffer-01345",\r
- "text": " The <code>buffer</code>’s usage flag <strong class=\"purple\">must</strong> have the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsTokenNVX-offset-01346",\r
- "text": " The <code>offset</code> <strong class=\"purple\">must</strong> be aligned to <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>minCommandsTokenBufferOffsetAlignment</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsTokenNVX-tokenType-parameter",\r
- "text": " <code>tokenType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndirectCommandsTokenTypeNVX\">VkIndirectCommandsTokenTypeNVX</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsTokenNVX-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- }\r
- ]\r
- },\r
- "vkCreateIndirectCommandsLayoutNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkIndirectCommandsLayoutCreateInfoNVX</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-pIndirectCommandsLayout-parameter",\r
- "text": " <code>pIndirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkIndirectCommandsLayoutNVX</code> handle"\r
- }\r
- ]\r
- },\r
- "VkIndirectCommandsLayoutCreateInfoNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-tokenCount-01347",\r
- "text": " <code>tokenCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code> and below <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>maxIndirectCommandsLayoutTokenCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-computeBindingPointSupport-01348",\r
- "text": " If the <code>VkDeviceGeneratedCommandsFeaturesNVX</code>::<code>computeBindingPointSupport</code> feature is not enabled, then <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> not be <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-01349",\r
- "text": " If <code>pTokens</code> contains an entry of <code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX</code> it <strong class=\"purple\">must</strong> be the first element of the array and there <strong class=\"purple\">must</strong> be only a single element of such token type."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-01350",\r
- "text": " All state binding tokens in <code>pTokens</code> <strong class=\"purple\">must</strong> occur prior work provoking tokens (<code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX</code>, <code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX</code>, <code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX</code>)."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-01351",\r
- "text": " The content of <code>pTokens</code> <strong class=\"purple\">must</strong> include one single work provoking token that is compatible with the <code>pipelineBindPoint</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pipelineBindPoint-parameter",\r
- "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkIndirectCommandsLayoutUsageFlagBitsNVX\">VkIndirectCommandsLayoutUsageFlagBitsNVX</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-parameter",\r
- "text": " <code>pTokens</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>tokenCount</code> valid <code>VkIndirectCommandsLayoutTokenNVX</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-tokenCount-arraylength",\r
- "text": " <code>tokenCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroyIndirectCommandsLayoutNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-indirectCommandsLayout-01352",\r
- "text": " All submitted commands that refer to <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-objectTable-01353",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-objectTable-01354",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-indirectCommandsLayout-parameter",\r
- "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkIndirectCommandsLayoutNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-indirectCommandsLayout-parent",\r
- "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdReserveSpaceForCommandsNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-01329",\r
- "text": " The provided <code>commandBuffer</code> <strong class=\"purple\">must</strong> not have had a prior space reservation since its creation or the last reset."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-01330",\r
- "text": " The state of the <code>commandBuffer</code> <strong class=\"purple\">must</strong> be legal to execute all commands within the sequence provided by the <code>indirectCommandsLayout</code> member of <code>pProcessCommandsInfo</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-pReserveSpaceInfo-parameter",\r
- "text": " <code>pReserveSpaceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCmdReserveSpaceForCommandsInfoNVX</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-bufferlevel",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a secondary <code>VkCommandBuffer</code>"\r
- }\r
- ]\r
- },\r
- "VkCmdReserveSpaceForCommandsInfoNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-objectTable-parameter",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-indirectCommandsLayout-parameter",\r
- "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkIndirectCommandsLayoutNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-commonparent",\r
- "text": " Both of <code>indirectCommandsLayout</code>, and <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdProcessCommandsNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-vkCmdProcessCommandsNVX-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdProcessCommandsNVX-pProcessCommandsInfo-parameter",\r
- "text": " <code>pProcessCommandsInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCmdProcessCommandsInfoNVX</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdProcessCommandsNVX-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdProcessCommandsNVX-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdProcessCommandsNVX-renderpass",\r
- "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"\r
- }\r
- ]\r
- },\r
- "VkCmdProcessCommandsInfoNVX": {\r
- "(VK_NVX_device_generated_commands)": [\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-objectTable-01331",\r
- "text": " The provided <code>objectTable</code> <strong class=\"purple\">must</strong> include all objects referenced by the generation process."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-indirectCommandsTokenCount-01332",\r
- "text": " <code>indirectCommandsTokenCount</code> <strong class=\"purple\">must</strong> match the <code>indirectCommandsLayout</code>’s <code>tokenCount</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-tokenType-01333",\r
- "text": " The <code>tokenType</code> member of each entry in the <code>pIndirectCommandsTokens</code> array <strong class=\"purple\">must</strong> match the values used at creation time of <code>indirectCommandsLayout</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01334",\r
- "text": " If <code>targetCommandBuffer</code> is provided, it <strong class=\"purple\">must</strong> have reserved command space."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01335",\r
- "text": " If <code>targetCommandBuffer</code> is provided, the <code>objectTable</code> <strong class=\"purple\">must</strong> match the reservation’s objectTable and <strong class=\"purple\">must</strong> have had all referenced objects registered at reservation time."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01336",\r
- "text": " If <code>targetCommandBuffer</code> is provided, the <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> match the reservation’s indirectCommandsLayout."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01337",\r
- "text": " If <code>targetCommandBuffer</code> is provided, the <code>maxSequencesCount</code> <strong class=\"purple\">must</strong> not exceed the reservation’s maxSequencesCount."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesCountBuffer-01338",\r
- "text": " If <code>sequencesCountBuffer</code> is used, its usage flag <strong class=\"purple\">must</strong> have <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesCountBuffer-01339",\r
- "text": " If <code>sequencesCountBuffer</code> is used, <code>sequencesCountOffset</code> <strong class=\"purple\">must</strong> be aligned to <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>minSequenceCountBufferOffsetAlignment</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesIndexBuffer-01340",\r
- "text": " If <code>sequencesIndexBuffer</code> is used, its usage flag <strong class=\"purple\">must</strong> have <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesIndexBuffer-01341",\r
- "text": " If <code>sequencesIndexBuffer</code> is used, <code>sequencesIndexOffset</code> <strong class=\"purple\">must</strong> be aligned to <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>minSequenceIndexBufferOffsetAlignment</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-objectTable-parameter",\r
- "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-indirectCommandsLayout-parameter",\r
- "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkIndirectCommandsLayoutNVX</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-pIndirectCommandsTokens-parameter",\r
- "text": " <code>pIndirectCommandsTokens</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>indirectCommandsTokenCount</code> valid <code>VkIndirectCommandsTokenNVX</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-parameter",\r
- "text": " If <code>targetCommandBuffer</code> is not <code>NULL</code>, <code>targetCommandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesCountBuffer-parameter",\r
- "text": " If <code>sequencesCountBuffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>sequencesCountBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesIndexBuffer-parameter",\r
- "text": " If <code>sequencesIndexBuffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>sequencesIndexBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-indirectCommandsTokenCount-arraylength",\r
- "text": " <code>indirectCommandsTokenCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkCmdProcessCommandsInfoNVX-commonparent",\r
- "text": " Each of <code>indirectCommandsLayout</code>, <code>objectTable</code>, <code>sequencesCountBuffer</code>, <code>sequencesIndexBuffer</code>, and <code>targetCommandBuffer</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSparseImageFormatProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-samples-01094",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a bit value that is set in <code>VkImageFormatProperties</code>::<code>sampleCounts</code> returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>type</code>, <code>tiling</code>, and <code>usage</code> equal to those in this command and <code>flags</code> equal to the value that is set in <code>VkImageCreateInfo</code>::<code>flags</code> when the image is created"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-samples-parameter",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-tiling-parameter",\r
- "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkSparseImageFormatProperties</code> structures"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSparseImageFormatProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pFormatInfo-parameter",\r
- "text": " <code>pFormatInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceSparseImageFormatInfo2</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkSparseImageFormatProperties2</code> structures"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceSparseImageFormatInfo2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-samples-01095",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a bit value that is set in <code>VkImageFormatProperties</code>::<code>sampleCounts</code> returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>type</code>, <code>tiling</code>, and <code>usage</code> equal to those in this command and <code>flags</code> equal to the value that is set in <code>VkImageCreateInfo</code>::<code>flags</code> when the image is created"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-samples-parameter",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-tiling-parameter",\r
- "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"\r
- }\r
- ]\r
- },\r
- "VkSparseImageFormatProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkSparseImageFormatProperties2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageFormatProperties2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetImageSparseMemoryRequirements": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements-pSparseMemoryRequirementCount-parameter",\r
- "text": " <code>pSparseMemoryRequirementCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements-pSparseMemoryRequirements-parameter",\r
- "text": " If the value referenced by <code>pSparseMemoryRequirementCount</code> is not <code>0</code>, and <code>pSparseMemoryRequirements</code> is not <code>NULL</code>, <code>pSparseMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSparseMemoryRequirementCount</code> <code>VkSparseImageMemoryRequirements</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements-image-parent",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- }\r
- ]\r
- },\r
- "vkGetImageSparseMemoryRequirements2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements2-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements2-pInfo-parameter",\r
- "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageSparseMemoryRequirementsInfo2</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements2-pSparseMemoryRequirementCount-parameter",\r
- "text": " <code>pSparseMemoryRequirementCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetImageSparseMemoryRequirements2-pSparseMemoryRequirements-parameter",\r
- "text": " If the value referenced by <code>pSparseMemoryRequirementCount</code> is not <code>0</code>, and <code>pSparseMemoryRequirements</code> is not <code>NULL</code>, <code>pSparseMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSparseMemoryRequirementCount</code> <code>VkSparseImageMemoryRequirements2</code> structures"\r
- }\r
- ]\r
- },\r
- "VkImageSparseMemoryRequirementsInfo2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-VkImageSparseMemoryRequirementsInfo2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSparseMemoryRequirementsInfo2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageSparseMemoryRequirementsInfo2-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- }\r
- ]\r
- },\r
- "VkSparseImageMemoryRequirements2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryRequirements2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryRequirements2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "VkSparseMemoryBind": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-memory-01096",\r
- "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> match the memory requirements of the resource, as described in section &amp;lt;&amp;lt;resources-association&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-memory-01097",\r
- "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> not have been created with a memory type that reports <code>VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT</code> bit set"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-size-01098",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-resourceOffset-01099",\r
- "text": " <code>resourceOffset</code> <strong class=\"purple\">must</strong> be less than the size of the resource"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-size-01100",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of the resource minus <code>resourceOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-memoryOffset-01101",\r
- "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-size-01102",\r
- "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-memory-parameter",\r
- "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseMemoryBind-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSparseMemoryBindFlagBits\">VkSparseMemoryBindFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkSparseBufferMemoryBindInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSparseBufferMemoryBindInfo-buffer-parameter",\r
- "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseBufferMemoryBindInfo-pBinds-parameter",\r
- "text": " <code>pBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindCount</code> valid <code>VkSparseMemoryBind</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseBufferMemoryBindInfo-bindCount-arraylength",\r
- "text": " <code>bindCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkSparseImageOpaqueMemoryBindInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-pBinds-01103",\r
- "text": " If the <code>flags</code> member of any element of <code>pBinds</code> contains <code>VK_SPARSE_MEMORY_BIND_METADATA_BIT</code>, the binding range defined <strong class=\"purple\">must</strong> be within the mip tail region of the metadata aspect of <code>image</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-pBinds-parameter",\r
- "text": " <code>pBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindCount</code> valid <code>VkSparseMemoryBind</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-bindCount-arraylength",\r
- "text": " <code>bindCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkSparseImageMemoryBindInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBindInfo-subresource-01722",\r
- "text": " The <code>subresource.mipLevel</code> member of each element of <code>pBinds</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBindInfo-subresource-01723",\r
- "text": " The <code>subresource.arrayLayer</code> member of each element of <code>pBinds</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBindInfo-image-parameter",\r
- "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBindInfo-pBinds-parameter",\r
- "text": " <code>pBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindCount</code> valid <code>VkSparseImageMemoryBind</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBindInfo-bindCount-arraylength",\r
- "text": " <code>bindCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkSparseImageMemoryBind": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-memory-01104",\r
- "text": " If the &amp;lt;&amp;lt;features-features-sparseResidencyAliased,sparse aliased residency&amp;gt;&amp;gt; feature is not enabled, and if any other resources are bound to ranges of <code>memory</code>, the range of <code>memory</code> being bound <strong class=\"purple\">must</strong> not overlap with those bound ranges"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-memory-01105",\r
- "text": " <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> match the memory requirements of the calling command’s <code>image</code>, as described in section &amp;lt;&amp;lt;resources-association&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-subresource-01106",\r
- "text": " <code>subresource</code> <strong class=\"purple\">must</strong> be a valid image subresource for <code>image</code> (see &amp;lt;&amp;lt;resources-image-views&amp;gt;&amp;gt;)"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-offset-01107",\r
- "text": " <code>offset.x</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block width (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.width</code>) of the image"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-extent-01108",\r
- "text": " <code>extent.width</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block width of the image, or else <span class=\"eq\">(<code>extent.width</code> + <code>offset.x</code>)</span> <strong class=\"purple\">must</strong> equal the width of the image subresource"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-offset-01109",\r
- "text": " <code>offset.y</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block height (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.height</code>) of the image"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-extent-01110",\r
- "text": " <code>extent.height</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block height of the image, or else <span class=\"eq\">(<code>extent.height</code> + <code>offset.y</code>)</span> <strong class=\"purple\">must</strong> equal the height of the image subresource"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-offset-01111",\r
- "text": " <code>offset.z</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block depth (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.depth</code>) of the image"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-extent-01112",\r
- "text": " <code>extent.depth</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block depth of the image, or else <span class=\"eq\">(<code>extent.depth</code> + <code>offset.z</code>)</span> <strong class=\"purple\">must</strong> equal the depth of the image subresource"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-subresource-parameter",\r
- "text": " <code>subresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresource</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-memory-parameter",\r
- "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSparseImageMemoryBind-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSparseMemoryBindFlagBits\">VkSparseMemoryBindFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "vkQueueBindSparse": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-fence-01113",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be unsignaled"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-fence-01114",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-pSignalSemaphores-01115",\r
- "text": " Each element of the <code>pSignalSemaphores</code> member of each element of <code>pBindInfo</code> <strong class=\"purple\">must</strong> be unsignaled when the semaphore signal operation it defines is executed on the device"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-pWaitSemaphores-01116",\r
- "text": " When a semaphore unsignal operation defined by any element of the <code>pWaitSemaphores</code> member of any element of <code>pBindInfo</code> executes on <code>queue</code>, no other queue <strong class=\"purple\">must</strong> be waiting on the same semaphore."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-pWaitSemaphores-01117",\r
- "text": " All elements of the <code>pWaitSemaphores</code> member of all elements of <code>pBindInfo</code> <strong class=\"purple\">must</strong> be semaphores that are signaled, or have &amp;lt;&amp;lt;synchronization-semaphores-signaling, semaphore signal operations&amp;gt;&amp;gt; previously submitted for execution."\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-queue-parameter",\r
- "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-pBindInfo-parameter",\r
- "text": " If <code>bindInfoCount</code> is not <code>0</code>, <code>pBindInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindInfoCount</code> valid <code>VkBindSparseInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-fence-parameter",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-queuetype",\r
- "text": " The <code>queue</code> <strong class=\"purple\">must</strong> support sparse binding operations"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBindSparse-commonparent",\r
- "text": " Both of <code>fence</code>, and <code>queue</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkBindSparseInfo": {\r
- "core": [\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_SPARSE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupBindSparseInfo\">VkDeviceGroupBindSparseInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-pWaitSemaphores-parameter",\r
- "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid <code>VkSemaphore</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-pBufferBinds-parameter",\r
- "text": " If <code>bufferBindCount</code> is not <code>0</code>, <code>pBufferBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bufferBindCount</code> valid <code>VkSparseBufferMemoryBindInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-pImageOpaqueBinds-parameter",\r
- "text": " If <code>imageOpaqueBindCount</code> is not <code>0</code>, <code>pImageOpaqueBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageOpaqueBindCount</code> valid <code>VkSparseImageOpaqueMemoryBindInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-pImageBinds-parameter",\r
- "text": " If <code>imageBindCount</code> is not <code>0</code>, <code>pImageBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageBindCount</code> valid <code>VkSparseImageMemoryBindInfo</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-pSignalSemaphores-parameter",\r
- "text": " If <code>signalSemaphoreCount</code> is not <code>0</code>, <code>pSignalSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreCount</code> valid <code>VkSemaphore</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkBindSparseInfo-commonparent",\r
- "text": " Both of the elements of <code>pSignalSemaphores</code>, and the elements of <code>pWaitSemaphores</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupBindSparseInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupBindSparseInfo-resourceDeviceIndex-01118",\r
- "text": " <code>resourceDeviceIndex</code> and <code>memoryDeviceIndex</code> <strong class=\"purple\">must</strong> both be valid device indices."\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupBindSparseInfo-memoryDeviceIndex-01119",\r
- "text": " Each memory allocation bound in this batch <strong class=\"purple\">must</strong> have allocated an instance for <code>memoryDeviceIndex</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupBindSparseInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateAndroidSurfaceKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_android_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateAndroidSurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateAndroidSurfaceKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAndroidSurfaceCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateAndroidSurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateAndroidSurfaceKHR-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkAndroidSurfaceCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_android_surface)": [\r
- {\r
- "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-window-01248",\r
- "text": " <code>window</code> <strong class=\"purple\">must</strong> point to a valid Android <code>ANativeWindow</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateMirSurfaceKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_mir_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateMirSurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateMirSurfaceKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMirSurfaceCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateMirSurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateMirSurfaceKHR-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkMirSurfaceCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_mir_surface)": [\r
- {\r
- "vuid": "VUID-VkMirSurfaceCreateInfoKHR-connection-01263",\r
- "text": " <code>connection</code> <strong class=\"purple\">must</strong> point to a valid <code>MirConnection</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkMirSurfaceCreateInfoKHR-surface-01264",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> point to a valid <code>MirSurface</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkMirSurfaceCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMirSurfaceCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMirSurfaceCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateWaylandSurfaceKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_wayland_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateWaylandSurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateWaylandSurfaceKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkWaylandSurfaceCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateWaylandSurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateWaylandSurfaceKHR-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkWaylandSurfaceCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_wayland_surface)": [\r
- {\r
- "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-display-01304",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> point to a valid Wayland <code>wl_display</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-surface-01305",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> point to a valid Wayland <code>wl_surface</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateWin32SurfaceKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_win32_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateWin32SurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateWin32SurfaceKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkWin32SurfaceCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateWin32SurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateWin32SurfaceKHR-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkWin32SurfaceCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_win32_surface)": [\r
- {\r
- "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-hinstance-01307",\r
- "text": " <code>hinstance</code> <strong class=\"purple\">must</strong> be a valid Win32 <code>HINSTANCE</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-hwnd-01308",\r
- "text": " <code>hwnd</code> <strong class=\"purple\">must</strong> be a valid Win32 <code>HWND</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateXcbSurfaceKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_xcb_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateXcbSurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateXcbSurfaceKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkXcbSurfaceCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateXcbSurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateXcbSurfaceKHR-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkXcbSurfaceCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_xcb_surface)": [\r
- {\r
- "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-connection-01310",\r
- "text": " <code>connection</code> <strong class=\"purple\">must</strong> point to a valid X11 <code>xcb_connection_t</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-window-01311",\r
- "text": " <code>window</code> <strong class=\"purple\">must</strong> be a valid X11 <code>xcb_window_t</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateXlibSurfaceKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_xlib_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateXlibSurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateXlibSurfaceKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkXlibSurfaceCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateXlibSurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateXlibSurfaceKHR-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkXlibSurfaceCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_xlib_surface)": [\r
- {\r
- "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-dpy-01313",\r
- "text": " <code>dpy</code> <strong class=\"purple\">must</strong> point to a valid Xlib <code>Display</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-window-01314",\r
- "text": " <code>window</code> <strong class=\"purple\">must</strong> be a valid Xlib <code>Window</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateIOSSurfaceMVK": {\r
- "(VK_KHR_surface)+(VK_MVK_ios_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateIOSSurfaceMVK-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateIOSSurfaceMVK-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkIOSSurfaceCreateInfoMVK</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateIOSSurfaceMVK-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateIOSSurfaceMVK-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkIOSSurfaceCreateInfoMVK": {\r
- "(VK_KHR_surface)+(VK_MVK_ios_surface)": [\r
- {\r
- "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-pView-01316",\r
- "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid <code>UIView</code> and <strong class=\"purple\">must</strong> be backed by a <code>CALayer</code> instance of type <code>CAMetalLayer</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateMacOSSurfaceMVK": {\r
- "(VK_KHR_surface)+(VK_MVK_macos_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateMacOSSurfaceMVK-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateMacOSSurfaceMVK-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMacOSSurfaceCreateInfoMVK</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateMacOSSurfaceMVK-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateMacOSSurfaceMVK-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkMacOSSurfaceCreateInfoMVK": {\r
- "(VK_KHR_surface)+(VK_MVK_macos_surface)": [\r
- {\r
- "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-pView-01317",\r
- "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid <code>NSView</code> and <strong class=\"purple\">must</strong> be backed by a <code>CALayer</code> instance of type <code>CAMetalLayer</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateViSurfaceNN": {\r
- "(VK_KHR_surface)+(VK_NN_vi_surface)": [\r
- {\r
- "vuid": "VUID-vkCreateViSurfaceNN-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateViSurfaceNN-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkViSurfaceCreateInfoNN</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateViSurfaceNN-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateViSurfaceNN-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkViSurfaceCreateInfoNN": {\r
- "(VK_KHR_surface)+(VK_NN_vi_surface)": [\r
- {\r
- "vuid": "VUID-VkViSurfaceCreateInfoNN-window-01318",\r
- "text": " <code>window</code> <strong class=\"purple\">must</strong> be a valid <code>nn</code>::<code>vi</code>::<code>NativeWindowHandle</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkViSurfaceCreateInfoNN-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkViSurfaceCreateInfoNN-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkViSurfaceCreateInfoNN-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroySurfaceKHR": {\r
- "(VK_KHR_surface)": [\r
- {\r
- "vuid": "VUID-vkDestroySurfaceKHR-surface-01266",\r
- "text": " All <code>VkSwapchainKHR</code> objects created for <code>surface</code> <strong class=\"purple\">must</strong> have been destroyed prior to destroying <code>surface</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySurfaceKHR-surface-01267",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>surface</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySurfaceKHR-surface-01268",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>surface</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySurfaceKHR-surface-parameter",\r
- "text": " If <code>surface</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySurfaceKHR-surface-parent",\r
- "text": " If <code>surface</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>instance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceDisplayPropertiesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceDisplayPropertiesKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceDisplayPropertiesKHR-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceDisplayPropertiesKHR-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkDisplayPropertiesKHR</code> structures"\r
- }\r
- ]\r
- },\r
- "vkAcquireXlibDisplayEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_direct_mode_display)+(VK_EXT_acquire_xlib_display)": [\r
- {\r
- "vuid": "VUID-vkAcquireXlibDisplayEXT-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireXlibDisplayEXT-dpy-parameter",\r
- "text": " <code>dpy</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>Display</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireXlibDisplayEXT-display-parameter",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "vkGetRandROutputDisplayEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_direct_mode_display)+(VK_EXT_acquire_xlib_display)": [\r
- {\r
- "vuid": "VUID-vkGetRandROutputDisplayEXT-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRandROutputDisplayEXT-dpy-parameter",\r
- "text": " <code>dpy</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>Display</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRandROutputDisplayEXT-pDisplay-parameter",\r
- "text": " <code>pDisplay</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDisplayKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "vkReleaseDisplayEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_direct_mode_display)": [\r
- {\r
- "vuid": "VUID-vkReleaseDisplayEXT-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkReleaseDisplayEXT-display-parameter",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceDisplayPlanePropertiesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceDisplayPlanePropertiesKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceDisplayPlanePropertiesKHR-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceDisplayPlanePropertiesKHR-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkDisplayPlanePropertiesKHR</code> structures"\r
- }\r
- ]\r
- },\r
- "vkGetDisplayPlaneSupportedDisplaysKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-planeIndex-01249",\r
- "text": " <code>planeIndex</code> <strong class=\"purple\">must</strong> be less than the number of display planes supported by the device as determined by calling <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-pDisplayCount-parameter",\r
- "text": " <code>pDisplayCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-pDisplays-parameter",\r
- "text": " If the value referenced by <code>pDisplayCount</code> is not <code>0</code>, and <code>pDisplays</code> is not <code>NULL</code>, <code>pDisplays</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pDisplayCount</code> <code>VkDisplayKHR</code> handles"\r
- }\r
- ]\r
- },\r
- "vkGetDisplayModePropertiesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-vkGetDisplayModePropertiesKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayModePropertiesKHR-display-parameter",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayModePropertiesKHR-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayModePropertiesKHR-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkDisplayModePropertiesKHR</code> structures"\r
- }\r
- ]\r
- },\r
- "vkCreateDisplayModeKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-vkCreateDisplayModeKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDisplayModeKHR-display-parameter",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDisplayModeKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplayModeCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDisplayModeKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDisplayModeKHR-pMode-parameter",\r
- "text": " <code>pMode</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDisplayModeKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDisplayModeCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-VkDisplayModeCreateInfoKHR-width-01250",\r
- "text": " The <code>width</code> and <code>height</code> members of the <code>visibleRegion</code> member of <code>parameters</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayModeCreateInfoKHR-refreshRate-01251",\r
- "text": " The <code>refreshRate</code> member of <code>parameters</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayModeCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayModeCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayModeCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkGetDisplayPlaneCapabilitiesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-vkGetDisplayPlaneCapabilitiesKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayPlaneCapabilitiesKHR-mode-parameter",\r
- "text": " <code>mode</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayModeKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDisplayPlaneCapabilitiesKHR-pCapabilities-parameter",\r
- "text": " <code>pCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDisplayPlaneCapabilitiesKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "vkDisplayPowerControlEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-vkDisplayPowerControlEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDisplayPowerControlEXT-display-parameter",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDisplayPowerControlEXT-pDisplayPowerInfo-parameter",\r
- "text": " <code>pDisplayPowerInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplayPowerInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDisplayPowerInfoEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-VkDisplayPowerInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayPowerInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayPowerInfoEXT-powerState-parameter",\r
- "text": " <code>powerState</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDisplayPowerStateEXT\">VkDisplayPowerStateEXT</a> value"\r
- }\r
- ]\r
- },\r
- "vkCreateDisplayPlaneSurfaceKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplaySurfaceCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-pSurface-parameter",\r
- "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDisplaySurfaceCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_display)": [\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-planeIndex-01252",\r
- "text": " <code>planeIndex</code> <strong class=\"purple\">must</strong> be less than the number of display planes supported by the device as determined by calling <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-planeReorderPossible-01253",\r
- "text": " If the <code>planeReorderPossible</code> member of the <code>VkDisplayPropertiesKHR</code> structure returned by <code>vkGetPhysicalDeviceDisplayPropertiesKHR</code> for the display corresponding to <code>displayMode</code> is <code>VK_TRUE</code> then <code>planeStackIndex</code> <strong class=\"purple\">must</strong> be less than the number of display planes supported by the device as determined by calling <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code>; otherwise <code>planeStackIndex</code> <strong class=\"purple\">must</strong> equal the <code>currentStackIndex</code> member of <code>VkDisplayPlanePropertiesKHR</code> returned by <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code> for the display plane corresponding to <code>displayMode</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-alphaMode-01254",\r
- "text": " If <code>alphaMode</code> is <code>VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR</code> then <code>globalAlpha</code> <strong class=\"purple\">must</strong> be between <code>0</code> and <code>1</code>, inclusive"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-alphaMode-01255",\r
- "text": " <code>alphaMode</code> <strong class=\"purple\">must</strong> be <code>0</code> or one of the bits present in the <code>supportedAlpha</code> member of <code>VkDisplayPlaneCapabilitiesKHR</code> returned by <code>vkGetDisplayPlaneCapabilitiesKHR</code> for the display plane corresponding to <code>displayMode</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-width-01256",\r
- "text": " The <code>width</code> and <code>height</code> members of <code>imageExtent</code> <strong class=\"purple\">must</strong> be less than the <code>maxImageDimensions2D</code> member of <code>VkPhysicalDeviceLimits</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-displayMode-parameter",\r
- "text": " <code>displayMode</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayModeKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-transform-parameter",\r
- "text": " <code>transform</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSurfaceTransformFlagBitsKHR\">VkSurfaceTransformFlagBitsKHR</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-alphaMode-parameter",\r
- "text": " <code>alphaMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDisplayPlaneAlphaFlagBitsKHR\">VkDisplayPlaneAlphaFlagBitsKHR</a> value"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSurfaceSupportKHR": {\r
- "(VK_KHR_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-queueFamilyIndex-01269",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-pSupported-parameter",\r
- "text": " <code>pSupported</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkBool32</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-commonparent",\r
- "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceMirPresentationSupportKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_mir_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMirPresentationSupportKHR-queueFamilyIndex-01265",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMirPresentationSupportKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMirPresentationSupportKHR-connection-parameter",\r
- "text": " <code>connection</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>MirConnection</code> value"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceWaylandPresentationSupportKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_wayland_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-queueFamilyIndex-01306",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-display-parameter",\r
- "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>wl_display</code> value"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceWin32PresentationSupportKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_win32_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-queueFamilyIndex-01309",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceXcbPresentationSupportKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_xcb_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceXcbPresentationSupportKHR-queueFamilyIndex-01312",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceXcbPresentationSupportKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceXcbPresentationSupportKHR-connection-parameter",\r
- "text": " <code>connection</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>xcb_connection_t</code> value"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceXlibPresentationSupportKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_xlib_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-queueFamilyIndex-01315",\r
- "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-dpy-parameter",\r
- "text": " <code>dpy</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>Display</code> value"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSurfaceCapabilitiesKHR": {\r
- "(VK_KHR_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-pSurfaceCapabilities-parameter",\r
- "text": " <code>pSurfaceCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceCapabilitiesKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-commonparent",\r
- "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSurfaceCapabilities2KHR": {\r
- "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-pSurfaceInfo-parameter",\r
- "text": " <code>pSurfaceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceSurfaceInfo2KHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-pSurfaceCapabilities-parameter",\r
- "text": " <code>pSurfaceCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceCapabilities2KHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceSurfaceInfo2KHR": {\r
- "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSurfaceInfo2KHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSurfaceInfo2KHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSurfaceInfo2KHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkSurfaceCapabilities2KHR": {\r
- "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [\r
- {\r
- "vuid": "VUID-VkSurfaceCapabilities2KHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSurfaceCapabilities2KHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkSharedPresentSurfaceCapabilitiesKHR\">VkSharedPresentSurfaceCapabilitiesKHR</a>"\r
- }\r
- ]\r
- },\r
- "VkSharedPresentSurfaceCapabilitiesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)+(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-VkSharedPresentSurfaceCapabilitiesKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSurfaceCapabilities2EXT": {\r
- "(VK_KHR_surface)+(VK_EXT_display_surface_counter)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-pSurfaceCapabilities-parameter",\r
- "text": " <code>pSurfaceCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceCapabilities2EXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-commonparent",\r
- "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "VkSurfaceCapabilities2EXT": {\r
- "(VK_KHR_surface)+(VK_EXT_display_surface_counter)": [\r
- {\r
- "vuid": "VUID-VkSurfaceCapabilities2EXT-supportedSurfaceCounters-01246",\r
- "text": " <code>supportedSurfaceCounters</code> <strong class=\"purple\">must</strong> not include <code>VK_SURFACE_COUNTER_VBLANK_EXT</code> unless the surface queried is a &amp;lt;&amp;lt;wsi-display-surfaces,display surface&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkSurfaceCapabilities2EXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSurfaceCapabilities2EXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSurfaceFormatsKHR": {\r
- "(VK_KHR_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-pSurfaceFormatCount-parameter",\r
- "text": " <code>pSurfaceFormatCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-pSurfaceFormats-parameter",\r
- "text": " If the value referenced by <code>pSurfaceFormatCount</code> is not <code>0</code>, and <code>pSurfaceFormats</code> is not <code>NULL</code>, <code>pSurfaceFormats</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSurfaceFormatCount</code> <code>VkSurfaceFormatKHR</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-commonparent",\r
- "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSurfaceFormats2KHR": {\r
- "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-pSurfaceInfo-parameter",\r
- "text": " <code>pSurfaceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceSurfaceInfo2KHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-pSurfaceFormatCount-parameter",\r
- "text": " <code>pSurfaceFormatCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-pSurfaceFormats-parameter",\r
- "text": " If the value referenced by <code>pSurfaceFormatCount</code> is not <code>0</code>, and <code>pSurfaceFormats</code> is not <code>NULL</code>, <code>pSurfaceFormats</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSurfaceFormatCount</code> <code>VkSurfaceFormat2KHR</code> structures"\r
- }\r
- ]\r
- },\r
- "VkSurfaceFormat2KHR": {\r
- "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [\r
- {\r
- "vuid": "VUID-VkSurfaceFormat2KHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSurfaceFormat2KHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceSurfacePresentModesKHR": {\r
- "(VK_KHR_surface)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-pPresentModeCount-parameter",\r
- "text": " <code>pPresentModeCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-pPresentModes-parameter",\r
- "text": " If the value referenced by <code>pPresentModeCount</code> is not <code>0</code>, and <code>pPresentModes</code> is not <code>NULL</code>, <code>pPresentModes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPresentModeCount</code> <a href=\"#VkPresentModeKHR\">VkPresentModeKHR</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-commonparent",\r
- "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetDeviceGroupPresentCapabilitiesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPresentCapabilitiesKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupPresentCapabilitiesKHR-pDeviceGroupPresentCapabilities-parameter",\r
- "text": " <code>pDeviceGroupPresentCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceGroupPresentCapabilitiesKHR</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupPresentCapabilitiesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentCapabilitiesKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentCapabilitiesKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetDeviceGroupSurfacePresentModesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-pModes-parameter",\r
- "text": " <code>pModes</code> <strong class=\"purple\">must</strong> be a valid pointer to a <a href=\"#VkDeviceGroupPresentModeFlagsKHR\">VkDeviceGroupPresentModeFlagsKHR</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-commonparent",\r
- "text": " Both of <code>device</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDevicePresentRectanglesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-pRectCount-parameter",\r
- "text": " <code>pRectCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-pRects-parameter",\r
- "text": " If the value referenced by <code>pRectCount</code> is not <code>0</code>, and <code>pRects</code> is not <code>NULL</code>, <code>pRects</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pRectCount</code> <code>VkRect2D</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-commonparent",\r
- "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetRefreshCycleDurationGOOGLE": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_GOOGLE_display_timing)": [\r
- {\r
- "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-pDisplayTimingProperties-parameter",\r
- "text": " <code>pDisplayTimingProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkRefreshCycleDurationGOOGLE</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-commonparent",\r
- "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPastPresentationTimingGOOGLE": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_GOOGLE_display_timing)": [\r
- {\r
- "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-pPresentationTimingCount-parameter",\r
- "text": " <code>pPresentationTimingCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-pPresentationTimings-parameter",\r
- "text": " If the value referenced by <code>pPresentationTimingCount</code> is not <code>0</code>, and <code>pPresentationTimings</code> is not <code>NULL</code>, <code>pPresentationTimings</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPresentationTimingCount</code> <code>VkPastPresentationTimingGOOGLE</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-commonparent",\r
- "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkGetSwapchainStatusKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-vkGetSwapchainStatusKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainStatusKHR-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainStatusKHR-commonparent",\r
- "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateSwapchainKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-vkCreateSwapchainKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSwapchainKHR-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSwapchainCreateInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSwapchainKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSwapchainKHR-pSwapchain-parameter",\r
- "text": " <code>pSwapchain</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSwapchainKHR</code> handle"\r
- }\r
- ]\r
- },\r
- "VkSwapchainCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-surface-01270",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a surface that is supported by the device as determined using <code>vkGetPhysicalDeviceSurfaceSupportKHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-minImageCount-01271",\r
- "text": " <code>minImageCount</code> <strong class=\"purple\">must</strong> be greater than or equal to the value returned in the <code>minImageCount</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-minImageCount-01272",\r
- "text": " <code>minImageCount</code> <strong class=\"purple\">must</strong> be less than or equal to the value returned in the <code>maxImageCount</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface if the returned <code>maxImageCount</code> is not zero"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageFormat-01273",\r
- "text": " <code>imageFormat</code> and <code>imageColorSpace</code> <strong class=\"purple\">must</strong> match the <code>format</code> and <code>colorSpace</code> members, respectively, of one of the <code>VkSurfaceFormatKHR</code> structures returned by <code>vkGetPhysicalDeviceSurfaceFormatsKHR</code> for the surface"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageExtent-01274",\r
- "text": " <code>imageExtent</code> <strong class=\"purple\">must</strong> be between <code>minImageExtent</code> and <code>maxImageExtent</code>, inclusive, where <code>minImageExtent</code> and <code>maxImageExtent</code> are members of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageExtent-01689",\r
- "text": " <code>imageExtent</code> members <code>width</code> and <code>height</code> <strong class=\"purple\">must</strong> both be non-zero"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageArrayLayers-01275",\r
- "text": " <code>imageArrayLayers</code> <strong class=\"purple\">must</strong> be greater than <code>0</code> and less than or equal to the <code>maxImageArrayLayers</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01277",\r
- "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueFamilyIndexCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01278",\r
- "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>queueFamilyIndexCount</code> <strong class=\"purple\">must</strong> be greater than <code>1</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-preTransform-01279",\r
- "text": " <code>preTransform</code> <strong class=\"purple\">must</strong> be one of the bits present in the <code>supportedTransforms</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-compositeAlpha-01280",\r
- "text": " <code>compositeAlpha</code> <strong class=\"purple\">must</strong> be one of the bits present in the <code>supportedCompositeAlpha</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-presentMode-01281",\r
- "text": " <code>presentMode</code> <strong class=\"purple\">must</strong> be one of the <a href=\"#VkPresentModeKHR\">VkPresentModeKHR</a> values returned by <code>vkGetPhysicalDeviceSurfacePresentModesKHR</code> for the surface"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-01933",\r
- "text": " If <code>oldSwapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>oldSwapchain</code> <strong class=\"purple\">must</strong> be a non-retired swapchain associated with native window referred to by <code>surface</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageFormat-01778",\r
- "text": " <code>imageFormat</code>, <code>imageUsage</code>, <code>imageExtent</code>, and <code>imageArrayLayers</code> <strong class=\"purple\">must</strong> be supported for <code>VK_IMAGE_TYPE_2D</code> <code>VK_IMAGE_TILING_OPTIMAL</code> images as reported by <a href=\"#vkGetPhysicalDeviceImageFormatProperties\">vkGetPhysicalDeviceImageFormatProperties</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupSwapchainCreateInfoKHR\">VkDeviceGroupSwapchainCreateInfoKHR</a> or <a href=\"#VkSwapchainCounterCreateInfoEXT\">VkSwapchainCounterCreateInfoEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSwapchainCreateFlagBitsKHR\">VkSwapchainCreateFlagBitsKHR</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-surface-parameter",\r
- "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageFormat-parameter",\r
- "text": " <code>imageFormat</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageColorSpace-parameter",\r
- "text": " <code>imageColorSpace</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkColorSpaceKHR\">VkColorSpaceKHR</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-parameter",\r
- "text": " <code>imageUsage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-requiredbitmask",\r
- "text": " <code>imageUsage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-parameter",\r
- "text": " <code>imageSharingMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSharingMode\">VkSharingMode</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-preTransform-parameter",\r
- "text": " <code>preTransform</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSurfaceTransformFlagBitsKHR\">VkSurfaceTransformFlagBitsKHR</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-compositeAlpha-parameter",\r
- "text": " <code>compositeAlpha</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompositeAlphaFlagBitsKHR\">VkCompositeAlphaFlagBitsKHR</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-presentMode-parameter",\r
- "text": " <code>presentMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPresentModeKHR\">VkPresentModeKHR</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-parameter",\r
- "text": " If <code>oldSwapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>oldSwapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-parent",\r
- "text": " If <code>oldSwapchain</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>surface</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-commonparent",\r
- "text": " Both of <code>oldSwapchain</code>, and <code>surface</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-minImageCount-01383",\r
- "text": " <code>minImageCount</code> <strong class=\"purple\">must</strong> be <code>1</code> if <code>presentMode</code> is either <code>VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR</code> or <code>VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-presentMode-01427",\r
- "text": " If <code>presentMode</code> is <code>VK_PRESENT_MODE_IMMEDIATE_KHR</code>, <code>VK_PRESENT_MODE_MAILBOX_KHR</code>, <code>VK_PRESENT_MODE_FIFO_KHR</code> or <code>VK_PRESENT_MODE_FIFO_RELAXED_KHR</code>, <code>imageUsage</code> <strong class=\"purple\">must</strong> be a subset of the supported usage flags present in the <code>supportedUsageFlags</code> member of the <a href=\"#VkSurfaceCapabilitiesKHR\">VkSurfaceCapabilitiesKHR</a> structure returned by <a href=\"#vkGetPhysicalDeviceSurfaceCapabilitiesKHR\">vkGetPhysicalDeviceSurfaceCapabilitiesKHR</a> for <code>surface</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-01384",\r
- "text": " If <code>presentMode</code> is <code>VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR</code> or <code>VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR</code>, <code>imageUsage</code> <strong class=\"purple\">must</strong> be a subset of the supported usage flags present in the <code>sharedPresentSupportedUsageFlags</code> member of the <a href=\"#VkSharedPresentSurfaceCapabilitiesKHR\">VkSharedPresentSurfaceCapabilitiesKHR</a> structure returned by <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2KHR\">vkGetPhysicalDeviceSurfaceCapabilities2KHR</a> for <code>surface</code>"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-01276",\r
- "text": " <code>imageUsage</code> <strong class=\"purple\">must</strong> be a subset of the supported usage flags present in the <code>supportedUsageFlags</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+!(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01393",\r
- "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01428",\r
- "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by either <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> or <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties2\">vkGetPhysicalDeviceQueueFamilyProperties2</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkSwapchainCreateInfoKHR-physicalDeviceCount-01429",\r
- "text": " If the logical device was created with <a href=\"#VkDeviceGroupDeviceCreateInfo\">VkDeviceGroupDeviceCreateInfo</a>::<code>physicalDeviceCount</code> equal to 1, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR</code>"\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupSwapchainCreateInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupSwapchainCreateInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSwapchainCreateInfoKHR-modes-parameter",\r
- "text": " <code>modes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDeviceGroupPresentModeFlagBitsKHR\">VkDeviceGroupPresentModeFlagBitsKHR</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupSwapchainCreateInfoKHR-modes-requiredbitmask",\r
- "text": " <code>modes</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkSwapchainCounterCreateInfoEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-VkSwapchainCounterCreateInfoEXT-surfaceCounters-01244",\r
- "text": " The bits in <code>surfaceCounters</code> <strong class=\"purple\">must</strong> be supported by <a href=\"#VkSwapchainCreateInfoKHR\">VkSwapchainCreateInfoKHR</a>::<code>surface</code>, as reported by <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2EXT\">vkGetPhysicalDeviceSurfaceCapabilities2EXT</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCounterCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkSwapchainCounterCreateInfoEXT-surfaceCounters-parameter",\r
- "text": " <code>surfaceCounters</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSurfaceCounterFlagBitsEXT\">VkSurfaceCounterFlagBitsEXT</a> values"\r
- }\r
- ]\r
- },\r
- "vkGetSwapchainCounterEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_EXT_display_control)": [\r
- {\r
- "vuid": "VUID-vkGetSwapchainCounterEXT-swapchain-01245",\r
- "text": " One or more present commands on <code>swapchain</code> <strong class=\"purple\">must</strong> have been processed by the presentation engine."\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainCounterEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainCounterEXT-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainCounterEXT-counter-parameter",\r
- "text": " <code>counter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSurfaceCounterFlagBitsEXT\">VkSurfaceCounterFlagBitsEXT</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainCounterEXT-pCounterValue-parameter",\r
- "text": " <code>pCounterValue</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint64_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainCounterEXT-commonparent",\r
- "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkDestroySwapchainKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-vkDestroySwapchainKHR-swapchain-01282",\r
- "text": " All uses of presentable images acquired from <code>swapchain</code> <strong class=\"purple\">must</strong> have completed execution"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySwapchainKHR-swapchain-01283",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>swapchain</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySwapchainKHR-swapchain-01284",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>swapchain</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySwapchainKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySwapchainKHR-swapchain-parameter",\r
- "text": " If <code>swapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySwapchainKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroySwapchainKHR-commonparent",\r
- "text": " Both of <code>device</code>, and <code>swapchain</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkCreateSharedSwapchainsKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_display_swapchain)": [\r
- {\r
- "vuid": "VUID-vkCreateSharedSwapchainsKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSharedSwapchainsKHR-pCreateInfos-parameter",\r
- "text": " <code>pCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkSwapchainCreateInfoKHR</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSharedSwapchainsKHR-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSharedSwapchainsKHR-pSwapchains-parameter",\r
- "text": " <code>pSwapchains</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>VkSwapchainKHR</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateSharedSwapchainsKHR-swapchainCount-arraylength",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkGetSwapchainImagesKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-vkGetSwapchainImagesKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainImagesKHR-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainImagesKHR-pSwapchainImageCount-parameter",\r
- "text": " <code>pSwapchainImageCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainImagesKHR-pSwapchainImages-parameter",\r
- "text": " If the value referenced by <code>pSwapchainImageCount</code> is not <code>0</code>, and <code>pSwapchainImages</code> is not <code>NULL</code>, <code>pSwapchainImages</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSwapchainImageCount</code> <code>VkImage</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkGetSwapchainImagesKHR-commonparent",\r
- "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkAcquireNextImageKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-swapchain-01285",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> not be in the retired state"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-semaphore-01286",\r
- "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-semaphore-01779",\r
- "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> not have any uncompleted signal or wait operations pending"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-fence-01287",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled and <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-semaphore-01780",\r
- "text": " <code>semaphore</code> and <code>fence</code> <strong class=\"purple\">must</strong> not both be equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-swapchain-01802",\r
- "text": " If the number of currently acquired images is greater than the difference between the number of images in <code>swapchain</code> and the value of <a href=\"#VkSurfaceCapabilitiesKHR\">VkSurfaceCapabilitiesKHR</a>::<code>minImageCount</code> as returned by a call to <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2KHR\">vkGetPhysicalDeviceSurfaceCapabilities2KHR</a> with the <code>surface</code> used to create <code>swapchain</code>, <code>timeout</code> <strong class=\"purple\">must</strong> not be <code>UINT64_MAX</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-semaphore-parameter",\r
- "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-fence-parameter",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-pImageIndex-parameter",\r
- "text": " <code>pImageIndex</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-semaphore-parent",\r
- "text": " If <code>semaphore</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-fence-parent",\r
- "text": " If <code>fence</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImageKHR-commonparent",\r
- "text": " Both of <code>device</code>, and <code>swapchain</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkAcquireNextImage2KHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-vkAcquireNextImage2KHR-swapchain-01803",\r
- "text": " If the number of currently acquired images is greater than the difference between the number of images in the <code>swapchain</code> member of <code>pAcquireInfo</code> and the value of <a href=\"#VkSurfaceCapabilitiesKHR\">VkSurfaceCapabilitiesKHR</a>::<code>minImageCount</code> as returned by a call to <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2KHR\">vkGetPhysicalDeviceSurfaceCapabilities2KHR</a> with the <code>surface</code> used to create <code>swapchain</code>, the <code>timeout</code> member of <code>pAcquireInfo</code> <strong class=\"purple\">must</strong> not be <code>UINT64_MAX</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImage2KHR-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImage2KHR-pAcquireInfo-parameter",\r
- "text": " <code>pAcquireInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAcquireNextImageInfoKHR</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkAcquireNextImage2KHR-pImageIndex-parameter",\r
- "text": " <code>pImageIndex</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- }\r
- ]\r
- },\r
- "VkAcquireNextImageInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-swapchain-01675",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> not be in the retired state"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01288",\r
- "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01781",\r
- "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> not have any uncompleted signal or wait operations pending"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-fence-01289",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled and <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01782",\r
- "text": " <code>semaphore</code> and <code>fence</code> <strong class=\"purple\">must</strong> not both be equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-deviceMask-01290",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-deviceMask-01291",\r
- "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01804",\r
- "text": " <code>semaphore</code> and <code>fence</code> <strong class=\"purple\">must</strong> not both be equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-swapchain-parameter",\r
- "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-parameter",\r
- "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-fence-parameter",\r
- "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-VkAcquireNextImageInfoKHR-commonparent",\r
- "text": " Each of <code>fence</code>, <code>semaphore</code>, and <code>swapchain</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkQueuePresentKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-vkQueuePresentKHR-pSwapchains-01292",\r
- "text": " Each element of <code>pSwapchains</code> member of <code>pPresentInfo</code> <strong class=\"purple\">must</strong> be a swapchain that is created for a surface for which presentation is supported from <code>queue</code> as determined using a call to <code>vkGetPhysicalDeviceSurfaceSupportKHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkQueuePresentKHR-pWaitSemaphores-01294",\r
- "text": " When a semaphore unsignal operation defined by the elements of the <code>pWaitSemaphores</code> member of <code>pPresentInfo</code> executes on <code>queue</code>, no other queue <strong class=\"purple\">must</strong> be waiting on the same semaphore."\r
- },\r
- {\r
- "vuid": "VUID-vkQueuePresentKHR-pWaitSemaphores-01295",\r
- "text": " All elements of the <code>pWaitSemaphores</code> member of <code>pPresentInfo</code> <strong class=\"purple\">must</strong> be semaphores that are signaled, or have &amp;lt;&amp;lt;synchronization-semaphores-signaling, semaphore signal operations&amp;gt;&amp;gt; previously submitted for execution."\r
- },\r
- {\r
- "vuid": "VUID-vkQueuePresentKHR-queue-parameter",\r
- "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkQueuePresentKHR-pPresentInfo-parameter",\r
- "text": " <code>pPresentInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPresentInfoKHR</code> structure"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_display_swapchain)": [\r
- {\r
- "vuid": "VUID-vkQueuePresentKHR-pSwapchains-01293",\r
- "text": " If more than one member of <code>pSwapchains</code> was created from a display surface, all display surfaces referenced that refer to the same display <strong class=\"purple\">must</strong> use the same display mode"\r
- }\r
- ]\r
- },\r
- "VkPresentInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+!(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-pImageIndices-01296",\r
- "text": " Each element of <code>pImageIndices</code> <strong class=\"purple\">must</strong> be the index of a presentable image acquired from the swapchain specified by the corresponding element of the <code>pSwapchains</code> array, and the presented image subresource <strong class=\"purple\">must</strong> be in the <code>VK_IMAGE_LAYOUT_PRESENT_SRC_KHR</code> layout at the time the operation is executed on a <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_shared_presentable_image)": [\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-pImageIndices-01430",\r
- "text": " Each element of <code>pImageIndices</code> <strong class=\"purple\">must</strong> be the index of a presentable image acquired from the swapchain specified by the corresponding element of the <code>pSwapchains</code> array, and the presented image subresource <strong class=\"purple\">must</strong> be in the <code>VK_IMAGE_LAYOUT_PRESENT_SRC_KHR</code> or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code> layout at the time the operation is executed on a <code>VkDevice</code>"\r
- }\r
- ],\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)": [\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PRESENT_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupPresentInfoKHR\">VkDeviceGroupPresentInfoKHR</a>, <a href=\"#VkDisplayPresentInfoKHR\">VkDisplayPresentInfoKHR</a>, <a href=\"#VkPresentRegionsKHR\">VkPresentRegionsKHR</a>, or <a href=\"#VkPresentTimesInfoGOOGLE\">VkPresentTimesInfoGOOGLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-pWaitSemaphores-parameter",\r
- "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid <code>VkSemaphore</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-pSwapchains-parameter",\r
- "text": " <code>pSwapchains</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkSwapchainKHR</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-pImageIndices-parameter",\r
- "text": " <code>pImageIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-pResults-parameter",\r
- "text": " If <code>pResults</code> is not <code>NULL</code>, <code>pResults</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <a href=\"#VkResult\">VkResult</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-swapchainCount-arraylength",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentInfoKHR-commonparent",\r
- "text": " Both of the elements of <code>pSwapchains</code>, and the elements of <code>pWaitSemaphores</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "VkPresentRegionsKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_incremental_present)": [\r
- {\r
- "vuid": "VUID-VkPresentRegionsKHR-swapchainCount-01260",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkPresentInfoKHR</code>::<code>swapchainCount</code>, where <code>VkPresentInfoKHR</code> is in the pNext-chain of this <code>VkPresentRegionsKHR</code> structure."\r
- },\r
- {\r
- "vuid": "VUID-VkPresentRegionsKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentRegionsKHR-pRegions-parameter",\r
- "text": " If <code>pRegions</code> is not <code>NULL</code>, <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkPresentRegionKHR</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentRegionsKHR-swapchainCount-arraylength",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkPresentRegionKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_incremental_present)": [\r
- {\r
- "vuid": "VUID-VkPresentRegionKHR-pRectangles-parameter",\r
- "text": " If <code>rectangleCount</code> is not <code>0</code>, and <code>pRectangles</code> is not <code>NULL</code>, <code>pRectangles</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rectangleCount</code> <code>VkRectLayerKHR</code> structures"\r
- }\r
- ]\r
- },\r
- "VkRectLayerKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_incremental_present)": [\r
- {\r
- "vuid": "VUID-VkRectLayerKHR-offset-01261",\r
- "text": " The sum of <code>offset</code> and <code>extent</code> <strong class=\"purple\">must</strong> be no greater than the <code>imageExtent</code> member of the <code>VkSwapchainCreateInfoKHR</code> structure given to <a href=\"#vkCreateSwapchainKHR\">vkCreateSwapchainKHR</a>."\r
- },\r
- {\r
- "vuid": "VUID-VkRectLayerKHR-layer-01262",\r
- "text": " <code>layer</code> <strong class=\"purple\">must</strong> be less than <code>imageArrayLayers</code> member of the <code>VkSwapchainCreateInfoKHR</code> structure given to <a href=\"#vkCreateSwapchainKHR\">vkCreateSwapchainKHR</a>."\r
- }\r
- ]\r
- },\r
- "VkDisplayPresentInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_display_swapchain)": [\r
- {\r
- "vuid": "VUID-VkDisplayPresentInfoKHR-srcRect-01257",\r
- "text": " <code>srcRect</code> <strong class=\"purple\">must</strong> specify a rectangular region that is a subset of the image being presented"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayPresentInfoKHR-dstRect-01258",\r
- "text": " <code>dstRect</code> <strong class=\"purple\">must</strong> specify a rectangular region that is a subset of the <code>visibleRegion</code> parameter of the display mode the swapchain being presented uses"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayPresentInfoKHR-persistentContent-01259",\r
- "text": " If the <code>persistentContent</code> member of the <code>VkDisplayPropertiesKHR</code> structure returned by <code>vkGetPhysicalDeviceDisplayPropertiesKHR</code> for the display the present operation targets then <code>persistent</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDisplayPresentInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR</code>"\r
- }\r
- ]\r
- },\r
- "VkDeviceGroupPresentInfoKHR": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-swapchainCount-01297",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> equal <code>0</code> or <a href=\"#VkPresentInfoKHR\">VkPresentInfoKHR</a>::<code>swapchainCount</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01298",\r
- "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR</code>, then each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> have exactly one bit set, and the corresponding element of <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code> <strong class=\"purple\">must</strong> be non-zero"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01299",\r
- "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR</code>, then each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> have exactly one bit set, and some physical device in the logical device <strong class=\"purple\">must</strong> include that bit in its <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code>."\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01300",\r
- "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR</code>, then each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> have a value for which all set bits are set in one of the elements of <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01301",\r
- "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR</code>, then for each bit set in each element of <code>pDeviceMasks</code>, the corresponding element of <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code> <strong class=\"purple\">must</strong> be non-zero"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-pDeviceMasks-01302",\r
- "text": " The value of each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> be equal to the device mask passed in <a href=\"#VkAcquireNextImageInfoKHR\">VkAcquireNextImageInfoKHR</a>::<code>deviceMask</code> when the image index was last acquired"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01303",\r
- "text": " <code>mode</code> <strong class=\"purple\">must</strong> have exactly one bit set, and that bit <strong class=\"purple\">must</strong> have been included in <a href=\"#VkDeviceGroupSwapchainCreateInfoKHR\">VkDeviceGroupSwapchainCreateInfoKHR</a>::<code>modes</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-pDeviceMasks-parameter",\r
- "text": " If <code>swapchainCount</code> is not <code>0</code>, <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>uint32_t</code> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-parameter",\r
- "text": " <code>mode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDeviceGroupPresentModeFlagBitsKHR\">VkDeviceGroupPresentModeFlagBitsKHR</a> value"\r
- }\r
- ]\r
- },\r
- "VkPresentTimesInfoGOOGLE": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_GOOGLE_display_timing)": [\r
- {\r
- "vuid": "VUID-VkPresentTimesInfoGOOGLE-swapchainCount-01247",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkPresentInfoKHR</code>::<code>swapchainCount</code>, where <code>VkPresentInfoKHR</code> is in the <code>pNext</code> chain of this <code>VkPresentTimesInfoGOOGLE</code> structure."\r
- },\r
- {\r
- "vuid": "VUID-VkPresentTimesInfoGOOGLE-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentTimesInfoGOOGLE-pTimes-parameter",\r
- "text": " If <code>pTimes</code> is not <code>NULL</code>, <code>pTimes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>VkPresentTimeGOOGLE</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-VkPresentTimesInfoGOOGLE-swapchainCount-arraylength",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkSetHdrMetadataEXT": {\r
- "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_EXT_hdr_metadata)": [\r
- {\r
- "vuid": "VUID-vkSetHdrMetadataEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkSetHdrMetadataEXT-pSwapchains-parameter",\r
- "text": " <code>pSwapchains</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkSwapchainKHR</code> handles"\r
- },\r
- {\r
- "vuid": "VUID-vkSetHdrMetadataEXT-pMetadata-parameter",\r
- "text": " <code>pMetadata</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkHdrMetadataEXT</code> structures"\r
- },\r
- {\r
- "vuid": "VUID-vkSetHdrMetadataEXT-swapchainCount-arraylength",\r
- "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkSetHdrMetadataEXT-commonparent",\r
- "text": " Both of <code>device</code>, and the elements of <code>pSwapchains</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"\r
- }\r
- ]\r
- },\r
- "vkEnumerateInstanceLayerProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkEnumerateInstanceLayerProperties-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateInstanceLayerProperties-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkLayerProperties</code> structures"\r
- }\r
- ]\r
- },\r
- "vkEnumerateDeviceLayerProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkEnumerateDeviceLayerProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateDeviceLayerProperties-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateDeviceLayerProperties-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkLayerProperties</code> structures"\r
- }\r
- ]\r
- },\r
- "vkEnumerateInstanceExtensionProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkEnumerateInstanceExtensionProperties-pLayerName-parameter",\r
- "text": " If <code>pLayerName</code> is not <code>NULL</code>, <code>pLayerName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateInstanceExtensionProperties-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateInstanceExtensionProperties-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkExtensionProperties</code> structures"\r
- }\r
- ]\r
- },\r
- "vkEnumerateDeviceExtensionProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkEnumerateDeviceExtensionProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateDeviceExtensionProperties-pLayerName-parameter",\r
- "text": " If <code>pLayerName</code> is not <code>NULL</code>, <code>pLayerName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateDeviceExtensionProperties-pPropertyCount-parameter",\r
- "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"\r
- },\r
- {\r
- "vuid": "VUID-vkEnumerateDeviceExtensionProperties-pProperties-parameter",\r
- "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkExtensionProperties</code> structures"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceFeatures": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFeatures-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFeatures-pFeatures-parameter",\r
- "text": " <code>pFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceFeatures</code> structure"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceFeatures2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFeatures2-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFeatures2-pFeatures-parameter",\r
- "text": " <code>pFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceFeatures2</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceFeatures2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceFeatures2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceVariablePointerFeatures": {\r
- "(VK_VERSION_1_1,VK_KHR_variable_pointers)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceVariablePointerFeatures-variablePointers-01431",\r
- "text": " If <code>variablePointers</code> is enabled then <code>variablePointersStorageBuffer</code> <strong class=\"purple\">must</strong> also be enabled."\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceVariablePointerFeatures-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceMultiviewFeatures": {\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMultiviewFeatures-multiviewGeometryShader-00580",\r
- "text": " If <code>multiviewGeometryShader</code> is enabled then <code>multiview</code> <strong class=\"purple\">must</strong> also be enabled."\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMultiviewFeatures-multiviewTessellationShader-00581",\r
- "text": " If <code>multiviewTessellationShader</code> is enabled then <code>multiview</code> <strong class=\"purple\">must</strong> also be enabled."\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMultiviewFeatures-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDevice16BitStorageFeatures": {\r
- "(VK_VERSION_1_1,VK_KHR_16bit_storage)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDevice16BitStorageFeatures-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceSamplerYcbcrConversionFeatures": {\r
- "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSamplerYcbcrConversionFeatures-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceProtectedMemoryFeatures": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceProtectedMemoryFeatures-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT": {\r
- "(VK_EXT_blend_operation_advanced)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceShaderDrawParameterFeatures": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceShaderDrawParameterFeatures-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceDescriptorIndexingFeaturesEXT": {\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceDescriptorIndexingFeaturesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDevicePushDescriptorPropertiesKHR": {\r
- "(VK_KHR_push_descriptor)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDevicePushDescriptorPropertiesKHR-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceMultiviewProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_multiview)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMultiviewProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceDiscardRectanglePropertiesEXT": {\r
- "(VK_EXT_discard_rectangles)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceDiscardRectanglePropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceSampleLocationsPropertiesEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSampleLocationsPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceExternalMemoryHostPropertiesEXT": {\r
- "(VK_EXT_external_memory_host)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalMemoryHostPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX": {\r
- "(VK_NVX_multiview_per_view_attributes)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDevicePointClippingProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance2)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDevicePointClippingProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceSubgroupProperties": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSubgroupProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT": {\r
- "(VK_EXT_blend_operation_advanced)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT": {\r
- "(VK_EXT_vertex_attribute_divisor)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT": {\r
- "(VK_EXT_sampler_filter_minmax)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceProtectedMemoryProperties": {\r
- "(VK_VERSION_1_1)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceProtectedMemoryProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceMaintenance3Properties": {\r
- "(VK_VERSION_1_1,VK_KHR_maintenance3)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceMaintenance3Properties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceDescriptorIndexingPropertiesEXT": {\r
- "(VK_EXT_descriptor_indexing)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceDescriptorIndexingPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceConservativeRasterizationPropertiesEXT": {\r
- "(VK_EXT_conservative_rasterization)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceConservativeRasterizationPropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT</code>"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceShaderCorePropertiesAMD": {\r
- "(VK_AMD_shader_core_properties)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceShaderCorePropertiesAMD-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceMultisamplePropertiesEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMultisamplePropertiesEXT-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMultisamplePropertiesEXT-samples-parameter",\r
- "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceMultisamplePropertiesEXT-pMultisampleProperties-parameter",\r
- "text": " <code>pMultisampleProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMultisamplePropertiesEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkMultisamplePropertiesEXT": {\r
- "(VK_EXT_sample_locations)": [\r
- {\r
- "vuid": "VUID-VkMultisamplePropertiesEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkMultisamplePropertiesEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceFormatProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFormatProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFormatProperties-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFormatProperties-pFormatProperties-parameter",\r
- "text": " <code>pFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFormatProperties</code> structure"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceFormatProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFormatProperties2-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFormatProperties2-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceFormatProperties2-pFormatProperties-parameter",\r
- "text": " <code>pFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFormatProperties2</code> structure"\r
- }\r
- ]\r
- },\r
- "VkFormatProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkFormatProperties2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkFormatProperties2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceImageFormatProperties": {\r
- "core": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-tiling-parameter",\r
- "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-pImageFormatProperties-parameter",\r
- "text": " <code>pImageFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImageFormatProperties</code> structure"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceExternalImageFormatPropertiesNV": {\r
- "(VK_NV_external_memory_capabilities)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-tiling-parameter",\r
- "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-externalHandleType-parameter",\r
- "text": " <code>externalHandleType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-pExternalImageFormatProperties-parameter",\r
- "text": " <code>pExternalImageFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalImageFormatPropertiesNV</code> structure"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceImageFormatProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-pNext-01868",\r
- "text": " If the <code>pNext</code> chain of <code>pImageFormatProperties</code> contains an instance of <a href=\"#VkAndroidHardwareBufferUsageANDROID\">VkAndroidHardwareBufferUsageANDROID</a>, the <code>pNext</code> chain of <code>pImageFormatInfo</code> <strong class=\"purple\">must</strong> contain an instance of <a href=\"#VkPhysicalDeviceExternalImageFormatInfo\">VkPhysicalDeviceExternalImageFormatInfo</a> with <code>handleType</code> set to <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code>."\r
- }\r
- ],\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-pImageFormatInfo-parameter",\r
- "text": " <code>pImageFormatInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceImageFormatInfo2</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-pImageFormatProperties-parameter",\r
- "text": " <code>pImageFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImageFormatProperties2</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceImageFormatInfo2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPhysicalDeviceExternalImageFormatInfo\">VkPhysicalDeviceExternalImageFormatInfo</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-format-parameter",\r
- "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-type-parameter",\r
- "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-tiling-parameter",\r
- "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"\r
- }\r
- ]\r
- },\r
- "VkImageFormatProperties2": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [\r
- {\r
- "vuid": "VUID-VkImageFormatProperties2-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageFormatProperties2-pNext-pNext",\r
- "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkAndroidHardwareBufferUsageANDROID\">VkAndroidHardwareBufferUsageANDROID</a>, <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a>, <a href=\"#VkSamplerYcbcrConversionImageFormatProperties\">VkSamplerYcbcrConversionImageFormatProperties</a>, or <a href=\"#VkTextureLODGatherFormatPropertiesAMD\">VkTextureLODGatherFormatPropertiesAMD</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkImageFormatProperties2-sType-unique",\r
- "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceExternalImageFormatInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalImageFormatInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalImageFormatInfo-handleType-parameter",\r
- "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "VkExternalImageFormatProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [\r
- {\r
- "vuid": "VUID-VkExternalImageFormatProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "VkSamplerYcbcrConversionImageFormatProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [\r
- {\r
- "vuid": "VUID-VkSamplerYcbcrConversionImageFormatProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES</code>"\r
- }\r
- ]\r
- },\r
- "VkAndroidHardwareBufferUsageANDROID": {\r
- "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_ANDROID_external_memory_android_hardware_buffer)": [\r
- {\r
- "vuid": "VUID-VkAndroidHardwareBufferUsageANDROID-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceExternalBufferProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalBufferProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalBufferProperties-pExternalBufferInfo-parameter",\r
- "text": " <code>pExternalBufferInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceExternalBufferInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalBufferProperties-pExternalBufferProperties-parameter",\r
- "text": " <code>pExternalBufferProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalBufferProperties</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceExternalBufferInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferCreateFlagBits\">VkBufferCreateFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-usage-parameter",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferUsageFlagBits\">VkBufferUsageFlagBits</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-usage-requiredbitmask",\r
- "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "VkExternalBufferProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [\r
- {\r
- "vuid": "VUID-VkExternalBufferProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalBufferProperties-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceExternalSemaphoreProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_external_semaphore_capabilities)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalSemaphoreProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalSemaphoreProperties-pExternalSemaphoreInfo-parameter",\r
- "text": " <code>pExternalSemaphoreInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceExternalSemaphoreInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalSemaphoreProperties-pExternalSemaphoreProperties-parameter",\r
- "text": " <code>pExternalSemaphoreProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalSemaphoreProperties</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceExternalSemaphoreInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_semaphore_capabilities)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalSemaphoreInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalSemaphoreInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalSemaphoreInfo-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "VkExternalSemaphoreProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_external_semaphore_capabilities)": [\r
- {\r
- "vuid": "VUID-VkExternalSemaphoreProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalSemaphoreProperties-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkGetPhysicalDeviceExternalFenceProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_external_fence_capabilities)": [\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalFenceProperties-physicalDevice-parameter",\r
- "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalFenceProperties-pExternalFenceInfo-parameter",\r
- "text": " <code>pExternalFenceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceExternalFenceInfo</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkGetPhysicalDeviceExternalFenceProperties-pExternalFenceProperties-parameter",\r
- "text": " <code>pExternalFenceProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalFenceProperties</code> structure"\r
- }\r
- ]\r
- },\r
- "VkPhysicalDeviceExternalFenceInfo": {\r
- "(VK_VERSION_1_1,VK_KHR_external_fence_capabilities)": [\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalFenceInfo-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalFenceInfo-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkPhysicalDeviceExternalFenceInfo-handleType-parameter",\r
- "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"\r
- }\r
- ]\r
- },\r
- "VkExternalFenceProperties": {\r
- "(VK_VERSION_1_1,VK_KHR_external_fence_capabilities)": [\r
- {\r
- "vuid": "VUID-VkExternalFenceProperties-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkExternalFenceProperties-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- }\r
- ]\r
- },\r
- "vkSetDebugUtilsObjectNameEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkSetDebugUtilsObjectNameEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkSetDebugUtilsObjectNameEXT-pNameInfo-parameter",\r
- "text": " <code>pNameInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsObjectNameInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDebugUtilsObjectNameInfoEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectType-01905",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_OBJECT_TYPE_UNKNOWN</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectHandle-01906",\r
- "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectHandle-01907",\r
- "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in &amp;lt;&amp;lt;debugging-object-types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectType-parameter",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectType\">VkObjectType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-pObjectName-parameter",\r
- "text": " If <code>pObjectName</code> is not <code>NULL</code>, <code>pObjectName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkSetDebugUtilsObjectTagEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkSetDebugUtilsObjectTagEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkSetDebugUtilsObjectTagEXT-pTagInfo-parameter",\r
- "text": " <code>pTagInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsObjectTagInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDebugUtilsObjectTagInfoEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectType-01908",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_OBJECT_TYPE_UNKNOWN</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectHandle-01909",\r
- "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectHandle-01910",\r
- "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in &amp;lt;&amp;lt;debugging-object-types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectType-parameter",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectType\">VkObjectType</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-pTag-parameter",\r
- "text": " <code>pTag</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>tagSize</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-tagSize-arraylength",\r
- "text": " <code>tagSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkQueueBeginDebugUtilsLabelEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkQueueBeginDebugUtilsLabelEXT-queue-parameter",\r
- "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueBeginDebugUtilsLabelEXT-pLabelInfo-parameter",\r
- "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDebugUtilsLabelEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-VkDebugUtilsLabelEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsLabelEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsLabelEXT-pLabelName-parameter",\r
- "text": " <code>pLabelName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkQueueEndDebugUtilsLabelEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkQueueEndDebugUtilsLabelEXT-None-01911",\r
- "text": " There <strong class=\"purple\">must</strong> be an outstanding <code>vkQueueBeginDebugUtilsLabelEXT</code> command prior to the <code>vkQueueEndDebugUtilsLabelEXT</code> on the queue"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueEndDebugUtilsLabelEXT-queue-parameter",\r
- "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"\r
- }\r
- ]\r
- },\r
- "vkQueueInsertDebugUtilsLabelEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkQueueInsertDebugUtilsLabelEXT-queue-parameter",\r
- "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkQueueInsertDebugUtilsLabelEXT-pLabelInfo-parameter",\r
- "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "vkCmdBeginDebugUtilsLabelEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-pLabelInfo-parameter",\r
- "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- }\r
- ]\r
- },\r
- "vkCmdEndDebugUtilsLabelEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-01912",\r
- "text": " There <strong class=\"purple\">must</strong> be an outstanding <code>vkCmdBeginDebugUtilsLabelEXT</code> command prior to the <code>vkCmdEndDebugUtilsLabelEXT</code> on the queue that <code>commandBuffer</code> is submitted to"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-01913",\r
- "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> be an outstanding <code>vkCmdBeginDebugUtilsLabelEXT</code> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <code>vkCmdEndDebugUtilsLabelEXT</code>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- }\r
- ]\r
- },\r
- "vkCmdInsertDebugUtilsLabelEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-pLabelInfo-parameter",\r
- "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- }\r
- ]\r
- },\r
- "vkCreateDebugUtilsMessengerEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsMessengerCreateInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-pMessenger-parameter",\r
- "text": " <code>pMessenger</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDebugUtilsMessengerEXT</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDebugUtilsMessengerCreateInfoEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-pfnUserCallback-01914",\r
- "text": " <code>pfnUserCallback</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#PFN_vkDebugUtilsMessengerCallbackEXT\">PFN_vkDebugUtilsMessengerCallbackEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageSeverity-parameter",\r
- "text": " <code>messageSeverity</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugUtilsMessageSeverityFlagBitsEXT\">VkDebugUtilsMessageSeverityFlagBitsEXT</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageSeverity-requiredbitmask",\r
- "text": " <code>messageSeverity</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageType-parameter",\r
- "text": " <code>messageType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugUtilsMessageTypeFlagBitsEXT\">VkDebugUtilsMessageTypeFlagBitsEXT</a> values"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageType-requiredbitmask",\r
- "text": " <code>messageType</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- }\r
- ]\r
- },\r
- "VkDebugUtilsMessengerCallbackDataEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-flags-zerobitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-pMessageIdName-parameter",\r
- "text": " If <code>pMessageIdName</code> is not <code>NULL</code>, <code>pMessageIdName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-pMessage-parameter",\r
- "text": " <code>pMessage</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-objectCount-arraylength",\r
- "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkSubmitDebugUtilsMessageEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-messageSeverity-parameter",\r
- "text": " <code>messageSeverity</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugUtilsMessageSeverityFlagBitsEXT\">VkDebugUtilsMessageSeverityFlagBitsEXT</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-messageTypes-parameter",\r
- "text": " <code>messageTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugUtilsMessageTypeFlagBitsEXT\">VkDebugUtilsMessageTypeFlagBitsEXT</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-messageTypes-requiredbitmask",\r
- "text": " <code>messageTypes</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-pCallbackData-parameter",\r
- "text": " <code>pCallbackData</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsMessengerCallbackDataEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "vkDestroyDebugUtilsMessengerEXT": {\r
- "(VK_EXT_debug_utils)": [\r
- {\r
- "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-01915",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>messenger</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-01916",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>messenger</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-parameter",\r
- "text": " <code>messenger</code> <strong class=\"purple\">must</strong> be a valid <code>VkDebugUtilsMessengerEXT</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-parent",\r
- "text": " <code>messenger</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>instance</code>"\r
- }\r
- ]\r
- },\r
- "vkDebugMarkerSetObjectNameEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-vkDebugMarkerSetObjectNameEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugMarkerSetObjectNameEXT-pNameInfo-parameter",\r
- "text": " <code>pNameInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerObjectNameInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDebugMarkerObjectNameInfoEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-objectType-01490",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-object-01491",\r
- "text": " <code>object</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-object-01492",\r
- "text": " <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in &amp;lt;&amp;lt;debug-report-object-types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-objectType-parameter",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugReportObjectTypeEXT\">VkDebugReportObjectTypeEXT</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-pObjectName-parameter",\r
- "text": " <code>pObjectName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkDebugMarkerSetObjectTagEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-vkDebugMarkerSetObjectTagEXT-device-parameter",\r
- "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugMarkerSetObjectTagEXT-pTagInfo-parameter",\r
- "text": " <code>pTagInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerObjectTagInfoEXT</code> structure"\r
- }\r
- ]\r
- },\r
- "VkDebugMarkerObjectTagInfoEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-objectType-01493",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-object-01494",\r
- "text": " <code>object</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-object-01495",\r
- "text": " <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in &amp;lt;&amp;lt;debug-report-object-types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-objectType-parameter",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugReportObjectTypeEXT\">VkDebugReportObjectTypeEXT</a> value"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-pTag-parameter",\r
- "text": " <code>pTag</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>tagSize</code> bytes"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-tagSize-arraylength",\r
- "text": " <code>tagSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"\r
- }\r
- ]\r
- },\r
- "vkCmdDebugMarkerBeginEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerBeginEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerBeginEXT-pMarkerInfo-parameter",\r
- "text": " <code>pMarkerInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerMarkerInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerBeginEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerBeginEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- }\r
- ]\r
- },\r
- "VkDebugMarkerMarkerInfoEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-VkDebugMarkerMarkerInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerMarkerInfoEXT-pNext-pNext",\r
- "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugMarkerMarkerInfoEXT-pMarkerName-parameter",\r
- "text": " <code>pMarkerName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkCmdDebugMarkerEndEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-01239",\r
- "text": " There <strong class=\"purple\">must</strong> be an outstanding <a href=\"#vkCmdDebugMarkerBeginEXT\">vkCmdDebugMarkerBeginEXT</a> command prior to the <code>vkCmdDebugMarkerEndEXT</code> on the queue that <code>commandBuffer</code> is submitted to"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-01240",\r
- "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> be an outstanding <a href=\"#vkCmdDebugMarkerBeginEXT\">vkCmdDebugMarkerBeginEXT</a> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <a href=\"#vkCmdDebugMarkerEndEXT\">vkCmdDebugMarkerEndEXT</a>."\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- }\r
- ]\r
- },\r
- "vkCmdDebugMarkerInsertEXT": {\r
- "(VK_EXT_debug_marker)": [\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerInsertEXT-commandBuffer-parameter",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerInsertEXT-pMarkerInfo-parameter",\r
- "text": " <code>pMarkerInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerMarkerInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerInsertEXT-commandBuffer-recording",\r
- "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the &amp;lt;&amp;lt;commandbuffers-lifecycle, recording state&amp;gt;&amp;gt;"\r
- },\r
- {\r
- "vuid": "VUID-vkCmdDebugMarkerInsertEXT-commandBuffer-cmdpool",\r
- "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"\r
- }\r
- ]\r
- },\r
- "vkCreateDebugReportCallbackEXT": {\r
- "(VK_EXT_debug_report)": [\r
- {\r
- "vuid": "VUID-vkCreateDebugReportCallbackEXT-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDebugReportCallbackEXT-pCreateInfo-parameter",\r
- "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugReportCallbackCreateInfoEXT</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDebugReportCallbackEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkCreateDebugReportCallbackEXT-pCallback-parameter",\r
- "text": " <code>pCallback</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDebugReportCallbackEXT</code> handle"\r
- }\r
- ]\r
- },\r
- "VkDebugReportCallbackCreateInfoEXT": {\r
- "(VK_EXT_debug_report)": [\r
- {\r
- "vuid": "VUID-VkDebugReportCallbackCreateInfoEXT-pfnCallback-01385",\r
- "text": " <code>pfnCallback</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#PFN_vkDebugReportCallbackEXT\">PFN_vkDebugReportCallbackEXT</a>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugReportCallbackCreateInfoEXT-sType-sType",\r
- "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT</code>"\r
- },\r
- {\r
- "vuid": "VUID-VkDebugReportCallbackCreateInfoEXT-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugReportFlagBitsEXT\">VkDebugReportFlagBitsEXT</a> values"\r
- }\r
- ]\r
- },\r
- "vkDebugReportMessageEXT": {\r
- "(VK_EXT_debug_report)": [\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-object-01241",\r
- "text": " <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object or <code>VK_NULL_HANDLE</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-objectType-01498",\r
- "text": " If <code>objectType</code> is not <code>VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT</code> and <code>object</code> is not <code>VK_NULL_HANDLE</code>, <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object of the corresponding type associated with <code>objectType</code> as defined in &amp;lt;&amp;lt;debug-report-object-types&amp;gt;&amp;gt;."\r
- },\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-flags-parameter",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugReportFlagBitsEXT\">VkDebugReportFlagBitsEXT</a> values"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-flags-requiredbitmask",\r
- "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-objectType-parameter",\r
- "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugReportObjectTypeEXT\">VkDebugReportObjectTypeEXT</a> value"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-pLayerPrefix-parameter",\r
- "text": " <code>pLayerPrefix</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- },\r
- {\r
- "vuid": "VUID-vkDebugReportMessageEXT-pMessage-parameter",\r
- "text": " <code>pMessage</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"\r
- }\r
- ]\r
- },\r
- "vkDestroyDebugReportCallbackEXT": {\r
- "(VK_EXT_debug_report)": [\r
- {\r
- "vuid": "VUID-vkDestroyDebugReportCallbackEXT-instance-01242",\r
- "text": " If <code>VkAllocationCallbacks</code> were provided when <code>callback</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugReportCallbackEXT-instance-01243",\r
- "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>callback</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugReportCallbackEXT-instance-parameter",\r
- "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugReportCallbackEXT-callback-parameter",\r
- "text": " <code>callback</code> <strong class=\"purple\">must</strong> be a valid <code>VkDebugReportCallbackEXT</code> handle"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugReportCallbackEXT-pAllocator-parameter",\r
- "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"\r
- },\r
- {\r
- "vuid": "VUID-vkDestroyDebugReportCallbackEXT-callback-parent",\r
- "text": " <code>callback</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>instance</code>"\r
- }\r
- ]\r
- }\r
- }\r
+{
+ "version info": {
+ "schema version": 2,
+ "api version": "1.1.75",
+ "comment": "from git branch: master commit: fae387312840c6fd6f0a57a7ecbd194aed89a2b9",
+ "date": "2018-05-22 15:11:22Z"
+ },
+ "validation": {
+ "vkGetInstanceProcAddr": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetInstanceProcAddr-instance-parameter",
+ "text": " If <code>instance</code> is not <code>NULL</code>, <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetInstanceProcAddr-pName-parameter",
+ "text": " <code>pName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkGetDeviceProcAddr": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetDeviceProcAddr-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceProcAddr-pName-parameter",
+ "text": " <code>pName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkEnumerateInstanceVersion": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkEnumerateInstanceVersion-pApiVersion-parameter",
+ "text": " <code>pApiVersion</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ }
+ ]
+ },
+ "vkCreateInstance": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateInstance-ppEnabledExtensionNames-01388",
+ "text": " All <a href=\"#extended-functionality-extensions-dependencies\">required extensions</a> for each extension in the <a href=\"#VkInstanceCreateInfo\">VkInstanceCreateInfo</a>::<code>ppEnabledExtensionNames</code> list <strong class=\"purple\">must</strong> also be present in that list."
+ },
+ {
+ "vuid": "VUID-vkCreateInstance-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkInstanceCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateInstance-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateInstance-pInstance-parameter",
+ "text": " <code>pInstance</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkInstance</code> handle"
+ }
+ ]
+ },
+ "VkInstanceCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkInstanceCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkInstanceCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDebugReportCallbackCreateInfoEXT\">VkDebugReportCallbackCreateInfoEXT</a>, <a href=\"#VkDebugUtilsMessengerCreateInfoEXT\">VkDebugUtilsMessengerCreateInfoEXT</a>, or <a href=\"#VkValidationFlagsEXT\">VkValidationFlagsEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkInstanceCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkInstanceCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkInstanceCreateInfo-pApplicationInfo-parameter",
+ "text": " If <code>pApplicationInfo</code> is not <code>NULL</code>, <code>pApplicationInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkApplicationInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkInstanceCreateInfo-ppEnabledLayerNames-parameter",
+ "text": " If <code>enabledLayerCount</code> is not <code>0</code>, <code>ppEnabledLayerNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledLayerCount</code> null-terminated UTF-8 strings"
+ },
+ {
+ "vuid": "VUID-VkInstanceCreateInfo-ppEnabledExtensionNames-parameter",
+ "text": " If <code>enabledExtensionCount</code> is not <code>0</code>, <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledExtensionCount</code> null-terminated UTF-8 strings"
+ }
+ ]
+ },
+ "VkValidationFlagsEXT": {
+ "(VK_EXT_validation_flags)": [
+ {
+ "vuid": "VUID-VkValidationFlagsEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkValidationFlagsEXT-pDisabledValidationChecks-parameter",
+ "text": " <code>pDisabledValidationChecks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>disabledValidationCheckCount</code> <a href=\"#VkValidationCheckEXT\">VkValidationCheckEXT</a> values"
+ },
+ {
+ "vuid": "VUID-VkValidationFlagsEXT-disabledValidationCheckCount-arraylength",
+ "text": " <code>disabledValidationCheckCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkApplicationInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkApplicationInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_APPLICATION_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkApplicationInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkApplicationInfo-pApplicationName-parameter",
+ "text": " If <code>pApplicationName</code> is not <code>NULL</code>, <code>pApplicationName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ },
+ {
+ "vuid": "VUID-VkApplicationInfo-pEngineName-parameter",
+ "text": " If <code>pEngineName</code> is not <code>NULL</code>, <code>pEngineName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkDestroyInstance": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyInstance-instance-00629",
+ "text": " All child objects created using <code>instance</code> <strong class=\"purple\">must</strong> have been destroyed prior to destroying <code>instance</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyInstance-instance-00630",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>instance</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyInstance-instance-00631",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>instance</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyInstance-instance-parameter",
+ "text": " If <code>instance</code> is not <code>NULL</code>, <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyInstance-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ }
+ ]
+ },
+ "vkEnumeratePhysicalDevices": {
+ "core": [
+ {
+ "vuid": "VUID-vkEnumeratePhysicalDevices-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkEnumeratePhysicalDevices-pPhysicalDeviceCount-parameter",
+ "text": " <code>pPhysicalDeviceCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkEnumeratePhysicalDevices-pPhysicalDevices-parameter",
+ "text": " If the value referenced by <code>pPhysicalDeviceCount</code> is not <code>0</code>, and <code>pPhysicalDevices</code> is not <code>NULL</code>, <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPhysicalDeviceCount</code> <code>VkPhysicalDevice</code> handles"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceProperties-pProperties-parameter",
+ "text": " <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceProperties</code> structure"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceProperties2-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceProperties2-pProperties-parameter",
+ "text": " <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceProperties2</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceProperties2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceProperties2-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceConservativeRasterizationPropertiesEXT\">VkPhysicalDeviceConservativeRasterizationPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceDescriptorIndexingPropertiesEXT\">VkPhysicalDeviceDescriptorIndexingPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceDiscardRectanglePropertiesEXT\">VkPhysicalDeviceDiscardRectanglePropertiesEXT</a>, <a href=\"#VkPhysicalDeviceExternalMemoryHostPropertiesEXT\">VkPhysicalDeviceExternalMemoryHostPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceIDProperties\">VkPhysicalDeviceIDProperties</a>, <a href=\"#VkPhysicalDeviceMaintenance3Properties\">VkPhysicalDeviceMaintenance3Properties</a>, <a href=\"#VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX\">VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX</a>, <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>, <a href=\"#VkPhysicalDevicePointClippingProperties\">VkPhysicalDevicePointClippingProperties</a>, <a href=\"#VkPhysicalDeviceProtectedMemoryProperties\">VkPhysicalDeviceProtectedMemoryProperties</a>, <a href=\"#VkPhysicalDevicePushDescriptorPropertiesKHR\">VkPhysicalDevicePushDescriptorPropertiesKHR</a>, <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT\">VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT</a>, <a href=\"#VkPhysicalDeviceShaderCorePropertiesAMD\">VkPhysicalDeviceShaderCorePropertiesAMD</a>, <a href=\"#VkPhysicalDeviceSubgroupProperties\">VkPhysicalDeviceSubgroupProperties</a>, or <a href=\"#VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT\">VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceProperties2-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ }
+ ]
+ },
+ "VkPhysicalDeviceIDProperties": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_external_memory_capabilities,VK_KHR_external_semaphore_capabilities,VK_KHR_external_fence_capabilities)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceIDProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceQueueFamilyProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties-pQueueFamilyPropertyCount-parameter",
+ "text": " <code>pQueueFamilyPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties-pQueueFamilyProperties-parameter",
+ "text": " If the value referenced by <code>pQueueFamilyPropertyCount</code> is not <code>0</code>, and <code>pQueueFamilyProperties</code> is not <code>NULL</code>, <code>pQueueFamilyProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pQueueFamilyPropertyCount</code> <code>VkQueueFamilyProperties</code> structures"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceQueueFamilyProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties2-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties2-pQueueFamilyPropertyCount-parameter",
+ "text": " <code>pQueueFamilyPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceQueueFamilyProperties2-pQueueFamilyProperties-parameter",
+ "text": " If the value referenced by <code>pQueueFamilyPropertyCount</code> is not <code>0</code>, and <code>pQueueFamilyProperties</code> is not <code>NULL</code>, <code>pQueueFamilyProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pQueueFamilyPropertyCount</code> <code>VkQueueFamilyProperties2</code> structures"
+ }
+ ]
+ },
+ "VkQueueFamilyProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkQueueFamilyProperties2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2</code>"
+ },
+ {
+ "vuid": "VUID-VkQueueFamilyProperties2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkEnumeratePhysicalDeviceGroups": {
+ "(VK_VERSION_1_1,VK_KHR_device_group_creation)": [
+ {
+ "vuid": "VUID-vkEnumeratePhysicalDeviceGroups-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkEnumeratePhysicalDeviceGroups-pPhysicalDeviceGroupCount-parameter",
+ "text": " <code>pPhysicalDeviceGroupCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkEnumeratePhysicalDeviceGroups-pPhysicalDeviceGroupProperties-parameter",
+ "text": " If the value referenced by <code>pPhysicalDeviceGroupCount</code> is not <code>0</code>, and <code>pPhysicalDeviceGroupProperties</code> is not <code>NULL</code>, <code>pPhysicalDeviceGroupProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPhysicalDeviceGroupCount</code> <code>VkPhysicalDeviceGroupProperties</code> structures"
+ }
+ ]
+ },
+ "vkCreateDevice": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateDevice-ppEnabledExtensionNames-01387",
+ "text": " All <a href=\"#extended-functionality-extensions-dependencies\">required extensions</a> for each extension in the <a href=\"#VkDeviceCreateInfo\">VkDeviceCreateInfo</a>::<code>ppEnabledExtensionNames</code> list <strong class=\"purple\">must</strong> also be present in that list."
+ },
+ {
+ "vuid": "VUID-vkCreateDevice-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDevice-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDeviceCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDevice-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDevice-pDevice-parameter",
+ "text": " <code>pDevice</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDevice</code> handle"
+ }
+ ]
+ },
+ "VkDeviceCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-queueFamilyIndex-00372",
+ "text": ""
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupDeviceCreateInfo\">VkDeviceGroupDeviceCreateInfo</a>, <a href=\"#VkPhysicalDevice16BitStorageFeatures\">VkPhysicalDevice16BitStorageFeatures</a>, <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>, <a href=\"#VkPhysicalDeviceFeatures2\">VkPhysicalDeviceFeatures2</a>, <a href=\"#VkPhysicalDeviceMultiviewFeatures\">VkPhysicalDeviceMultiviewFeatures</a>, <a href=\"#VkPhysicalDeviceProtectedMemoryFeatures\">VkPhysicalDeviceProtectedMemoryFeatures</a>, <a href=\"#VkPhysicalDeviceSamplerYcbcrConversionFeatures\">VkPhysicalDeviceSamplerYcbcrConversionFeatures</a>, or <a href=\"#VkPhysicalDeviceVariablePointerFeatures\">VkPhysicalDeviceVariablePointerFeatures</a>"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-pQueueCreateInfos-parameter",
+ "text": " <code>pQueueCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueCreateInfoCount</code> valid <code>VkDeviceQueueCreateInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-ppEnabledLayerNames-parameter",
+ "text": " If <code>enabledLayerCount</code> is not <code>0</code>, <code>ppEnabledLayerNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledLayerCount</code> null-terminated UTF-8 strings"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-ppEnabledExtensionNames-parameter",
+ "text": " If <code>enabledExtensionCount</code> is not <code>0</code>, <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>enabledExtensionCount</code> null-terminated UTF-8 strings"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-pEnabledFeatures-parameter",
+ "text": " If <code>pEnabledFeatures</code> is not <code>NULL</code>, <code>pEnabledFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceFeatures</code> structure"
+ },
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-queueCreateInfoCount-arraylength",
+ "text": " <code>queueCreateInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-pNext-00373",
+ "text": " If the <code>pNext</code> chain includes a <a href=\"#VkPhysicalDeviceFeatures2\">VkPhysicalDeviceFeatures2</a> structure, then <code>pEnabledFeatures</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ],
+ "(VK_AMD_negative_viewport_height)+(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-ppEnabledExtensionNames-01840",
+ "text": " <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> not contain <code>VK_AMD_negative_viewport_height</code>"
+ }
+ ],
+ "(VK_AMD_negative_viewport_height)+!(VK_VERSION_1_1)+(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkDeviceCreateInfo-ppEnabledExtensionNames-00374",
+ "text": " <code>ppEnabledExtensionNames</code> <strong class=\"purple\">must</strong> not contain both <code><a href=\"#VK_KHR_maintenance1\">VK_KHR_maintenance1</a></code> and <code><a href=\"#VK_AMD_negative_viewport_height\">VK_AMD_negative_viewport_height</a></code>"
+ }
+ ]
+ },
+ "VkDeviceGroupDeviceCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_device_group_creation)": [
+ {
+ "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-pPhysicalDevices-00375",
+ "text": " Each element of <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-pPhysicalDevices-00376",
+ "text": " All elements of <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be in the same device group as enumerated by <a href=\"#vkEnumeratePhysicalDeviceGroups\">vkEnumeratePhysicalDeviceGroups</a>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-physicalDeviceCount-00377",
+ "text": " If <code>physicalDeviceCount</code> is not <code>0</code>, the <code>physicalDevice</code> parameter of <a href=\"#vkCreateDevice\">vkCreateDevice</a> <strong class=\"purple\">must</strong> be an element of <code>pPhysicalDevices</code>."
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupDeviceCreateInfo-pPhysicalDevices-parameter",
+ "text": " If <code>physicalDeviceCount</code> is not <code>0</code>, <code>pPhysicalDevices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>physicalDeviceCount</code> valid <code>VkPhysicalDevice</code> handles"
+ }
+ ]
+ },
+ "vkDestroyDevice": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyDevice-device-00378",
+ "text": " All child objects created on <code>device</code> <strong class=\"purple\">must</strong> have been destroyed prior to destroying <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyDevice-device-00379",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>device</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyDevice-device-00380",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>device</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyDevice-device-parameter",
+ "text": " If <code>device</code> is not <code>NULL</code>, <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDevice-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ }
+ ]
+ },
+ "VkDeviceQueueCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-queueFamilyIndex-00381",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-queueCount-00382",
+ "text": " <code>queueCount</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>queueCount</code> member of the <code>VkQueueFamilyProperties</code> structure, as returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> in the <code>pQueueFamilyProperties</code>[<code>queueFamilyIndex</code>]"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-pQueuePriorities-00383",
+ "text": " Each element of <code>pQueuePriorities</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code> inclusive"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceQueueGlobalPriorityCreateInfoEXT\">VkDeviceQueueGlobalPriorityCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDeviceQueueCreateFlagBits\">VkDeviceQueueCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-pQueuePriorities-parameter",
+ "text": " <code>pQueuePriorities</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueCount</code> <code>float</code> values"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueCreateInfo-queueCount-arraylength",
+ "text": " <code>queueCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkDeviceQueueGlobalPriorityCreateInfoEXT": {
+ "(VK_EXT_global_priority)": [
+ {
+ "vuid": "VUID-VkDeviceQueueGlobalPriorityCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueGlobalPriorityCreateInfoEXT-globalPriority-parameter",
+ "text": " <code>globalPriority</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkQueueGlobalPriorityEXT\">VkQueueGlobalPriorityEXT</a> value"
+ }
+ ]
+ },
+ "vkGetDeviceQueue": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetDeviceQueue-queueFamilyIndex-00384",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be one of the queue family indices specified when <code>device</code> was created, via the <code>VkDeviceQueueCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceQueue-queueIndex-00385",
+ "text": " <code>queueIndex</code> <strong class=\"purple\">must</strong> be less than the number of queues created for the specified queue family index when <code>device</code> was created, via the <code>queueCount</code> member of the <code>VkDeviceQueueCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceQueue-flags-01841",
+ "text": " <a href=\"#VkDeviceQueueCreateInfo\">VkDeviceQueueCreateInfo</a>::<code>flags</code> <strong class=\"purple\">must</strong> have been set to zero when <code>device</code> was created"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceQueue-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceQueue-pQueue-parameter",
+ "text": " <code>pQueue</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkQueue</code> handle"
+ }
+ ]
+ },
+ "vkGetDeviceQueue2": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkGetDeviceQueue2-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceQueue2-pQueueInfo-parameter",
+ "text": " <code>pQueueInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDeviceQueueInfo2</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceQueue2-pQueue-parameter",
+ "text": " <code>pQueue</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkQueue</code> handle"
+ }
+ ]
+ },
+ "VkDeviceQueueInfo2": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkDeviceQueueInfo2-queueFamilyIndex-01842",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be one of the queue family indices specified when <code>device</code> was created, via the <code>VkDeviceQueueCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueInfo2-queueIndex-01843",
+ "text": " <code>queueIndex</code> <strong class=\"purple\">must</strong> be less than the number of queues created for the specified queue family index and <code>VkDeviceQueueCreateFlags</code> member <code>flags</code> equal to this <code>flags</code> value when <code>device</code> was created, via the <code>queueCount</code> member of the <code>VkDeviceQueueCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueInfo2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueInfo2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueInfo2-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDeviceQueueCreateFlagBits\">VkDeviceQueueCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkDeviceQueueInfo2-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateCommandPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateCommandPool-queueFamilyIndex-01937",
+ "text": " <code>pCreateInfo</code>::<code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be the index of a queue family available in the logical device <code>device</code>."
+ },
+ {
+ "vuid": "VUID-vkCreateCommandPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateCommandPool-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCommandPoolCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateCommandPool-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateCommandPool-pCommandPool-parameter",
+ "text": " <code>pCommandPool</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkCommandPool</code> handle"
+ }
+ ]
+ },
+ "VkCommandPoolCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkCommandPoolCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandPoolCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandPoolCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandPoolCreateFlagBits\">VkCommandPoolCreateFlagBits</a> values"
+ }
+ ]
+ },
+ "vkTrimCommandPool": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-vkTrimCommandPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkTrimCommandPool-commandPool-parameter",
+ "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkTrimCommandPool-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkTrimCommandPool-commandPool-parent",
+ "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkResetCommandPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkResetCommandPool-commandPool-00040",
+ "text": " All <code>VkCommandBuffer</code> objects allocated from <code>commandPool</code> <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>"
+ },
+ {
+ "vuid": "VUID-vkResetCommandPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetCommandPool-commandPool-parameter",
+ "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetCommandPool-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandPoolResetFlagBits\">VkCommandPoolResetFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkResetCommandPool-commandPool-parent",
+ "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkDestroyCommandPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyCommandPool-commandPool-00041",
+ "text": " All <code>VkCommandBuffer</code> objects allocated from <code>commandPool</code> <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>."
+ },
+ {
+ "vuid": "VUID-vkDestroyCommandPool-commandPool-00042",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>commandPool</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyCommandPool-commandPool-00043",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>commandPool</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyCommandPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyCommandPool-commandPool-parameter",
+ "text": " If <code>commandPool</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyCommandPool-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyCommandPool-commandPool-parent",
+ "text": " If <code>commandPool</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkAllocateCommandBuffers": {
+ "core": [
+ {
+ "vuid": "VUID-vkAllocateCommandBuffers-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAllocateCommandBuffers-pAllocateInfo-parameter",
+ "text": " <code>pAllocateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCommandBufferAllocateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkAllocateCommandBuffers-pCommandBuffers-parameter",
+ "text": " <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pAllocateInfo</code>::commandBufferCount <code>VkCommandBuffer</code> handles"
+ }
+ ]
+ },
+ "VkCommandBufferAllocateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkCommandBufferAllocateInfo-commandBufferCount-00044",
+ "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferAllocateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferAllocateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferAllocateInfo-commandPool-parameter",
+ "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferAllocateInfo-level-parameter",
+ "text": " <code>level</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCommandBufferLevel\">VkCommandBufferLevel</a> value"
+ }
+ ]
+ },
+ "vkResetCommandBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkResetCommandBuffer-commandBuffer-00045",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>"
+ },
+ {
+ "vuid": "VUID-vkResetCommandBuffer-commandBuffer-00046",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been allocated from a pool that was created with the <code>VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkResetCommandBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetCommandBuffer-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandBufferResetFlagBits\">VkCommandBufferResetFlagBits</a> values"
+ }
+ ]
+ },
+ "vkFreeCommandBuffers": {
+ "core": [
+ {
+ "vuid": "VUID-vkFreeCommandBuffers-pCommandBuffers-00047",
+ "text": " All elements of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>"
+ },
+ {
+ "vuid": "VUID-vkFreeCommandBuffers-pCommandBuffers-00048",
+ "text": " <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> <code>VkCommandBuffer</code> handles, each element of which <strong class=\"purple\">must</strong> either be a valid handle or <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkFreeCommandBuffers-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkFreeCommandBuffers-commandPool-parameter",
+ "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkFreeCommandBuffers-commandBufferCount-arraylength",
+ "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkFreeCommandBuffers-commandPool-parent",
+ "text": " <code>commandPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkFreeCommandBuffers-pCommandBuffers-parent",
+ "text": " Each element of <code>pCommandBuffers</code> that is a valid handle <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>commandPool</code>"
+ }
+ ]
+ },
+ "vkBeginCommandBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00049",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">recording or pending state</a>."
+ },
+ {
+ "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00050",
+ "text": " If <code>commandBuffer</code> was allocated from a <a href=\"#VkCommandPool\">VkCommandPool</a> which did not have the <code>VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT</code> flag set, <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">initial state</a>."
+ },
+ {
+ "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00051",
+ "text": " If <code>commandBuffer</code> is a secondary command buffer, the <code>pInheritanceInfo</code> member of <code>pBeginInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBufferInheritanceInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-00052",
+ "text": " If <code>commandBuffer</code> is a secondary command buffer and either the <code>occlusionQueryEnable</code> member of the <code>pInheritanceInfo</code> member of <code>pBeginInfo</code> is <code>VK_FALSE</code>, or the precise occlusion queries feature is not enabled, the <code>queryFlags</code> member of the <code>pInheritanceInfo</code> member <code>pBeginInfo</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_CONTROL_PRECISE_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkBeginCommandBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBeginCommandBuffer-pBeginInfo-parameter",
+ "text": " <code>pBeginInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCommandBufferBeginInfo</code> structure"
+ }
+ ]
+ },
+ "VkCommandBufferBeginInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkCommandBufferBeginInfo-flags-00053",
+ "text": " If <code>flags</code> contains <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>, the <code>renderPass</code> member of <code>pInheritanceInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferBeginInfo-flags-00054",
+ "text": " If <code>flags</code> contains <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>, the <code>subpass</code> member of <code>pInheritanceInfo</code> <strong class=\"purple\">must</strong> be a valid subpass index within the <code>renderPass</code> member of <code>pInheritanceInfo</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferBeginInfo-flags-00055",
+ "text": " If <code>flags</code> contains <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>, the <code>framebuffer</code> member of <code>pInheritanceInfo</code> <strong class=\"purple\">must</strong> be either <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, or a valid <code>VkFramebuffer</code> that is compatible with the <code>renderPass</code> member of <code>pInheritanceInfo</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferBeginInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferBeginInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupCommandBufferBeginInfo\">VkDeviceGroupCommandBufferBeginInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferBeginInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCommandBufferUsageFlagBits\">VkCommandBufferUsageFlagBits</a> values"
+ }
+ ]
+ },
+ "VkCommandBufferInheritanceInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkCommandBufferInheritanceInfo-occlusionQueryEnable-00056",
+ "text": " If the <a href=\"#features-features-inheritedQueries\">inherited queries</a> feature is not enabled, <code>occlusionQueryEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferInheritanceInfo-queryFlags-00057",
+ "text": " If the <a href=\"#features-features-inheritedQueries\">inherited queries</a> feature is enabled, <code>queryFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryControlFlagBits\">VkQueryControlFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferInheritanceInfo-pipelineStatistics-00058",
+ "text": " If the <a href=\"#features-features-pipelineStatisticsQuery\">pipeline statistics queries</a> feature is not enabled, <code>pipelineStatistics</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferInheritanceInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferInheritanceInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkCommandBufferInheritanceInfo-commonparent",
+ "text": " Both of <code>framebuffer</code>, and <code>renderPass</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkEndCommandBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00059",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>."
+ },
+ {
+ "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00060",
+ "text": " If <code>commandBuffer</code> is a primary command buffer, there <strong class=\"purple\">must</strong> not be an active render pass instance"
+ },
+ {
+ "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00061",
+ "text": " All queries made <a href=\"#queries-operation-active\">active</a> during the recording of <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been made inactive"
+ },
+ {
+ "vuid": "VUID-vkEndCommandBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ }
+ ],
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkEndCommandBuffer-commandBuffer-01815",
+ "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> not be an outstanding <a href=\"#vkCmdBeginDebugUtilsLabelEXT\">vkCmdBeginDebugUtilsLabelEXT</a> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <a href=\"#vkCmdEndDebugUtilsLabelEXT\">vkCmdEndDebugUtilsLabelEXT</a>."
+ }
+ ],
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-vkEndCommandBuffer-commandBuffer-00062",
+ "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> not be an outstanding <a href=\"#vkCmdDebugMarkerBeginEXT\">vkCmdDebugMarkerBeginEXT</a> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <a href=\"#vkCmdDebugMarkerEndEXT\">vkCmdDebugMarkerEndEXT</a>."
+ }
+ ]
+ },
+ "vkQueueSubmit": {
+ "core": [
+ {
+ "vuid": "VUID-vkQueueSubmit-fence-00063",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be unsignaled"
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-fence-00064",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00065",
+ "text": " Any calls to <a href=\"#vkCmdSetEvent\">vkCmdSetEvent</a>, <a href=\"#vkCmdResetEvent\">vkCmdResetEvent</a> or <a href=\"#vkCmdWaitEvents\">vkCmdWaitEvents</a> that have been recorded into any of the command buffer elements of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code>, <strong class=\"purple\">must</strong> not reference any <a href=\"#VkEvent\">VkEvent</a> that is referenced by any of those commands in a command buffer that has been submitted to another queue and is still in the <em>pending state</em>."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pWaitDstStageMask-00066",
+ "text": " Any stage flag included in any element of the <code>pWaitDstStageMask</code> member of any element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be a pipeline stage supported by one of the capabilities of <code>queue</code>, as specified in the <a href=\"#synchronization-pipeline-stages-supported\">table of supported pipeline stages</a>."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pSignalSemaphores-00067",
+ "text": " Each element of the <code>pSignalSemaphores</code> member of any element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be unsignaled when the semaphore signal operation it defines is executed on the device"
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pWaitSemaphores-00068",
+ "text": " When a semaphore unsignal operation defined by any element of the <code>pWaitSemaphores</code> member of any element of <code>pSubmits</code> executes on <code>queue</code>, no other queue <strong class=\"purple\">must</strong> be waiting on the same semaphore."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pWaitSemaphores-00069",
+ "text": " All elements of the <code>pWaitSemaphores</code> member of all elements of <code>pSubmits</code> <strong class=\"purple\">must</strong> be semaphores that are signaled, or have <a href=\"#synchronization-semaphores-signaling\">semaphore signal operations</a> previously submitted for execution."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00070",
+ "text": " Each element of the <code>pCommandBuffers</code> member of each element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">pending or executable state</a>."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00071",
+ "text": " If any element of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code>, it <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00072",
+ "text": " Any <a href=\"#commandbuffers-secondary\">secondary command buffers recorded</a> into any element of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">pending or executable state</a>."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00073",
+ "text": " If any <a href=\"#commandbuffers-secondary\">secondary command buffers recorded</a> into any element of the <code>pCommandBuffers</code> member of any element of <code>pSubmits</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code>, it <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pCommandBuffers-00074",
+ "text": " Each element of the <code>pCommandBuffers</code> member of each element of <code>pSubmits</code> <strong class=\"purple\">must</strong> have been allocated from a <code>VkCommandPool</code> that was created for the same queue family <code>queue</code> belongs to."
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-queue-parameter",
+ "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-pSubmits-parameter",
+ "text": " If <code>submitCount</code> is not <code>0</code>, <code>pSubmits</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>submitCount</code> valid <code>VkSubmitInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-fence-parameter",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-vkQueueSubmit-commonparent",
+ "text": " Both of <code>fence</code>, and <code>queue</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkSubmitInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkSubmitInfo-pCommandBuffers-00075",
+ "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not have been allocated with <code>VK_COMMAND_BUFFER_LEVEL_SECONDARY</code>"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-00076",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-00077",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-00078",
+ "text": " Each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>."
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SUBMIT_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkD3D12FenceSubmitInfoKHR\">VkD3D12FenceSubmitInfoKHR</a>, <a href=\"#VkDeviceGroupSubmitInfo\">VkDeviceGroupSubmitInfo</a>, <a href=\"#VkProtectedSubmitInfo\">VkProtectedSubmitInfo</a>, <a href=\"#VkWin32KeyedMutexAcquireReleaseInfoKHR\">VkWin32KeyedMutexAcquireReleaseInfoKHR</a>, or <a href=\"#VkWin32KeyedMutexAcquireReleaseInfoNV\">VkWin32KeyedMutexAcquireReleaseInfoNV</a>"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pWaitSemaphores-parameter",
+ "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid <code>VkSemaphore</code> handles"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-parameter",
+ "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid combinations of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pWaitDstStageMask-requiredbitmask",
+ "text": " Each element of <code>pWaitDstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pCommandBuffers-parameter",
+ "text": " If <code>commandBufferCount</code> is not <code>0</code>, <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> valid <code>VkCommandBuffer</code> handles"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-pSignalSemaphores-parameter",
+ "text": " If <code>signalSemaphoreCount</code> is not <code>0</code>, <code>pSignalSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreCount</code> valid <code>VkSemaphore</code> handles"
+ },
+ {
+ "vuid": "VUID-VkSubmitInfo-commonparent",
+ "text": " Each of the elements of <code>pCommandBuffers</code>, the elements of <code>pSignalSemaphores</code>, and the elements of <code>pWaitSemaphores</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkD3D12FenceSubmitInfoKHR": {
+ "(VK_KHR_external_semaphore_win32)": [
+ {
+ "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-waitSemaphoreValuesCount-00079",
+ "text": " <code>waitSemaphoreValuesCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkSubmitInfo</code>::<code>waitSemaphoreCount</code>, where <code>VkSubmitInfo</code> is in the <code>pNext</code> chain of this <code>VkD3D12FenceSubmitInfoKHR</code> structure."
+ },
+ {
+ "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-signalSemaphoreValuesCount-00080",
+ "text": " <code>signalSemaphoreValuesCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkSubmitInfo</code>::<code>signalSemaphoreCount</code>, where <code>VkSubmitInfo</code> is in the <code>pNext</code> chain of this <code>VkD3D12FenceSubmitInfoKHR</code> structure."
+ },
+ {
+ "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-pWaitSemaphoreValues-parameter",
+ "text": " If <code>waitSemaphoreValuesCount</code> is not <code>0</code>, and <code>pWaitSemaphoreValues</code> is not <code>NULL</code>, <code>pWaitSemaphoreValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreValuesCount</code> <code>uint64_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkD3D12FenceSubmitInfoKHR-pSignalSemaphoreValues-parameter",
+ "text": " If <code>signalSemaphoreValuesCount</code> is not <code>0</code>, and <code>pSignalSemaphoreValues</code> is not <code>NULL</code>, <code>pSignalSemaphoreValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreValuesCount</code> <code>uint64_t</code> values"
+ }
+ ]
+ },
+ "VkWin32KeyedMutexAcquireReleaseInfoKHR": {
+ "(VK_KHR_win32_keyed_mutex)": [
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireSyncs-00081",
+ "text": " Each member of <code>pAcquireSyncs</code> and <code>pReleaseSyncs</code> <strong class=\"purple\">must</strong> be a device memory object imported by setting <a href=\"#VkImportMemoryWin32HandleInfoKHR\">VkImportMemoryWin32HandleInfoKHR</a>::<code>handleType</code> to <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>."
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireSyncs-parameter",
+ "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> valid <code>VkDeviceMemory</code> handles"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireKeys-parameter",
+ "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint64_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pAcquireTimeouts-parameter",
+ "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireTimeouts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pReleaseSyncs-parameter",
+ "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> valid <code>VkDeviceMemory</code> handles"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-pReleaseKeys-parameter",
+ "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> <code>uint64_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoKHR-commonparent",
+ "text": " Both of the elements of <code>pAcquireSyncs</code>, and the elements of <code>pReleaseSyncs</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkWin32KeyedMutexAcquireReleaseInfoNV": {
+ "(VK_NV_win32_keyed_mutex)": [
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pAcquireSyncs-parameter",
+ "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> valid <code>VkDeviceMemory</code> handles"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pAcquireKeys-parameter",
+ "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint64_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pAcquireTimeoutMilliseconds-parameter",
+ "text": " If <code>acquireCount</code> is not <code>0</code>, <code>pAcquireTimeoutMilliseconds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>acquireCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pReleaseSyncs-parameter",
+ "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseSyncs</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> valid <code>VkDeviceMemory</code> handles"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-pReleaseKeys-parameter",
+ "text": " If <code>releaseCount</code> is not <code>0</code>, <code>pReleaseKeys</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>releaseCount</code> <code>uint64_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkWin32KeyedMutexAcquireReleaseInfoNV-commonparent",
+ "text": " Both of the elements of <code>pAcquireSyncs</code>, and the elements of <code>pReleaseSyncs</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkProtectedSubmitInfo": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkProtectedSubmitInfo-protectedSubmit-01816",
+ "text": " If the protected memory feature is not enabled, <code>protectedSubmit</code> <strong class=\"purple\">must</strong> not be <code>VK_TRUE</code>."
+ },
+ {
+ "vuid": "VUID-VkProtectedSubmitInfo-protectedSubmit-01817",
+ "text": " If <code>protectedSubmit</code> is <code>VK_TRUE</code>, then each element of the <code>pCommandBuffers</code> array <strong class=\"purple\">must</strong> be a protected command buffer."
+ },
+ {
+ "vuid": "VUID-VkProtectedSubmitInfo-protectedSubmit-01818",
+ "text": " If <code>protectedSubmit</code> is <code>VK_FALSE</code>, then each element of the <code>pCommandBuffers</code> array <strong class=\"purple\">must</strong> be an unprotected command buffer."
+ },
+ {
+ "vuid": "VUID-VkProtectedSubmitInfo-pNext-01819",
+ "text": " If the <code>VkSubmitInfo</code>::<code>pNext</code> chain does not include a <code>VkProtectedSubmitInfo</code> structure, then each element of the command buffer of the <code>pCommandBuffers</code> array <strong class=\"purple\">must</strong> be an unprotected command buffer."
+ },
+ {
+ "vuid": "VUID-VkProtectedSubmitInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO</code>"
+ }
+ ]
+ },
+ "VkDeviceGroupSubmitInfo": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-waitSemaphoreCount-00082",
+ "text": " <code>waitSemaphoreCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkSubmitInfo\">VkSubmitInfo</a>::<code>waitSemaphoreCount</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-commandBufferCount-00083",
+ "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkSubmitInfo\">VkSubmitInfo</a>::<code>commandBufferCount</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-signalSemaphoreCount-00084",
+ "text": " <code>signalSemaphoreCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkSubmitInfo\">VkSubmitInfo</a>::<code>signalSemaphoreCount</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-pWaitSemaphoreDeviceIndices-00085",
+ "text": " All elements of <code>pWaitSemaphoreDeviceIndices</code> and <code>pSignalSemaphoreDeviceIndices</code> <strong class=\"purple\">must</strong> be valid device indices"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-pCommandBufferDeviceMasks-00086",
+ "text": " All elements of <code>pCommandBufferDeviceMasks</code> <strong class=\"purple\">must</strong> be valid device masks"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-pWaitSemaphoreDeviceIndices-parameter",
+ "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphoreDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-pCommandBufferDeviceMasks-parameter",
+ "text": " If <code>commandBufferCount</code> is not <code>0</code>, <code>pCommandBufferDeviceMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSubmitInfo-pSignalSemaphoreDeviceIndices-parameter",
+ "text": " If <code>signalSemaphoreCount</code> is not <code>0</code>, <code>pSignalSemaphoreDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreCount</code> <code>uint32_t</code> values"
+ }
+ ]
+ },
+ "vkCmdExecuteCommands": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00087",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been allocated with a <code>level</code> of <code>VK_COMMAND_BUFFER_LEVEL_PRIMARY</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00088",
+ "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been allocated with a <code>level</code> of <code>VK_COMMAND_BUFFER_LEVEL_SECONDARY</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00089",
+ "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">pending or executable state</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00090",
+ "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, and it was recorded into any other primary command buffer, that primary command buffer <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00091",
+ "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, it <strong class=\"purple\">must</strong> not be in the <a href=\"#commandbuffers-lifecycle\">pending state</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00092",
+ "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, it <strong class=\"purple\">must</strong> not have already been recorded to <code>commandBuffer</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00093",
+ "text": " If any element of <code>pCommandBuffers</code> was not recorded with the <code>VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT</code> flag, it <strong class=\"purple\">must</strong> not appear more than once in <code>pCommandBuffers</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00094",
+ "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been allocated from a <code>VkCommandPool</code> that was created for the same queue family as the <code>VkCommandPool</code> from which <code>commandBuffer</code> was allocated"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-contents-00095",
+ "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, that render pass instance <strong class=\"purple\">must</strong> have been begun with the <code>contents</code> parameter of <code>vkCmdBeginRenderPass</code> set to <code>VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00096",
+ "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with the <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00097",
+ "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>subpass</code> set to the index of the subpass which the given command buffer will be executed in"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pInheritanceInfo-00098",
+ "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, the render passes specified in the pname::pBeginInfo::<code>pInheritanceInfo</code>::<code>renderPass</code> members of the <a href=\"#vkBeginCommandBuffer\">vkBeginCommandBuffer</a> commands used to begin recording each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the current render pass."
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00099",
+ "text": " If <code>vkCmdExecuteCommands</code> is being called within a render pass instance, and any element of <code>pCommandBuffers</code> was recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>framebuffer</code> not equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, that <code>VkFramebuffer</code> <strong class=\"purple\">must</strong> match the <code>VkFramebuffer</code> used in the current render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00100",
+ "text": " If <code>vkCmdExecuteCommands</code> is not being called within a render pass instance, each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not have been recorded with the <code>VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00101",
+ "text": " If the <a href=\"#features-features-inheritedQueries\">inherited queries</a> feature is not enabled, <code>commandBuffer</code> <strong class=\"purple\">must</strong> not have any queries <a href=\"#queries-operation-active\">active</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00102",
+ "text": " If <code>commandBuffer</code> has a <code>VK_QUERY_TYPE_OCCLUSION</code> query <a href=\"#queries-operation-active\">active</a>, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>occlusionQueryEnable</code> set to <code>VK_TRUE</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00103",
+ "text": " If <code>commandBuffer</code> has a <code>VK_QUERY_TYPE_OCCLUSION</code> query <a href=\"#queries-operation-active\">active</a>, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>queryFlags</code> having all bits set that are set for the query"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-00104",
+ "text": " If <code>commandBuffer</code> has a <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code> query <a href=\"#queries-operation-active\">active</a>, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been recorded with <code>VkCommandBufferInheritanceInfo</code>::<code>pipelineStatistics</code> having all bits set that are set in the <code>VkQueryPool</code> the query uses"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-00105",
+ "text": " Each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> not begin any query types that are <a href=\"#queries-operation-active\">active</a> in <code>commandBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-pCommandBuffers-parameter",
+ "text": " <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>commandBufferCount</code> valid <code>VkCommandBuffer</code> handles"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-bufferlevel",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBufferCount-arraylength",
+ "text": " <code>commandBufferCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and the elements of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-01820",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be a protected command buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdExecuteCommands-commandBuffer-01821",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then each element of <code>pCommandBuffers</code> <strong class=\"purple\">must</strong> be an unprotected command buffer."
+ }
+ ]
+ },
+ "VkDeviceGroupCommandBufferBeginInfo": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkDeviceGroupCommandBufferBeginInfo-deviceMask-00106",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask value"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupCommandBufferBeginInfo-deviceMask-00107",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupCommandBufferBeginInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO</code>"
+ }
+ ]
+ },
+ "vkCmdSetDeviceMask": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00108",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask value"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00109",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00110",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not include any set bits that were not in the <a href=\"#VkDeviceGroupCommandBufferBeginInfo\">VkDeviceGroupCommandBufferBeginInfo</a>::<code>deviceMask</code> value when the command buffer began recording."
+ },
+ {
+ "vuid": "VUID-vkCmdSetDeviceMask-deviceMask-00111",
+ "text": " If <code>vkCmdSetDeviceMask</code> is called inside a render pass instance, <code>deviceMask</code> <strong class=\"purple\">must</strong> not include any set bits that were not in the <a href=\"#VkDeviceGroupRenderPassBeginInfo\">VkDeviceGroupRenderPassBeginInfo</a>::<code>deviceMask</code> value when the render pass instance began recording."
+ },
+ {
+ "vuid": "VUID-vkCmdSetDeviceMask-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDeviceMask-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDeviceMask-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, compute, or transfer operations"
+ }
+ ]
+ },
+ "vkCreateFence": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateFence-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateFence-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFenceCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateFence-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateFence-pFence-parameter",
+ "text": " <code>pFence</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFence</code> handle"
+ }
+ ]
+ },
+ "VkFenceCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkFenceCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FENCE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkFenceCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a> or <a href=\"#VkExportFenceWin32HandleInfoKHR\">VkExportFenceWin32HandleInfoKHR</a>"
+ },
+ {
+ "vuid": "VUID-VkFenceCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkFenceCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkFenceCreateFlagBits\">VkFenceCreateFlagBits</a> values"
+ }
+ ]
+ },
+ "VkExportFenceCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_fence)": [
+ {
+ "vuid": "VUID-VkExportFenceCreateInfo-handleTypes-01446",
+ "text": " The bits in <code>handleTypes</code> must be supported and compatible, as reported by <a href=\"#VkExternalFenceProperties\">VkExternalFenceProperties</a>."
+ },
+ {
+ "vuid": "VUID-VkExportFenceCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkExportFenceCreateInfo-handleTypes-parameter",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> values"
+ }
+ ]
+ },
+ "VkExportFenceWin32HandleInfoKHR": {
+ "(VK_KHR_external_fence_win32)": [
+ {
+ "vuid": "VUID-VkExportFenceWin32HandleInfoKHR-handleTypes-01447",
+ "text": " If <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a>::<code>handleTypes</code> does not include <code>VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, VkExportFenceWin32HandleInfoKHR <strong class=\"purple\">must</strong> not be in the <code>pNext</code> chain of <a href=\"#VkFenceCreateInfo\">VkFenceCreateInfo</a>."
+ },
+ {
+ "vuid": "VUID-VkExportFenceWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkExportFenceWin32HandleInfoKHR-pAttributes-parameter",
+ "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"
+ }
+ ]
+ },
+ "vkGetFenceWin32HandleKHR": {
+ "(VK_KHR_external_fence_win32)": [
+ {
+ "vuid": "VUID-vkGetFenceWin32HandleKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetFenceWin32HandleKHR-pGetWin32HandleInfo-parameter",
+ "text": " <code>pGetWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFenceGetWin32HandleInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetFenceWin32HandleKHR-pHandle-parameter",
+ "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"
+ }
+ ]
+ },
+ "VkFenceGetWin32HandleInfoKHR": {
+ "(VK_KHR_external_fence_win32)": [
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01448",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a>::<code>handleTypes</code> when the <code>fence</code>’s current payload was created."
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01449",
+ "text": " If <code>handleType</code> is defined as an NT handle, <a href=\"#vkGetFenceWin32HandleKHR\">vkGetFenceWin32HandleKHR</a> <strong class=\"purple\">must</strong> be called no more than once for each valid unique combination of <code>fence</code> and <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-fence-01450",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in <a href=\"#synchronization-fences-importing\">Importing Fence Payloads</a> unless that imported payload’s handle type was included in <a href=\"#VkExternalFenceProperties\">VkExternalFenceProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01451",
+ "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>fence</code> <strong class=\"purple\">must</strong> be signaled, or have an associated <a href=\"#synchronization-fences-signaling\">fence signal operation</a> pending execution."
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-01452",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-fence-parameter",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-VkFenceGetWin32HandleInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkGetFenceFdKHR": {
+ "(VK_KHR_external_fence_fd)": [
+ {
+ "vuid": "VUID-vkGetFenceFdKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetFenceFdKHR-pGetFdInfo-parameter",
+ "text": " <code>pGetFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFenceGetFdInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetFenceFdKHR-pFd-parameter",
+ "text": " <code>pFd</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>int</code> value"
+ }
+ ]
+ },
+ "VkFenceGetFdInfoKHR": {
+ "(VK_KHR_external_fence_fd)": [
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-01453",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportFenceCreateInfo\">VkExportFenceCreateInfo</a>::<code>handleTypes</code> when <code>fence</code>’s current payload was created."
+ },
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-01454",
+ "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>fence</code> <strong class=\"purple\">must</strong> be signaled, or have an associated <a href=\"#synchronization-fences-signaling\">fence signal operation</a> pending execution."
+ },
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-fence-01455",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in <a href=\"#synchronization-fences-importing\">Importing Fence Payloads</a> unless that imported payload’s handle type was included in <a href=\"#VkExternalFenceProperties\">VkExternalFenceProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-01456",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."
+ },
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-fence-parameter",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-VkFenceGetFdInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkDestroyFence": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyFence-fence-01120",
+ "text": " All <a href=\"#devsandqueues-submission\">queue submission</a> commands that refer to <code>fence</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyFence-fence-01121",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>fence</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyFence-fence-01122",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>fence</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyFence-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyFence-fence-parameter",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyFence-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyFence-fence-parent",
+ "text": " If <code>fence</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetFenceStatus": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetFenceStatus-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetFenceStatus-fence-parameter",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetFenceStatus-fence-parent",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkResetFences": {
+ "core": [
+ {
+ "vuid": "VUID-vkResetFences-pFences-01123",
+ "text": " Each element of <code>pFences</code> <strong class=\"purple\">must</strong> not be currently associated with any queue command that has not yet completed execution on that queue"
+ },
+ {
+ "vuid": "VUID-vkResetFences-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetFences-pFences-parameter",
+ "text": " <code>pFences</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>fenceCount</code> valid <code>VkFence</code> handles"
+ },
+ {
+ "vuid": "VUID-vkResetFences-fenceCount-arraylength",
+ "text": " <code>fenceCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkResetFences-pFences-parent",
+ "text": " Each element of <code>pFences</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkWaitForFences": {
+ "core": [
+ {
+ "vuid": "VUID-vkWaitForFences-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkWaitForFences-pFences-parameter",
+ "text": " <code>pFences</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>fenceCount</code> valid <code>VkFence</code> handles"
+ },
+ {
+ "vuid": "VUID-vkWaitForFences-fenceCount-arraylength",
+ "text": " <code>fenceCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkWaitForFences-pFences-parent",
+ "text": " Each element of <code>pFences</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkRegisterDeviceEventEXT": {
+ "(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-vkRegisterDeviceEventEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkRegisterDeviceEventEXT-pDeviceEventInfo-parameter",
+ "text": " <code>pDeviceEventInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDeviceEventInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkRegisterDeviceEventEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkRegisterDeviceEventEXT-pFence-parameter",
+ "text": " <code>pFence</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFence</code> handle"
+ }
+ ]
+ },
+ "VkDeviceEventInfoEXT": {
+ "(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-VkDeviceEventInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceEventInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceEventInfoEXT-deviceEvent-parameter",
+ "text": " <code>deviceEvent</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDeviceEventTypeEXT\">VkDeviceEventTypeEXT</a> value"
+ }
+ ]
+ },
+ "vkRegisterDisplayEventEXT": {
+ "(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-vkRegisterDisplayEventEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkRegisterDisplayEventEXT-display-parameter",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkRegisterDisplayEventEXT-pDisplayEventInfo-parameter",
+ "text": " <code>pDisplayEventInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplayEventInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkRegisterDisplayEventEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkRegisterDisplayEventEXT-pFence-parameter",
+ "text": " <code>pFence</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFence</code> handle"
+ }
+ ]
+ },
+ "VkDisplayEventInfoEXT": {
+ "(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-VkDisplayEventInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayEventInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayEventInfoEXT-displayEvent-parameter",
+ "text": " <code>displayEvent</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDisplayEventTypeEXT\">VkDisplayEventTypeEXT</a> value"
+ }
+ ]
+ },
+ "vkImportFenceWin32HandleKHR": {
+ "(VK_KHR_external_fence_win32)": [
+ {
+ "vuid": "VUID-vkImportFenceWin32HandleKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkImportFenceWin32HandleKHR-pImportFenceWin32HandleInfo-parameter",
+ "text": " <code>pImportFenceWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportFenceWin32HandleInfoKHR</code> structure"
+ }
+ ]
+ },
+ "VkImportFenceWin32HandleInfoKHR": {
+ "(VK_KHR_external_fence_win32)": [
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01457",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the <a href=\"#synchronization-fence-handletypes-win32\">Handle Types Supported by VkImportFenceWin32HandleInfoKHR</a> table."
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01459",
+ "text": " If <code>handleType</code> is not <code>VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>name</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01460",
+ "text": " If <code>handleType</code> is not <code>0</code> and <code>handle</code> is <code>NULL</code>, <code>name</code> <strong class=\"purple\">must</strong> name a valid synchronization primitive of the type specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-01461",
+ "text": " If <code>handleType</code> is not <code>0</code> and <code>name</code> is <code>NULL</code>, <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handle-01462",
+ "text": " If <code>handle</code> is not <code>NULL</code>, <code>name</code> must be <code>NULL</code>."
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handle-01539",
+ "text": " If <code>handle</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-fence-handle-types-compatibility\">external fence handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-name-01540",
+ "text": " If <code>name</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-fence-handle-types-compatibility\">external fence handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-fence-parameter",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkFenceImportFlagBits\">VkFenceImportFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImportFenceWin32HandleInfoKHR-handleType-parameter",
+ "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkImportFenceFdKHR": {
+ "(VK_KHR_external_fence_fd)": [
+ {
+ "vuid": "VUID-vkImportFenceFdKHR-fence-01463",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> not be associated with any queue command that has not yet completed execution on that queue"
+ },
+ {
+ "vuid": "VUID-vkImportFenceFdKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkImportFenceFdKHR-pImportFenceFdInfo-parameter",
+ "text": " <code>pImportFenceFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportFenceFdInfoKHR</code> structure"
+ }
+ ]
+ },
+ "VkImportFenceFdInfoKHR": {
+ "(VK_KHR_external_fence_fd)": [
+ {
+ "vuid": "VUID-VkImportFenceFdInfoKHR-handleType-01464",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the <a href=\"#synchronization-fence-handletypes-fd\">Handle Types Supported by VkImportFenceFdInfoKHR</a> table."
+ },
+ {
+ "vuid": "VUID-VkImportFenceFdInfoKHR-fd-01541",
+ "text": " <code>fd</code> <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-fence-handle-types-compatibility\">external fence handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportFenceFdInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImportFenceFdInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkImportFenceFdInfoKHR-fence-parameter",
+ "text": " <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-VkImportFenceFdInfoKHR-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkFenceImportFlagBits\">VkFenceImportFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImportFenceFdInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkCreateSemaphore": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateSemaphore-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateSemaphore-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSemaphoreCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSemaphore-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSemaphore-pSemaphore-parameter",
+ "text": " <code>pSemaphore</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSemaphore</code> handle"
+ }
+ ]
+ },
+ "VkSemaphoreCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkSemaphoreCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a> or <a href=\"#VkExportSemaphoreWin32HandleInfoKHR\">VkExportSemaphoreWin32HandleInfoKHR</a>"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "VkExportSemaphoreCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_semaphore)": [
+ {
+ "vuid": "VUID-VkExportSemaphoreCreateInfo-handleTypes-01124",
+ "text": " The bits in <code>handleTypes</code> <strong class=\"purple\">must</strong> be supported and compatible, as reported by <a href=\"#VkExternalSemaphoreProperties\">VkExternalSemaphoreProperties</a>."
+ },
+ {
+ "vuid": "VUID-VkExportSemaphoreCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkExportSemaphoreCreateInfo-handleTypes-parameter",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> values"
+ }
+ ]
+ },
+ "VkExportSemaphoreWin32HandleInfoKHR": {
+ "(VK_KHR_external_semaphore_win32)": [
+ {
+ "vuid": "VUID-VkExportSemaphoreWin32HandleInfoKHR-handleTypes-01125",
+ "text": " If <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a>::<code>handleTypes</code> does not include <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code> or <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT</code>, <code>VkExportSemaphoreWin32HandleInfoKHR</code> <strong class=\"purple\">must</strong> not be in the <code>pNext</code> chain of <a href=\"#VkSemaphoreCreateInfo\">VkSemaphoreCreateInfo</a>."
+ },
+ {
+ "vuid": "VUID-VkExportSemaphoreWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkExportSemaphoreWin32HandleInfoKHR-pAttributes-parameter",
+ "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"
+ }
+ ]
+ },
+ "vkGetSemaphoreWin32HandleKHR": {
+ "(VK_KHR_external_semaphore_win32)": [
+ {
+ "vuid": "VUID-vkGetSemaphoreWin32HandleKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSemaphoreWin32HandleKHR-pGetWin32HandleInfo-parameter",
+ "text": " <code>pGetWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSemaphoreGetWin32HandleInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetSemaphoreWin32HandleKHR-pHandle-parameter",
+ "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"
+ }
+ ]
+ },
+ "VkSemaphoreGetWin32HandleInfoKHR": {
+ "(VK_KHR_external_semaphore_win32)": [
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01126",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a>::<code>handleTypes</code> when the <code>semaphore</code>’s current payload was created."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01127",
+ "text": " If <code>handleType</code> is defined as an NT handle, <a href=\"#vkGetSemaphoreWin32HandleKHR\">vkGetSemaphoreWin32HandleKHR</a> <strong class=\"purple\">must</strong> be called no more than once for each valid unique combination of <code>semaphore</code> and <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-semaphore-01128",
+ "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in <a href=\"#synchronization-semaphores-importing\">Importing Semaphore Payloads</a> unless that imported payload’s handle type was included in <a href=\"#VkExternalSemaphoreProperties\">VkExternalSemaphoreProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01129",
+ "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, as defined below in <a href=\"#synchronization-semaphores-importing\">Importing Semaphore Payloads</a>, there <strong class=\"purple\">must</strong> be no queue waiting on <code>semaphore</code>."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01130",
+ "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>semaphore</code> <strong class=\"purple\">must</strong> be signaled, or have an associated <a href=\"#synchronization-semaphores-signaling\">semaphore signal operation</a> pending execution."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-01131",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-semaphore-parameter",
+ "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetWin32HandleInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkGetSemaphoreFdKHR": {
+ "(VK_KHR_external_semaphore_fd)": [
+ {
+ "vuid": "VUID-vkGetSemaphoreFdKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSemaphoreFdKHR-pGetFdInfo-parameter",
+ "text": " <code>pGetFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSemaphoreGetFdInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetSemaphoreFdKHR-pFd-parameter",
+ "text": " <code>pFd</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>int</code> value"
+ }
+ ]
+ },
+ "VkSemaphoreGetFdInfoKHR": {
+ "(VK_KHR_external_semaphore_fd)": [
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01132",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportSemaphoreCreateInfo\">VkExportSemaphoreCreateInfo</a>::<code>handleTypes</code> when <code>semaphore</code>’s current payload was created."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-semaphore-01133",
+ "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> not currently have its payload replaced by an imported payload as described below in <a href=\"#synchronization-semaphores-importing\">Importing Semaphore Payloads</a> unless that imported payload’s handle type was included in <a href=\"#VkExternalSemaphoreProperties\">VkExternalSemaphoreProperties</a>::<code>exportFromImportedHandleTypes</code> for <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01134",
+ "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, as defined below in <a href=\"#synchronization-semaphores-importing\">Importing Semaphore Payloads</a>, there <strong class=\"purple\">must</strong> be no queue waiting on <code>semaphore</code>."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01135",
+ "text": " If <code>handleType</code> refers to a handle type with copy payload transference semantics, <code>semaphore</code> <strong class=\"purple\">must</strong> be signaled, or have an associated <a href=\"#synchronization-semaphores-signaling\">semaphore signal operation</a> pending execution."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-01136",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-semaphore-parameter",
+ "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSemaphoreGetFdInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkDestroySemaphore": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroySemaphore-semaphore-01137",
+ "text": " All submitted batches that refer to <code>semaphore</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroySemaphore-semaphore-01138",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>semaphore</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroySemaphore-semaphore-01139",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>semaphore</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroySemaphore-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySemaphore-semaphore-parameter",
+ "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySemaphore-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroySemaphore-semaphore-parent",
+ "text": " If <code>semaphore</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkImportSemaphoreWin32HandleKHR": {
+ "(VK_KHR_external_semaphore_win32)": [
+ {
+ "vuid": "VUID-vkImportSemaphoreWin32HandleKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkImportSemaphoreWin32HandleKHR-pImportSemaphoreWin32HandleInfo-parameter",
+ "text": " <code>pImportSemaphoreWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportSemaphoreWin32HandleInfoKHR</code> structure"
+ }
+ ]
+ },
+ "VkImportSemaphoreWin32HandleInfoKHR": {
+ "(VK_KHR_external_semaphore_win32)": [
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01140",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the <a href=\"#synchronization-semaphore-handletypes-win32\">Handle Types Supported by VkImportSemaphoreWin32HandleInfoKHR</a> table."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01466",
+ "text": " If <code>handleType</code> is not <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT</code> or <code>VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT</code>, <code>name</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01467",
+ "text": " If <code>handleType</code> is not <code>0</code> and <code>handle</code> is <code>NULL</code>, <code>name</code> <strong class=\"purple\">must</strong> name a valid synchronization primitive of the type specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-01468",
+ "text": " If <code>handleType</code> is not <code>0</code> and <code>name</code> is <code>NULL</code>, <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handle-01469",
+ "text": " If <code>handle</code> is not <code>NULL</code>, <code>name</code> must be <code>NULL</code>."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handle-01542",
+ "text": " If <code>handle</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-semaphore-handle-types-compatibility\">external semaphore handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-name-01543",
+ "text": " If <code>name</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-semaphore-handle-types-compatibility\">external semaphore handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-semaphore-parameter",
+ "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSemaphoreImportFlagBits\">VkSemaphoreImportFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreWin32HandleInfoKHR-handleType-parameter",
+ "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkImportSemaphoreFdKHR": {
+ "(VK_KHR_external_semaphore_fd)": [
+ {
+ "vuid": "VUID-vkImportSemaphoreFdKHR-semaphore-01142",
+ "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> not be associated with any queue command that has not yet completed execution on that queue"
+ },
+ {
+ "vuid": "VUID-vkImportSemaphoreFdKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkImportSemaphoreFdKHR-pImportSemaphoreFdInfo-parameter",
+ "text": " <code>pImportSemaphoreFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImportSemaphoreFdInfoKHR</code> structure"
+ }
+ ]
+ },
+ "VkImportSemaphoreFdInfoKHR": {
+ "(VK_KHR_external_semaphore_fd)": [
+ {
+ "vuid": "VUID-VkImportSemaphoreFdInfoKHR-handleType-01143",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a value included in the <a href=\"#synchronization-semaphore-handletypes-fd\">Handle Types Supported by VkImportSemaphoreFdInfoKHR</a> table."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreFdInfoKHR-fd-01544",
+ "text": " <code>fd</code> <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-semaphore-handle-types-compatibility\">external semaphore handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreFdInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreFdInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreFdInfoKHR-semaphore-parameter",
+ "text": " <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreFdInfoKHR-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSemaphoreImportFlagBits\">VkSemaphoreImportFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImportSemaphoreFdInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkCreateEvent": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateEvent-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateEvent-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkEventCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateEvent-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateEvent-pEvent-parameter",
+ "text": " <code>pEvent</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkEvent</code> handle"
+ }
+ ]
+ },
+ "VkEventCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkEventCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EVENT_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkEventCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkEventCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkDestroyEvent": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyEvent-event-01145",
+ "text": " All submitted commands that refer to <code>event</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyEvent-event-01146",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>event</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyEvent-event-01147",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>event</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyEvent-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyEvent-event-parameter",
+ "text": " If <code>event</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyEvent-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyEvent-event-parent",
+ "text": " If <code>event</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetEventStatus": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetEventStatus-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetEventStatus-event-parameter",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetEventStatus-event-parent",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkSetEvent": {
+ "core": [
+ {
+ "vuid": "VUID-vkSetEvent-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkSetEvent-event-parameter",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"
+ },
+ {
+ "vuid": "VUID-vkSetEvent-event-parent",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkResetEvent": {
+ "core": [
+ {
+ "vuid": "VUID-vkResetEvent-event-01148",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> not be waited on by a <code>vkCmdWaitEvents</code> command that is currently executing"
+ },
+ {
+ "vuid": "VUID-vkResetEvent-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetEvent-event-parameter",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetEvent-event-parent",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCmdSetEvent": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetEvent-stageMask-01149",
+ "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-stageMask-01150",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-stageMask-01151",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-event-parameter",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-stageMask-parameter",
+ "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-stageMask-requiredbitmask",
+ "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdSetEvent-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkCmdSetEvent-commandBuffer-01152",
+ "text": " <code>commandBuffer</code>’s current device mask <strong class=\"purple\">must</strong> include exactly one physical device."
+ }
+ ]
+ },
+ "vkCmdResetEvent": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdResetEvent-stageMask-01153",
+ "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-stageMask-01154",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-stageMask-01155",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>stageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-event-01156",
+ "text": " When this command executes, <code>event</code> <strong class=\"purple\">must</strong> not be waited on by a <code>vkCmdWaitEvents</code> command that is currently executing"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-event-parameter",
+ "text": " <code>event</code> <strong class=\"purple\">must</strong> be a valid <code>VkEvent</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-stageMask-parameter",
+ "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-stageMask-requiredbitmask",
+ "text": " <code>stageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdResetEvent-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>event</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkCmdResetEvent-commandBuffer-01157",
+ "text": " <code>commandBuffer</code>’s current device mask <strong class=\"purple\">must</strong> include exactly one physical device."
+ }
+ ]
+ },
+ "vkCmdWaitEvents": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01158",
+ "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be the bitwise OR of the <code>stageMask</code> parameter used in previous calls to <code>vkCmdSetEvent</code> with any of the members of <code>pEvents</code> and <code>VK_PIPELINE_STAGE_HOST_BIT</code> if any of the members of <code>pEvents</code> was set using <code>vkSetEvent</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01159",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-dstStageMask-01160",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01161",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-dstStageMask-01162",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-pEvents-01163",
+ "text": " If <code>pEvents</code> includes one or more events that will be signaled by <code>vkSetEvent</code> after <code>commandBuffer</code> has been submitted to a queue, then <code>vkCmdWaitEvents</code> <strong class=\"purple\">must</strong> not be called inside a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-srcStageMask-01164",
+ "text": " Any pipeline stage included in <code>srcStageMask</code> or <code>dstStageMask</code> <strong class=\"purple\">must</strong> be supported by the capabilities of the queue family specified by the <code>queueFamilyIndex</code> member of the <a href=\"#VkCommandPoolCreateInfo\">VkCommandPoolCreateInfo</a> structure that was used to create the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from, as specified in the <a href=\"#synchronization-pipeline-stages-supported\">table of supported pipeline stages</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-pMemoryBarriers-01165",
+ "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>srcAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>srcStageMask</code>, as specified in the <a href=\"#synchronization-access-types-supported\">table of supported access types</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-pMemoryBarriers-01166",
+ "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>dstAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>dstStageMask</code>, as specified in the <a href=\"#synchronization-access-types-supported\">table of supported access types</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-pEvents-parameter",
+ "text": " <code>pEvents</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>eventCount</code> valid <code>VkEvent</code> handles"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-srcStageMask-parameter",
+ "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-srcStageMask-requiredbitmask",
+ "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-dstStageMask-parameter",
+ "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-dstStageMask-requiredbitmask",
+ "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-pMemoryBarriers-parameter",
+ "text": " If <code>memoryBarrierCount</code> is not <code>0</code>, <code>pMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryBarrierCount</code> valid <code>VkMemoryBarrier</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-pBufferMemoryBarriers-parameter",
+ "text": " If <code>bufferMemoryBarrierCount</code> is not <code>0</code>, <code>pBufferMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bufferMemoryBarrierCount</code> valid <code>VkBufferMemoryBarrier</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-pImageMemoryBarriers-parameter",
+ "text": " If <code>imageMemoryBarrierCount</code> is not <code>0</code>, <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageMemoryBarrierCount</code> valid <code>VkImageMemoryBarrier</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-eventCount-arraylength",
+ "text": " <code>eventCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWaitEvents-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and the elements of <code>pEvents</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkCmdWaitEvents-commandBuffer-01167",
+ "text": " <code>commandBuffer</code>’s current device mask <strong class=\"purple\">must</strong> include exactly one physical device."
+ }
+ ]
+ },
+ "vkCmdPipelineBarrier": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01168",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-01169",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01170",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-01171",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-pDependencies-01172",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the render pass <strong class=\"purple\">must</strong> have been created with a <code>VkSubpassDependency</code> instance in <code>pDependencies</code> that expresses a dependency from the current subpass to itself."
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01173",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>srcStageMask</code> <strong class=\"purple\">must</strong> contain a subset of the bit values in the <code>srcStageMask</code> member of that instance of <code>VkSubpassDependency</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-01174",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>dstStageMask</code> <strong class=\"purple\">must</strong> contain a subset of the bit values in the <code>dstStageMask</code> member of that instance of <code>VkSubpassDependency</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcAccessMask-01175",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>srcAccessMask</code> of any element of <code>pMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> contain a subset of the bit values the <code>srcAccessMask</code> member of that instance of <code>VkSubpassDependency</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dstAccessMask-01176",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>dstAccessMask</code> of any element of <code>pMemoryBarriers</code> or <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> contain a subset of the bit values the <code>dstAccessMask</code> member of that instance of <code>VkSubpassDependency</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dependencyFlags-01177",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>dependencyFlags</code> <strong class=\"purple\">must</strong> be equal to the <code>dependencyFlags</code> member of that instance of <code>VkSubpassDependency</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-bufferMemoryBarrierCount-01178",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, <code>bufferMemoryBarrierCount</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-image-01179",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>image</code> member of any element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be equal to one of the elements of <code>pAttachments</code> that the current <code>framebuffer</code> was created with, that is also referred to by one of the elements of the <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code> members of the <code>VkSubpassDescription</code> instance that the current subpass was created with"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-oldLayout-01180",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>oldLayout</code> and <code>newLayout</code> members of any element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be equal to the <code>layout</code> member of an element of the <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code> members of the <code>VkSubpassDescription</code> instance that the current subpass was created with, that refers to the same <code>image</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-oldLayout-01181",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>oldLayout</code> and <code>newLayout</code> members of an element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be equal"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcQueueFamilyIndex-01182",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called within a render pass instance, the <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> members of any element of <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-01183",
+ "text": " Any pipeline stage included in <code>srcStageMask</code> or <code>dstStageMask</code> <strong class=\"purple\">must</strong> be supported by the capabilities of the queue family specified by the <code>queueFamilyIndex</code> member of the <a href=\"#VkCommandPoolCreateInfo\">VkCommandPoolCreateInfo</a> structure that was used to create the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from, as specified in the <a href=\"#synchronization-pipeline-stages-supported\">table of supported pipeline stages</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-pMemoryBarriers-01184",
+ "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> and <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>srcAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>srcStageMask</code>, as specified in the <a href=\"#synchronization-access-types-supported\">table of supported access types</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-pMemoryBarriers-01185",
+ "text": " Each element of <code>pMemoryBarriers</code>, <code>pBufferMemoryBarriers</code> and <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> not have any access flag included in its <code>dstAccessMask</code> member if that bit is not supported by any of the pipeline stages in <code>dstStageMask</code>, as specified in the <a href=\"#synchronization-access-types-supported\">table of supported access types</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-parameter",
+ "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-srcStageMask-requiredbitmask",
+ "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-parameter",
+ "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dstStageMask-requiredbitmask",
+ "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dependencyFlags-parameter",
+ "text": " <code>dependencyFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDependencyFlagBits\">VkDependencyFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-pMemoryBarriers-parameter",
+ "text": " If <code>memoryBarrierCount</code> is not <code>0</code>, <code>pMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryBarrierCount</code> valid <code>VkMemoryBarrier</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-pBufferMemoryBarriers-parameter",
+ "text": " If <code>bufferMemoryBarrierCount</code> is not <code>0</code>, <code>pBufferMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bufferMemoryBarrierCount</code> valid <code>VkBufferMemoryBarrier</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-pImageMemoryBarriers-parameter",
+ "text": " If <code>imageMemoryBarrierCount</code> is not <code>0</code>, <code>pImageMemoryBarriers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageMemoryBarrierCount</code> valid <code>VkImageMemoryBarrier</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdPipelineBarrier-dependencyFlags-01186",
+ "text": " If <code>vkCmdPipelineBarrier</code> is called outside of a render pass instance, <code>dependencyFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>"
+ }
+ ]
+ },
+ "VkMemoryBarrier": {
+ "core": [
+ {
+ "vuid": "VUID-VkMemoryBarrier-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_BARRIER</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryBarrier-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryBarrier-srcAccessMask-parameter",
+ "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkMemoryBarrier-dstAccessMask-parameter",
+ "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ }
+ ]
+ },
+ "VkBufferMemoryBarrier": {
+ "core": [
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-offset-01187",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-size-01188",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-size-01189",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to than the size of <code>buffer</code> minus <code>offset</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01196",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, and <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> are not <code>VK_QUEUE_FAMILY_IGNORED</code>, at least one of them <strong class=\"purple\">must</strong> be the same as the family of the queue that will execute this barrier"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01931",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-srcAccessMask-parameter",
+ "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-dstAccessMask-parameter",
+ "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01190",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> both be <code>VK_QUEUE_FAMILY_IGNORED</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01192",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> either both be <code>VK_QUEUE_FAMILY_IGNORED</code>, or both be a valid queue family (see <a href=\"#devsandqueues-queueprops\">Queue Family Properties</a>)"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01191",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, at least one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01763",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, and one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, the other <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code> or a special queue family reserved for external memory ownership transfers, as described in <a href=\"#synchronization-queue-transfers\">Queue Family Ownership Transfer</a>."
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01193",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> also be <code>VK_QUEUE_FAMILY_IGNORED</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01764",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in <a href=\"#synchronization-queue-transfers\">Queue Family Ownership Transfer</a>."
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryBarrier-buffer-01765",
+ "text": " If <code>buffer</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>dstQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in <a href=\"#synchronization-queue-transfers\">Queue Family Ownership Transfer</a>."
+ }
+ ]
+ },
+ "VkImageMemoryBarrier": {
+ "core": [
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01197",
+ "text": " <code>oldLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or the current layout of the image subresources affected by the barrier"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-newLayout-01198",
+ "text": " <code>newLayout</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01205",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, and <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> are not <code>VK_QUEUE_FAMILY_IGNORED</code>, at least one of them <strong class=\"purple\">must</strong> be the same as the family of the queue that will execute this barrier"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01486",
+ "text": " <code>subresourceRange.baseMipLevel</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01724",
+ "text": " If <code>subresourceRange.levelCount</code> is not <code>VK_REMAINING_MIP_LEVELS</code>, <span class=\"eq\"><code>subresourceRange.baseMipLevel</code> + <code>subresourceRange.levelCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01488",
+ "text": " <code>subresourceRange.baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-01725",
+ "text": " If <code>subresourceRange.layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <span class=\"eq\"><code>subresourceRange.baseArrayLayer</code> + <code>subresourceRange.layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01207",
+ "text": " If <code>image</code> has a depth/stencil format with both depth and stencil components, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> include both <code>VK_IMAGE_ASPECT_DEPTH_BIT</code> and <code>VK_IMAGE_ASPECT_STENCIL_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01208",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01209",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01210",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01211",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_SAMPLED_BIT</code> or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01212",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01213",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01932",
+ "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkSampleLocationsInfoEXT\">VkSampleLocationsInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-srcAccessMask-parameter",
+ "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-dstAccessMask-parameter",
+ "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-parameter",
+ "text": " <code>oldLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-newLayout-parameter",
+ "text": " <code>newLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-subresourceRange-parameter",
+ "text": " <code>subresourceRange</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceRange</code> structure"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01199",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> both be <code>VK_QUEUE_FAMILY_IGNORED</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01200",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code>, <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> either both be <code>VK_QUEUE_FAMILY_IGNORED</code>, or both be a valid queue family (see <a href=\"#devsandqueues-queueprops\">Queue Family Properties</a>)."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01381",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, at least one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01766",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_CONCURRENT</code>, and one of <code>srcQueueFamilyIndex</code> and <code>dstQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, the other <strong class=\"purple\">must</strong> be <code>VK_QUEUE_FAMILY_IGNORED</code> or a special queue family reserved for external memory transfers, as described in <a href=\"#synchronization-queue-transfers\">Queue Family Ownership Transfer</a>."
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01201",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is <code>VK_QUEUE_FAMILY_IGNORED</code>, <code>dstQueueFamilyIndex</code> <strong class=\"purple\">must</strong> also be <code>VK_QUEUE_FAMILY_IGNORED</code>."
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01767",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>srcQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in <a href=\"#synchronization-queue-transfers\">Queue Family Ownership Transfer</a>."
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01768",
+ "text": " If <code>image</code> was created with a sharing mode of <code>VK_SHARING_MODE_EXCLUSIVE</code> and <code>dstQueueFamilyIndex</code> is not <code>VK_QUEUE_FAMILY_IGNORED</code>, it <strong class=\"purple\">must</strong> be a valid queue family or a special queue family reserved for external memory transfers, as described in <a href=\"#synchronization-queue-transfers\">Queue Family Ownership Transfer</a>."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01671",
+ "text": " If <code>image</code> has a single-plane color format or is not <em>disjoint</em>, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01672",
+ "text": " If <code>image</code> has a multi-planar format and the image is <em>disjoint</em>, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> include either at least one of <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, and <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>; or <strong class=\"purple\">must</strong> include <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-image-01673",
+ "text": " If <code>image</code> has a multi-planar format with only two planes, then the <code>aspectMask</code> member of <code>subresourceRange</code> <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01658",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryBarrier-oldLayout-01659",
+ "text": " If either <code>oldLayout</code> or <code>newLayout</code> is <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code> then <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"
+ }
+ ]
+ },
+ "vkQueueWaitIdle": {
+ "core": [
+ {
+ "vuid": "VUID-vkQueueWaitIdle-queue-parameter",
+ "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"
+ }
+ ]
+ },
+ "vkDeviceWaitIdle": {
+ "core": [
+ {
+ "vuid": "VUID-vkDeviceWaitIdle-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ }
+ ]
+ },
+ "vkCreateRenderPass": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateRenderPass-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateRenderPass-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkRenderPassCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateRenderPass-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateRenderPass-pRenderPass-parameter",
+ "text": " <code>pRenderPass</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkRenderPass</code> handle"
+ }
+ ]
+ },
+ "VkRenderPassCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-None-00832",
+ "text": " If any two subpasses operate on attachments with overlapping ranges of the same <code>VkDeviceMemory</code> object, and at least one subpass writes to that area of <code>VkDeviceMemory</code>, a subpass dependency <strong class=\"purple\">must</strong> be included (either directly or via some intermediate subpasses) between them"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-attachment-00833",
+ "text": " If the <code>attachment</code> member of any element of <code>pInputAttachments</code>, <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code>, or the attachment indexed by any element of <code>pPreserveAttachments</code> in any element of <code>pSubpasses</code> is bound to a range of a <code>VkDeviceMemory</code> object that overlaps with any other attachment in any subpass (including the same subpass), the <code>VkAttachmentDescription</code> structures describing them <strong class=\"purple\">must</strong> include <code>VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT</code> in <code>flags</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-attachment-00834",
+ "text": " If the <code>attachment</code> member of any element of <code>pInputAttachments</code>, <code>pColorAttachments</code>, <code>pResolveAttachments</code> or <code>pDepthStencilAttachment</code>, or any element of <code>pPreserveAttachments</code> in any element of <code>pSubpasses</code> is not <code>VK_ATTACHMENT_UNUSED</code>, it <strong class=\"purple\">must</strong> be less than <code>attachmentCount</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pPreserveAttachments-00835",
+ "text": " The value of each element of the <code>pPreserveAttachments</code> member in each element of <code>pSubpasses</code> <strong class=\"purple\">must</strong> not be <code>VK_ATTACHMENT_UNUSED</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-00836",
+ "text": " For any member of <code>pAttachments</code> with a <code>loadOp</code> equal to <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>, the first use of that attachment <strong class=\"purple\">must</strong> not specify a <code>layout</code> equal to <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code>."
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pDependencies-00837",
+ "text": " For any element of <code>pDependencies</code>, if the <code>srcSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, all stage flags included in the <code>srcStageMask</code> member of that dependency <strong class=\"purple\">must</strong> be a pipeline stage supported by the <a href=\"#synchronization-pipeline-stages-types\">pipeline</a> identified by the <code>pipelineBindPoint</code> member of the source subpass."
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pDependencies-00838",
+ "text": " For any element of <code>pDependencies</code>, if the <code>dstSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, all stage flags included in the <code>dstStageMask</code> member of that dependency <strong class=\"purple\">must</strong> be a pipeline stage supported by the <a href=\"#synchronization-pipeline-stages-types\">pipeline</a> identified by the <code>pipelineBindPoint</code> member of the source subpass."
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a> or <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-parameter",
+ "text": " If <code>attachmentCount</code> is not <code>0</code>, <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkAttachmentDescription</code> structures"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pSubpasses-parameter",
+ "text": " <code>pSubpasses</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>subpassCount</code> valid <code>VkSubpassDescription</code> structures"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pDependencies-parameter",
+ "text": " If <code>dependencyCount</code> is not <code>0</code>, <code>pDependencies</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dependencyCount</code> valid <code>VkSubpassDependency</code> structures"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-subpassCount-arraylength",
+ "text": " <code>subpassCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-01566",
+ "text": " For any member of <code>pAttachments</code> with a <code>loadOp</code> equal to <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>, the first use of that attachment <strong class=\"purple\">must</strong> not specify a <code>layout</code> equal to <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code>."
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pAttachments-01567",
+ "text": " For any member of <code>pAttachments</code> with a <code>stencilLoadOp</code> equal to <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>, the first use of that attachment <strong class=\"purple\">must</strong> not specify a <code>layout</code> equal to <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code>."
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pNext-01926",
+ "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a>, the <code>subpass</code> member of each element of its <code>pAspectReferences</code> member <strong class=\"purple\">must</strong> be less than <code>subpassCount</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pNext-01927",
+ "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a>, the <code>inputAttachmentIndex</code> member of each element of its <code>pAspectReferences</code> member <strong class=\"purple\">must</strong> be less than the value of <code>inputAttachmentCount</code> in the member of <code>pSubpasses</code> identified by its <code>subpass</code> member"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pNext-01963",
+ "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a>, the <code>aspectMask</code> member of any element of <code>pAspectReferences</code> <strong class=\"purple\">must</strong> only include aspects that are present in images of the <code>format</code> of the input attachment specified by the <code>subpass</code> and <code>inputAttachment</code> of the same element of <code>pAspectReferences</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pNext-01928",
+ "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>, and its <code>subpassCount</code> member is not zero, that member <strong class=\"purple\">must</strong> be equal to the value of <code>subpassCount</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pNext-01929",
+ "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>, if its <code>dependencyCount</code> member is not zero, it <strong class=\"purple\">must</strong> be equal to <code>dependencyCount</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassCreateInfo-pNext-01930",
+ "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkRenderPassMultiviewCreateInfo\">VkRenderPassMultiviewCreateInfo</a>, for each non-zero element of <code>pViewOffsets</code>, the <code>srcSubpass</code> and <code>dstSubpass</code> members of <code>pDependencies</code> at the same index <strong class=\"purple\">must</strong> not be equal"
+ }
+ ]
+ },
+ "VkRenderPassMultiviewCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pCorrelationMasks-00841",
+ "text": " Each view index <strong class=\"purple\">must</strong> not be set in more than one element of <code>pCorrelationMasks</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassMultiviewCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pViewMasks-parameter",
+ "text": " If <code>subpassCount</code> is not <code>0</code>, <code>pViewMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>subpassCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pViewOffsets-parameter",
+ "text": " If <code>dependencyCount</code> is not <code>0</code>, <code>pViewOffsets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dependencyCount</code> <code>int32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkRenderPassMultiviewCreateInfo-pCorrelationMasks-parameter",
+ "text": " If <code>correlationMaskCount</code> is not <code>0</code>, <code>pCorrelationMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>correlationMaskCount</code> <code>uint32_t</code> values"
+ }
+ ]
+ },
+ "VkAttachmentDescription": {
+ "core": [
+ {
+ "vuid": "VUID-VkAttachmentDescription-finalLayout-00843",
+ "text": " <code>finalLayout</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAttachmentDescriptionFlagBits\">VkAttachmentDescriptionFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-samples-parameter",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-loadOp-parameter",
+ "text": " <code>loadOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentLoadOp\">VkAttachmentLoadOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-storeOp-parameter",
+ "text": " <code>storeOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentStoreOp\">VkAttachmentStoreOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-stencilLoadOp-parameter",
+ "text": " <code>stencilLoadOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentLoadOp\">VkAttachmentLoadOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-stencilStoreOp-parameter",
+ "text": " <code>stencilStoreOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkAttachmentStoreOp\">VkAttachmentStoreOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-initialLayout-parameter",
+ "text": " <code>initialLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-VkAttachmentDescription-finalLayout-parameter",
+ "text": " <code>finalLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ }
+ ]
+ },
+ "VkRenderPassInputAttachmentAspectCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkRenderPassInputAttachmentAspectCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassInputAttachmentAspectCreateInfo-pAspectReferences-parameter",
+ "text": " <code>pAspectReferences</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>aspectReferenceCount</code> valid <code>VkInputAttachmentAspectReference</code> structures"
+ },
+ {
+ "vuid": "VUID-VkRenderPassInputAttachmentAspectCreateInfo-aspectReferenceCount-arraylength",
+ "text": " <code>aspectReferenceCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkInputAttachmentAspectReference": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkInputAttachmentAspectReference-aspectMask-01964",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_ASPECT_METADATA_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkInputAttachmentAspectReference-aspectMask-parameter",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkInputAttachmentAspectReference-aspectMask-requiredbitmask",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "VkSubpassDescription": {
+ "core": [
+ {
+ "vuid": "VUID-VkSubpassDescription-pipelineBindPoint-00844",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-colorAttachmentCount-00845",
+ "text": " <code>colorAttachmentCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxColorAttachments</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-loadOp-00846",
+ "text": " If the first use of an attachment in this render pass is as an input attachment, and the attachment is not also used as a color or depth/stencil attachment in the same subpass, then <code>loadOp</code> <strong class=\"purple\">must</strong> not be <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00847",
+ "text": " If <code>pResolveAttachments</code> is not <code>NULL</code>, for each resolve attachment that does not have the value <code>VK_ATTACHMENT_UNUSED</code>, the corresponding color attachment <strong class=\"purple\">must</strong> not have the value <code>VK_ATTACHMENT_UNUSED</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00848",
+ "text": " If <code>pResolveAttachments</code> is not <code>NULL</code>, the sample count of each element of <code>pColorAttachments</code> <strong class=\"purple\">must</strong> be anything other than <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00849",
+ "text": " Each element of <code>pResolveAttachments</code> <strong class=\"purple\">must</strong> have a sample count of <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pResolveAttachments-00850",
+ "text": " Each element of <code>pResolveAttachments</code> <strong class=\"purple\">must</strong> have the same <a href=\"#VkFormat\">VkFormat</a> as its corresponding color attachment"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pColorAttachments-01417",
+ "text": " All attachments in <code>pColorAttachments</code> that are not <code>VK_ATTACHMENT_UNUSED</code> <strong class=\"purple\">must</strong> have the same sample count"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-None-00852",
+ "text": " If any input attachments are <code>VK_ATTACHMENT_UNUSED</code>, then any pipelines bound during the subpass <strong class=\"purple\">must</strong> not access those input attachments from the fragment shader"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-attachment-00853",
+ "text": " The <code>attachment</code> member of each element of <code>pPreserveAttachments</code> <strong class=\"purple\">must</strong> not be <code>VK_ATTACHMENT_UNUSED</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pPreserveAttachments-00854",
+ "text": " Each element of <code>pPreserveAttachments</code> <strong class=\"purple\">must</strong> not also be an element of any other member of the subpass description"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-layout-00855",
+ "text": " If any attachment is used as both an input attachment and a color or depth/stencil attachment, then each use <strong class=\"purple\">must</strong> use the same <code>layout</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSubpassDescriptionFlagBits\">VkSubpassDescriptionFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pipelineBindPoint-parameter",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pInputAttachments-parameter",
+ "text": " If <code>inputAttachmentCount</code> is not <code>0</code>, <code>pInputAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>inputAttachmentCount</code> valid <code>VkAttachmentReference</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pColorAttachments-parameter",
+ "text": " If <code>colorAttachmentCount</code> is not <code>0</code>, <code>pColorAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>colorAttachmentCount</code> valid <code>VkAttachmentReference</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pResolveAttachments-parameter",
+ "text": " If <code>colorAttachmentCount</code> is not <code>0</code>, and <code>pResolveAttachments</code> is not <code>NULL</code>, <code>pResolveAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>colorAttachmentCount</code> valid <code>VkAttachmentReference</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pDepthStencilAttachment-parameter",
+ "text": " If <code>pDepthStencilAttachment</code> is not <code>NULL</code>, <code>pDepthStencilAttachment</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAttachmentReference</code> structure"
+ },
+ {
+ "vuid": "VUID-VkSubpassDescription-pPreserveAttachments-parameter",
+ "text": " If <code>preserveAttachmentCount</code> is not <code>0</code>, <code>pPreserveAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>preserveAttachmentCount</code> <code>uint32_t</code> values"
+ }
+ ],
+ "(VK_AMD_mixed_attachment_samples)": [
+ {
+ "vuid": "VUID-VkSubpassDescription-pColorAttachments-01506",
+ "text": " All attachments in <code>pColorAttachments</code> that are not <code>VK_ATTACHMENT_UNUSED</code> <strong class=\"purple\">must</strong> have a sample count that is smaller than or equal to the sample count of <code>pDepthStencilAttachment</code> if it is not <code>VK_ATTACHMENT_UNUSED</code>"
+ }
+ ],
+ "!(VK_AMD_mixed_attachment_samples)+!(VK_NV_framebuffer_mixed_samples)": [
+ {
+ "vuid": "VUID-VkSubpassDescription-pDepthStencilAttachment-01418",
+ "text": " If <code>pDepthStencilAttachment</code> is not <code>VK_ATTACHMENT_UNUSED</code> and any attachments in <code>pColorAttachments</code> are not <code>VK_ATTACHMENT_UNUSED</code>, they <strong class=\"purple\">must</strong> have the same sample count"
+ }
+ ],
+ "(VK_NVX_multiview_per_view_attributes)": [
+ {
+ "vuid": "VUID-VkSubpassDescription-flags-00856",
+ "text": " If <code>flags</code> includes <code>VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX</code>, it <strong class=\"purple\">must</strong> also include <code>VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX</code>."
+ }
+ ]
+ },
+ "VkAttachmentReference": {
+ "core": [
+ {
+ "vuid": "VUID-VkAttachmentReference-layout-00857",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>"
+ },
+ {
+ "vuid": "VUID-VkAttachmentReference-layout-parameter",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ }
+ ]
+ },
+ "VkSubpassDependency": {
+ "core": [
+ {
+ "vuid": "VUID-VkSubpassDependency-srcSubpass-00858",
+ "text": " If <code>srcSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dstSubpass-00859",
+ "text": " If <code>dstSubpass</code> is not <code>VK_SUBPASS_EXTERNAL</code>, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not include <code>VK_PIPELINE_STAGE_HOST_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcStageMask-00860",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dstStageMask-00861",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcStageMask-00862",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>srcStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dstStageMask-00863",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>dstStageMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code> or <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcSubpass-00864",
+ "text": " <code>srcSubpass</code> <strong class=\"purple\">must</strong> be less than or equal to <code>dstSubpass</code>, unless one of them is <code>VK_SUBPASS_EXTERNAL</code>, to avoid cyclic dependencies and ensure a valid execution order"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcSubpass-00865",
+ "text": " <code>srcSubpass</code> and <code>dstSubpass</code> <strong class=\"purple\">must</strong> not both be equal to <code>VK_SUBPASS_EXTERNAL</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcSubpass-00866",
+ "text": " If <code>srcSubpass</code> is equal to <code>dstSubpass</code>, <code>srcStageMask</code> and <code>dstStageMask</code> <strong class=\"purple\">must</strong> only contain one of <code>VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT</code>, <code>VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT</code>, <code>VK_PIPELINE_STAGE_VERTEX_INPUT_BIT</code>, <code>VK_PIPELINE_STAGE_VERTEX_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT</code>, <code>VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT</code>, <code>VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT</code>, <code>VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT</code>, <code>VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT</code>, or <code>VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcSubpass-00867",
+ "text": " If <code>srcSubpass</code> is equal to <code>dstSubpass</code> and not all of the stages in <code>srcStageMask</code> and <code>dstStageMask</code> are <a href=\"#synchronization-framebuffer-regions\">framebuffer-space stages</a>, the <a href=\"#synchronization-pipeline-stages-order\">logically latest</a> pipeline stage in <code>srcStageMask</code> <strong class=\"purple\">must</strong> be <a href=\"#synchronization-pipeline-stages-order\">logically earlier</a> than or equal to the <a href=\"#synchronization-pipeline-stages-order\">logically earliest</a> pipeline stage in <code>dstStageMask</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcAccessMask-00868",
+ "text": " Any access flag included in <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be supported by one of the pipeline stages in <code>srcStageMask</code>, as specified in the <a href=\"#synchronization-access-types-supported\">table of supported access types</a>."
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dstAccessMask-00869",
+ "text": " Any access flag included in <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be supported by one of the pipeline stages in <code>dstStageMask</code>, as specified in the <a href=\"#synchronization-access-types-supported\">table of supported access types</a>."
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcStageMask-parameter",
+ "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcStageMask-requiredbitmask",
+ "text": " <code>srcStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dstStageMask-parameter",
+ "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dstStageMask-requiredbitmask",
+ "text": " <code>dstStageMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcAccessMask-parameter",
+ "text": " <code>srcAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dstAccessMask-parameter",
+ "text": " <code>dstAccessMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkAccessFlagBits\">VkAccessFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dependencyFlags-parameter",
+ "text": " <code>dependencyFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDependencyFlagBits\">VkDependencyFlagBits</a> values"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-VkSubpassDependency-dependencyFlags-00870",
+ "text": " If <code>dependencyFlags</code> includes <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>, then both <code>srcSubpass</code> and <code>dstSubpass</code> <strong class=\"purple\">must</strong> not equal <code>VK_SUBPASS_EXTERNAL</code>"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-dependencyFlags-00871",
+ "text": " If <code>dependencyFlags</code> includes <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>, then the render pass <strong class=\"purple\">must</strong> have multiview enabled"
+ },
+ {
+ "vuid": "VUID-VkSubpassDependency-srcSubpass-00872",
+ "text": " If <code>srcSubpass</code> equals <code>dstSubpass</code> and that subpass has more than one bit set in the view mask, then <code>dependencyFlags</code> <strong class=\"purple\">must</strong> include <code>VK_DEPENDENCY_VIEW_LOCAL_BIT</code>"
+ }
+ ]
+ },
+ "vkDestroyRenderPass": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyRenderPass-renderPass-00873",
+ "text": " All submitted commands that refer to <code>renderPass</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyRenderPass-renderPass-00874",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>renderPass</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyRenderPass-renderPass-00875",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>renderPass</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyRenderPass-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyRenderPass-renderPass-parameter",
+ "text": " If <code>renderPass</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyRenderPass-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyRenderPass-renderPass-parent",
+ "text": " If <code>renderPass</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateFramebuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateFramebuffer-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateFramebuffer-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkFramebufferCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateFramebuffer-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateFramebuffer-pFramebuffer-parameter",
+ "text": " <code>pFramebuffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFramebuffer</code> handle"
+ }
+ ]
+ },
+ "VkFramebufferCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-attachmentCount-00876",
+ "text": " <code>attachmentCount</code> <strong class=\"purple\">must</strong> be equal to the attachment count specified in <code>renderPass</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00877",
+ "text": " Each element of <code>pAttachments</code> that is used as a color attachment or resolve attachment by <code>renderPass</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value including <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00878",
+ "text": " Each element of <code>pAttachments</code> that is used as a depth/stencil attachment by <code>renderPass</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value including <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00879",
+ "text": " Each element of <code>pAttachments</code> that is used as an input attachment by <code>renderPass</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value including <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00880",
+ "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have been created with an <a href=\"#VkFormat\">VkFormat</a> value that matches the <a href=\"#VkFormat\">VkFormat</a> specified by the corresponding <code>VkAttachmentDescription</code> in <code>renderPass</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00881",
+ "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have been created with a <code>samples</code> value that matches the <code>samples</code> value specified by the corresponding <code>VkAttachmentDescription</code> in <code>renderPass</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00882",
+ "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have dimensions at least as large as the corresponding framebuffer dimension"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00883",
+ "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> only specify a single mip level"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00884",
+ "text": " Each element of <code>pAttachments</code> <strong class=\"purple\">must</strong> have been created with the identity swizzle"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-width-00885",
+ "text": " <code>width</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-width-00886",
+ "text": " <code>width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferWidth</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-height-00887",
+ "text": " <code>height</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-height-00888",
+ "text": " <code>height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferHeight</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-layers-00889",
+ "text": " <code>layers</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-layers-00890",
+ "text": " <code>layers</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferLayers</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-renderPass-parameter",
+ "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-parameter",
+ "text": " If <code>attachmentCount</code> is not <code>0</code>, <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkImageView</code> handles"
+ },
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-commonparent",
+ "text": " Both of <code>renderPass</code>, and the elements of <code>pAttachments</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkFramebufferCreateInfo-pAttachments-00891",
+ "text": " Each element of <code>pAttachments</code> that is a 2D or 2D array image view taken from a 3D image <strong class=\"purple\">must</strong> not be a depth/stencil format"
+ }
+ ]
+ },
+ "vkDestroyFramebuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyFramebuffer-framebuffer-00892",
+ "text": " All submitted commands that refer to <code>framebuffer</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyFramebuffer-framebuffer-00893",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>framebuffer</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyFramebuffer-framebuffer-00894",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>framebuffer</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyFramebuffer-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyFramebuffer-framebuffer-parameter",
+ "text": " If <code>framebuffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>framebuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkFramebuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyFramebuffer-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyFramebuffer-framebuffer-parent",
+ "text": " If <code>framebuffer</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCmdBeginRenderPass": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00895",
+ "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00897",
+ "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_SAMPLED_BIT</code> or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00898",
+ "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00899",
+ "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00900",
+ "text": " If any of the <code>initialLayout</code> members of the <code>VkAttachmentDescription</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is not <code>VK_IMAGE_LAYOUT_UNDEFINED</code>, then each such <code>initialLayout</code> <strong class=\"purple\">must</strong> be equal to the current layout of the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-srcStageMask-00901",
+ "text": " The <code>srcStageMask</code> and <code>dstStageMask</code> members of any element of the <code>pDependencies</code> member of <a href=\"#VkRenderPassCreateInfo\">VkRenderPassCreateInfo</a> used to create <code>renderPass</code> <strong class=\"purple\">must</strong> be supported by the capabilities of the queue family identified by the <code>queueFamilyIndex</code> member of the <a href=\"#VkCommandPoolCreateInfo\">VkCommandPoolCreateInfo</a> used to create the command pool which <code>commandBuffer</code> was allocated from."
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-pRenderPassBegin-parameter",
+ "text": " <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkRenderPassBeginInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-contents-parameter",
+ "text": " <code>contents</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSubpassContents\">VkSubpassContents</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-bufferlevel",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-00896",
+ "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL</code>, or <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-vkCmdBeginRenderPass-initialLayout-01758",
+ "text": " If any of the <code>initialLayout</code> or <code>finalLayout</code> member of the <code>VkAttachmentDescription</code> structures or the <code>layout</code> member of the <code>VkAttachmentReference</code> structures specified when creating the render pass specified in the <code>renderPass</code> member of <code>pRenderPassBegin</code> is <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL</code>, or <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> then the corresponding attachment image subresource of the framebuffer specified in the <code>framebuffer</code> member of <code>pRenderPassBegin</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code> set"
+ }
+ ]
+ },
+ "VkRenderPassBeginInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-clearValueCount-00902",
+ "text": " <code>clearValueCount</code> <strong class=\"purple\">must</strong> be greater than the largest attachment index in <code>renderPass</code> that specifies a <code>loadOp</code> (or <code>stencilLoadOp</code>, if the attachment has a depth/stencil format) of <code>VK_ATTACHMENT_LOAD_OP_CLEAR</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-clearValueCount-00903",
+ "text": " If <code>clearValueCount</code> is not <code>0</code>, <code>pClearValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>clearValueCount</code> valid <code>VkClearValue</code> unions"
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-renderPass-00904",
+ "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the <code>renderPass</code> member of the <code>VkFramebufferCreateInfo</code> structure specified when creating <code>framebuffer</code>."
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupRenderPassBeginInfo\">VkDeviceGroupRenderPassBeginInfo</a> or <a href=\"#VkRenderPassSampleLocationsBeginInfoEXT\">VkRenderPassSampleLocationsBeginInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-renderPass-parameter",
+ "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-framebuffer-parameter",
+ "text": " <code>framebuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkFramebuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkRenderPassBeginInfo-commonparent",
+ "text": " Both of <code>framebuffer</code>, and <code>renderPass</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkRenderPassSampleLocationsBeginInfoEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkRenderPassSampleLocationsBeginInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkRenderPassSampleLocationsBeginInfoEXT-pAttachmentInitialSampleLocations-parameter",
+ "text": " If <code>attachmentInitialSampleLocationsCount</code> is not <code>0</code>, <code>pAttachmentInitialSampleLocations</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentInitialSampleLocationsCount</code> valid <code>VkAttachmentSampleLocationsEXT</code> structures"
+ },
+ {
+ "vuid": "VUID-VkRenderPassSampleLocationsBeginInfoEXT-pPostSubpassSampleLocations-parameter",
+ "text": " If <code>postSubpassSampleLocationsCount</code> is not <code>0</code>, <code>pPostSubpassSampleLocations</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>postSubpassSampleLocationsCount</code> valid <code>VkSubpassSampleLocationsEXT</code> structures"
+ }
+ ]
+ },
+ "VkAttachmentSampleLocationsEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkAttachmentSampleLocationsEXT-attachmentIndex-01531",
+ "text": " <code>attachmentIndex</code> <strong class=\"purple\">must</strong> be less than the <code>attachmentCount</code> specified in <a href=\"#VkRenderPassCreateInfo\">VkRenderPassCreateInfo</a> the render pass specified by <a href=\"#VkRenderPassBeginInfo\">VkRenderPassBeginInfo</a>::<code>renderPass</code> was created with"
+ },
+ {
+ "vuid": "VUID-VkAttachmentSampleLocationsEXT-sampleLocationsInfo-parameter",
+ "text": " <code>sampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampleLocationsInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkSubpassSampleLocationsEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkSubpassSampleLocationsEXT-subpassIndex-01532",
+ "text": " <code>subpassIndex</code> <strong class=\"purple\">must</strong> be less than the <code>subpassCount</code> specified in <a href=\"#VkRenderPassCreateInfo\">VkRenderPassCreateInfo</a> the render pass specified by <a href=\"#VkRenderPassBeginInfo\">VkRenderPassBeginInfo</a>::<code>renderPass</code> was created with"
+ },
+ {
+ "vuid": "VUID-VkSubpassSampleLocationsEXT-sampleLocationsInfo-parameter",
+ "text": " <code>sampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampleLocationsInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkDeviceGroupRenderPassBeginInfo": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceMask-00905",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask value"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceMask-00906",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceMask-00907",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a subset of the command buffer’s initial device mask"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-deviceRenderAreaCount-00908",
+ "text": " <code>deviceRenderAreaCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device."
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupRenderPassBeginInfo-pDeviceRenderAreas-parameter",
+ "text": " If <code>deviceRenderAreaCount</code> is not <code>0</code>, <code>pDeviceRenderAreas</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>deviceRenderAreaCount</code> <code>VkRect2D</code> structures"
+ }
+ ]
+ },
+ "vkGetRenderAreaGranularity": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetRenderAreaGranularity-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetRenderAreaGranularity-renderPass-parameter",
+ "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetRenderAreaGranularity-pGranularity-parameter",
+ "text": " <code>pGranularity</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExtent2D</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetRenderAreaGranularity-renderPass-parent",
+ "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCmdNextSubpass": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdNextSubpass-None-00909",
+ "text": " The current subpass index <strong class=\"purple\">must</strong> be less than the number of subpasses in the render pass minus one"
+ },
+ {
+ "vuid": "VUID-vkCmdNextSubpass-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdNextSubpass-contents-parameter",
+ "text": " <code>contents</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSubpassContents\">VkSubpassContents</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdNextSubpass-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdNextSubpass-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdNextSubpass-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdNextSubpass-bufferlevel",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"
+ }
+ ]
+ },
+ "vkCmdEndRenderPass": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdEndRenderPass-None-00910",
+ "text": " The current subpass index <strong class=\"purple\">must</strong> be equal to the number of subpasses in the render pass minus one"
+ },
+ {
+ "vuid": "VUID-vkCmdEndRenderPass-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdEndRenderPass-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdEndRenderPass-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdEndRenderPass-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdEndRenderPass-bufferlevel",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a primary <code>VkCommandBuffer</code>"
+ }
+ ]
+ },
+ "vkCreateShaderModule": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateShaderModule-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateShaderModule-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkShaderModuleCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateShaderModule-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateShaderModule-pShaderModule-parameter",
+ "text": " <code>pShaderModule</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkShaderModule</code> handle"
+ }
+ ]
+ },
+ "VkShaderModuleCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-codeSize-01085",
+ "text": " <code>codeSize</code> <strong class=\"purple\">must</strong> be greater than 0"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01089",
+ "text": " <code>pCode</code> <strong class=\"purple\">must</strong> declare the <code>Shader</code> capability for SPIR-V code"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01090",
+ "text": " <code>pCode</code> <strong class=\"purple\">must</strong> not declare any capability that is not supported by the API, as described by the <a href=\"#spirvenv-module-validation\">Capabilities</a> section of the <a href=\"#spirvenv-capabilities\">SPIR-V Environment</a> appendix"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01091",
+ "text": " If <code>pCode</code> declares any of the capabilities listed as <strong class=\"purple\">optional</strong> in the <a href=\"#spirvenv-capabilities-table\">SPIR-V Environment</a> appendix, the corresponding feature(s) <strong class=\"purple\">must</strong> be enabled."
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkShaderModuleValidationCacheCreateInfoEXT\">VkShaderModuleValidationCacheCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-parameter",
+ "text": " <code>pCode</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of \\(codeSize \\over 4\\) <code>uint32_t</code> values"
+ }
+ ],
+ "!(VK_NV_glsl_shader)": [
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-codeSize-01086",
+ "text": " <code>codeSize</code> <strong class=\"purple\">must</strong> be a multiple of 4"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01087",
+ "text": " <code>pCode</code> <strong class=\"purple\">must</strong> point to valid SPIR-V code, formatted and packed as described by the <a href=\"#spirv-spec\">Khronos SPIR-V Specification</a>"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01088",
+ "text": " <code>pCode</code> <strong class=\"purple\">must</strong> adhere to the validation rules described by the <a href=\"#spirvenv-module-validation\">Validation Rules within a Module</a> section of the <a href=\"#spirvenv-capabilities\">SPIR-V Environment</a> appendix"
+ }
+ ],
+ "(VK_NV_glsl_shader)": [
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01376",
+ "text": " If <code>pCode</code> points to SPIR-V code, <code>codeSize</code> <strong class=\"purple\">must</strong> be a multiple of 4"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01377",
+ "text": " <code>pCode</code> <strong class=\"purple\">must</strong> point to either valid SPIR-V code, formatted and packed as described by the <a href=\"#spirv-spec\">Khronos SPIR-V Specification</a> or valid GLSL code which <strong class=\"purple\">must</strong> be written to the GL_KHR_vulkan_glsl extension specification"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01378",
+ "text": " If <code>pCode</code> points to SPIR-V code, that code <strong class=\"purple\">must</strong> adhere to the validation rules described by the <a href=\"#spirvenv-module-validation\">Validation Rules within a Module</a> section of the <a href=\"#spirvenv-capabilities\">SPIR-V Environment</a> appendix"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleCreateInfo-pCode-01379",
+ "text": " If <code>pCode</code> points to GLSL code, it <strong class=\"purple\">must</strong> be valid GLSL code written to the GL_KHR_vulkan_glsl GLSL extension specification"
+ }
+ ]
+ },
+ "VkShaderModuleValidationCacheCreateInfoEXT": {
+ "(VK_EXT_validation_cache)": [
+ {
+ "vuid": "VUID-VkShaderModuleValidationCacheCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkShaderModuleValidationCacheCreateInfoEXT-validationCache-parameter",
+ "text": " <code>validationCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"
+ }
+ ]
+ },
+ "vkDestroyShaderModule": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyShaderModule-shaderModule-01092",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>shaderModule</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyShaderModule-shaderModule-01093",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>shaderModule</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyShaderModule-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyShaderModule-shaderModule-parameter",
+ "text": " If <code>shaderModule</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>shaderModule</code> <strong class=\"purple\">must</strong> be a valid <code>VkShaderModule</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyShaderModule-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyShaderModule-shaderModule-parent",
+ "text": " If <code>shaderModule</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateValidationCacheEXT": {
+ "(VK_EXT_validation_cache)": [
+ {
+ "vuid": "VUID-vkCreateValidationCacheEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateValidationCacheEXT-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkValidationCacheCreateInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateValidationCacheEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateValidationCacheEXT-pValidationCache-parameter",
+ "text": " <code>pValidationCache</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkValidationCacheEXT</code> handle"
+ }
+ ]
+ },
+ "VkValidationCacheCreateInfoEXT": {
+ "(VK_EXT_validation_cache)": [
+ {
+ "vuid": "VUID-VkValidationCacheCreateInfoEXT-initialDataSize-01534",
+ "text": " If <code>initialDataSize</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be equal to the size of <code>pInitialData</code>, as returned by <code>vkGetValidationCacheDataEXT</code> when <code>pInitialData</code> was originally retrieved"
+ },
+ {
+ "vuid": "VUID-VkValidationCacheCreateInfoEXT-initialDataSize-01535",
+ "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> have been retrieved from a previous call to <code>vkGetValidationCacheDataEXT</code>"
+ },
+ {
+ "vuid": "VUID-VkValidationCacheCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkValidationCacheCreateInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkValidationCacheCreateInfoEXT-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkValidationCacheCreateInfoEXT-pInitialData-parameter",
+ "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>initialDataSize</code> bytes"
+ }
+ ]
+ },
+ "vkMergeValidationCachesEXT": {
+ "(VK_EXT_validation_cache)": [
+ {
+ "vuid": "VUID-vkMergeValidationCachesEXT-dstCache-01536",
+ "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> not appear in the list of source caches"
+ },
+ {
+ "vuid": "VUID-vkMergeValidationCachesEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkMergeValidationCachesEXT-dstCache-parameter",
+ "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"
+ },
+ {
+ "vuid": "VUID-vkMergeValidationCachesEXT-pSrcCaches-parameter",
+ "text": " <code>pSrcCaches</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>srcCacheCount</code> valid <code>VkValidationCacheEXT</code> handles"
+ },
+ {
+ "vuid": "VUID-vkMergeValidationCachesEXT-srcCacheCount-arraylength",
+ "text": " <code>srcCacheCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkMergeValidationCachesEXT-dstCache-parent",
+ "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkMergeValidationCachesEXT-pSrcCaches-parent",
+ "text": " Each element of <code>pSrcCaches</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetValidationCacheDataEXT": {
+ "(VK_EXT_validation_cache)": [
+ {
+ "vuid": "VUID-vkGetValidationCacheDataEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetValidationCacheDataEXT-validationCache-parameter",
+ "text": " <code>validationCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetValidationCacheDataEXT-pDataSize-parameter",
+ "text": " <code>pDataSize</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>size_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetValidationCacheDataEXT-pData-parameter",
+ "text": " If the value referenced by <code>pDataSize</code> is not <code>0</code>, and <code>pData</code> is not <code>NULL</code>, <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pDataSize</code> bytes"
+ },
+ {
+ "vuid": "VUID-vkGetValidationCacheDataEXT-validationCache-parent",
+ "text": " <code>validationCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkDestroyValidationCacheEXT": {
+ "(VK_EXT_validation_cache)": [
+ {
+ "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-01537",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>validationCache</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-01538",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>validationCache</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyValidationCacheEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-parameter",
+ "text": " If <code>validationCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>validationCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkValidationCacheEXT</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyValidationCacheEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyValidationCacheEXT-validationCache-parent",
+ "text": " If <code>validationCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateComputePipelines": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateComputePipelines-flags-00695",
+ "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and the <code>basePipelineIndex</code> member of that same element is not <code>-1</code>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be less than the index into <code>pCreateInfos</code> that corresponds to that element"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-flags-00696",
+ "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, the base pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT</code> flag set"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-pipelineCache-parameter",
+ "text": " If <code>pipelineCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-pCreateInfos-parameter",
+ "text": " <code>pCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> valid <code>VkComputePipelineCreateInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-pPipelines-parameter",
+ "text": " <code>pPipelines</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> <code>VkPipeline</code> handles"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-createInfoCount-arraylength",
+ "text": " <code>createInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCreateComputePipelines-pipelineCache-parent",
+ "text": " If <code>pipelineCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkComputePipelineCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-flags-00697",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be a valid handle to a compute <code>VkPipeline</code>"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-flags-00698",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be a valid index into the calling command’s <code>pCreateInfos</code> parameter"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-flags-00699",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is not -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-flags-00700",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be -1"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-stage-00701",
+ "text": " The <code>stage</code> member of <code>stage</code> <strong class=\"purple\">must</strong> be <code>VK_SHADER_STAGE_COMPUTE_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-stage-00702",
+ "text": " The shader code for the entry point identified by <code>stage</code> and the rest of the state identified by this structure <strong class=\"purple\">must</strong> adhere to the pipeline linking rules described in the <a href=\"#interfaces\">Shader Interfaces</a> chapter"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-layout-00703",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be <a href=\"#descriptorsets-pipelinelayout-consistency\">consistent</a> with the layout of the compute shader specified in <code>stage</code>"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-layout-01687",
+ "text": " The number of resources in <code>layout</code> accessible to the compute shader stage <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageResources</code>"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineCreateFlagBits\">VkPipelineCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-stage-parameter",
+ "text": " <code>stage</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineShaderStageCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-layout-parameter",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-VkComputePipelineCreateInfo-commonparent",
+ "text": " Both of <code>basePipelineHandle</code>, and <code>layout</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkPipelineShaderStageCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00704",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>stage</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00705",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>stage</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT</code> or <code>VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00706",
+ "text": " <code>stage</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_ALL_GRAPHICS</code>, or <code>VK_SHADER_STAGE_ALL</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-pName-00707",
+ "text": " <code>pName</code> <strong class=\"purple\">must</strong> be the name of an <code>OpEntryPoint</code> in <code>module</code> with an execution model that matches <code>stage</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxClipDistances-00708",
+ "text": " If the identified entry point includes any variable in its interface that is declared with the <code>ClipDistance</code> <code>BuiltIn</code> decoration, that variable <strong class=\"purple\">must</strong> not have an array size greater than <code>VkPhysicalDeviceLimits</code>::<code>maxClipDistances</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxCullDistances-00709",
+ "text": " If the identified entry point includes any variable in its interface that is declared with the <code>CullDistance</code> <code>BuiltIn</code> decoration, that variable <strong class=\"purple\">must</strong> not have an array size greater than <code>VkPhysicalDeviceLimits</code>::<code>maxCullDistances</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxCombinedClipAndCullDistances-00710",
+ "text": " If the identified entry point includes any variables in its interface that are declared with the <code>ClipDistance</code> or <code>CullDistance</code> <code>BuiltIn</code> decoration, those variables <strong class=\"purple\">must</strong> not have array sizes which sum to more than <code>VkPhysicalDeviceLimits</code>::<code>maxCombinedClipAndCullDistances</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-maxSampleMaskWords-00711",
+ "text": " If the identified entry point includes any variable in its interface that is declared with the <code>SampleMask</code> <code>BuiltIn</code> decoration, that variable <strong class=\"purple\">must</strong> not have an array size greater than <code>VkPhysicalDeviceLimits</code>::<code>maxSampleMaskWords</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00712",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_VERTEX_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> not include any input variable in its interface that is decorated with <code>CullDistance</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00713",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT</code> or <code>VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT</code>, and the identified entry point has an <code>OpExecutionMode</code> instruction that specifies a patch size with <code>OutputVertices</code>, the patch size <strong class=\"purple\">must</strong> be greater than <code>0</code> and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxTessellationPatchSize</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00714",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> have an <code>OpExecutionMode</code> instruction that specifies a maximum output vertex count that is greater than <code>0</code> and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxGeometryOutputVertices</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00715",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> have an <code>OpExecutionMode</code> instruction that specifies an invocation count that is greater than <code>0</code> and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxGeometryShaderInvocations</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00716",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, and the identified entry point writes to <code>Layer</code> for any primitive, it <strong class=\"purple\">must</strong> write the same value to <code>Layer</code> for all vertices of a given primitive"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00717",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_GEOMETRY_BIT</code>, and the identified entry point writes to <code>ViewportIndex</code> for any primitive, it <strong class=\"purple\">must</strong> write the same value to <code>ViewportIndex</code> for all vertices of a given primitive"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00718",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>, the identified entry point <strong class=\"purple\">must</strong> not include any output variables in its interface decorated with <code>CullDistance</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-00719",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>, and the identified entry point writes to <code>FragDepth</code> in any execution path, it <strong class=\"purple\">must</strong> write to <code>FragDepth</code> in all execution paths"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-parameter",
+ "text": " <code>stage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-module-parameter",
+ "text": " <code>module</code> <strong class=\"purple\">must</strong> be a valid <code>VkShaderModule</code> handle"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-pName-parameter",
+ "text": " <code>pName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ },
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-pSpecializationInfo-parameter",
+ "text": " If <code>pSpecializationInfo</code> is not <code>NULL</code>, <code>pSpecializationInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSpecializationInfo</code> structure"
+ }
+ ],
+ "(VK_EXT_shader_stencil_export)": [
+ {
+ "vuid": "VUID-VkPipelineShaderStageCreateInfo-stage-01511",
+ "text": " If <code>stage</code> is <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>, and the identified entry point writes to <code>FragStencilRefEXT</code> in any execution path, it <strong class=\"purple\">must</strong> write to <code>FragStencilRefEXT</code> in all execution paths"
+ }
+ ]
+ },
+ "vkCreateGraphicsPipelines": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-flags-00720",
+ "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and the <code>basePipelineIndex</code> member of that same element is not <code>-1</code>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be less than the index into <code>pCreateInfos</code> that corresponds to that element"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-flags-00721",
+ "text": " If the <code>flags</code> member of any element of <code>pCreateInfos</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, the base pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT</code> flag set"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-pipelineCache-parameter",
+ "text": " If <code>pipelineCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-pCreateInfos-parameter",
+ "text": " <code>pCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> valid <code>VkGraphicsPipelineCreateInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-pPipelines-parameter",
+ "text": " <code>pPipelines</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>createInfoCount</code> <code>VkPipeline</code> handles"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-createInfoCount-arraylength",
+ "text": " <code>createInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCreateGraphicsPipelines-pipelineCache-parent",
+ "text": " If <code>pipelineCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkGraphicsPipelineCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00722",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be a valid handle to a graphics <code>VkPipeline</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00723",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be a valid index into the calling command’s <code>pCreateInfos</code> parameter"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00724",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineIndex</code> is not -1, <code>basePipelineHandle</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00725",
+ "text": " If <code>flags</code> contains the <code>VK_PIPELINE_CREATE_DERIVATIVE_BIT</code> flag, and <code>basePipelineHandle</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>basePipelineIndex</code> <strong class=\"purple\">must</strong> be -1"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-stage-00726",
+ "text": " The <code>stage</code> member of each element of <code>pStages</code> <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-stage-00727",
+ "text": " The <code>stage</code> member of one element of <code>pStages</code> <strong class=\"purple\">must</strong> be <code>VK_SHADER_STAGE_VERTEX_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-stage-00728",
+ "text": " The <code>stage</code> member of each element of <code>pStages</code> <strong class=\"purple\">must</strong> not be <code>VK_SHADER_STAGE_COMPUTE_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00729",
+ "text": " If <code>pStages</code> includes a tessellation control shader stage, it <strong class=\"purple\">must</strong> include a tessellation evaluation shader stage"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00730",
+ "text": " If <code>pStages</code> includes a tessellation evaluation shader stage, it <strong class=\"purple\">must</strong> include a tessellation control shader stage"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00731",
+ "text": " If <code>pStages</code> includes a tessellation control shader stage and a tessellation evaluation shader stage, <code>pTessellationState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineTessellationStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00732",
+ "text": " If <code>pStages</code> includes tessellation shader stages, the shader code of at least one stage <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies the type of subdivision in the pipeline"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00733",
+ "text": " If <code>pStages</code> includes tessellation shader stages, and the shader code of both stages contain an <code>OpExecutionMode</code> instruction that specifies the type of subdivision in the pipeline, they <strong class=\"purple\">must</strong> both specify the same subdivision mode"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00734",
+ "text": " If <code>pStages</code> includes tessellation shader stages, the shader code of at least one stage <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies the output patch size in the pipeline"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00735",
+ "text": " If <code>pStages</code> includes tessellation shader stages, and the shader code of both contain an <code>OpExecutionMode</code> instruction that specifies the out patch size in the pipeline, they <strong class=\"purple\">must</strong> both specify the same patch size"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00736",
+ "text": " If <code>pStages</code> includes tessellation shader stages, the <code>topology</code> member of <code>pInputAssembly</code> <strong class=\"purple\">must</strong> be <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-topology-00737",
+ "text": " If the <code>topology</code> member of <code>pInputAssembly</code> is <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>, <code>pStages</code> <strong class=\"purple\">must</strong> include tessellation shader stages"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00738",
+ "text": " If <code>pStages</code> includes a geometry shader stage, and does not include any tessellation shader stages, its shader code <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies an input primitive type that is <a href=\"#shaders-geometry-execution\">compatible</a> with the primitive topology specified in <code>pInputAssembly</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00739",
+ "text": " If <code>pStages</code> includes a geometry shader stage, and also includes tessellation shader stages, its shader code <strong class=\"purple\">must</strong> contain an <code>OpExecutionMode</code> instruction that specifies an input primitive type that is <a href=\"#shaders-geometry-execution\">compatible</a> with the primitive topology that is output by the tessellation stages"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00740",
+ "text": " If <code>pStages</code> includes a fragment shader stage and a geometry shader stage, and the fragment shader code reads from an input variable that is decorated with <code>PrimitiveID</code>, then the geometry shader code <strong class=\"purple\">must</strong> write to a matching output variable, decorated with <code>PrimitiveID</code>, in all execution paths"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00741",
+ "text": " If <code>pStages</code> includes a fragment shader stage, its shader code <strong class=\"purple\">must</strong> not read from any input attachment that is defined as <code>VK_ATTACHMENT_UNUSED</code> in <code>subpass</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-00742",
+ "text": " The shader code for the entry points identified by <code>pStages</code>, and the rest of the state identified by this structure <strong class=\"purple\">must</strong> adhere to the pipeline linking rules described in the <a href=\"#interfaces\">Shader Interfaces</a> chapter"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00745",
+ "text": " If rasterization is not disabled and the subpass uses color attachments, then for each color attachment in the subpass the <code>blendEnable</code> member of the corresponding element of the <code>pAttachment</code> member of <code>pColorBlendState</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code> if the <code>format</code> of the attachment does not support color blend operations, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-attachmentCount-00746",
+ "text": " If rasterization is not disabled and the subpass uses color attachments, the <code>attachmentCount</code> member of <code>pColorBlendState</code> <strong class=\"purple\">must</strong> be equal to the <code>colorAttachmentCount</code> used to create <code>subpass</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00747",
+ "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_VIEWPORT</code>, the <code>pViewports</code> member of <code>pViewportState</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pViewportState</code>::<code>viewportCount</code> <code>VkViewport</code> structures"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00748",
+ "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SCISSOR</code>, the <code>pScissors</code> member of <code>pViewportState</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pViewportState</code>::<code>scissorCount</code> <code>VkRect2D</code> structures"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00749",
+ "text": " If the wide lines feature is not enabled, and no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_LINE_WIDTH</code>, the <code>lineWidth</code> member of <code>pRasterizationState</code> <strong class=\"purple\">must</strong> be <code>1.0</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00750",
+ "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, <code>pViewportState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineViewportStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00751",
+ "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineMultisampleStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00752",
+ "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, and <code>subpass</code> uses a depth/stencil attachment, <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineDepthStencilStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-rasterizerDiscardEnable-00753",
+ "text": " If the <code>rasterizerDiscardEnable</code> member of <code>pRasterizationState</code> is <code>VK_FALSE</code>, and <code>subpass</code> uses color attachments, <code>pColorBlendState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineColorBlendStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00754",
+ "text": " If the depth bias clamping feature is not enabled, no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_DEPTH_BIAS</code>, and the <code>depthBiasEnable</code> member of <code>pRasterizationState</code> is <code>VK_TRUE</code>, the <code>depthBiasClamp</code> member of <code>pRasterizationState</code> <strong class=\"purple\">must</strong> be <code>0.0</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-layout-00756",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be <a href=\"#descriptorsets-pipelinelayout-consistency\">consistent</a> with all shaders specified in <code>pStages</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00758",
+ "text": " If <code>subpass</code> does not use any color and/or depth/stencil attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> follow the rules for a <a href=\"#renderpass-noattachments\">zero-attachment subpass</a>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00759",
+ "text": " <code>subpass</code> <strong class=\"purple\">must</strong> be a valid subpass within <code>renderPass</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-layout-01688",
+ "text": " The number of resources in <code>layout</code> accessible to each shader stage that is used by the pipeline <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageResources</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineDiscardRectangleStateCreateInfoEXT\">VkPipelineDiscardRectangleStateCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkPipelineCreateFlagBits\">VkPipelineCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-parameter",
+ "text": " <code>pStages</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>stageCount</code> valid <code>VkPipelineShaderStageCreateInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pVertexInputState-parameter",
+ "text": " <code>pVertexInputState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineVertexInputStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pInputAssemblyState-parameter",
+ "text": " <code>pInputAssemblyState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineInputAssemblyStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pRasterizationState-parameter",
+ "text": " <code>pRasterizationState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineRasterizationStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicState-parameter",
+ "text": " If <code>pDynamicState</code> is not <code>NULL</code>, <code>pDynamicState</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineDynamicStateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-layout-parameter",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-parameter",
+ "text": " <code>renderPass</code> <strong class=\"purple\">must</strong> be a valid <code>VkRenderPass</code> handle"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-stageCount-arraylength",
+ "text": " <code>stageCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-commonparent",
+ "text": " Each of <code>basePipelineHandle</code>, <code>layout</code>, and <code>renderPass</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00743",
+ "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>depthWriteEnable</code> member of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00744",
+ "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>failOp</code>, <code>passOp</code> and <code>depthFailOp</code> members of each of the <code>front</code> and <code>back</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_STENCIL_OP_KEEP</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01756",
+ "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>depthWriteEnable</code> member of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01757",
+ "text": " If rasterization is not disabled and <code>subpass</code> uses a depth/stencil attachment in <code>renderPass</code> that has a layout of <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL</code> in the <code>VkAttachmentReference</code> defined by <code>subpass</code>, the <code>failOp</code>, <code>passOp</code> and <code>depthFailOp</code> members of each of the <code>front</code> and <code>back</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be <code>VK_STENCIL_OP_KEEP</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pStages-01565",
+ "text": " If <code>pStages</code> includes a fragment shader stage and an input attachment was referenced by the <a href=\"#VkRenderPassInputAttachmentAspectCreateInfo\">VkRenderPassInputAttachmentAspectCreateInfo</a> at <code>renderPass</code> create time, its shader code <strong class=\"purple\">must</strong> not read from any aspect that was not specified in the <code>aspectMask</code> of the corresponding <a href=\"#VkInputAttachmentAspectReference\">VkInputAttachmentAspectReference</a> structure."
+ }
+ ],
+ "!(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00755",
+ "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_DEPTH_BOUNDS</code>, and the <code>depthBoundsTestEnable</code> member of <code>pDepthStencilState</code> is <code>VK_TRUE</code>, the <code>minDepthBounds</code> and <code>maxDepthBounds</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ],
+ "(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-00755",
+ "text": " If the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is not enabled and no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_DEPTH_BOUNDS</code>, and the <code>depthBoundsTestEnable</code> member of <code>pDepthStencilState</code> is <code>VK_TRUE</code>, the <code>minDepthBounds</code> and <code>maxDepthBounds</code> members of <code>pDepthStencilState</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ],
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01521",
+ "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code>, and the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, <code>sampleLocationsInfo.sampleLocationGridSize.width</code> <strong class=\"purple\">must</strong> evenly divide <a href=\"#VkMultisamplePropertiesEXT\">VkMultisamplePropertiesEXT</a>::<code>sampleLocationGridSize.width</code> as returned by <a href=\"#vkGetPhysicalDeviceMultisamplePropertiesEXT\">vkGetPhysicalDeviceMultisamplePropertiesEXT</a> with a <code>samples</code> parameter equaling <code>rasterizationSamples</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01522",
+ "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code>, and the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, <code>sampleLocationsInfo.sampleLocationGridSize.height</code> <strong class=\"purple\">must</strong> evenly divide <a href=\"#VkMultisamplePropertiesEXT\">VkMultisamplePropertiesEXT</a>::<code>sampleLocationGridSize.height</code> as returned by <a href=\"#vkGetPhysicalDeviceMultisamplePropertiesEXT\">vkGetPhysicalDeviceMultisamplePropertiesEXT</a> with a <code>samples</code> parameter equaling <code>rasterizationSamples</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01523",
+ "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code>, and the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, <code>sampleLocationsInfo.sampleLocationsPerPixel</code> <strong class=\"purple\">must</strong> equal <code>rasterizationSamples</code>"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-sampleLocationsEnable-01524",
+ "text": " If the <code>sampleLocationsEnable</code> member of a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure chained to the <code>pNext</code> chain of <code>pMultisampleState</code> is <code>VK_TRUE</code>, the fragment shader code <strong class=\"purple\">must</strong> not statically use the extended instruction <code>InterpolateAtSample</code>"
+ }
+ ],
+ "!(VK_AMD_mixed_attachment_samples)+!(VK_NV_framebuffer_mixed_samples)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-00757",
+ "text": " If <code>subpass</code> uses color and/or depth/stencil attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be the same as the sample count for those subpass attachments"
+ }
+ ],
+ "(VK_AMD_mixed_attachment_samples)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01505",
+ "text": " If <code>subpass</code> uses color and/or depth/stencil attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> equal the maximum of the sample counts of those subpass attachments"
+ }
+ ],
+ "(VK_NV_framebuffer_mixed_samples)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01411",
+ "text": " If <code>subpass</code> has a depth/stencil attachment and depth test, stencil test, or depth bounds test are enabled, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be the same as the sample count of the depth/stencil attachment"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-subpass-01412",
+ "text": " If <code>subpass</code> has any color attachments, then the <code>rasterizationSamples</code> member of <code>pMultisampleState</code> <strong class=\"purple\">must</strong> be greater than or equal to the sample count for those subpass attachments"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00760",
+ "text": " If the <code>renderPass</code> has multiview enabled and <code>subpass</code> has more than one bit set in the view mask and <code>multiviewTessellationShader</code> is not enabled, then <code>pStages</code> <strong class=\"purple\">must</strong> not include tessellation shaders."
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00761",
+ "text": " If the <code>renderPass</code> has multiview enabled and <code>subpass</code> has more than one bit set in the view mask and <code>multiviewGeometryShader</code> is not enabled, then <code>pStages</code> <strong class=\"purple\">must</strong> not include a geometry shader."
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00762",
+ "text": " If the <code>renderPass</code> has multiview enabled and <code>subpass</code> has more than one bit set in the view mask, shaders in the pipeline <strong class=\"purple\">must</strong> not write to the <code>Layer</code> built-in output"
+ },
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-renderPass-00763",
+ "text": " If the <code>renderPass</code> has multiview enabled, then all shaders <strong class=\"purple\">must</strong> not include variables decorated with the <code>Layer</code> built-in decoration in their interfaces."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-flags-00764",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not contain the <code>VK_PIPELINE_CREATE_DISPATCH_BASE</code> flag."
+ }
+ ],
+ "(VK_NV_clip_space_w_scaling)": [
+ {
+ "vuid": "VUID-VkGraphicsPipelineCreateInfo-pDynamicStates-01715",
+ "text": " If no element of the <code>pDynamicStates</code> member of <code>pDynamicState</code> is <code>VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV</code>, and the <code>viewportWScalingEnable</code> member of a <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> structure, chained to the <code>pNext</code> chain of <code>pViewportState</code>, is <code>VK_TRUE</code>, the <code>pViewportWScalings</code> member of the <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> <strong class=\"purple\">must</strong> be a pointer to an array of <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a>::<code>viewportCount</code> valid <a href=\"#VkViewportWScalingNV\">VkViewportWScalingNV</a> structures"
+ }
+ ]
+ },
+ "VkPipelineDynamicStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineDynamicStateCreateInfo-pDynamicStates-01442",
+ "text": " Each element of <code>pDynamicStates</code> <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkPipelineDynamicStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDynamicStateCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDynamicStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDynamicStateCreateInfo-pDynamicStates-parameter",
+ "text": " <code>pDynamicStates</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dynamicStateCount</code> valid <a href=\"#VkDynamicState\">VkDynamicState</a> values"
+ },
+ {
+ "vuid": "VUID-VkPipelineDynamicStateCreateInfo-dynamicStateCount-arraylength",
+ "text": " <code>dynamicStateCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkDestroyPipeline": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyPipeline-pipeline-00765",
+ "text": " All submitted commands that refer to <code>pipeline</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipeline-pipeline-00766",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>pipeline</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipeline-pipeline-00767",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>pipeline</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipeline-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipeline-pipeline-parameter",
+ "text": " If <code>pipeline</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipeline-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipeline-pipeline-parent",
+ "text": " If <code>pipeline</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreatePipelineCache": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreatePipelineCache-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreatePipelineCache-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineCacheCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreatePipelineCache-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreatePipelineCache-pPipelineCache-parameter",
+ "text": " <code>pPipelineCache</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPipelineCache</code> handle"
+ }
+ ]
+ },
+ "VkPipelineCacheCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineCacheCreateInfo-initialDataSize-00768",
+ "text": " If <code>initialDataSize</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be equal to the size of <code>pInitialData</code>, as returned by <code>vkGetPipelineCacheData</code> when <code>pInitialData</code> was originally retrieved"
+ },
+ {
+ "vuid": "VUID-VkPipelineCacheCreateInfo-initialDataSize-00769",
+ "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> have been retrieved from a previous call to <code>vkGetPipelineCacheData</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCacheCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCacheCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCacheCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCacheCreateInfo-pInitialData-parameter",
+ "text": " If <code>initialDataSize</code> is not <code>0</code>, <code>pInitialData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>initialDataSize</code> bytes"
+ }
+ ]
+ },
+ "vkMergePipelineCaches": {
+ "core": [
+ {
+ "vuid": "VUID-vkMergePipelineCaches-dstCache-00770",
+ "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> not appear in the list of source caches"
+ },
+ {
+ "vuid": "VUID-vkMergePipelineCaches-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkMergePipelineCaches-dstCache-parameter",
+ "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"
+ },
+ {
+ "vuid": "VUID-vkMergePipelineCaches-pSrcCaches-parameter",
+ "text": " <code>pSrcCaches</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>srcCacheCount</code> valid <code>VkPipelineCache</code> handles"
+ },
+ {
+ "vuid": "VUID-vkMergePipelineCaches-srcCacheCount-arraylength",
+ "text": " <code>srcCacheCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkMergePipelineCaches-dstCache-parent",
+ "text": " <code>dstCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkMergePipelineCaches-pSrcCaches-parent",
+ "text": " Each element of <code>pSrcCaches</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetPipelineCacheData": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPipelineCacheData-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPipelineCacheData-pipelineCache-parameter",
+ "text": " <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPipelineCacheData-pDataSize-parameter",
+ "text": " <code>pDataSize</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>size_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPipelineCacheData-pData-parameter",
+ "text": " If the value referenced by <code>pDataSize</code> is not <code>0</code>, and <code>pData</code> is not <code>NULL</code>, <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pDataSize</code> bytes"
+ },
+ {
+ "vuid": "VUID-vkGetPipelineCacheData-pipelineCache-parent",
+ "text": " <code>pipelineCache</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkDestroyPipelineCache": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-00771",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>pipelineCache</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-00772",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>pipelineCache</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineCache-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-parameter",
+ "text": " If <code>pipelineCache</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineCache</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineCache</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineCache-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineCache-pipelineCache-parent",
+ "text": " If <code>pipelineCache</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkSpecializationInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkSpecializationInfo-offset-00773",
+ "text": " The <code>offset</code> member of each element of <code>pMapEntries</code> <strong class=\"purple\">must</strong> be less than <code>dataSize</code>"
+ },
+ {
+ "vuid": "VUID-VkSpecializationInfo-pMapEntries-00774",
+ "text": " The <code>size</code> member of each element of <code>pMapEntries</code> <strong class=\"purple\">must</strong> be less than or equal to <code>dataSize</code> minus <code>offset</code>"
+ },
+ {
+ "vuid": "VUID-VkSpecializationInfo-mapEntryCount-00775",
+ "text": " If <code>mapEntryCount</code> is not <code>0</code>, <code>pMapEntries</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>mapEntryCount</code> valid <code>VkSpecializationMapEntry</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSpecializationInfo-pData-parameter",
+ "text": " If <code>dataSize</code> is not <code>0</code>, <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dataSize</code> bytes"
+ }
+ ]
+ },
+ "VkSpecializationMapEntry": {
+ "core": [
+ {
+ "vuid": "VUID-VkSpecializationMapEntry-constantID-00776",
+ "text": " For a <code>constantID</code> specialization constant declared in a shader, <code>size</code> <strong class=\"purple\">must</strong> match the byte size of the <code>constantID</code>. If the specialization constant is of type <code>boolean</code>, <code>size</code> <strong class=\"purple\">must</strong> be the byte size of <code>VkBool32</code>"
+ }
+ ]
+ },
+ "vkCmdBindPipeline": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00777",
+ "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00778",
+ "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00779",
+ "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, <code>pipeline</code> <strong class=\"purple\">must</strong> be a compute pipeline"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-00780",
+ "text": " If <code>pipelineBindPoint</code> is <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, <code>pipeline</code> <strong class=\"purple\">must</strong> be a graphics pipeline"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-pipeline-00781",
+ "text": " If the <a href=\"#features-features-variableMultisampleRate\">variable multisample rate</a> feature is not supported, <code>pipeline</code> is a graphics pipeline, the current subpass has no attachments, and this is not the first call to this function with a graphics pipeline after transitioning to the current subpass, then the sample count specified by this pipeline <strong class=\"purple\">must</strong> match that set in the previous pipeline"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-pipelineBindPoint-parameter",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-pipeline-parameter",
+ "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBindPipeline-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>pipeline</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdBindPipeline-variableSampleLocations-01525",
+ "text": " If <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>::<code>variableSampleLocations</code> is <code>VK_FALSE</code>, and <code>pipeline</code> is a graphics pipeline created with a <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> structure having its <code>sampleLocationsEnable</code> member set to <code>VK_TRUE</code> but without <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code> enabled then the current render pass instance <strong class=\"purple\">must</strong> have been begun by specifying a <a href=\"#VkRenderPassSampleLocationsBeginInfoEXT\">VkRenderPassSampleLocationsBeginInfoEXT</a> structure whose <code>pPostSubpassSampleLocations</code> member contains an element with a <code>subpassIndex</code> matching the current subpass index and the <code>sampleLocationsInfo</code> member of that element <strong class=\"purple\">must</strong> match the <code>sampleLocationsInfo</code> specified in <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a> when the pipeline was created"
+ }
+ ]
+ },
+ "vkGetShaderInfoAMD": {
+ "(VK_AMD_shader_info)": [
+ {
+ "vuid": "VUID-vkGetShaderInfoAMD-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetShaderInfoAMD-pipeline-parameter",
+ "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetShaderInfoAMD-shaderStage-parameter",
+ "text": " <code>shaderStage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetShaderInfoAMD-infoType-parameter",
+ "text": " <code>infoType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkShaderInfoTypeAMD\">VkShaderInfoTypeAMD</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetShaderInfoAMD-pInfoSize-parameter",
+ "text": " <code>pInfoSize</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>size_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetShaderInfoAMD-pInfo-parameter",
+ "text": " If the value referenced by <code>pInfoSize</code> is not <code>0</code>, and <code>pInfo</code> is not <code>NULL</code>, <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pInfoSize</code> bytes"
+ },
+ {
+ "vuid": "VUID-vkGetShaderInfoAMD-pipeline-parent",
+ "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkAllocationCallbacks": {
+ "core": [
+ {
+ "vuid": "VUID-VkAllocationCallbacks-pfnAllocation-00632",
+ "text": " <code>pfnAllocation</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid user-defined <a href=\"#PFN_vkAllocationFunction\">PFN_vkAllocationFunction</a>"
+ },
+ {
+ "vuid": "VUID-VkAllocationCallbacks-pfnReallocation-00633",
+ "text": " <code>pfnReallocation</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid user-defined <a href=\"#PFN_vkReallocationFunction\">PFN_vkReallocationFunction</a>"
+ },
+ {
+ "vuid": "VUID-VkAllocationCallbacks-pfnFree-00634",
+ "text": " <code>pfnFree</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid user-defined <a href=\"#PFN_vkFreeFunction\">PFN_vkFreeFunction</a>"
+ },
+ {
+ "vuid": "VUID-VkAllocationCallbacks-pfnInternalAllocation-00635",
+ "text": " If either of <code>pfnInternalAllocation</code> or <code>pfnInternalFree</code> is not <code>NULL</code>, both <strong class=\"purple\">must</strong> be valid callbacks"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceMemoryProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties-pMemoryProperties-parameter",
+ "text": " <code>pMemoryProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceMemoryProperties</code> structure"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceMemoryProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties2-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMemoryProperties2-pMemoryProperties-parameter",
+ "text": " <code>pMemoryProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceMemoryProperties2</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceMemoryProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceMemoryProperties2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceMemoryProperties2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkAllocateMemory": {
+ "core": [
+ {
+ "vuid": "VUID-vkAllocateMemory-pAllocateInfo-01713",
+ "text": " <code>pAllocateInfo</code>-><code>allocationSize</code> <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMemoryProperties\">VkPhysicalDeviceMemoryProperties</a>::<code>memoryHeaps</code>[<code>pAllocateInfo</code>-><code>memoryTypeIndex</code>].<code>size</code> as returned by <a href=\"#vkGetPhysicalDeviceMemoryProperties\">vkGetPhysicalDeviceMemoryProperties</a> for the <a href=\"#VkPhysicalDevice\">VkPhysicalDevice</a> that <code>device</code> was created from."
+ },
+ {
+ "vuid": "VUID-vkAllocateMemory-pAllocateInfo-01714",
+ "text": " <code>pAllocateInfo</code>-><code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be less than <a href=\"#VkPhysicalDeviceMemoryProperties\">VkPhysicalDeviceMemoryProperties</a>::<code>memoryTypeCount</code> as returned by <a href=\"#vkGetPhysicalDeviceMemoryProperties\">vkGetPhysicalDeviceMemoryProperties</a> for the <a href=\"#VkPhysicalDevice\">VkPhysicalDevice</a> that <code>device</code> was created from."
+ },
+ {
+ "vuid": "VUID-vkAllocateMemory-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAllocateMemory-pAllocateInfo-parameter",
+ "text": " <code>pAllocateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryAllocateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkAllocateMemory-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkAllocateMemory-pMemory-parameter",
+ "text": " <code>pMemory</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceMemory</code> handle"
+ }
+ ]
+ },
+ "VkMemoryAllocateInfo": {
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-00638",
+ "text": " <code>allocationSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ],
+ "(VK_KHR_external_memory)+(VK_KHR_dedicated_allocation,VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-pNext-00639",
+ "text": " If the <code>pNext</code> chain contains an instance of <code>VkExportMemoryAllocateInfo</code>, and any of the handle types specified in <code>VkExportMemoryAllocateInfo</code>::<code>handleTypes</code> require a dedicated allocation, as reported by <a href=\"#vkGetPhysicalDeviceImageFormatProperties2\">vkGetPhysicalDeviceImageFormatProperties2</a> in <code>VkExternalImageFormatProperties</code>::<code>externalMemoryProperties</code>::<code>externalMemoryFeatures</code> or <code>VkExternalBufferProperties</code>::<code>externalMemoryProperties</code>::<code>externalMemoryFeatures</code>, the <code>pNext</code> chain must contain an instance of ifdef::VK_KHR_dedicated_allocation[<a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>]"
+ }
+ ],
+ "(VK_KHR_external_memory)+(VK_NV_external_memory)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-pNext-00640",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>, it <strong class=\"purple\">must</strong> not contain an instance of <a href=\"#VkExportMemoryAllocateInfoNV\">VkExportMemoryAllocateInfoNV</a> or <a href=\"#VkExportMemoryWin32HandleInfoNV\">VkExportMemoryWin32HandleInfoNV</a>."
+ }
+ ],
+ "(VK_KHR_external_memory_win32+VK_NV_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-pNext-00641",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkImportMemoryWin32HandleInfoKHR\">VkImportMemoryWin32HandleInfoKHR</a>, it <strong class=\"purple\">must</strong> not contain an instance of <a href=\"#VkImportMemoryWin32HandleInfoNV\">VkImportMemoryWin32HandleInfoNV</a>."
+ }
+ ],
+ "(VK_KHR_external_memory_fd)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-01742",
+ "text": " If the parameters define an import operation, the external handle specified was created by the Vulkan API, and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR</code>, then the values of <code>allocationSize</code> and <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> match those specified when the memory object being imported was created."
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-00648",
+ "text": " If the parameters define an import operation and the external handle is a POSIX file descriptor created outside of the Vulkan API, the value of <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be one of those returned by <a href=\"#vkGetMemoryFdPropertiesKHR\">vkGetMemoryFdPropertiesKHR</a>."
+ }
+ ],
+ "(VK_KHR_external_memory+VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-None-00643",
+ "text": " If the parameters define an import operation and the external handle specified was created by the Vulkan API, the device mask specified by <a href=\"#VkMemoryAllocateFlagsInfo\">VkMemoryAllocateFlagsInfo</a> <strong class=\"purple\">must</strong> match that specified when the memory object being imported was allocated."
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-None-00644",
+ "text": " If the parameters define an import operation and the external handle specified was created by the Vulkan API, the list of physical devices that comprise the logical device passed to <a href=\"#vkAllocateMemory\">vkAllocateMemory</a> <strong class=\"purple\">must</strong> match the list of physical devices that comprise the logical device on which the memory was originally allocated."
+ }
+ ],
+ "(VK_KHR_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-00645",
+ "text": " If the parameters define an import operation and the external handle is an NT handle or a global share handle created outside of the Vulkan API, the value of <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be one of those returned by <a href=\"#vkGetMemoryWin32HandlePropertiesKHR\">vkGetMemoryWin32HandlePropertiesKHR</a>."
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-01743",
+ "text": " If the parameters define an import operation, the external handle was created by the Vulkan API, and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR</code>, then the values of <code>allocationSize</code> and <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> match those specified when the memory object being imported was created."
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-00646",
+ "text": " If the parameters define an import operation and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, <code>allocationSize</code> <strong class=\"purple\">must</strong> match the size reported in the memory requirements of the <code>image</code> or <code>buffer</code> member of the instance of <code>VkDedicatedAllocationMemoryAllocateInfoNV</code> included in the <code>pNext</code> chain."
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-00647",
+ "text": " If the parameters define an import operation and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, <code>allocationSize</code> <strong class=\"purple\">must</strong> match the size specified when creating the Direct3D 12 heap from which the external handle was extracted."
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-01872",
+ "text": " If the protected memory feature is not enabled, the <code>VkMemoryAllocateInfo</code>::<code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> not indicate a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>."
+ }
+ ],
+ "(VK_EXT_external_memory_host)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-memoryTypeIndex-01744",
+ "text": " If the parameters define an import operation and the external handle is a host pointer, the value of <code>memoryTypeIndex</code> <strong class=\"purple\">must</strong> be one of those returned by <a href=\"#vkGetMemoryHostPointerPropertiesEXT\">vkGetMemoryHostPointerPropertiesEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-allocationSize-01745",
+ "text": " If the parameters define an import operation and the external handle is a host pointer, <code>allocationSize</code> <strong class=\"purple\">must</strong> be an integer multiple of <code>VkPhysicalDeviceExternalMemoryHostPropertiesEXT</code>::<code>minImportedHostPointerAlignment</code>"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-None-01873",
+ "text": " If the parameters define an import operation and the external handle type is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BIT_ANDROID</code>:"
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-pNext-01874",
+ "text": " If the parameters do not define an import operation, and the <code>pNext</code> chain contains an instance of <code>VkExportMemoryAllocateInfo</code> with <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code> included in its <code>handleTypes</code> member, and the <code>pNext</code> contains an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> with <code>image</code> not equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, then <code>allocationSize</code> <strong class=\"purple\">must</strong> be <code>0</code>, otherwise <code>allocationSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-pNext-01875",
+ "text": " If the parameters define an import operation, the external handle is an Android hardware buffer, and the <code>pNext</code> chain includes an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> with <code>image</code> that is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>:"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>, <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>, <a href=\"#VkExportMemoryAllocateInfoNV\">VkExportMemoryAllocateInfoNV</a>, <a href=\"#VkExportMemoryWin32HandleInfoKHR\">VkExportMemoryWin32HandleInfoKHR</a>, <a href=\"#VkExportMemoryWin32HandleInfoNV\">VkExportMemoryWin32HandleInfoNV</a>, <a href=\"#VkImportAndroidHardwareBufferInfoANDROID\">VkImportAndroidHardwareBufferInfoANDROID</a>, <a href=\"#VkImportMemoryFdInfoKHR\">VkImportMemoryFdInfoKHR</a>, <a href=\"#VkImportMemoryHostPointerInfoEXT\">VkImportMemoryHostPointerInfoEXT</a>, <a href=\"#VkImportMemoryWin32HandleInfoKHR\">VkImportMemoryWin32HandleInfoKHR</a>, <a href=\"#VkImportMemoryWin32HandleInfoNV\">VkImportMemoryWin32HandleInfoNV</a>, <a href=\"#VkMemoryAllocateFlagsInfo\">VkMemoryAllocateFlagsInfo</a>, or <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ }
+ ]
+ },
+ "VkMemoryDedicatedAllocateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01432",
+ "text": " At least one of <code>image</code> and <code>buffer</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01433",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the image"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01434",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> have been created without <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code> set in <code>VkImageCreateInfo</code>::<code>flags</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01435",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the buffer"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01436",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> have been created without <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code> set in <a href=\"#VkBufferCreateInfo\">VkBufferCreateInfo</a>::<code>flags</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-parameter",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-parameter",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-commonparent",
+ "text": " Both of <code>buffer</code>, and <code>image</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)+(VK_KHR_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01876",
+ "text": " If <code>image</code> is not <code>VK_NULL_HANDLE</code> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, and the external handle was created by the Vulkan API, then the memory being imported <strong class=\"purple\">must</strong> also be a dedicated image allocation and <code>image</code> must be identical to the image associated with the imported memory."
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01877",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, and the external handle was created by the Vulkan API, then the memory being imported <strong class=\"purple\">must</strong> also be a dedicated buffer allocation and <code>buffer</code> must be identical to the buffer associated with the imported memory."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)+(VK_KHR_external_memory_fd)": [
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01878",
+ "text": " If <code>image</code> is not <code>VK_NULL_HANDLE</code> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT</code>, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated image allocation and <code>image</code> must be identical to the image associated with the imported memory."
+ },
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-buffer-01879",
+ "text": " If <code>buffer</code> is not <code>VK_NULL_HANDLE</code> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation with handle type <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT</code>, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated buffer allocation and <code>buffer</code> must be identical to the buffer associated with the imported memory."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)+(VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkMemoryDedicatedAllocateInfo-image-01797",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> not have been created with <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> set in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a>::<code>flags</code>"
+ }
+ ]
+ },
+ "VkDedicatedAllocationMemoryAllocateInfoNV": {
+ "(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00649",
+ "text": " At least one of <code>image</code> and <code>buffer</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00650",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, the image <strong class=\"purple\">must</strong> have been created with <code>VkDedicatedAllocationImageCreateInfoNV</code>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-00651",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, the buffer <strong class=\"purple\">must</strong> have been created with <code>VkDedicatedAllocationBufferCreateInfoNV</code>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00652",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the image"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-00653",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>VkMemoryAllocateInfo</code>::<code>allocationSize</code> <strong class=\"purple\">must</strong> equal the <code>VkMemoryRequirements</code>::<code>size</code> of the buffer"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-parameter",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-parameter",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-commonparent",
+ "text": " Both of <code>buffer</code>, and <code>image</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_NV_dedicated_allocation)+(VK_KHR_external_memory_win32,VK_KHR_external_memory_fd)": [
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-image-00654",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated image allocation and <code>image</code> <strong class=\"purple\">must</strong> be identical to the image associated with the imported memory."
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationMemoryAllocateInfoNV-buffer-00655",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> and <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a> defines a memory import operation, the memory being imported <strong class=\"purple\">must</strong> also be a dedicated buffer allocation and <code>buffer</code> <strong class=\"purple\">must</strong> be identical to the buffer associated with the imported memory."
+ }
+ ]
+ },
+ "VkExportMemoryAllocateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkExportMemoryAllocateInfo-handleTypes-00656",
+ "text": " The bits in <code>handleTypes</code> <strong class=\"purple\">must</strong> be supported and compatible, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."
+ },
+ {
+ "vuid": "VUID-VkExportMemoryAllocateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkExportMemoryAllocateInfo-handleTypes-parameter",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> values"
+ }
+ ]
+ },
+ "VkExportMemoryWin32HandleInfoKHR": {
+ "(VK_KHR_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkExportMemoryWin32HandleInfoKHR-handleTypes-00657",
+ "text": " If <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>::<code>handleTypes</code> does not include <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, VkExportMemoryWin32HandleInfoKHR <strong class=\"purple\">must</strong> not be in the <code>pNext</code> chain of <a href=\"#VkMemoryAllocateInfo\">VkMemoryAllocateInfo</a>."
+ },
+ {
+ "vuid": "VUID-VkExportMemoryWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkExportMemoryWin32HandleInfoKHR-pAttributes-parameter",
+ "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"
+ }
+ ]
+ },
+ "VkImportMemoryWin32HandleInfoKHR": {
+ "(VK_KHR_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-00658",
+ "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be supported for import, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handle-00659",
+ "text": " The memory from which <code>handle</code> was exported, or the memory named by <code>name</code> <strong class=\"purple\">must</strong> have been created on the same underlying physical device as <code>device</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-00660",
+ "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-01439",
+ "text": " If <code>handleType</code> is not <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT</code>, <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT</code>, or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT</code>, <code>name</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-01440",
+ "text": " If <code>handleType</code> is not <code>0</code> and <code>handle</code> is <code>NULL</code>, <code>name</code> <strong class=\"purple\">must</strong> name a valid memory resource of the type specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-00661",
+ "text": " If <code>handleType</code> is not <code>0</code> and <code>name</code> is <code>NULL</code>, <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handle-01441",
+ "text": " if <code>handle</code> is not <code>NULL</code>, <code>name</code> must be <code>NULL</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handle-01518",
+ "text": " If <code>handle</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-memory-handle-types-compatibility\">external memory handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-name-01519",
+ "text": " If <code>name</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-memory-handle-types-compatibility\">external memory handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoKHR-handleType-parameter",
+ "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkGetMemoryWin32HandleKHR": {
+ "(VK_KHR_external_memory_win32)": [
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleKHR-pGetWin32HandleInfo-parameter",
+ "text": " <code>pGetWin32HandleInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryGetWin32HandleInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleKHR-pHandle-parameter",
+ "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"
+ }
+ ]
+ },
+ "VkMemoryGetWin32HandleInfoKHR": {
+ "(VK_KHR_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-00662",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>::<code>handleTypes</code> when <code>memory</code> was created."
+ },
+ {
+ "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-00663",
+ "text": " If <code>handleType</code> is defined as an NT handle, <a href=\"#vkGetMemoryWin32HandleKHR\">vkGetMemoryWin32HandleKHR</a> <strong class=\"purple\">must</strong> be called no more than once for each valid unique combination of <code>memory</code> and <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-00664",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as an NT handle or a global share handle."
+ },
+ {
+ "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-VkMemoryGetWin32HandleInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkGetMemoryWin32HandlePropertiesKHR": {
+ "(VK_KHR_external_memory_win32)": [
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-handle-00665",
+ "text": " <code>handle</code> <strong class=\"purple\">must</strong> be an external memory handle created outside of the Vulkan API."
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-handleType-00666",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not be one of the handle types defined as opaque."
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandlePropertiesKHR-pMemoryWin32HandleProperties-parameter",
+ "text": " <code>pMemoryWin32HandleProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryWin32HandlePropertiesKHR</code> structure"
+ }
+ ]
+ },
+ "VkImportMemoryFdInfoKHR": {
+ "(VK_KHR_external_memory_fd)": [
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-00667",
+ "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be supported for import, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-fd-00668",
+ "text": " The memory from which <code>fd</code> was exported <strong class=\"purple\">must</strong> have been created on the same underlying physical device as <code>device</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-00669",
+ "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-00670",
+ "text": " If <code>handleType</code> is not <code>0</code>, <code>fd</code> <strong class=\"purple\">must</strong> be a valid handle of the type specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-fd-01746",
+ "text": " The memory represented by <code>fd</code> <strong class=\"purple\">must</strong> have been created from a physical device and driver that is compatible with <code>device</code> and <code>handleType</code>, as described in <a href=\"#external-memory-handle-types-compatibility\">External memory handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-fd-01520",
+ "text": " <code>fd</code> <strong class=\"purple\">must</strong> obey any requirements listed for <code>handleType</code> in <a href=\"#external-memory-handle-types-compatibility\">external memory handle types compatibility</a>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryFdInfoKHR-handleType-parameter",
+ "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkGetMemoryFdKHR": {
+ "(VK_KHR_external_memory_fd)": [
+ {
+ "vuid": "VUID-vkGetMemoryFdKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryFdKHR-pGetFdInfo-parameter",
+ "text": " <code>pGetFdInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryGetFdInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryFdKHR-pFd-parameter",
+ "text": " <code>pFd</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>int</code> value"
+ }
+ ]
+ },
+ "VkMemoryGetFdInfoKHR": {
+ "(VK_KHR_external_memory_fd)": [
+ {
+ "vuid": "VUID-VkMemoryGetFdInfoKHR-handleType-00671",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportMemoryAllocateInfo\">VkExportMemoryAllocateInfo</a>::<code>handleTypes</code> when <code>memory</code> was created."
+ },
+ {
+ "vuid": "VUID-VkMemoryGetFdInfoKHR-handleType-00672",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be defined as a POSIX file descriptor handle."
+ },
+ {
+ "vuid": "VUID-VkMemoryGetFdInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryGetFdInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryGetFdInfoKHR-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-VkMemoryGetFdInfoKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkGetMemoryFdPropertiesKHR": {
+ "(VK_KHR_external_memory_fd)": [
+ {
+ "vuid": "VUID-vkGetMemoryFdPropertiesKHR-fd-00673",
+ "text": " <code>fd</code> <strong class=\"purple\">must</strong> be an external memory handle created outside of the Vulkan API."
+ },
+ {
+ "vuid": "VUID-vkGetMemoryFdPropertiesKHR-handleType-00674",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not be <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR</code>."
+ },
+ {
+ "vuid": "VUID-vkGetMemoryFdPropertiesKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryFdPropertiesKHR-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryFdPropertiesKHR-pMemoryFdProperties-parameter",
+ "text": " <code>pMemoryFdProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryFdPropertiesKHR</code> structure"
+ }
+ ]
+ },
+ "VkImportMemoryHostPointerInfoEXT": {
+ "(VK_EXT_external_memory_host)": [
+ {
+ "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01747",
+ "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be supported for import, as reported in <a href=\"#VkExternalMemoryPropertiesKHR\">VkExternalMemoryPropertiesKHR</a>"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01748",
+ "text": " If <code>handleType</code> is not <code>0</code>, it <strong class=\"purple\">must</strong> be <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-pHostPointer-01749",
+ "text": " <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer aligned to an integer multiple of <code>VkPhysicalDeviceExternalMemoryHostPropertiesEXT</code>::<code>minImportedHostPointerAlignment</code>"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01750",
+ "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to <code>allocationSize</code> number of bytes of host memory, where <code>allocationSize</code> is the member of the <code>VkMemoryAllocateInfo</code> structure this structure is chained to"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-01751",
+ "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to <code>allocationSize</code> number of bytes of host mapped foreign memory, where <code>allocationSize</code> is the member of the <code>VkMemoryAllocateInfo</code> structure this structure is chained to"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryHostPointerInfoEXT-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "vkGetMemoryHostPointerPropertiesEXT": {
+ "(VK_EXT_external_memory_host)": [
+ {
+ "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-01752",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code> or <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-pHostPointer-01753",
+ "text": " <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer aligned to an integer multiple of <code>VkPhysicalDeviceExternalMemoryHostPropertiesEXT</code>::<code>minImportedHostPointerAlignment</code>"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-01754",
+ "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to host memory"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-01755",
+ "text": " If <code>handleType</code> is <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT</code>, <code>pHostPointer</code> <strong class=\"purple\">must</strong> be a pointer to host mapped foreign memory"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryHostPointerPropertiesEXT-pMemoryHostPointerProperties-parameter",
+ "text": " <code>pMemoryHostPointerProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryHostPointerPropertiesEXT</code> structure"
+ }
+ ]
+ },
+ "VkMemoryHostPointerPropertiesEXT": {
+ "(VK_EXT_external_memory_host)": [
+ {
+ "vuid": "VUID-VkMemoryHostPointerPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryHostPointerPropertiesEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "VkImportAndroidHardwareBufferInfoANDROID": {
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-buffer-01880",
+ "text": " If <code>buffer</code> is not <code>NULL</code>, Android hardware buffers <strong class=\"purple\">must</strong> be supported for import, as reported by <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a> or <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>."
+ },
+ {
+ "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-buffer-01881",
+ "text": " If <code>buffer</code> is not <code>NULL</code>, it <strong class=\"purple\">must</strong> be a valid Android hardware buffer object with format and usage compatible with Vulkan as described by <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a>."
+ },
+ {
+ "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID</code>"
+ },
+ {
+ "vuid": "VUID-VkImportAndroidHardwareBufferInfoANDROID-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>AHardwareBuffer</code> value"
+ }
+ ]
+ },
+ "vkGetMemoryAndroidHardwareBufferANDROID": {
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkGetMemoryAndroidHardwareBufferANDROID-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryAndroidHardwareBufferANDROID-pInfo-parameter",
+ "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMemoryGetAndroidHardwareBufferInfoANDROID</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryAndroidHardwareBufferANDROID-pBuffer-parameter",
+ "text": " <code>pBuffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid pointer to a <code>AHardwareBuffer</code> value"
+ }
+ ]
+ },
+ "VkMemoryGetAndroidHardwareBufferInfoANDROID": {
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkMemoryGetAndroidHardwareBufferInfoANDROID-handleTypes-01882",
+ "text": " <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code> <strong class=\"purple\">must</strong> have been included in <a href=\"#VkExportMemoryAllocateInfoKHR\">VkExportMemoryAllocateInfoKHR</a>::<code>handleTypes</code> when <code>memory</code> was created."
+ },
+ {
+ "vuid": "VUID-VkMemoryGetAndroidHardwareBufferInfoANDROID-pNext-01883",
+ "text": " If the <code>pNext</code> chain of the <code>VkMemoryAllocateInfo</code> used to allocate <code>memory</code> included a <code>VkMemoryDedicatedAllocateInfo</code> with non-NULL <code>image</code> member, then that <code>image</code> <strong class=\"purple\">must</strong> already be bound to <code>memory</code>."
+ }
+ ]
+ },
+ "vkGetAndroidHardwareBufferPropertiesANDROID": {
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-buffer-01884",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid Android hardware buffer object with at least one of the <code>AHARDWAREBUFFER_USAGE_GPU_</code>* usage flags."
+ },
+ {
+ "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>AHardwareBuffer</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetAndroidHardwareBufferPropertiesANDROID-pProperties-parameter",
+ "text": " <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkAndroidHardwareBufferPropertiesANDROID</code> structure"
+ }
+ ]
+ },
+ "VkAndroidHardwareBufferFormatPropertiesANDROID": {
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkAndroidHardwareBufferFormatPropertiesANDROID-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID</code>"
+ }
+ ]
+ },
+ "VkExportMemoryAllocateInfoNV": {
+ "(VK_NV_external_memory)": [
+ {
+ "vuid": "VUID-VkExportMemoryAllocateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkExportMemoryAllocateInfoNV-handleTypes-parameter",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"
+ }
+ ]
+ },
+ "VkExportMemoryWin32HandleInfoNV": {
+ "(VK_NV_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkExportMemoryWin32HandleInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkExportMemoryWin32HandleInfoNV-pAttributes-parameter",
+ "text": " If <code>pAttributes</code> is not <code>NULL</code>, <code>pAttributes</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>SECURITY_ATTRIBUTES</code> value"
+ }
+ ]
+ },
+ "VkImportMemoryWin32HandleInfoNV": {
+ "(VK_NV_external_memory_win32)": [
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-handleType-01327",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not have more than one bit set."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-handle-01328",
+ "text": " <code>handle</code> <strong class=\"purple\">must</strong> be a valid handle to memory, obtained as specified by <code>handleType</code>."
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkImportMemoryWin32HandleInfoNV-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"
+ }
+ ]
+ },
+ "vkGetMemoryWin32HandleNV": {
+ "(VK_NV_external_memory_win32)": [
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleNV-handleType-01326",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a flag specified in <a href=\"#VkExportMemoryAllocateInfoNV\">VkExportMemoryAllocateInfoNV</a>::<code>handleTypes</code> when allocating <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleNV-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleNV-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleNV-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleNV-handleType-requiredbitmask",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleNV-pHandle-parameter",
+ "text": " <code>pHandle</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>HANDLE</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetMemoryWin32HandleNV-memory-parent",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkMemoryAllocateFlagsInfo": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkMemoryAllocateFlagsInfo-deviceMask-00675",
+ "text": " If <code>VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT</code> is set, <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask."
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateFlagsInfo-deviceMask-00676",
+ "text": " If <code>VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT</code> is set, <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateFlagsInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryAllocateFlagsInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkMemoryAllocateFlagBits\">VkMemoryAllocateFlagBits</a> values"
+ }
+ ]
+ },
+ "vkFreeMemory": {
+ "core": [
+ {
+ "vuid": "VUID-vkFreeMemory-memory-00677",
+ "text": " All submitted commands that refer to <code>memory</code> (via images or buffers) <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkFreeMemory-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkFreeMemory-memory-parameter",
+ "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-vkFreeMemory-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkFreeMemory-memory-parent",
+ "text": " If <code>memory</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkMapMemory": {
+ "core": [
+ {
+ "vuid": "VUID-vkMapMemory-memory-00678",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> not be currently mapped"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-offset-00679",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-size-00680",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-size-00681",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of the <code>memory</code> minus <code>offset</code>"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-memory-00682",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created with a memory type that reports <code>VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-ppData-parameter",
+ "text": " <code>ppData</code> <strong class=\"purple\">must</strong> be a valid pointer to a pointer value"
+ },
+ {
+ "vuid": "VUID-vkMapMemory-memory-parent",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ],
+ "(VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkMapMemory-memory-00683",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated with multiple instances."
+ }
+ ]
+ },
+ "vkFlushMappedMemoryRanges": {
+ "core": [
+ {
+ "vuid": "VUID-vkFlushMappedMemoryRanges-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkFlushMappedMemoryRanges-pMemoryRanges-parameter",
+ "text": " <code>pMemoryRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryRangeCount</code> valid <code>VkMappedMemoryRange</code> structures"
+ },
+ {
+ "vuid": "VUID-vkFlushMappedMemoryRanges-memoryRangeCount-arraylength",
+ "text": " <code>memoryRangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkInvalidateMappedMemoryRanges": {
+ "core": [
+ {
+ "vuid": "VUID-vkInvalidateMappedMemoryRanges-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkInvalidateMappedMemoryRanges-pMemoryRanges-parameter",
+ "text": " <code>pMemoryRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>memoryRangeCount</code> valid <code>VkMappedMemoryRange</code> structures"
+ },
+ {
+ "vuid": "VUID-vkInvalidateMappedMemoryRanges-memoryRangeCount-arraylength",
+ "text": " <code>memoryRangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkMappedMemoryRange": {
+ "core": [
+ {
+ "vuid": "VUID-VkMappedMemoryRange-memory-00684",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be currently mapped"
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-size-00685",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>offset</code> and <code>size</code> <strong class=\"purple\">must</strong> specify a range contained within the currently mapped range of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-size-00686",
+ "text": " If <code>size</code> is equal to <code>VK_WHOLE_SIZE</code>, <code>offset</code> <strong class=\"purple\">must</strong> be within the currently mapped range of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-size-01389",
+ "text": " If <code>size</code> is equal to <code>VK_WHOLE_SIZE</code>, the end of the current mapping of <code>memory</code> <strong class=\"purple\">must</strong> be a multiple of <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>nonCoherentAtomSize</code> bytes from the beginning of the memory object."
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-offset-00687",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>nonCoherentAtomSize</code>"
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-size-01390",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> either be a multiple of <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>nonCoherentAtomSize</code>, or <code>offset</code> plus <code>size</code> <strong class=\"purple\">must</strong> equal the size of <code>memory</code>."
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE</code>"
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkMappedMemoryRange-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ }
+ ]
+ },
+ "vkUnmapMemory": {
+ "core": [
+ {
+ "vuid": "VUID-vkUnmapMemory-memory-00689",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be currently mapped"
+ },
+ {
+ "vuid": "VUID-vkUnmapMemory-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUnmapMemory-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUnmapMemory-memory-parent",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetDeviceMemoryCommitment": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetDeviceMemoryCommitment-memory-00690",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created with a memory type that reports <code>VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceMemoryCommitment-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceMemoryCommitment-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceMemoryCommitment-pCommittedMemoryInBytes-parameter",
+ "text": " <code>pCommittedMemoryInBytes</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceSize</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceMemoryCommitment-memory-parent",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetDeviceGroupPeerMemoryFeatures": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-heapIndex-00691",
+ "text": " <code>heapIndex</code> <strong class=\"purple\">must</strong> be less than <code>memoryHeapCount</code>"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-localDeviceIndex-00692",
+ "text": " <code>localDeviceIndex</code> <strong class=\"purple\">must</strong> be a valid device index"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-remoteDeviceIndex-00693",
+ "text": " <code>remoteDeviceIndex</code> <strong class=\"purple\">must</strong> be a valid device index"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-localDeviceIndex-00694",
+ "text": " <code>localDeviceIndex</code> <strong class=\"purple\">must</strong> not equal remoteDeviceIndex"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-pPeerMemoryFeatures-parameter",
+ "text": " <code>pPeerMemoryFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <a href=\"#VkPeerMemoryFeatureFlags\">VkPeerMemoryFeatureFlags</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupPeerMemoryFeatures-pPeerMemoryFeatures-requiredbitmask",
+ "text": " <code>pPeerMemoryFeatures</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateBuffer-flags-00911",
+ "text": " If the <code>flags</code> member of <code>pCreateInfo</code> includes <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>, creating this <code>VkBuffer</code> <strong class=\"purple\">must</strong> not cause the total required sparse memory for all currently valid sparse resources on the device to exceed <code>VkPhysicalDeviceLimits</code>::<code>sparseAddressSpaceSize</code>"
+ },
+ {
+ "vuid": "VUID-vkCreateBuffer-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateBuffer-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkBufferCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateBuffer-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateBuffer-pBuffer-parameter",
+ "text": " <code>pBuffer</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkBuffer</code> handle"
+ }
+ ]
+ },
+ "VkBufferCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkBufferCreateInfo-size-00912",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-sharingMode-00913",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueFamilyIndexCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-sharingMode-00914",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>queueFamilyIndexCount</code> <strong class=\"purple\">must</strong> be greater than <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-flags-00915",
+ "text": " If the <a href=\"#features-features-sparseBinding\">sparse bindings</a> feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-flags-00916",
+ "text": " If the <a href=\"#features-features-sparseResidencyBuffer\">sparse buffer residency</a> feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-flags-00917",
+ "text": " If the <a href=\"#features-features-sparseResidencyAliased\">sparse aliased residency</a> feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-flags-00918",
+ "text": " If <code>flags</code> contains <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code> or <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code>, it <strong class=\"purple\">must</strong> also contain <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a> or <a href=\"#VkExternalMemoryBufferCreateInfo\">VkExternalMemoryBufferCreateInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferCreateFlagBits\">VkBufferCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferUsageFlagBits\">VkBufferUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-sharingMode-parameter",
+ "text": " <code>sharingMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSharingMode\">VkSharingMode</a> value"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkBufferCreateInfo-sharingMode-01391",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkBufferCreateInfo-sharingMode-01419",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by either <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> or <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties2\">vkGetPhysicalDeviceQueueFamilyProperties2</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkBufferCreateInfo-pNext-00920",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryBufferCreateInfo\">VkExternalMemoryBufferCreateInfo</a>, its <code>handleTypes</code> member <strong class=\"purple\">must</strong> only contain bits that are also in <a href=\"#VkExternalBufferProperties\">VkExternalBufferProperties</a>::<code>externalMemoryProperties.pname</code>:compatibleHandleTypes, as returned by <a href=\"#vkGetPhysicalDeviceExternalBufferProperties\">vkGetPhysicalDeviceExternalBufferProperties</a> with <code>pExternalBufferInfo</code>-><code>handleType</code> equal to any one of the handle types specified in <a href=\"#VkExternalMemoryBufferCreateInfo\">VkExternalMemoryBufferCreateInfo</a>::<code>handleTypes</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkBufferCreateInfo-flags-01887",
+ "text": " If the protected memory feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_BUFFER_CREATE_PROTECTED_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferCreateInfo-None-01888",
+ "text": " If any of the bits <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code> are set, <code>VK_BUFFER_CREATE_PROTECTED_BIT</code> <strong class=\"purple\">must</strong> not also be set"
+ }
+ ],
+ "(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkBufferCreateInfo-pNext-01571",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>, and the <code>dedicatedAllocation</code> member of the chained structure is <code>VK_TRUE</code>, then <code>flags</code> <strong class=\"purple\">must</strong> not include <code>VK_BUFFER_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_BUFFER_CREATE_SPARSE_ALIASED_BIT</code>"
+ }
+ ]
+ },
+ "VkDedicatedAllocationBufferCreateInfoNV": {
+ "(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkDedicatedAllocationBufferCreateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV</code>"
+ }
+ ]
+ },
+ "VkExternalMemoryBufferCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkExternalMemoryBufferCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkExternalMemoryBufferCreateInfo-handleTypes-parameter",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> values"
+ }
+ ]
+ },
+ "vkDestroyBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyBuffer-buffer-00922",
+ "text": " All submitted commands that refer to <code>buffer</code>, either directly or via a <code>VkBufferView</code>, <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyBuffer-buffer-00923",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>buffer</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyBuffer-buffer-00924",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>buffer</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyBuffer-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyBuffer-buffer-parameter",
+ "text": " If <code>buffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyBuffer-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyBuffer-buffer-parent",
+ "text": " If <code>buffer</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateBufferView": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateBufferView-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateBufferView-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkBufferViewCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateBufferView-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateBufferView-pView-parameter",
+ "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkBufferView</code> handle"
+ }
+ ]
+ },
+ "VkBufferViewCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-offset-00925",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-offset-00926",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minTexelBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-range-00928",
+ "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-range-00929",
+ "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be a multiple of the element size of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-range-00930",
+ "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> divided by the element size of <code>format</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxTexelBufferElements</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-offset-00931",
+ "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, the sum of <code>offset</code> and <code>range</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-buffer-00932",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value containing at least one of <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> or <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-buffer-00933",
+ "text": " If <code>buffer</code> was created with <code>usage</code> containing <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for uniform texel buffers, as specified by the <code>VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT</code> flag in <code>VkFormatProperties</code>::<code>bufferFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-buffer-00934",
+ "text": " If <code>buffer</code> was created with <code>usage</code> containing <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for storage texel buffers, as specified by the <code>VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT</code> flag in <code>VkFormatProperties</code>::<code>bufferFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-buffer-00935",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkBufferViewCreateInfo-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ }
+ ]
+ },
+ "vkDestroyBufferView": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyBufferView-bufferView-00936",
+ "text": " All submitted commands that refer to <code>bufferView</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyBufferView-bufferView-00937",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>bufferView</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyBufferView-bufferView-00938",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>bufferView</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyBufferView-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyBufferView-bufferView-parameter",
+ "text": " If <code>bufferView</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>bufferView</code> <strong class=\"purple\">must</strong> be a valid <code>VkBufferView</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyBufferView-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyBufferView-bufferView-parent",
+ "text": " If <code>bufferView</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateImage": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateImage-flags-00939",
+ "text": " If the <code>flags</code> member of <code>pCreateInfo</code> includes <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, creating this <code>VkImage</code> <strong class=\"purple\">must</strong> not cause the total required sparse memory for all currently valid sparse resources on the device to exceed <code>VkPhysicalDeviceLimits</code>::<code>sparseAddressSpaceSize</code>"
+ },
+ {
+ "vuid": "VUID-vkCreateImage-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateImage-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateImage-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateImage-pImage-parameter",
+ "text": " <code>pImage</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImage</code> handle"
+ }
+ ]
+ },
+ "VkImageCreateInfo": {
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-format-00940",
+ "text": " The combination of <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> <strong class=\"purple\">must</strong> be supported, as indicated by a <code>VK_SUCCESS</code> return value from <code>vkGetPhysicalDeviceImageFormatProperties</code> invoked with the same values passed to the corresponding parameters."
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-01889",
+ "text": " If the <code>pNext</code> chain doesn’t contain an instance of <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a>, or if <code>format</code> is not VK_FORMAT_UNDEFINED, the combination of <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> <strong class=\"purple\">must</strong> be supported, as indicated by a <code>VK_SUCCESS</code> return value from <code>vkGetPhysicalDeviceImageFormatProperties</code> invoked with the same values passed to the corresponding parameters."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-format-00943",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> not be <code>VK_FORMAT_UNDEFINED</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-01892",
+ "text": " If the <code>pNext</code> chain includes a <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a> structure whose <code>handleTypes</code> member includes <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code>:"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-01893",
+ "text": " If the <code>pNext</code> chain includes a <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a> structure whose <code>externalFormat</code> member is not <code>0</code>:"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-sharingMode-00941",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueFamilyIndexCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-sharingMode-00942",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>queueFamilyIndexCount</code> <strong class=\"purple\">must</strong> be greater than <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-extent-00944",
+ "text": " <code>extent</code>::<code>width</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-extent-00945",
+ "text": " <code>extent</code>::<code>height</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-extent-00946",
+ "text": " <code>extent</code>::<code>depth</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-mipLevels-00947",
+ "text": " <code>mipLevels</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-arrayLayers-00948",
+ "text": " <code>arrayLayers</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-00949",
+ "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_2D</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00951",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_1D</code>, <code>extent.width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimension1D</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00952",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code> and <code>flags</code> does not contain <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>extent.width</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimension2D</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code>/<code>height</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00953",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code> and <code>flags</code> contains <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>extent.width</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimensionCube</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code>/<code>height</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00954",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code> and <code>flags</code> contains <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>extent.width</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be equal and <code>arrayLayers</code> <strong class=\"purple\">must</strong> be greater than or equal to 6"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00955",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_3D</code>, <code>extent.width</code>, <code>extent.height</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxImageDimension3D</code>, or <code>VkImageFormatProperties</code>::<code>maxExtent.width</code>/<code>height</code>/<code>depth</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure) - whichever is higher"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00956",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_1D</code>, both <code>extent.height</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00957",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-mipLevels-00958",
+ "text": " <code>mipLevels</code> <strong class=\"purple\">must</strong> be less than or equal to <span class=\"eq\">{lfloor}log<sub>2</sub>(max(<code>extent.width</code>, <code>extent.height</code>, <code>extent.depth</code>)){rfloor} + 1</span>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-extent-00959",
+ "text": " <code>mipLevels</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkImageFormatProperties</code>::<code>maxMipLevels</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure)"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-arrayLayers-00960",
+ "text": " <code>arrayLayers</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkImageFormatProperties</code>::<code>maxArrayLayers</code> (as returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure)"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00961",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_3D</code>, <code>arrayLayers</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-samples-00962",
+ "text": " If <code>samples</code> is not <code>VK_SAMPLE_COUNT_1_BIT</code>, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_2D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code>, <code>tiling</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TILING_OPTIMAL</code>, and <code>mipLevels</code> <strong class=\"purple\">must</strong> be equal to <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-usage-00963",
+ "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, then bits other than <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, and <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> <strong class=\"purple\">must</strong> not be set"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-usage-00964",
+ "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>, <code>extent.width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferWidth</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-usage-00965",
+ "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>, <code>extent.height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxFramebufferHeight</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-usage-00966",
+ "text": " If <code>usage</code> includes <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code>, <code>usage</code> <strong class=\"purple\">must</strong> also contain at least one of <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-samples-00967",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a bit value that is set in <code>VkImageFormatProperties</code>::<code>sampleCounts</code> returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-usage-00968",
+ "text": " If the <a href=\"#features-features-shaderStorageImageMultisample\">multisampled storage images</a> feature is not enabled, and <code>usage</code> contains <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>samples</code> <strong class=\"purple\">must</strong> be <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-00969",
+ "text": " If the <a href=\"#features-features-sparseBinding\">sparse bindings</a> feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-01924",
+ "text": " If the <a href=\"#features-features-sparseResidencyAliased\">sparse aliased residency</a> feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00970",
+ "text": " If <code>imageType</code> is <code>VK_IMAGE_TYPE_1D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00971",
+ "text": " If the <a href=\"#features-features-sparseResidencyImage2D\">sparse residency for 2D images</a> feature is not enabled, and <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00972",
+ "text": " If the <a href=\"#features-features-sparseResidencyImage3D\">sparse residency for 3D images</a> feature is not enabled, and <code>imageType</code> is <code>VK_IMAGE_TYPE_3D</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00973",
+ "text": " If the <a href=\"#features-features-sparseResidency2Samples\">sparse residency for images with 2 samples</a> feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_2_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00974",
+ "text": " If the <a href=\"#features-features-sparseResidency4Samples\">sparse residency for images with 4 samples</a> feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_4_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00975",
+ "text": " If the <a href=\"#features-features-sparseResidency8Samples\">sparse residency for images with 8 samples</a> feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_8_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-00976",
+ "text": " If the <a href=\"#features-features-sparseResidency16Samples\">sparse residency for images with 16 samples</a> feature is not enabled, <code>imageType</code> is <code>VK_IMAGE_TYPE_2D</code>, and <code>samples</code> is <code>VK_SAMPLE_COUNT_16_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-00987",
+ "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code> or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code>, it <strong class=\"purple\">must</strong> also contain <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-None-01925",
+ "text": " If any of the bits <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code> are set, <code>VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT</code> <strong class=\"purple\">must</strong> not also be set"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-initialLayout-00993",
+ "text": " <code>initialLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_UNDEFINED</code> or <code>VK_IMAGE_LAYOUT_PREINITIALIZED</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>, <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a>, <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>, <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>, <a href=\"#VkImageFormatListCreateInfoKHR\">VkImageFormatListCreateInfoKHR</a>, or <a href=\"#VkImageSwapchainCreateInfoKHR\">VkImageSwapchainCreateInfoKHR</a>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-imageType-parameter",
+ "text": " <code>imageType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-samples-parameter",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-tiling-parameter",
+ "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-sharingMode-parameter",
+ "text": " <code>sharingMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSharingMode\">VkSharingMode</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-initialLayout-parameter",
+ "text": " <code>initialLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-sharingMode-01392",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-sharingMode-01420",
+ "text": " If <code>sharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by either <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> or <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties2\">vkGetPhysicalDeviceQueueFamilyProperties2</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-00950",
+ "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code>, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_3D</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-01890",
+ "text": " If the protected memory feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_PROTECTED_BIT</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-None-01891",
+ "text": " If any of the bits <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code> are set, <code>VK_IMAGE_CREATE_PROTECTED_BIT</code> <strong class=\"purple\">must</strong> not also be set."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_external_memory)+(VK_NV_external_memory)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-00988",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>, it <strong class=\"purple\">must</strong> not contain an instance of <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-00990",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>, its <code>handleTypes</code> member <strong class=\"purple\">must</strong> only contain bits that are also in <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a>::<code>externalMemoryProperties</code>::<code>compatibleHandleTypes</code>, as returned by <a href=\"#vkGetPhysicalDeviceImageFormatProperties2\">vkGetPhysicalDeviceImageFormatProperties2</a> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure, and with an instance of <a href=\"#VkPhysicalDeviceExternalImageFormatInfo\">VkPhysicalDeviceExternalImageFormatInfo</a> in the <code>pNext</code> chain, with a <code>handleType</code> equal to any one of the handle types specified in <a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>::<code>handleTypes</code>"
+ }
+ ],
+ "(VK_NV_external_memory+VK_NV_external_memory_capabilities)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-00991",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>, its <code>handleTypes</code> member <strong class=\"purple\">must</strong> only contain bits that are also in <a href=\"#VkExternalImageFormatPropertiesNV\">VkExternalImageFormatPropertiesNV</a>::<code>externalMemoryProperties</code>::<code>compatibleHandleTypes</code>, as returned by <a href=\"#vkGetPhysicalDeviceExternalImageFormatPropertiesNV\">vkGetPhysicalDeviceExternalImageFormatPropertiesNV</a> with <code>format</code>, <code>imageType</code>, <code>tiling</code>, <code>usage</code>, and <code>flags</code> equal to those in this structure, and with <code>externalHandleType</code> equal to any one of the handle types specified in <a href=\"#VkExternalMemoryImageCreateInfoNV\">VkExternalMemoryImageCreateInfoNV</a>::<code>handleTypes</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-physicalDeviceCount-01421",
+ "text": " If the logical device was created with <a href=\"#VkDeviceGroupDeviceCreateInfo\">VkDeviceGroupDeviceCreateInfo</a>::<code>physicalDeviceCount</code> equal to 1, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-00992",
+ "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT</code>, then <code>mipLevels</code> <strong class=\"purple\">must</strong> be one, <code>arrayLayers</code> <strong class=\"purple\">must</strong> be one, <code>imageType</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TYPE_2D</code>, and <code>tiling</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_TILING_OPTIMAL</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-01572",
+ "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code>, then <code>format</code> <strong class=\"purple\">must</strong> be a <a href=\"#appendix-compressedtex-bc\">block-compressed image format</a>, an <a href=\"#appendix-compressedtex-etc2\">ETC compressed image format</a>, or an <a href=\"#appendix-compressedtex-astc\">ASTC compressed image format</a>."
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-01573",
+ "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code>, then <code>flags</code> <strong class=\"purple\">must</strong> also contain <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code>."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_external_memory,VK_NV_external_memory)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-pNext-01443",
+ "text": " If the <code>pNext</code> chain includes a ifdef::VK_VERSION_1_1,VK_KHR_external_memory[<a href=\"#VkExternalMemoryImageCreateInfo\">VkExternalMemoryImageCreateInfo</a>]"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-format-01574",
+ "text": " If the image <code>format</code> is one of those listed in <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">Formats requiring sampler Y’C<sub>B</sub>C<sub>R</sub> conversion for <code>VK_IMAGE_ASPECT_COLOR_BIT</code> image views</a>:"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-tiling-01575",
+ "text": " If <code>tiling</code> is <code>VK_IMAGE_TILING_OPTIMAL</code>, <code>format</code> is a <em>multi-planar</em> format, and <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> (as returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>) does not include <code>VK_FORMAT_FEATURE_DISJOINT_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_DISJOINT_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-tiling-01576",
+ "text": " If <code>tiling</code> is <code>VK_IMAGE_TILING_LINEAR</code>, <code>format</code> is a <em>multi-planar</em> format, and <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> (as returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>) does not include <code>VK_FORMAT_FEATURE_DISJOINT_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_DISJOINT_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCreateInfo-format-01577",
+ "text": " If <code>format</code> is not a <em>multi-planar</em> format, and <code>flags</code> does not include <code>VK_IMAGE_CREATE_ALIAS_BIT</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_CREATE_DISJOINT_BIT</code>"
+ }
+ ],
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkImageCreateInfo-flags-01533",
+ "text": " If <code>flags</code> contains <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> <code>format</code> <strong class=\"purple\">must</strong> be a depth or depth/stencil format"
+ }
+ ]
+ },
+ "VkDedicatedAllocationImageCreateInfoNV": {
+ "(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkDedicatedAllocationImageCreateInfoNV-dedicatedAllocation-00994",
+ "text": " If <code>dedicatedAllocation</code> is <code>VK_TRUE</code>, <code>VkImageCreateInfo</code>::<code>flags</code> <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_CREATE_SPARSE_BINDING_BIT</code>, <code>VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT</code>, or <code>VK_IMAGE_CREATE_SPARSE_ALIASED_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkDedicatedAllocationImageCreateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV</code>"
+ }
+ ]
+ },
+ "VkExternalMemoryImageCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_memory)": [
+ {
+ "vuid": "VUID-VkExternalMemoryImageCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkExternalMemoryImageCreateInfo-handleTypes-parameter",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkExternalMemoryImageCreateInfo-handleTypes-requiredbitmask",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "VkExternalMemoryImageCreateInfoNV": {
+ "(VK_NV_external_memory)": [
+ {
+ "vuid": "VUID-VkExternalMemoryImageCreateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkExternalMemoryImageCreateInfoNV-handleTypes-parameter",
+ "text": " <code>handleTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"
+ }
+ ]
+ },
+ "VkExternalFormatANDROID": {
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkExternalFormatANDROID-externalFormat-01894",
+ "text": " <code>externalFormat</code> <strong class=\"purple\">must</strong> be <code>0</code> or a value returned in the <code>externalFormat</code> member of <a href=\"#VkAndroidHardwareBufferFormatPropertiesANDROID\">VkAndroidHardwareBufferFormatPropertiesANDROID</a> by an earlier call to <a href=\"#vkGetAndroidHardwareBufferPropertiesANDROID\">vkGetAndroidHardwareBufferPropertiesANDROID</a>"
+ },
+ {
+ "vuid": "VUID-VkExternalFormatANDROID-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID</code>"
+ }
+ ]
+ },
+ "VkImageSwapchainCreateInfoKHR": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-VkImageSwapchainCreateInfoKHR-swapchain-00995",
+ "text": " If <code>swapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, the fields of <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> <strong class=\"purple\">must</strong> match the <a href=\"#swapchain-wsi-image-create-info\">implied image creation parameters</a> of the swapchain"
+ },
+ {
+ "vuid": "VUID-VkImageSwapchainCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImageSwapchainCreateInfoKHR-swapchain-parameter",
+ "text": " If <code>swapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ }
+ ]
+ },
+ "VkImageFormatListCreateInfoKHR": {
+ "(VK_KHR_image_format_list)": [
+ {
+ "vuid": "VUID-VkImageFormatListCreateInfoKHR-viewFormatCount-01578",
+ "text": " If <code>viewFormatCount</code> is not <code>0</code>, all of the formats in the <code>pViewFormats</code> array <strong class=\"purple\">must</strong> be compatible with the format specified in the <code>format</code> field of <code>VkImageCreateInfo</code>, as described in the <a href=\"#resources-image-views-compatibility\">compatibility table</a>."
+ },
+ {
+ "vuid": "VUID-VkImageFormatListCreateInfoKHR-flags-01579",
+ "text": " If <code>VkImageCreateInfo</code>::<code>flags</code> does not contain <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code>, <code>viewFormatCount</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageFormatListCreateInfoKHR-viewFormatCount-01580",
+ "text": " If <code>viewFormatCount</code> is not <code>0</code>, <code>VkImageCreateInfo</code>::<code>format</code> <strong class=\"purple\">must</strong> be in <code>pViewFormats</code>."
+ },
+ {
+ "vuid": "VUID-VkImageFormatListCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkImageFormatListCreateInfoKHR-pViewFormats-parameter",
+ "text": " If <code>viewFormatCount</code> is not <code>0</code>, <code>pViewFormats</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>viewFormatCount</code> valid <a href=\"#VkFormat\">VkFormat</a> values"
+ }
+ ]
+ },
+ "vkGetImageSubresourceLayout": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-image-00996",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>tiling</code> equal to <code>VK_IMAGE_TILING_LINEAR</code>"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-aspectMask-00997",
+ "text": " The <code>aspectMask</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> only have a single bit set"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-mipLevel-01716",
+ "text": " The <code>mipLevel</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-arrayLayer-01717",
+ "text": " The <code>arrayLayer</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-pSubresource-parameter",
+ "text": " <code>pSubresource</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageSubresource</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-pLayout-parameter",
+ "text": " <code>pLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSubresourceLayout</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-image-parent",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-format-01581",
+ "text": " If the <code>format</code> of <code>image</code> is a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar format</a> with two planes, the <code>aspectMask</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-format-01582",
+ "text": " If the <code>format</code> of <code>image</code> is a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar format</a> with three planes, the <code>aspectMask</code> member of <code>pSubresource</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkGetImageSubresourceLayout-image-01895",
+ "text": " If <code>image</code> was created with the VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID external memory handle type, then <code>image</code> <strong class=\"purple\">must</strong> be bound to memory."
+ }
+ ]
+ },
+ "VkImageSubresource": {
+ "core": [
+ {
+ "vuid": "VUID-VkImageSubresource-aspectMask-parameter",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageSubresource-aspectMask-requiredbitmask",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "vkDestroyImage": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyImage-image-01000",
+ "text": " All submitted commands that refer to <code>image</code>, either directly or via a <code>VkImageView</code>, <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyImage-image-01001",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>image</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyImage-image-01002",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>image</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyImage-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyImage-image-parameter",
+ "text": " If <code>image</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyImage-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyImage-image-parent",
+ "text": " If <code>image</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateImageView": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateImageView-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateImageView-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageViewCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateImageView-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateImageView-pView-parameter",
+ "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImageView</code> handle"
+ }
+ ]
+ },
+ "VkImageViewCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01003",
+ "text": " If <code>image</code> was not created with <code>VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT</code> then <code>viewType</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_VIEW_TYPE_CUBE</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-viewType-01004",
+ "text": " If the <a href=\"#features-features-imageCubeArray\">image cubemap arrays</a> feature is not enabled, <code>viewType</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01006",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code>, <code>format</code> <strong class=\"purple\">must</strong> be format that has at least one supported feature bit present in the value of <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01007",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with a <code>usage</code> value containing at least one of <code>VK_IMAGE_USAGE_SAMPLED_BIT</code>, <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, or <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01008",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_SAMPLED_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for sampled images, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01009",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for storage images, as specified by the <code>VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01010",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for color attachments, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01011",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_LINEAR</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for depth/stencil attachments, as specified by the <code>VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01478",
+ "text": " <code>subresourceRange.baseMipLevel</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01718",
+ "text": " If <code>subresourceRange.levelCount</code> is not <code>VK_REMAINING_MIP_LEVELS</code>, <span class=\"eq\"><code>subresourceRange.baseMipLevel</code> + <code>subresourceRange.levelCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01018",
+ "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in <a href=\"#features-formats-compatibility-classes\">Format Compatibility Classes</a>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01020",
+ "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subResourceRange-01021",
+ "text": " <code>subresourceRange</code> and <code>viewType</code> <strong class=\"purple\">must</strong> be compatible with the image, as described in the <a href=\"#resources-image-views-compatibility\">compatibility table</a>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkImageViewUsageCreateInfo\">VkImageViewUsageCreateInfo</a> or <a href=\"#VkSamplerYcbcrConversionInfo\">VkSamplerYcbcrConversionInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-viewType-parameter",
+ "text": " <code>viewType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageViewType\">VkImageViewType</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-components-parameter",
+ "text": " <code>components</code> <strong class=\"purple\">must</strong> be a valid <code>VkComponentMapping</code> structure"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-parameter",
+ "text": " <code>subresourceRange</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceRange</code> structure"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01005",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TYPE_3D</code> but without <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set then <code>viewType</code> <strong class=\"purple\">must</strong> not be <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01482",
+ "text": " If <code>image</code> is not a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, or <code>viewType</code> is not <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01483",
+ "text": " If <code>subresourceRange</code>::<code>layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <code>image</code> is not a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, or <code>viewType</code> is not <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>layerCount</code> <strong class=\"purple\">must</strong> be non-zero and <span class=\"eq\"><code>subresourceRange</code>::<code>baseArrayLayer</code> + <code>subresourceRange</code>::<code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01484",
+ "text": " If <code>image</code> is a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, and <code>viewType</code> is <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>extent.depth</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01485",
+ "text": " If <code>subresourceRange</code>::<code>layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <code>image</code> is a 3D image created with <code>VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT</code> set, and <code>viewType</code> is <code>VK_IMAGE_VIEW_TYPE_2D</code> or <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code>, <code>subresourceRange</code>::<code>layerCount</code> <strong class=\"purple\">must</strong> be non-zero and <span class=\"eq\"><code>subresourceRange</code>::<code>baseArrayLayer</code> + <code>subresourceRange</code>::<code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>extent.depth</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01012",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code>, <code>format</code> <strong class=\"purple\">must</strong> be format that has at least one supported feature bit present in the value of <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01013",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_SAMPLED_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for sampled images, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01014",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for storage images, as specified by the <code>VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01015",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for color attachments, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01016",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>usage</code> contains <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for depth/stencil attachments, as specified by the <code>VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01965",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code> and <code>format</code> is not <code>VK_FORMAT_UNDEFINED</code>, <code>format</code> <strong class=\"purple\">must</strong> be format that has at least one supported feature bit present in the value of <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01966",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code>, and <code>format</code> is not <code>VK_FORMAT_UNDEFINED</code>, and <code>usage</code> contains <code>VK_IMAGE_USAGE_SAMPLED_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for sampled images, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01967",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code>, and <code>format</code> is not <code>VK_FORMAT_UNDEFINED</code>, and <code>usage</code> contains <code>VK_IMAGE_USAGE_STORAGE_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for storage images, as specified by the <code>VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01968",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code>, and <code>format</code> is not <code>VK_FORMAT_UNDEFINED</code>, and <code>usage</code> contains <code>VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for color attachments, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01969",
+ "text": " If <code>image</code> was created with <code>VK_IMAGE_TILING_OPTIMAL</code>, and <code>format</code> is not <code>VK_FORMAT_UNDEFINED</code>, and <code>usage</code> contains <code>VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be supported for depth/stencil attachments, as specified by the <code>VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> with the same value of <code>format</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01896",
+ "text": " If <code>image</code> has an <a href=\"#memory-external-android-hardware-buffer-external-formats\">external format</a>:"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01480",
+ "text": " <code>subresourceRange.baseArrayLayer</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-subresourceRange-01719",
+ "text": " If <code>subresourceRange.layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, <span class=\"eq\"><code>subresourceRange.baseArrayLayer</code> + <code>subresourceRange.layerCount</code></span> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)+!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01759",
+ "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, but without the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in <a href=\"#features-formats-compatibility-classes\">Format Compatibility Classes</a>"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_maintenance2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01760",
+ "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, and if the <code>format</code> of the <code>image</code> is not a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar</a> format, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in <a href=\"#features-formats-compatibility-classes\">Format Compatibility Classes</a>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01761",
+ "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, but without the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, and if the <code>format</code> of the <code>image</code> is not a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar</a> format, <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <code>format</code> used to create <code>image</code>, as defined in <a href=\"#features-formats-compatibility-classes\">Format Compatibility Classes</a>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01583",
+ "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be compatible with, or <strong class=\"purple\">must</strong> be an uncompressed format that is size-compatible with, the <code>format</code> used to create <code>image</code>."
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01584",
+ "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT</code> flag, the <code>levelCount</code> and <code>layerCount</code> members of <code>subresourceRange</code> <strong class=\"purple\">must</strong> both be <code>1</code>."
+ }
+ ],
+ "(VK_KHR_image_format_list)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-pNext-01585",
+ "text": " If a <code>VkImageFormatListCreateInfoKHR</code> structure was included in the <code>pNext</code> chain of the <code>VkImageCreateInfo</code> struct used when creating <code>image</code> and the <code>viewFormatCount</code> field of <code>VkImageFormatListCreateInfoKHR</code> is not zero then <code>format</code> <strong class=\"purple\">must</strong> be one of the formats in <code>VkImageFormatListCreateInfoKHR</code>::<code>pViewFormats</code>."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01586",
+ "text": " If <code>image</code> was created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, if the <code>format</code> of the <code>image</code> is a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar</a> format, and if <code>subresourceRange.aspectMask</code> is one of <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>, then <code>format</code> <strong class=\"purple\">must</strong> be compatible with the <a href=\"#VkFormat\">VkFormat</a> for the plane of the <code>image</code> <code>format</code> indicated by <code>subresourceRange.aspectMask</code>, as defined in <a href=\"#features-formats-compatible-planes\">Compatible formats of planes of multi-planar formats</a>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01762",
+ "text": " If <code>image</code> was not created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, or if the <code>format</code> of the <code>image</code> is a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar</a> format and if <code>subresourceRange.aspectMask</code> is <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, <code>format</code> <strong class=\"purple\">must</strong> be identical to the <code>format</code> used to create <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-pNext-01970",
+ "text": " If the <code>pNext</code> chain contains an instance of <a href=\"#VkSamplerYcbcrConversionInfo\">VkSamplerYcbcrConversionInfo</a> with a <code>conversion</code> value other than <code>VK_NULL_HANDLE</code>, all members of <code>components</code> <strong class=\"purple\">must</strong> have the value <code>VK_COMPONENT_SWIZZLE_IDENTITY</code>."
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageViewCreateInfo-image-01019",
+ "text": " If <code>image</code> was not created with the <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code> flag, <code>format</code> <strong class=\"purple\">must</strong> be identical to the <code>format</code> used to create <code>image</code>"
+ }
+ ]
+ },
+ "VkImageViewUsageCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkImageViewUsageCreateInfo-usage-01587",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not include any set bits that were not set in the <code>usage</code> member of the <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> structure used to create the image this image view is created from."
+ },
+ {
+ "vuid": "VUID-VkImageViewUsageCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkImageViewUsageCreateInfo-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageViewUsageCreateInfo-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "VkImageSubresourceRange": {
+ "core": [
+ {
+ "vuid": "VUID-VkImageSubresourceRange-levelCount-01720",
+ "text": " If <code>levelCount</code> is not <code>VK_REMAINING_MIP_LEVELS</code>, it <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkImageSubresourceRange-layerCount-01721",
+ "text": " If <code>layerCount</code> is not <code>VK_REMAINING_ARRAY_LAYERS</code>, it <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkImageSubresourceRange-aspectMask-parameter",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageSubresourceRange-aspectMask-requiredbitmask",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageSubresourceRange-aspectMask-01670",
+ "text": " If <code>aspectMask</code> includes <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, then it <strong class=\"purple\">must</strong> not include any of <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"
+ }
+ ]
+ },
+ "VkComponentMapping": {
+ "core": [
+ {
+ "vuid": "VUID-VkComponentMapping-r-parameter",
+ "text": " <code>r</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"
+ },
+ {
+ "vuid": "VUID-VkComponentMapping-g-parameter",
+ "text": " <code>g</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"
+ },
+ {
+ "vuid": "VUID-VkComponentMapping-b-parameter",
+ "text": " <code>b</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"
+ },
+ {
+ "vuid": "VUID-VkComponentMapping-a-parameter",
+ "text": " <code>a</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkComponentSwizzle\">VkComponentSwizzle</a> value"
+ }
+ ]
+ },
+ "vkDestroyImageView": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyImageView-imageView-01026",
+ "text": " All submitted commands that refer to <code>imageView</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyImageView-imageView-01027",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>imageView</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyImageView-imageView-01028",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>imageView</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyImageView-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyImageView-imageView-parameter",
+ "text": " If <code>imageView</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>imageView</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageView</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyImageView-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyImageView-imageView-parent",
+ "text": " If <code>imageView</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetBufferMemoryRequirements": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetBufferMemoryRequirements-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetBufferMemoryRequirements-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetBufferMemoryRequirements-pMemoryRequirements-parameter",
+ "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetBufferMemoryRequirements-buffer-parent",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetImageMemoryRequirements": {
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements-image-01588",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> flag set"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements-pMemoryRequirements-parameter",
+ "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements-image-parent",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetBufferMemoryRequirements2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-vkGetBufferMemoryRequirements2-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetBufferMemoryRequirements2-pInfo-parameter",
+ "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkBufferMemoryRequirementsInfo2</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetBufferMemoryRequirements2-pMemoryRequirements-parameter",
+ "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements2</code> structure"
+ }
+ ]
+ },
+ "VkBufferMemoryRequirementsInfo2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-VkBufferMemoryRequirementsInfo2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryRequirementsInfo2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferMemoryRequirementsInfo2-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ }
+ ]
+ },
+ "vkGetImageMemoryRequirements2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements2-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements2-pInfo-parameter",
+ "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageMemoryRequirementsInfo2</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetImageMemoryRequirements2-pMemoryRequirements-parameter",
+ "text": " <code>pMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMemoryRequirements2</code> structure"
+ }
+ ]
+ },
+ "VkImageMemoryRequirementsInfo2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01589",
+ "text": " If <code>image</code> was created with a <em>multi-planar</em> format and the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> flag, there <strong class=\"purple\">must</strong> be a <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> in the <code>pNext</code> chain of the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a> structure"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01590",
+ "text": " If <code>image</code> was not created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> flag, there <strong class=\"purple\">must</strong> not be a <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> in the <code>pNext</code> chain of the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a> structure"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01591",
+ "text": " If <code>image</code> was created with a single-plane format, there <strong class=\"purple\">must</strong> not be a <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> in the <code>pNext</code> chain of the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a> structure"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-01897",
+ "text": " If <code>image</code> was created with the VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID external memory handle type, then <code>image</code> <strong class=\"purple\">must</strong> be bound to memory."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-VkImageMemoryRequirementsInfo2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2</code>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryRequirementsInfo2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkImageMemoryRequirementsInfo2-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ }
+ ]
+ },
+ "VkImagePlaneMemoryRequirementsInfo": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImagePlaneMemoryRequirementsInfo-planeAspect-01592",
+ "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be an aspect that exists in the format; that is, for a two-plane image <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, and for a three-plane image <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImagePlaneMemoryRequirementsInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkImagePlaneMemoryRequirementsInfo-planeAspect-parameter",
+ "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> value"
+ }
+ ]
+ },
+ "VkMemoryRequirements2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-VkMemoryRequirements2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2</code>"
+ },
+ {
+ "vuid": "VUID-VkMemoryRequirements2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>"
+ }
+ ]
+ },
+ "VkMemoryDedicatedRequirements": {
+ "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkMemoryDedicatedRequirements-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS</code>"
+ }
+ ]
+ },
+ "vkBindBufferMemory": {
+ "core": [
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01029",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01030",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-memoryOffset-01031",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01032",
+ "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> or <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minTexelBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01033",
+ "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minUniformBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01034",
+ "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_STORAGE_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minStorageBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-memory-01035",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-memoryOffset-01036",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-size-01037",
+ "text": " The <code>size</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-parent",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-memory-parent",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01444",
+ "text": " If <code>buffer</code> requires a dedicated allocation(as reported by <a href=\"#vkGetBufferMemoryRequirements2\">vkGetBufferMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>buffer</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> equal to <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-memory-01508",
+ "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> was not <code>VK_NULL_HANDLE</code>, then <code>buffer</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code>, and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkBindBufferMemory-None-01898",
+ "text": " If buffer was created with the <code>VK_BUFFER_CREATE_PROTECTED_BIT</code> bit set, the buffer <strong class=\"purple\">must</strong> be bound to a memory object allocated with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory-None-01899",
+ "text": " If buffer was created with the <code>VK_BUFFER_CREATE_PROTECTED_BIT</code> bit not set, the buffer <strong class=\"purple\">must</strong> not be bound to a memory object created with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"
+ }
+ ],
+ "(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01038",
+ "text": " If <code>buffer</code> was created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>buffer</code> equal to a buffer handle created with identical creation parameters to <code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"
+ }
+ ],
+ "(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-vkBindBufferMemory-buffer-01039",
+ "text": " If <code>buffer</code> was not created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"
+ }
+ ]
+ },
+ "vkBindBufferMemory2": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [
+ {
+ "vuid": "VUID-vkBindBufferMemory2-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory2-pBindInfos-parameter",
+ "text": " <code>pBindInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindInfoCount</code> valid <code>VkBindBufferMemoryInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-vkBindBufferMemory2-bindInfoCount-arraylength",
+ "text": " <code>bindInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkBindBufferMemoryInfo": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01593",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01594",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-memoryOffset-01595",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01596",
+ "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> or <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minTexelBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01597",
+ "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minUniformBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01598",
+ "text": " If <code>buffer</code> was created with the <code>VK_BUFFER_USAGE_STORAGE_BUFFER_BIT</code>, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minStorageBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-memory-01599",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-memoryOffset-01600",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-size-01601",
+ "text": " The <code>size</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetBufferMemoryRequirements</code> with <code>buffer</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkBindBufferMemoryDeviceGroupInfo\">VkBindBufferMemoryDeviceGroupInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-commonparent",
+ "text": " Both of <code>buffer</code>, and <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01602",
+ "text": " If <code>buffer</code> requires a dedicated allocation(as reported by <a href=\"#vkGetBufferMemoryRequirements2\">vkGetBufferMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>buffer</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> equal to <code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-memory-01900",
+ "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> was not <code>VK_NULL_HANDLE</code>, then <code>buffer</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01603",
+ "text": " If <code>buffer</code> was created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>buffer</code> equal to <code>buffer</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-buffer-01604",
+ "text": " If <code>buffer</code> was not created with <a href=\"#VkDedicatedAllocationBufferCreateInfoNV\">VkDedicatedAllocationBufferCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkBindBufferMemoryInfo-pNext-01605",
+ "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindBufferMemoryDeviceGroupInfo\">VkBindBufferMemoryDeviceGroupInfo</a>, all instances of <code>memory</code> specified by <a href=\"#VkBindBufferMemoryDeviceGroupInfo\">VkBindBufferMemoryDeviceGroupInfo</a>::<code>pDeviceIndices</code> <strong class=\"purple\">must</strong> have been allocated"
+ }
+ ]
+ },
+ "VkBindBufferMemoryDeviceGroupInfo": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-deviceIndexCount-01606",
+ "text": " <code>deviceIndexCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-pDeviceIndices-01607",
+ "text": " All elements of <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be valid device indices"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBindBufferMemoryDeviceGroupInfo-pDeviceIndices-parameter",
+ "text": " If <code>deviceIndexCount</code> is not <code>0</code>, <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>deviceIndexCount</code> <code>uint32_t</code> values"
+ }
+ ]
+ },
+ "vkBindImageMemory": {
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkBindImageMemory-image-01608",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> set."
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-vkBindImageMemory-image-01044",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-image-01045",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-memoryOffset-01046",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-memory-01047",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetImageMemoryRequirements</code> with <code>image</code>"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-memoryOffset-01048",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetImageMemoryRequirements</code> with <code>image</code>"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-size-01049",
+ "text": " The <code>size</code> member of the <code>VkMemoryRequirements</code> structure returned from a call to <code>vkGetImageMemoryRequirements</code> with <code>image</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-memory-parameter",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-image-parent",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-memory-parent",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-vkBindImageMemory-image-01445",
+ "text": " If <code>image</code> requires a dedicated allocation (as reported by <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>image</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> equal to <code>image</code>"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-memory-01509",
+ "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> was not <code>VK_NULL_HANDLE</code>, then <code>image</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkBindImageMemory-None-01901",
+ "text": " If image was created with the <code>VK_IMAGE_CREATE_PROTECTED_BIT</code> bit set, the image <strong class=\"purple\">must</strong> be bound to a memory object allocated with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory-None-01902",
+ "text": " If image was created with the <code>VK_IMAGE_CREATE_PROTECTED_BIT</code> bit not set, the image <strong class=\"purple\">must</strong> not be bound to a memory object created with a memory type that reports <code>VK_MEMORY_PROPERTY_PROTECTED_BIT</code>"
+ }
+ ],
+ "(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-vkBindImageMemory-image-01050",
+ "text": " If <code>image</code> was created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>image</code> equal to an image handle created with identical creation parameters to <code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"
+ }
+ ],
+ "(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-vkBindImageMemory-image-01051",
+ "text": " If <code>image</code> was not created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"
+ }
+ ]
+ },
+ "vkBindImageMemory2": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [
+ {
+ "vuid": "VUID-vkBindImageMemory2-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory2-pBindInfos-parameter",
+ "text": " <code>pBindInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindInfoCount</code> valid <code>VkBindImageMemoryInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-vkBindImageMemory2-bindInfoCount-arraylength",
+ "text": " <code>bindInfoCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkBindImageMemoryInfo": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-image-01609",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not already be backed by a memory object"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-image-01610",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not have been created with any sparse memory binding flags"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-memoryOffset-01611",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>, or <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-commonparent",
+ "text": " Both of <code>image</code>, and <code>memory</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-memory-01612",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements\">vkGetImageMemoryRequirements</a> with <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-memoryOffset-01613",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements\">vkGetImageMemoryRequirements</a> with <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-memory-01614",
+ "text": " The difference of the size of <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be greater than or equal to the <code>size</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements\">vkGetImageMemoryRequirements</a> with the same <code>image</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01615",
+ "text": " If the <code>pNext</code> chain does not include an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01616",
+ "text": " If the <code>pNext</code> chain does not include an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01617",
+ "text": " If the <code>pNext</code> chain does not include an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, the difference of the size of <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be greater than or equal to the <code>size</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with the same <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01618",
+ "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>image</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_DISJOINT_BIT</code> bit set."
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01619",
+ "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memory</code> <strong class=\"purple\">must</strong> have been allocated using one of the memory types allowed in the <code>memoryTypeBits</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code> and the correct <code>planeAspect</code> for this plane in the <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> structure attached to the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a>’s <code>pNext</code> chain"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01620",
+ "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, <code>memoryOffset</code> <strong class=\"purple\">must</strong> be an integer multiple of the <code>alignment</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with <code>image</code> and the correct <code>planeAspect</code> for this plane in the <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> structure attached to the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a>’s <code>pNext</code> chain"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01621",
+ "text": " If the <code>pNext</code> chain includes an instance of the <a href=\"#VkBindImagePlaneMemoryInfo\">VkBindImagePlaneMemoryInfo</a> structure, the difference of the size of <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be greater than or equal to the <code>size</code> member of the <a href=\"#VkMemoryRequirements\">VkMemoryRequirements</a> structure returned from a call to <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> with the same <code>image</code> and the correct <code>planeAspect</code> for this plane in the <a href=\"#VkImagePlaneMemoryRequirementsInfo\">VkImagePlaneMemoryRequirementsInfo</a> structure attached to the <a href=\"#VkImageMemoryRequirementsInfo2\">VkImageMemoryRequirementsInfo2</a>’s <code>pNext</code> chain"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-image-01622",
+ "text": " If <code>image</code> requires a dedicated allocation (as reported by <a href=\"#vkGetImageMemoryRequirements2\">vkGetImageMemoryRequirements2</a> in <a href=\"#VkMemoryDedicatedRequirements\">VkMemoryDedicatedRequirements</a>::requiresDedicatedAllocation for <code>image</code>), <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> equal to <code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-memory-01903",
+ "text": " If the <code>VkMemoryAllocateInfo</code> provided when <code>memory</code> was allocated included an instance of <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a> in its <code>pNext</code> chain, and <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> was not <code>VK_NULL_HANDLE</code>, then <code>image</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkMemoryDedicatedAllocateInfo\">VkMemoryDedicatedAllocateInfo</a>::<code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-image-01623",
+ "text": " If <code>image</code> was created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> have been created with <a href=\"#VkDedicatedAllocationMemoryAllocateInfoNV\">VkDedicatedAllocationMemoryAllocateInfoNV</a>::<code>image</code> equal to <code>image</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> be zero"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_NV_dedicated_allocation)+!(VK_VERSION_1_1,VK_KHR_dedicated_allocation)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-image-01624",
+ "text": " If <code>image</code> was not created with <a href=\"#VkDedicatedAllocationImageCreateInfoNV\">VkDedicatedAllocationImageCreateInfoNV</a>::<code>dedicatedAllocation</code> equal to <code>VK_TRUE</code>, <code>memory</code> <strong class=\"purple\">must</strong> not have been allocated dedicated for a specific buffer or image"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+!(VK_VERSION_1_1+VK_KHR_swapchain)+!(VK_KHR_device_group+VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-memory-01625",
+ "text": " <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01626",
+ "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, all instances of <code>memory</code> specified by <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>pDeviceIndices</code> <strong class=\"purple\">must</strong> have been allocated"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01627",
+ "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, and <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>splitInstanceBindRegionCount</code> is not zero, then <code>image</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01628",
+ "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, all elements of <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be valid rectangles contained within the dimensions of <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01629",
+ "text": " If the <code>pNext</code> chain includes <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>, the union of the areas of all elements of <a href=\"#VkBindImageMemoryDeviceGroupInfo\">VkBindImageMemoryDeviceGroupInfo</a>::<code>pSplitInstanceBindRegions</code> that correspond to the same instance of <code>image</code> <strong class=\"purple\">must</strong> cover the entire image."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-image-01630",
+ "text": " If <code>image</code> was created with a valid swapchain handle in <a href=\"#VkImageSwapchainCreateInfoKHR\">VkImageSwapchainCreateInfoKHR</a>::<code>swapchain</code>, then the <code>pNext</code> chain <strong class=\"purple\">must</strong> include a valid instance of <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01631",
+ "text": " If the <code>pNext</code> chain includes an instance of <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>, <code>memory</code> <strong class=\"purple\">must</strong> be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryInfo-pNext-01632",
+ "text": " If the <code>pNext</code> chain does not include an instance of <a href=\"#VkBindImageMemorySwapchainInfoKHR\">VkBindImageMemorySwapchainInfoKHR</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ }
+ ]
+ },
+ "VkBindImageMemoryDeviceGroupInfo": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-deviceIndexCount-01633",
+ "text": " At least one of <code>deviceIndexCount</code> and <code>splitInstanceBindRegionCount</code> <strong class=\"purple\">must</strong> be zero."
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-deviceIndexCount-01634",
+ "text": " <code>deviceIndexCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pDeviceIndices-01635",
+ "text": " All elements of <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be valid device indices."
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-splitInstanceBindRegionCount-01636",
+ "text": " <code>splitInstanceBindRegionCount</code> <strong class=\"purple\">must</strong> either be zero or equal to the number of physical devices in the logical device squared"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pSplitInstanceBindRegions-01637",
+ "text": " Elements of <code>pSplitInstanceBindRegions</code> that correspond to the same instance of an image <strong class=\"purple\">must</strong> not overlap."
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-offset-01638",
+ "text": " The <code>offset.x</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block width (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.width</code>) of all non-metadata aspects of the image"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-offset-01639",
+ "text": " The <code>offset.y</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block height (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.height</code>) of all non-metadata aspects of the image"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-extent-01640",
+ "text": " The <code>extent.width</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block width of all non-metadata aspects of the image, or else <code>extent.width</code> + <code>offset.x</code> <strong class=\"purple\">must</strong> equal the width of the image subresource"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-extent-01641",
+ "text": " The <code>extent.height</code> member of any element of <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block height of all non-metadata aspects of the image, or else <code>extent.height</code><br> <code>offset.y</code> <strong class=\"purple\">must</strong> equal the width of the image subresource"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pDeviceIndices-parameter",
+ "text": " If <code>deviceIndexCount</code> is not <code>0</code>, <code>pDeviceIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>deviceIndexCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemoryDeviceGroupInfo-pSplitInstanceBindRegions-parameter",
+ "text": " If <code>splitInstanceBindRegionCount</code> is not <code>0</code>, <code>pSplitInstanceBindRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>splitInstanceBindRegionCount</code> <code>VkRect2D</code> structures"
+ }
+ ]
+ },
+ "VkBindImageMemorySwapchainInfoKHR": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_device_group)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-VkBindImageMemorySwapchainInfoKHR-imageIndex-01644",
+ "text": " <code>imageIndex</code> <strong class=\"purple\">must</strong> be less than the number of images in <code>swapchain</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemorySwapchainInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImageMemorySwapchainInfoKHR-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ }
+ ]
+ },
+ "VkBindImagePlaneMemoryInfo": {
+ "(VK_VERSION_1_1,VK_KHR_bind_memory2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkBindImagePlaneMemoryInfo-planeAspect-01642",
+ "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be a single valid plane aspect for the image format (that is, <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> for “<code>_2PLANE</code>” formats and <code>planeAspect</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> for “<code>_3PLANE</code>” formats)"
+ },
+ {
+ "vuid": "VUID-VkBindImagePlaneMemoryInfo-None-01643",
+ "text": " A single call to <a href=\"#vkBindImageMemory2\">vkBindImageMemory2</a> <strong class=\"purple\">must</strong> bind all or none of the planes of an image (i.e. bindings to all planes of an image <strong class=\"purple\">must</strong> be made in a single <a href=\"#vkBindImageMemory2\">vkBindImageMemory2</a> call), as separate bindings"
+ },
+ {
+ "vuid": "VUID-VkBindImagePlaneMemoryInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBindImagePlaneMemoryInfo-planeAspect-parameter",
+ "text": " <code>planeAspect</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> value"
+ }
+ ]
+ },
+ "vkCreateSampler": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateSampler-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateSampler-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSamplerCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSampler-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSampler-pSampler-parameter",
+ "text": " <code>pSampler</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSampler</code> handle"
+ }
+ ]
+ },
+ "VkSamplerCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-mipLodBias-01069",
+ "text": " The absolute value of <code>mipLodBias</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxSamplerLodBias</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-anisotropyEnable-01070",
+ "text": " If the <a href=\"#features-features-samplerAnisotropy\">anisotropic sampling</a> feature is not enabled, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-anisotropyEnable-01071",
+ "text": " If <code>anisotropyEnable</code> is <code>VK_TRUE</code>, <code>maxAnisotropy</code> <strong class=\"purple\">must</strong> be between <code>1.0</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxSamplerAnisotropy</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01072",
+ "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>minFilter</code> and <code>magFilter</code> <strong class=\"purple\">must</strong> be equal"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01073",
+ "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>mipmapMode</code> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_MIPMAP_MODE_NEAREST</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01074",
+ "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>minLod</code> and <code>maxLod</code> <strong class=\"purple\">must</strong> be zero"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01075",
+ "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>addressModeU</code> and <code>addressModeV</code> <strong class=\"purple\">must</strong> each be either <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE</code> or <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01076",
+ "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01077",
+ "text": " If <code>unnormalizedCoordinates</code> is <code>VK_TRUE</code>, <code>compareEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-addressModeU-01078",
+ "text": " If any of <code>addressModeU</code>, <code>addressModeV</code> or <code>addressModeW</code> are <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER</code>, <code>borderColor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBorderColor\">VkBorderColor</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-addressModeU-01079",
+ "text": " If the <code><a href=\"#VK_KHR_sampler_mirror_clamp_to_edge\">VK_KHR_sampler_mirror_clamp_to_edge</a></code> extension is not enabled, <code>addressModeU</code>, <code>addressModeV</code> and <code>addressModeW</code> <strong class=\"purple\">must</strong> not be <code>VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-compareEnable-01080",
+ "text": " If <code>compareEnable</code> is <code>VK_TRUE</code>, <code>compareOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompareOp\">VkCompareOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkSamplerReductionModeCreateInfoEXT\">VkSamplerReductionModeCreateInfoEXT</a> or <a href=\"#VkSamplerYcbcrConversionInfo\">VkSamplerYcbcrConversionInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-magFilter-parameter",
+ "text": " <code>magFilter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-minFilter-parameter",
+ "text": " <code>minFilter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-mipmapMode-parameter",
+ "text": " <code>mipmapMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerMipmapMode\">VkSamplerMipmapMode</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-addressModeU-parameter",
+ "text": " <code>addressModeU</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerAddressMode\">VkSamplerAddressMode</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-addressModeV-parameter",
+ "text": " <code>addressModeV</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerAddressMode\">VkSamplerAddressMode</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-addressModeW-parameter",
+ "text": " <code>addressModeW</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerAddressMode\">VkSamplerAddressMode</a> value"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-minFilter-01645",
+ "text": " If <a href=\"#samplers-YCbCr-conversion\">sampler Y’C<sub>B</sub>C<sub>R</sub> conversion</a> is enabled and <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT</code> is not set for the format, <code>minFilter</code> and <code>magFilter</code> <strong class=\"purple\">must</strong> be equal to the sampler Y’C<sub>B</sub>C<sub>R</sub> conversion’s <code>chromaFilter</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-addressModeU-01646",
+ "text": " If <a href=\"#samplers-YCbCr-conversion\">sampler Y’C<sub>B</sub>C<sub>R</sub> conversion</a> is enabled, <code>addressModeU</code>, <code>addressModeV</code>, and <code>addressModeW</code> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE</code>, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>, and <code>unnormalizedCoordinates</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+(VK_EXT_sampler_filter_minmax)": [
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-None-01647",
+ "text": " The sampler reduction mode <strong class=\"purple\">must</strong> be set to <code>VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT</code> if <a href=\"#samplers-YCbCr-conversion\">sampler Y’C<sub>B</sub>C<sub>R</sub> conversion</a> is enabled"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-magFilter-01081",
+ "text": " If either <code>magFilter</code> or <code>minFilter</code> is <code>VK_FILTER_CUBIC_IMG</code>, <code>anisotropyEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ }
+ ],
+ "(VK_IMG_filter_cubic+VK_EXT_sampler_filter_minmax)": [
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-magFilter-01422",
+ "text": " If either <code>magFilter</code> or <code>minFilter</code> is <code>VK_FILTER_CUBIC_IMG</code>, the <code>reductionMode</code> member of <a href=\"#VkSamplerReductionModeCreateInfoEXT\">VkSamplerReductionModeCreateInfoEXT</a> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT</code>"
+ }
+ ],
+ "(VK_EXT_sampler_filter_minmax)": [
+ {
+ "vuid": "VUID-VkSamplerCreateInfo-compareEnable-01423",
+ "text": " If <code>compareEnable</code> is <code>VK_TRUE</code>, the <code>reductionMode</code> member of <a href=\"#VkSamplerReductionModeCreateInfoEXT\">VkSamplerReductionModeCreateInfoEXT</a> <strong class=\"purple\">must</strong> be <code>VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT</code>"
+ }
+ ]
+ },
+ "VkSamplerReductionModeCreateInfoEXT": {
+ "(VK_EXT_sampler_filter_minmax)": [
+ {
+ "vuid": "VUID-VkSamplerReductionModeCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerReductionModeCreateInfoEXT-reductionMode-parameter",
+ "text": " <code>reductionMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerReductionModeEXT\">VkSamplerReductionModeEXT</a> value"
+ }
+ ]
+ },
+ "vkDestroySampler": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroySampler-sampler-01082",
+ "text": " All submitted commands that refer to <code>sampler</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroySampler-sampler-01083",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>sampler</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroySampler-sampler-01084",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>sampler</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroySampler-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySampler-sampler-parameter",
+ "text": " If <code>sampler</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>sampler</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampler</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySampler-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroySampler-sampler-parent",
+ "text": " If <code>sampler</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkSamplerYcbcrConversionInfo": {
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionInfo-conversion-parameter",
+ "text": " <code>conversion</code> <strong class=\"purple\">must</strong> be a valid <code>VkSamplerYcbcrConversion</code> handle"
+ }
+ ]
+ },
+ "vkCreateSamplerYcbcrConversion": {
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkCreateSamplerYcbcrConversion-None-01648",
+ "text": " The <a href=\"#features-features-sampler-YCbCr-conversion\">sampler Y’C<sub>B</sub>C<sub>R</sub> conversion feature</a> <strong class=\"purple\">must</strong> be enabled"
+ },
+ {
+ "vuid": "VUID-vkCreateSamplerYcbcrConversion-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateSamplerYcbcrConversion-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSamplerYcbcrConversionCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSamplerYcbcrConversion-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSamplerYcbcrConversion-pYcbcrConversion-parameter",
+ "text": " <code>pYcbcrConversion</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSamplerYcbcrConversion</code> handle"
+ }
+ ]
+ },
+ "VkSamplerYcbcrConversionCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01649",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> not be <code>VK_FORMAT_UNDEFINED</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01904",
+ "text": " If an external format conversion is being created, <code>format</code> <strong class=\"purple\">must</strong> be <code>VK_FORMAT_UNDEFINED</code>, otherwise it <strong class=\"purple\">must</strong> not be <code>VK_FORMAT_UNDEFINED</code>."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01650",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> support <code>VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT</code> or <code>VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-xChromaOffset-01651",
+ "text": " If the format does not support <code>VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT</code>, <code>xChromaOffset</code> and <code>yChromaOffset</code> <strong class=\"purple\">must</strong> not be <code>VK_CHROMA_LOCATION_COSITED_EVEN</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-xChromaOffset-01652",
+ "text": " If the format does not support <code>VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT</code>, <code>xChromaOffset</code> and <code>yChromaOffset</code> <strong class=\"purple\">must</strong> not be <code>VK_CHROMA_LOCATION_MIDPOINT</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-01653",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> represent unsigned normalized values (i.e. the format must be a <code>UNORM</code> format)"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-None-01654",
+ "text": " If the format has a <code>_422</code> or <code>_420</code> suffix:"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-ycbcrModel-01655",
+ "text": " If <code>ycbcrModel</code> is not <code>VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY</code>, then <code>components.r</code>, <code>components.g</code>, and <code>components.b</code> <strong class=\"purple\">must</strong> correspond to channels of the <code>format</code>; that is, <code>components.r</code>, <code>components.g</code>, and <code>components.b</code> <strong class=\"purple\">must</strong> not be <code>VK_COMPONENT_SWIZZLE_ZERO</code> or <code>VK_COMPONENT_SWIZZLE_ONE</code>, and <strong class=\"purple\">must</strong> not correspond to a channel which contains zero or one as a consequence of <a href=\"#textures-conversion-to-rgba\">conversion to RGBA</a>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-forceExplicitReconstruction-01656",
+ "text": " If the format does not support <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT</code>, <code>forceExplicitReconstruction</code> <strong class=\"purple\">must</strong> be FALSE"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-chromaFilter-01657",
+ "text": " If the format does not support <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT</code>, <code>chromaFilter</code> <strong class=\"purple\">must</strong> be <code>VK_FILTER_NEAREST</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkExternalFormatANDROID\">VkExternalFormatANDROID</a>"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-ycbcrModel-parameter",
+ "text": " <code>ycbcrModel</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerYcbcrModelConversion\">VkSamplerYcbcrModelConversion</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-ycbcrRange-parameter",
+ "text": " <code>ycbcrRange</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSamplerYcbcrRange\">VkSamplerYcbcrRange</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-components-parameter",
+ "text": " <code>components</code> <strong class=\"purple\">must</strong> be a valid <code>VkComponentMapping</code> structure"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-xChromaOffset-parameter",
+ "text": " <code>xChromaOffset</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkChromaLocation\">VkChromaLocation</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-yChromaOffset-parameter",
+ "text": " <code>yChromaOffset</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkChromaLocation\">VkChromaLocation</a> value"
+ },
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionCreateInfo-chromaFilter-parameter",
+ "text": " <code>chromaFilter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"
+ }
+ ]
+ },
+ "vkDestroySamplerYcbcrConversion": {
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkDestroySamplerYcbcrConversion-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySamplerYcbcrConversion-ycbcrConversion-parameter",
+ "text": " If <code>ycbcrConversion</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>ycbcrConversion</code> <strong class=\"purple\">must</strong> be a valid <code>VkSamplerYcbcrConversion</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySamplerYcbcrConversion-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroySamplerYcbcrConversion-ycbcrConversion-parent",
+ "text": " If <code>ycbcrConversion</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateDescriptorSetLayout": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateDescriptorSetLayout-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorSetLayout-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorSetLayoutCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorSetLayout-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorSetLayout-pSetLayout-parameter",
+ "text": " <code>pSetLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorSetLayout</code> handle"
+ }
+ ]
+ },
+ "VkDescriptorSetLayoutCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-binding-00279",
+ "text": " The <a href=\"#VkDescriptorSetLayoutBinding\">VkDescriptorSetLayoutBinding</a>::<code>binding</code> members of the elements of the <code>pBindings</code> array <strong class=\"purple\">must</strong> each have different values."
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDescriptorSetLayoutBindingFlagsCreateInfoEXT\">VkDescriptorSetLayoutBindingFlagsCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDescriptorSetLayoutCreateFlagBits\">VkDescriptorSetLayoutCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-pBindings-parameter",
+ "text": " If <code>bindingCount</code> is not <code>0</code>, <code>pBindings</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> valid <code>VkDescriptorSetLayoutBinding</code> structures"
+ }
+ ],
+ "(VK_KHR_push_descriptor)": [
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-00280",
+ "text": " If <code>flags</code> contains <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>, then all elements of <code>pBindings</code> <strong class=\"purple\">must</strong> not have a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-00281",
+ "text": " If <code>flags</code> contains <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>, then the total number of elements of all bindings <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDevicePushDescriptorPropertiesKHR\">VkPhysicalDevicePushDescriptorPropertiesKHR</a>::<code>maxPushDescriptors</code>"
+ }
+ ],
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-flags-03000",
+ "text": " If any binding has the <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code> bit set, <code>flags</code> <strong class=\"purple\">must</strong> include <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutCreateInfo-descriptorType-03001",
+ "text": " If any binding has the <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code> bit set, then all bindings <strong class=\"purple\">must</strong> not have <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>"
+ }
+ ]
+ },
+ "VkDescriptorSetLayoutBinding": {
+ "core": [
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorType-00282",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, and <code>descriptorCount</code> is not <code>0</code> and <code>pImmutableSamplers</code> is not <code>NULL</code>, <code>pImmutableSamplers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkSampler</code> handles"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorCount-00283",
+ "text": " If <code>descriptorCount</code> is not <code>0</code>, <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorType-01510",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> and <code>descriptorCount</code> is not <code>0</code>, then <code>stageFlags</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>VK_SHADER_STAGE_FRAGMENT_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBinding-descriptorType-parameter",
+ "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"
+ }
+ ]
+ },
+ "VkDescriptorSetLayoutBindingFlagsCreateInfoEXT": {
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-bindingCount-03002",
+ "text": " If <code>bindingCount</code> is not zero, <code>bindingCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkDescriptorSetLayoutCreateInfo\">VkDescriptorSetLayoutCreateInfo</a>::<code>bindingCount</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-03004",
+ "text": " If an element of <code>pBindingFlags</code> includes <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>, then all other elements of <a href=\"#VkDescriptorSetLayoutCreateInfo\">VkDescriptorSetLayoutCreateInfo</a>::<code>pBindings</code> <strong class=\"purple\">must</strong> have a smaller value of <code>binding</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingUniformBufferUpdateAfterBind-03005",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingUniformBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingSampledImageUpdateAfterBind-03006",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingSampledImageUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, or <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingStorageImageUpdateAfterBind-03007",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingStorageImageUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingStorageBufferUpdateAfterBind-03008",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingStorageBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingUniformTexelBufferUpdateAfterBind-03009",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingUniformTexelBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingStorageTexelBufferUpdateAfterBind-03010",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingStorageTexelBufferUpdateAfterBind</code> is not enabled, all bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-None-03011",
+ "text": " All bindings with descriptor type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> <strong class=\"purple\">must</strong> not use <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingUpdateUnusedWhilePending-03012",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingUpdateUnusedWhilePending</code> is not enabled, all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingPartiallyBound-03013",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingPartiallyBound</code> is not enabled, all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-descriptorBindingVariableDescriptorCount-03014",
+ "text": " If <a href=\"#VkPhysicalDeviceDescriptorIndexingFeaturesEXT\">VkPhysicalDeviceDescriptorIndexingFeaturesEXT</a>::<code>descriptorBindingVariableDescriptorCount</code> is not enabled, all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-03015",
+ "text": " If an element of <code>pBindingFlags</code> includes <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>, that element’s <code>descriptorType</code> <strong class=\"purple\">must</strong> not be <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-parameter",
+ "text": " If <code>bindingCount</code> is not <code>0</code>, <code>pBindingFlags</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> valid combinations of <a href=\"#VkDescriptorBindingFlagBitsEXT\">VkDescriptorBindingFlagBitsEXT</a> values"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-pBindingFlags-requiredbitmask",
+ "text": " Each element of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ],
+ "(VK_EXT_descriptor_indexing)+(VK_KHR_push_descriptor)": [
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutBindingFlagsCreateInfoEXT-flags-03003",
+ "text": " If <a href=\"#VkDescriptorSetLayoutCreateInfo\">VkDescriptorSetLayoutCreateInfo</a>::<code>flags</code> includes <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>, then all elements of <code>pBindingFlags</code> <strong class=\"purple\">must</strong> not include <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code>, <code>VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT</code>, or <code>VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT</code>"
+ }
+ ]
+ },
+ "vkGetDescriptorSetLayoutSupport": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance3)": [
+ {
+ "vuid": "VUID-vkGetDescriptorSetLayoutSupport-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDescriptorSetLayoutSupport-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorSetLayoutCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetDescriptorSetLayoutSupport-pSupport-parameter",
+ "text": " <code>pSupport</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorSetLayoutSupport</code> structure"
+ }
+ ]
+ },
+ "VkDescriptorSetLayoutSupport": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance3)": [
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutSupport-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetLayoutSupport-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDescriptorSetVariableDescriptorCountLayoutSupportEXT\">VkDescriptorSetVariableDescriptorCountLayoutSupportEXT</a>"
+ }
+ ]
+ },
+ "VkDescriptorSetVariableDescriptorCountLayoutSupportEXT": {
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkDescriptorSetVariableDescriptorCountLayoutSupportEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT</code>"
+ }
+ ]
+ },
+ "vkDestroyDescriptorSetLayout": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-00284",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-00285",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorSetLayout-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-parameter",
+ "text": " If <code>descriptorSetLayout</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorSetLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSetLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorSetLayout-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorSetLayout-descriptorSetLayout-parent",
+ "text": " If <code>descriptorSetLayout</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreatePipelineLayout": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreatePipelineLayout-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreatePipelineLayout-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPipelineLayoutCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreatePipelineLayout-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreatePipelineLayout-pPipelineLayout-parameter",
+ "text": " <code>pPipelineLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPipelineLayout</code> handle"
+ }
+ ]
+ },
+ "VkPipelineLayoutCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-setLayoutCount-00286",
+ "text": " <code>setLayoutCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxBoundDescriptorSets</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pPushConstantRanges-00292",
+ "text": " Any two elements of <code>pPushConstantRanges</code> <strong class=\"purple\">must</strong> not include the same stage in <code>stageFlags</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-parameter",
+ "text": " If <code>setLayoutCount</code> is not <code>0</code>, <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>setLayoutCount</code> valid <code>VkDescriptorSetLayout</code> handles"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pPushConstantRanges-parameter",
+ "text": " If <code>pushConstantRangeCount</code> is not <code>0</code>, <code>pPushConstantRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pushConstantRangeCount</code> valid <code>VkPushConstantRange</code> structures"
+ }
+ ],
+ "!(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00287",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSamplers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00288",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorUniformBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00289",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00290",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSampledImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00291",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible to any shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01676",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorInputAttachments</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01677",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSamplers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01678",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01679",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffersDynamic</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01680",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01681",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffersDynamic</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01682",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSampledImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01683",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-01684",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetInputAttachments</code>"
+ }
+ ],
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03016",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSamplers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03017",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorUniformBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03018",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03019",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorSampledImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03020",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorStorageImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03021",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPerStageDescriptorInputAttachments</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03022",
+ "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindSamplers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03023",
+ "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindUniformBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03024",
+ "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> and <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindStorageBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03025",
+ "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindSampledImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03026",
+ "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindStorageImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03027",
+ "text": " The total number of descriptors with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible to any given shader stage across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxPerStageDescriptorUpdateAfterBindInputAttachments</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03028",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSamplers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03029",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03030",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetUniformBuffersDynamic</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03031",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03032",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageBuffersDynamic</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03033",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetSampledImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03034",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetStorageImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-descriptorType-03035",
+ "text": " The total number of descriptors in descriptor set layouts created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set with a <code>descriptorType</code> of <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDescriptorSetInputAttachments</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03036",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> and <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindSamplers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03037",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindUniformBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03038",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindUniformBuffersDynamic</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03039",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindStorageBuffers</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03040",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindStorageBuffersDynamic</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03041",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindSampledImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03042",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, and <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindStorageImages</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-03043",
+ "text": " The total number of descriptors of the type <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code> accessible across all shader stages and across all elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceDescriptorIndexingPropertiesEXT</code>::<code>maxDescriptorSetUpdateAfterBindInputAttachments</code>"
+ }
+ ],
+ "(VK_KHR_push_descriptor)": [
+ {
+ "vuid": "VUID-VkPipelineLayoutCreateInfo-pSetLayouts-00293",
+ "text": " <code>pSetLayouts</code> <strong class=\"purple\">must</strong> not contain more than one descriptor set layout that was created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code> set"
+ }
+ ]
+ },
+ "VkPushConstantRange": {
+ "core": [
+ {
+ "vuid": "VUID-VkPushConstantRange-offset-00294",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code>"
+ },
+ {
+ "vuid": "VUID-VkPushConstantRange-offset-00295",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-VkPushConstantRange-size-00296",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPushConstantRange-size-00297",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-VkPushConstantRange-size-00298",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code> minus <code>offset</code>"
+ },
+ {
+ "vuid": "VUID-VkPushConstantRange-stageFlags-parameter",
+ "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkPushConstantRange-stageFlags-requiredbitmask",
+ "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "vkDestroyPipelineLayout": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-00299",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>pipelineLayout</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-00300",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>pipelineLayout</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineLayout-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-parameter",
+ "text": " If <code>pipelineLayout</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineLayout-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyPipelineLayout-pipelineLayout-parent",
+ "text": " If <code>pipelineLayout</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCreateDescriptorPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateDescriptorPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorPool-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorPoolCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorPool-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorPool-pDescriptorPool-parameter",
+ "text": " <code>pDescriptorPool</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorPool</code> handle"
+ }
+ ]
+ },
+ "VkDescriptorPoolCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkDescriptorPoolCreateInfo-maxSets-00301",
+ "text": " <code>maxSets</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorPoolCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorPoolCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorPoolCreateInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDescriptorPoolCreateFlagBits\">VkDescriptorPoolCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkDescriptorPoolCreateInfo-pPoolSizes-parameter",
+ "text": " <code>pPoolSizes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>poolSizeCount</code> valid <code>VkDescriptorPoolSize</code> structures"
+ },
+ {
+ "vuid": "VUID-VkDescriptorPoolCreateInfo-poolSizeCount-arraylength",
+ "text": " <code>poolSizeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkDescriptorPoolSize": {
+ "core": [
+ {
+ "vuid": "VUID-VkDescriptorPoolSize-descriptorCount-00302",
+ "text": " <code>descriptorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorPoolSize-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"
+ }
+ ]
+ },
+ "vkDestroyDescriptorPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-00303",
+ "text": " All submitted commands that refer to <code>descriptorPool</code> (via any allocated descriptor sets) <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-00304",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>descriptorPool</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-00305",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>descriptorPool</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-parameter",
+ "text": " If <code>descriptorPool</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorPool-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorPool-descriptorPool-parent",
+ "text": " If <code>descriptorPool</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkAllocateDescriptorSets": {
+ "core": [
+ {
+ "vuid": "VUID-vkAllocateDescriptorSets-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAllocateDescriptorSets-pAllocateInfo-parameter",
+ "text": " <code>pAllocateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorSetAllocateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkAllocateDescriptorSets-pDescriptorSets-parameter",
+ "text": " <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pAllocateInfo</code>::descriptorSetCount <code>VkDescriptorSet</code> handles"
+ }
+ ]
+ },
+ "VkDescriptorSetAllocateInfo": {
+ "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorSetCount-00306",
+ "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> not be greater than the number of sets that are currently available for allocation in <code>descriptorPool</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorPool-00307",
+ "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have enough free descriptor capacity remaining to allocate the descriptor sets of the specified layouts"
+ }
+ ],
+ "(VK_KHR_push_descriptor)": [
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-pSetLayouts-00308",
+ "text": " Each element of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> not have been created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code> set"
+ }
+ ],
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-pSetLayouts-03044",
+ "text": " If any element of <code>pSetLayouts</code> was created with the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> bit set, <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDescriptorSetVariableDescriptorCountAllocateInfoEXT\">VkDescriptorSetVariableDescriptorCountAllocateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorPool-parameter",
+ "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-pSetLayouts-parameter",
+ "text": " <code>pSetLayouts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> valid <code>VkDescriptorSetLayout</code> handles"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-descriptorSetCount-arraylength",
+ "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetAllocateInfo-commonparent",
+ "text": " Both of <code>descriptorPool</code>, and the elements of <code>pSetLayouts</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkDescriptorSetVariableDescriptorCountAllocateInfoEXT": {
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-descriptorSetCount-03045",
+ "text": " If <code>descriptorSetCount</code> is not zero, <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> equal <a href=\"#VkDescriptorSetAllocateInfo\">VkDescriptorSetAllocateInfo</a>::<code>descriptorSetCount</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-pSetLayouts-03046",
+ "text": " If <a href=\"#VkDescriptorSetAllocateInfo\">VkDescriptorSetAllocateInfo</a>::<code>pSetLayouts</code>[i] has a variable descriptor count binding, then <code>pDescriptorCounts</code>[i] <strong class=\"purple\">must</strong> be less than or equal to the descriptor count specified for that binding when the descriptor set layout was created."
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorSetVariableDescriptorCountAllocateInfoEXT-pDescriptorCounts-parameter",
+ "text": " If <code>descriptorSetCount</code> is not <code>0</code>, <code>pDescriptorCounts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> <code>uint32_t</code> values"
+ }
+ ]
+ },
+ "vkFreeDescriptorSets": {
+ "core": [
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-00309",
+ "text": " All submitted commands that refer to any element of <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-00310",
+ "text": " <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> <code>VkDescriptorSet</code> handles, each element of which <strong class=\"purple\">must</strong> either be a valid handle or <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-00311",
+ "text": " Each valid handle in <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have been allocated from <code>descriptorPool</code>"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-descriptorPool-00312",
+ "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT</code> flag"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-descriptorPool-parameter",
+ "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-descriptorSetCount-arraylength",
+ "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-descriptorPool-parent",
+ "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkFreeDescriptorSets-pDescriptorSets-parent",
+ "text": " Each element of <code>pDescriptorSets</code> that is a valid handle <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>descriptorPool</code>"
+ }
+ ]
+ },
+ "vkResetDescriptorPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkResetDescriptorPool-descriptorPool-00313",
+ "text": " All uses of <code>descriptorPool</code> (via any allocated descriptor sets) <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkResetDescriptorPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetDescriptorPool-descriptorPool-parameter",
+ "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkResetDescriptorPool-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkResetDescriptorPool-descriptorPool-parent",
+ "text": " <code>descriptorPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkUpdateDescriptorSets": {
+ "!(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-vkUpdateDescriptorSets-dstSet-00314",
+ "text": " The <code>dstSet</code> member of each element of <code>pDescriptorWrites</code> or <code>pDescriptorCopies</code> <strong class=\"purple\">must</strong> not be used by any command that was recorded to a command buffer which is in the <a href=\"#commandbuffers-lifecycle\">pending state</a>."
+ }
+ ],
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-vkUpdateDescriptorSets-None-03047",
+ "text": " Descriptor bindings updated by this command which were created without the <code>VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT</code> or <code>VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT</code> bits set <strong class=\"purple\">must</strong> not be used by any command that was recorded to a command buffer which is in the <a href=\"#commandbuffers-lifecycle\">pending state</a>."
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-vkUpdateDescriptorSets-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUpdateDescriptorSets-pDescriptorWrites-parameter",
+ "text": " If <code>descriptorWriteCount</code> is not <code>0</code>, <code>pDescriptorWrites</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorWriteCount</code> valid <code>VkWriteDescriptorSet</code> structures"
+ },
+ {
+ "vuid": "VUID-vkUpdateDescriptorSets-pDescriptorCopies-parameter",
+ "text": " If <code>descriptorCopyCount</code> is not <code>0</code>, <code>pDescriptorCopies</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCopyCount</code> valid <code>VkCopyDescriptorSet</code> structures"
+ }
+ ]
+ },
+ "VkWriteDescriptorSet": {
+ "core": [
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-dstBinding-00315",
+ "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be less than or equal to the maximum value of <code>binding</code> of all <a href=\"#VkDescriptorSetLayoutBinding\">VkDescriptorSetLayoutBinding</a> structures specified when <code>dstSet</code>’s descriptor set layout was created"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-dstBinding-00316",
+ "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be a binding with a non-zero <code>descriptorCount</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-00317",
+ "text": " All consecutive bindings updated via a single <code>VkWriteDescriptorSet</code> structure, except those with a <code>descriptorCount</code> of zero, <strong class=\"purple\">must</strong> have identical <code>descriptorType</code> and <code>stageFlags</code>."
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-00318",
+ "text": " All consecutive bindings updated via a single <code>VkWriteDescriptorSet</code> structure, except those with a <code>descriptorCount</code> of zero, <strong class=\"purple\">must</strong> all either use immutable samplers or <strong class=\"purple\">must</strong> all not use immutable samplers."
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00319",
+ "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> match the type of <code>dstBinding</code> within <code>dstSet</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-dstSet-00320",
+ "text": " <code>dstSet</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorSet\">VkDescriptorSet</a> handle"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-dstArrayElement-00321",
+ "text": " The sum of <code>dstArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding specified by <code>dstBinding</code>, and all applicable consecutive bindings, as described by <a href=\"#descriptorsets-updates-consecutive\">consecutive binding updates</a>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00322",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, or <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, <code>pImageInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkDescriptorImageInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00323",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code>, <code>pTexelBufferView</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkBufferView</code> handles"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00324",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code>, <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, <code>pBufferInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorCount</code> valid <code>VkDescriptorBufferInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00325",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLER</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, and <code>dstSet</code> was not allocated with a layout that included immutable samplers for <code>dstBinding</code> with <code>descriptorType</code>, the <code>sampler</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampler</code> object"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00326",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, or <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, the <code>imageView</code> and <code>imageLayout</code> members of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageView</code> and <a href=\"#VkImageLayout\">VkImageLayout</a>, respectively"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-01946",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code>, then the <code>imageView</code> member of each <code>pImageInfo</code> element <strong class=\"purple\">must</strong> have been created without a <code>VkSamplerYcbcrConversionInfo</code> structure in its <code>pNext</code> chain"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-01947",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, and if any element of <code>pImageInfo</code> has a <code>imageView</code> member that was created with a <code>VkSamplerYcbcrConversionInfo</code> structure in its <code>pNext</code> chain, then <code>dstSet</code> <strong class=\"purple\">must</strong> have been allocated with a layout that included immutable samplers for <code>dstBinding</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-01948",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, and <code>dstSet</code> was allocated with a layout that included immutable samplers for <code>dstBinding</code>, then the <code>imageView</code> member of each element of <code>pImageInfo</code> which corresponds to a immutable sampler that enables <a href=\"#samplers-YCbCr-conversion\">sampler Y’C<sub>B</sub>C<sub>R</sub> conversion</a> <strong class=\"purple\">must</strong> have been created with a <code>VkSamplerYcbcrConversionInfo</code> structure in its <code>pNext</code> chain with an <em>identically defined</em> <code>VkSamplerYcbcrConversionInfo</code> to the corresponding immutable sampler"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-01402",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, for each descriptor that will be accessed via load or store operations the <code>imageLayout</code> member for corresponding elements of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00327",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, the <code>offset</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minUniformBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00328",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, the <code>offset</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> be a multiple of <code>VkPhysicalDeviceLimits</code>::<code>minStorageBufferOffsetAlignment</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00329",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code>, <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code>, or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, and the <code>buffer</code> member of any element of <code>pBufferInfo</code> is the handle of a non-sparse buffer, then that buffer <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00330",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, the <code>buffer</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00331",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, the <code>buffer</code> member of each element of <code>pBufferInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_STORAGE_BUFFER_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00332",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC</code>, the <code>range</code> member of each element of <code>pBufferInfo</code>, or the effective range if <code>range</code> is <code>VK_WHOLE_SIZE</code>, <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxUniformBufferRange</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00333",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER</code> or <code>VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC</code>, the <code>range</code> member of each element of <code>pBufferInfo</code>, or the effective range if <code>range</code> is <code>VK_WHOLE_SIZE</code>, <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxStorageBufferRange</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00334",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER</code>, the <code>VkBuffer</code> that each element of <code>pTexelBufferView</code> was created from <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00335",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER</code>, the <code>VkBuffer</code> that each element of <code>pTexelBufferView</code> was created from <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00336",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code> or <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with the identity swizzle"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00337",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_SAMPLED_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-01403",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE</code> or <code>VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER</code>, the <code>imageLayout</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00338",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-00339",
+ "text": " If <code>descriptorType</code> is <code>VK_DESCRIPTOR_TYPE_STORAGE_IMAGE</code>, the <code>imageView</code> member of each element of <code>pImageInfo</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_STORAGE_BIT</code> set"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorType-parameter",
+ "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-arraylength",
+ "text": " <code>descriptorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-commonparent",
+ "text": " Both of <code>dstSet</code>, and the elements of <code>pTexelBufferView</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkWriteDescriptorSet-descriptorCount-03048",
+ "text": " All consecutive bindings updated via a single <code>VkWriteDescriptorSet</code> structure, except those with a <code>descriptorCount</code> of zero, <strong class=\"purple\">must</strong> have identical <a href=\"#VkDescriptorBindingFlagBitsEXT\">VkDescriptorBindingFlagBitsEXT</a>."
+ }
+ ]
+ },
+ "VkDescriptorBufferInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkDescriptorBufferInfo-offset-00340",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorBufferInfo-range-00341",
+ "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorBufferInfo-range-00342",
+ "text": " If <code>range</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>range</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code> minus <code>offset</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorBufferInfo-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ }
+ ]
+ },
+ "VkDescriptorImageInfo": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkDescriptorImageInfo-imageView-00343",
+ "text": " <code>imageView</code> <strong class=\"purple\">must</strong> not be 2D or 2D array image view created from a 3D image"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-VkDescriptorImageInfo-imageLayout-00344",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> match the actual <a href=\"#VkImageLayout\">VkImageLayout</a> of each subresource accessible from <code>imageView</code> at the time this descriptor is accessed"
+ },
+ {
+ "vuid": "VUID-VkDescriptorImageInfo-commonparent",
+ "text": " Both of <code>imageView</code>, and <code>sampler</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkDescriptorImageInfo-sampler-01564",
+ "text": " If <code>sampler</code> is used and the <a href=\"#VkFormat\">VkFormat</a> of the image is a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar format</a>, the image <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT</code>, and the <code>aspectMask</code> of the <code>imageView</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code> or (for three-plane formats only) <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"
+ }
+ ]
+ },
+ "VkCopyDescriptorSet": {
+ "core": [
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcBinding-00345",
+ "text": " <code>srcBinding</code> <strong class=\"purple\">must</strong> be a valid binding within <code>srcSet</code>"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcArrayElement-00346",
+ "text": " The sum of <code>srcArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding specified by <code>srcBinding</code>, and all applicable consecutive bindings, as described by <a href=\"#descriptorsets-updates-consecutive\">consecutive binding updates</a>"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-dstBinding-00347",
+ "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be a valid binding within <code>dstSet</code>"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-dstArrayElement-00348",
+ "text": " The sum of <code>dstArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding specified by <code>dstBinding</code>, and all applicable consecutive bindings, as described by <a href=\"#descriptorsets-updates-consecutive\">consecutive binding updates</a>"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcSet-00349",
+ "text": " If <code>srcSet</code> is equal to <code>dstSet</code>, then the source and destination ranges of descriptors <strong class=\"purple\">must</strong> not overlap, where the ranges <strong class=\"purple\">may</strong> include array elements from consecutive bindings as described by <a href=\"#descriptorsets-updates-consecutive\">consecutive binding updates</a>"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET</code>"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcSet-parameter",
+ "text": " <code>srcSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-dstSet-parameter",
+ "text": " <code>dstSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-commonparent",
+ "text": " Both of <code>dstSet</code>, and <code>srcSet</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcSet-01918",
+ "text": " If <code>srcSet</code>’s layout was created with the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set, then <code>dstSet</code>’s layout <strong class=\"purple\">must</strong> also have been created with the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcSet-01919",
+ "text": " If <code>srcSet</code>’s layout was created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set, then <code>dstSet</code>’s layout <strong class=\"purple\">must</strong> also have been created without the <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT</code> flag set"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcSet-01920",
+ "text": " If the descriptor pool from which <code>srcSet</code> was allocated was created with the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set, then the descriptor pool from which <code>dstSet</code> was allocated <strong class=\"purple\">must</strong> also have been created with the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set"
+ },
+ {
+ "vuid": "VUID-VkCopyDescriptorSet-srcSet-01921",
+ "text": " If the descriptor pool from which <code>srcSet</code> was allocated was created without the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set, then the descriptor pool from which <code>dstSet</code> was allocated <strong class=\"purple\">must</strong> also have been created without the <code>VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT</code> flag set"
+ }
+ ]
+ },
+ "vkCreateDescriptorUpdateTemplate": {
+ "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [
+ {
+ "vuid": "VUID-vkCreateDescriptorUpdateTemplate-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorUpdateTemplate-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDescriptorUpdateTemplateCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorUpdateTemplate-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDescriptorUpdateTemplate-pDescriptorUpdateTemplate-parameter",
+ "text": " <code>pDescriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDescriptorUpdateTemplate</code> handle"
+ }
+ ]
+ },
+ "VkDescriptorUpdateTemplateCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00350",
+ "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET</code>, <code>descriptorSetLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSetLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-pDescriptorUpdateEntries-parameter",
+ "text": " <code>pDescriptorUpdateEntries</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorUpdateEntryCount</code> valid <code>VkDescriptorUpdateTemplateEntry</code> structures"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-parameter",
+ "text": " <code>templateType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorUpdateTemplateType\">VkDescriptorUpdateTemplateType</a> value"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-descriptorSetLayout-parameter",
+ "text": " If <code>descriptorSetLayout</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorSetLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSetLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-descriptorUpdateEntryCount-arraylength",
+ "text": " <code>descriptorUpdateEntryCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-commonparent",
+ "text": " Both of <code>descriptorSetLayout</code>, and <code>pipelineLayout</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)+(VK_KHR_push_descriptor)": [
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00351",
+ "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR</code>, <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00352",
+ "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR</code>, <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateCreateInfo-templateType-00353",
+ "text": " If <code>templateType</code> is <code>VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR</code>, <code>set</code> <strong class=\"purple\">must</strong> be the unique set number in the pipeline layout that uses a descriptor set layout that was created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>"
+ }
+ ]
+ },
+ "VkDescriptorUpdateTemplateEntry": {
+ "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateEntry-dstBinding-00354",
+ "text": " <code>dstBinding</code> <strong class=\"purple\">must</strong> be a valid binding in the descriptor set layout implicitly specified when using a descriptor update template to update descriptors."
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateEntry-dstArrayElement-00355",
+ "text": " <code>dstArrayElement</code> and <code>descriptorCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of array elements in the descriptor set binding implicitly specified when using a descriptor update template to update descriptors, and all applicable consecutive bindings, as described by <a href=\"#descriptorsets-updates-consecutive\">consecutive binding updates</a>"
+ },
+ {
+ "vuid": "VUID-VkDescriptorUpdateTemplateEntry-descriptorType-parameter",
+ "text": " <code>descriptorType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDescriptorType\">VkDescriptorType</a> value"
+ }
+ ]
+ },
+ "vkDestroyDescriptorUpdateTemplate": {
+ "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [
+ {
+ "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorSetLayout-00356",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorSetLayout-00357",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>descriptorSetLayout</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorUpdateTemplate-parameter",
+ "text": " If <code>descriptorUpdateTemplate</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorUpdateTemplate</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyDescriptorUpdateTemplate-descriptorUpdateTemplate-parent",
+ "text": " If <code>descriptorUpdateTemplate</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkUpdateDescriptorSetWithTemplate": {
+ "(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [
+ {
+ "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-pData-01685",
+ "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to a memory that contains one or more valid instances of <a href=\"#VkDescriptorImageInfo\">VkDescriptorImageInfo</a>, <a href=\"#VkDescriptorBufferInfo\">VkDescriptorBufferInfo</a>, or <a href=\"#VkBufferView\">VkBufferView</a> in a layout defined by <code>descriptorUpdateTemplate</code> when it was created with <a href=\"#vkCreateDescriptorUpdateTemplate\">vkCreateDescriptorUpdateTemplate</a>"
+ },
+ {
+ "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-descriptorSet-parameter",
+ "text": " <code>descriptorSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-descriptorUpdateTemplate-parameter",
+ "text": " <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorUpdateTemplate</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUpdateDescriptorSetWithTemplate-descriptorUpdateTemplate-parent",
+ "text": " <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCmdBindDescriptorSets": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-pDescriptorSets-00358",
+ "text": " Each element of <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have been allocated with a <code>VkDescriptorSetLayout</code> that matches (is the same as, or identically defined as) the <code>VkDescriptorSetLayout</code> at set <em>n</em> in <code>layout</code>, where <em>n</em> is the sum of <code>firstSet</code> and the index into <code>pDescriptorSets</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-dynamicOffsetCount-00359",
+ "text": " <code>dynamicOffsetCount</code> <strong class=\"purple\">must</strong> be equal to the total number of dynamic descriptors in <code>pDescriptorSets</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-firstSet-00360",
+ "text": " The sum of <code>firstSet</code> and <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPipelineLayoutCreateInfo</code>::<code>setLayoutCount</code> provided when <code>layout</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-pipelineBindPoint-00361",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be supported by the <code>commandBuffer</code>’s parent <code>VkCommandPool</code>’s queue family"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-pDynamicOffsets-00362",
+ "text": " Each element of <code>pDynamicOffsets</code> <strong class=\"purple\">must</strong> satisfy the required alignment for the corresponding descriptor binding’s descriptor type"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-pipelineBindPoint-parameter",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-layout-parameter",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-pDescriptorSets-parameter",
+ "text": " <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorSetCount</code> valid <code>VkDescriptorSet</code> handles"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-pDynamicOffsets-parameter",
+ "text": " If <code>dynamicOffsetCount</code> is not <code>0</code>, <code>pDynamicOffsets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dynamicOffsetCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-descriptorSetCount-arraylength",
+ "text": " <code>descriptorSetCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindDescriptorSets-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>layout</code>, and the elements of <code>pDescriptorSets</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCmdPushDescriptorSetKHR": {
+ "(VK_KHR_push_descriptor)": [
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-pipelineBindPoint-00363",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be supported by the <code>commandBuffer</code>’s parent <code>VkCommandPool</code>’s queue family"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-set-00364",
+ "text": " <code>set</code> <strong class=\"purple\">must</strong> be less than <code>VkPipelineLayoutCreateInfo</code>::<code>setLayoutCount</code> provided when <code>layout</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-set-00365",
+ "text": " <code>set</code> <strong class=\"purple\">must</strong> be the unique set number in the pipeline layout that uses a descriptor set layout that was created with <code>VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-pipelineBindPoint-parameter",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-layout-parameter",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-pDescriptorWrites-parameter",
+ "text": " <code>pDescriptorWrites</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>descriptorWriteCount</code> valid <code>VkWriteDescriptorSet</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-descriptorWriteCount-arraylength",
+ "text": " <code>descriptorWriteCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetKHR-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>layout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCmdPushDescriptorSetWithTemplateKHR": {
+ "(VK_KHR_push_descriptor)+(VK_VERSION_1_1,VK_KHR_descriptor_update_template)": [
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-00366",
+ "text": " The pipelineBindPoint specified during the creation of the descriptor update template <strong class=\"purple\">must</strong> be supported by the <code>commandBuffer</code>’s parent <code>VkCommandPool</code>’s queue family"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-pData-01686",
+ "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to a memory that contains one or more valid instances of <a href=\"#VkDescriptorImageInfo\">VkDescriptorImageInfo</a>, <a href=\"#VkDescriptorBufferInfo\">VkDescriptorBufferInfo</a>, or <a href=\"#VkBufferView\">VkBufferView</a> in a layout defined by <code>descriptorUpdateTemplate</code> when it was created with <a href=\"#vkCreateDescriptorUpdateTemplateKHR\">vkCreateDescriptorUpdateTemplateKHR</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-descriptorUpdateTemplate-parameter",
+ "text": " <code>descriptorUpdateTemplate</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorUpdateTemplate</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-layout-parameter",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdPushDescriptorSetWithTemplateKHR-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>descriptorUpdateTemplate</code>, and <code>layout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCmdPushConstants": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdPushConstants-offset-01795",
+ "text": " For each byte in the range specified by <code>offset</code> and <code>size</code> and for each shader stage in <code>stageFlags</code>, there <strong class=\"purple\">must</strong> be a push constant range in <code>layout</code> that includes that byte and that stage"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-offset-01796",
+ "text": " For each byte in the range specified by <code>offset</code> and <code>size</code> and for each push constant range that overlaps that byte, <code>stageFlags</code> <strong class=\"purple\">must</strong> include all stages in that push constant range’s <a href=\"#VkPushConstantRange\">VkPushConstantRange</a>::<code>stageFlags</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-offset-00368",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-size-00369",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-offset-00370",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-size-00371",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxPushConstantsSize</code> minus <code>offset</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-layout-parameter",
+ "text": " <code>layout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-stageFlags-parameter",
+ "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-stageFlags-requiredbitmask",
+ "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-pValues-parameter",
+ "text": " <code>pValues</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>size</code> bytes"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-size-arraylength",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdPushConstants-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>layout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCreateQueryPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkCreateQueryPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateQueryPool-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkQueryPoolCreateInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateQueryPool-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateQueryPool-pQueryPool-parameter",
+ "text": " <code>pQueryPool</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkQueryPool</code> handle"
+ }
+ ]
+ },
+ "VkQueryPoolCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkQueryPoolCreateInfo-queryType-00791",
+ "text": " If the <a href=\"#features-features-pipelineStatisticsQuery\">pipeline statistics queries</a> feature is not enabled, <code>queryType</code> <strong class=\"purple\">must</strong> not be <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code>"
+ },
+ {
+ "vuid": "VUID-VkQueryPoolCreateInfo-queryType-00792",
+ "text": " If <code>queryType</code> is <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code>, <code>pipelineStatistics</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryPipelineStatisticFlagBits\">VkQueryPipelineStatisticFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkQueryPoolCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkQueryPoolCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkQueryPoolCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkQueryPoolCreateInfo-queryType-parameter",
+ "text": " <code>queryType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkQueryType\">VkQueryType</a> value"
+ }
+ ]
+ },
+ "vkDestroyQueryPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkDestroyQueryPool-queryPool-00793",
+ "text": " All submitted commands that refer to <code>queryPool</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyQueryPool-queryPool-00794",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>queryPool</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyQueryPool-queryPool-00795",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>queryPool</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyQueryPool-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyQueryPool-queryPool-parameter",
+ "text": " If <code>queryPool</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyQueryPool-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyQueryPool-queryPool-parent",
+ "text": " If <code>queryPool</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCmdResetQueryPool": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-firstQuery-00796",
+ "text": " <code>firstQuery</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-firstQuery-00797",
+ "text": " The sum of <code>firstQuery</code> and <code>queryCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-queryPool-parameter",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdResetQueryPool-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCmdBeginQuery": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdBeginQuery-queryPool-01922",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> have been created with a <code>queryType</code> that differs from that of any queries that are <a href=\"#queries-operation-active\">active</a> within <code>commandBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-None-00807",
+ "text": " All queries used by the command <strong class=\"purple\">must</strong> be unavailable"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-queryType-00800",
+ "text": " If the <a href=\"#features-features-occlusionQueryPrecise\">precise occlusion queries</a> feature is not enabled, or the <code>queryType</code> used to create <code>queryPool</code> was not <code>VK_QUERY_TYPE_OCCLUSION</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_CONTROL_PRECISE_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-query-00802",
+ "text": " <code>query</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-queryType-00803",
+ "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_OCCLUSION</code>, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-queryType-00804",
+ "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code> and any of the <code>pipelineStatistics</code> indicate graphics operations, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-queryType-00805",
+ "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_PIPELINE_STATISTICS</code> and any of the <code>pipelineStatistics</code> indicate compute operations, the <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-queryPool-parameter",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryControlFlagBits\">VkQueryControlFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginQuery-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdBeginQuery-commandBuffer-01885",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be a protected command buffer"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdBeginQuery-query-00808",
+ "text": " If <code>vkCmdBeginQuery</code> is called within a render pass instance, the sum of <code>query</code> and the number of bits set in the current subpass’s view mask <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"
+ }
+ ]
+ },
+ "vkCmdEndQuery": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdEndQuery-None-01923",
+ "text": " All queries used by the command <strong class=\"purple\">must</strong> be <a href=\"#queries-operation-active\">active</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdEndQuery-query-00810",
+ "text": " <code>query</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdEndQuery-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdEndQuery-queryPool-parameter",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdEndQuery-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdEndQuery-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdEndQuery-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdEndQuery-commandBuffer-01886",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> not be a protected command buffer"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdEndQuery-query-00812",
+ "text": " If <code>vkCmdEndQuery</code> is called within a render pass instance, the sum of <code>query</code> and the number of bits set in the current subpass’s view mask <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"
+ }
+ ]
+ },
+ "vkGetQueryPoolResults": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-firstQuery-00813",
+ "text": " <code>firstQuery</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-flags-00814",
+ "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is not set in <code>flags</code> then <code>pData</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-flags-00815",
+ "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is set in <code>flags</code> then <code>pData</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>8</code>"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-firstQuery-00816",
+ "text": " The sum of <code>firstQuery</code> and <code>queryCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-dataSize-00817",
+ "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be large enough to contain the result of each query, as described <a href=\"#queries-operation-memorylayout\">here</a>"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-queryType-00818",
+ "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_TIMESTAMP</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_RESULT_PARTIAL_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-queryPool-parameter",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-pData-parameter",
+ "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dataSize</code> bytes"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryResultFlagBits\">VkQueryResultFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-dataSize-arraylength",
+ "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkGetQueryPoolResults-queryPool-parent",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCmdCopyQueryPoolResults": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-dstOffset-00819",
+ "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-firstQuery-00820",
+ "text": " <code>firstQuery</code> <strong class=\"purple\">must</strong> be less than the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-firstQuery-00821",
+ "text": " The sum of <code>firstQuery</code> and <code>queryCount</code> <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-flags-00822",
+ "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is not set in <code>flags</code> then <code>dstOffset</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-flags-00823",
+ "text": " If <code>VK_QUERY_RESULT_64_BIT</code> is set in <code>flags</code> then <code>dstOffset</code> and <code>stride</code> <strong class=\"purple\">must</strong> be multiples of <code>8</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-00824",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have enough storage, from <code>dstOffset</code>, to contain the result of each query, as described <a href=\"#queries-operation-memorylayout\">here</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-00825",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-00826",
+ "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-queryType-00827",
+ "text": " If the <code>queryType</code> used to create <code>queryPool</code> was <code>VK_QUERY_TYPE_TIMESTAMP</code>, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_QUERY_RESULT_PARTIAL_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-queryPool-parameter",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-dstBuffer-parameter",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkQueryResultFlagBits\">VkQueryResultFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyQueryPoolResults-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>dstBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCmdWriteTimestamp": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-queryPool-01416",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> have been created with a <code>queryType</code> of <code>VK_QUERY_TYPE_TIMESTAMP</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-queryPool-00828",
+ "text": " The query identified by <code>queryPool</code> and <code>query</code> <strong class=\"purple\">must</strong> be <em>unavailable</em>"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-timestampValidBits-00829",
+ "text": " The command pool’s queue family <strong class=\"purple\">must</strong> support a non-zero <code>timestampValidBits</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-pipelineStage-parameter",
+ "text": " <code>pipelineStage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-queryPool-parameter",
+ "text": " <code>queryPool</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueryPool</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>queryPool</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-None-00830",
+ "text": " All queries used by the command <strong class=\"purple\">must</strong> be unavailable"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteTimestamp-query-00831",
+ "text": " If <code>vkCmdWriteTimestamp</code> is called within a render pass instance, the sum of <code>query</code> and the number of bits set in the current subpass’s view mask <strong class=\"purple\">must</strong> be less than or equal to the number of queries in <code>queryPool</code>"
+ }
+ ]
+ },
+ "vkCmdClearColorImage": {
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)+(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-vkCmdClearColorImage-image-00001",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdClearColorImage-image-01935",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-vkCmdClearColorImage-image-00002",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-image-00003",
+ "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-imageLayout-00004",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresource ranges of <code>image</code> specified in <code>pRanges</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-baseMipLevel-01470",
+ "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseMipLevel</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-pRanges-01692",
+ "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>levelCount</code> member is not <code>VK_REMAINING_MIP_LEVELS</code>, then <span class=\"eq\"><code>baseMipLevel</code> + <code>levelCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-baseArrayLayer-01472",
+ "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseArrayLayer</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-pRanges-01693",
+ "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>layerCount</code> member is not <code>VK_REMAINING_ARRAY_LAYERS</code>, then <span class=\"eq\"><code>baseArrayLayer</code> + <code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-image-00007",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not have a compressed or depth/stencil format"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-imageLayout-parameter",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-pColor-parameter",
+ "text": " <code>pColor</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkClearColorValue</code> union"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-pRanges-parameter",
+ "text": " <code>pRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rangeCount</code> valid <code>VkImageSubresourceRange</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-rangeCount-arraylength",
+ "text": " <code>rangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkCmdClearColorImage-image-01545",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> not use a format listed in <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">Formats requiring sampler Y’C<sub>B</sub>C<sub>R</sub> conversion for <code>VK_IMAGE_ASPECT_COLOR_BIT</code> image views</a>"
+ }
+ ],
+ "!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdClearColorImage-imageLayout-00005",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdClearColorImage-imageLayout-01394",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdClearColorImage-commandBuffer-01805",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdClearColorImage-commandBuffer-01806",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be an unprotected image"
+ }
+ ]
+ },
+ "vkCmdClearDepthStencilImage": {
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)+(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-image-00008",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-image-01936",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-image-00009",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-image-00010",
+ "text": " If <code>image</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-imageLayout-00011",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresource ranges of <code>image</code> specified in <code>pRanges</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-imageLayout-00012",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be either of <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-baseMipLevel-01474",
+ "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseMipLevel</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-pRanges-01694",
+ "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>levelCount</code> member is not <code>VK_REMAINING_MIP_LEVELS</code>, then <span class=\"eq\"><code>baseMipLevel</code> + <code>levelCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-baseArrayLayer-01476",
+ "text": " The <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a>::<code>baseArrayLayer</code> members of the elements of the <code>pRanges</code> array <strong class=\"purple\">must</strong> each be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-pRanges-01695",
+ "text": " For each <a href=\"#VkImageSubresourceRange\">VkImageSubresourceRange</a> element of <code>pRanges</code>, if the <code>layerCount</code> member is not <code>VK_REMAINING_ARRAY_LAYERS</code>, then <span class=\"eq\"><code>baseArrayLayer</code> + <code>layerCount</code></span> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-image-00014",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have a depth/stencil format"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-imageLayout-parameter",
+ "text": " <code>imageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-pDepthStencil-parameter",
+ "text": " <code>pDepthStencil</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkClearDepthStencilValue</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-pRanges-parameter",
+ "text": " <code>pRanges</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rangeCount</code> valid <code>VkImageSubresourceRange</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-rangeCount-arraylength",
+ "text": " <code>rangeCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-01807",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdClearDepthStencilImage-commandBuffer-01808",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>image</code> <strong class=\"purple\">must</strong> not be an unprotected image"
+ }
+ ]
+ },
+ "vkCmdClearAttachments": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdClearAttachments-aspectMask-00015",
+ "text": " If the <code>aspectMask</code> member of any element of <code>pAttachments</code> contains <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, the <code>colorAttachment</code> member of that element <strong class=\"purple\">must</strong> refer to a valid color attachment in the current subpass"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-pRects-00016",
+ "text": " The rectangular region specified by each element of <code>pRects</code> <strong class=\"purple\">must</strong> be contained within the render area of the current render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-pRects-00017",
+ "text": " The layers specified by each element of <code>pRects</code> <strong class=\"purple\">must</strong> be contained within every attachment that <code>pAttachments</code> refers to"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-layerCount-01934",
+ "text": " The <code>layerCount</code> member of each element of <code>pRects</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-pAttachments-parameter",
+ "text": " <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkClearAttachment</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-pRects-parameter",
+ "text": " <code>pRects</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rectCount</code> <code>VkClearRect</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-attachmentCount-arraylength",
+ "text": " <code>attachmentCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdClearAttachments-rectCount-arraylength",
+ "text": " <code>rectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdClearAttachments-baseArrayLayer-00018",
+ "text": " If the render pass instance this is recorded in uses multiview, then <code>baseArrayLayer</code> <strong class=\"purple\">must</strong> be zero and <code>layerCount</code> <strong class=\"purple\">must</strong> be one."
+ }
+ ]
+ },
+ "VkClearAttachment": {
+ "core": [
+ {
+ "vuid": "VUID-VkClearAttachment-aspectMask-00019",
+ "text": " If <code>aspectMask</code> includes <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, it <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_ASPECT_DEPTH_BIT</code> or <code>VK_IMAGE_ASPECT_STENCIL_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkClearAttachment-aspectMask-00020",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not include <code>VK_IMAGE_ASPECT_METADATA_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkClearAttachment-clearValue-00021",
+ "text": " <code>clearValue</code> <strong class=\"purple\">must</strong> be a valid <code>VkClearValue</code> union"
+ },
+ {
+ "vuid": "VUID-VkClearAttachment-aspectMask-parameter",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkClearAttachment-aspectMask-requiredbitmask",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkClearAttachment-commandBuffer-01809",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then the attachment to be cleared <strong class=\"purple\">must</strong> not be a protected image."
+ },
+ {
+ "vuid": "VUID-VkClearAttachment-commandBuffer-01810",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then the attachment to be cleared <strong class=\"purple\">must</strong> not be an unprotected image."
+ }
+ ]
+ },
+ "VkClearDepthStencilValue": {
+ "(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-VkClearDepthStencilValue-depth-00022",
+ "text": " Unless the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>depth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ],
+ "!(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-VkClearDepthStencilValue-depth-00022",
+ "text": " <code>depth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ]
+ },
+ "VkClearValue": {
+ "core": [
+ {
+ "vuid": "VUID-VkClearValue-depthStencil-00023",
+ "text": " <code>depthStencil</code> <strong class=\"purple\">must</strong> be a valid <code>VkClearDepthStencilValue</code> structure"
+ }
+ ]
+ },
+ "vkCmdFillBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdFillBuffer-dstOffset-00024",
+ "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-dstOffset-00025",
+ "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-size-00026",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-size-00027",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>dstOffset</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-size-00028",
+ "text": " If <code>size</code> is not equal to <code>VK_WHOLE_SIZE</code>, <code>size</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-dstBuffer-00029",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-dstBuffer-00031",
+ "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-dstBuffer-parameter",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-vkCmdFillBuffer-commandBuffer-00030",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics or compute operations"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdFillBuffer-commandBuffer-01811",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdFillBuffer-commandBuffer-01812",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"
+ }
+ ]
+ },
+ "vkCmdUpdateBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dstOffset-00032",
+ "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dataSize-00033",
+ "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>dstOffset</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dstBuffer-00034",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dstBuffer-00035",
+ "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dstOffset-00036",
+ "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dataSize-00037",
+ "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be less than or equal to <code>65536</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dataSize-00038",
+ "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dstBuffer-parameter",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-pData-parameter",
+ "text": " <code>pData</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>dataSize</code> bytes"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-dataSize-arraylength",
+ "text": " <code>dataSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-01813",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdUpdateBuffer-commandBuffer-01814",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"
+ }
+ ]
+ },
+ "vkCmdCopyBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-size-00112",
+ "text": " The <code>size</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-srcOffset-00113",
+ "text": " The <code>srcOffset</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the size of <code>srcBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-dstOffset-00114",
+ "text": " The <code>dstOffset</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the size of <code>dstBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-size-00115",
+ "text": " The <code>size</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>srcBuffer</code> minus <code>srcOffset</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-size-00116",
+ "text": " The <code>size</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>dstOffset</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-pRegions-00117",
+ "text": " The union of the source regions, and the union of the destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-srcBuffer-00118",
+ "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_SRC_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-srcBuffer-00119",
+ "text": " If <code>srcBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-dstBuffer-00120",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-dstBuffer-00121",
+ "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-srcBuffer-parameter",
+ "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-dstBuffer-parameter",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-pRegions-parameter",
+ "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> <code>VkBufferCopy</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-regionCount-arraylength",
+ "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>dstBuffer</code>, and <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-01822",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-01823",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBuffer-commandBuffer-01824",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"
+ }
+ ]
+ },
+ "vkCmdCopyImage": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-pRegions-00122",
+ "text": " The source region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-pRegions-00123",
+ "text": " The destination region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-pRegions-00124",
+ "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-00126",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImageLayout-00128",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImage-00131",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImageLayout-00133",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-00136",
+ "text": " The sample count of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> match"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcSubresource-01696",
+ "text": " The <code>srcSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstSubresource-01697",
+ "text": " The <code>dstSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcSubresource-01698",
+ "text": " The <span class=\"eq\"><code>srcSubresource.baseArrayLayer</code> + <code>srcSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstSubresource-01699",
+ "text": " The <span class=\"eq\"><code>dstSubresource.baseArrayLayer</code> + <code>dstSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcOffset-01783",
+ "text": " The <code>srcOffset</code> and <code>extent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstOffset-01784",
+ "text": " The <code>dstOffset</code> and <code>extent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-parameter",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImageLayout-parameter",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImage-parameter",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImageLayout-parameter",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-pRegions-parameter",
+ "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkImageCopy</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-regionCount-arraylength",
+ "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)+(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-00125",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_SRC_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImage-00130",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-01938",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_SRC_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImage-01939",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-00127",
+ "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImage-00132",
+ "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-00135",
+ "text": " The <a href=\"#VkFormat\">VkFormat</a> of each of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> be compatible, as defined <a href=\"#copies-images-format-compatibility\">below</a>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-01546",
+ "text": " If <code>srcImage</code> is non-sparse then the image or <em>disjoint</em> plane to be copied <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImage-01547",
+ "text": " If <code>dstImage</code> is non-sparse then the image or <em>disjoint</em> plane that is the destination of the copy <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImage-01548",
+ "text": " If the <a href=\"#VkFormat\">VkFormat</a> of each of <code>srcImage</code> and <code>dstImage</code> is not a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\"><em>multi-planar format</em></a>, the <a href=\"#VkFormat\">VkFormat</a> of each of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> be compatible, as defined <a href=\"#copies-images-format-compatibility\">below</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-None-01549",
+ "text": " In a copy to or from a plane of a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar image</a>, the <a href=\"#VkFormat\">VkFormat</a> of the image and plane <strong class=\"purple\">must</strong> be compatible according to <a href=\"#features-formats-compatible-planes\">the description of compatible planes</a> for the plane being copied"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-aspectMask-01550",
+ "text": " When a copy is performed to or from an image with a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar format</a>, the <code>aspectMask</code> of the <code>srcSubresource</code> and/or <code>dstSubresource</code> that refers to the multi-planar image <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> (with <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> valid only for a <a href=\"#VkFormat\">VkFormat</a> with three planes)"
+ }
+ ],
+ "!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImageLayout-00129",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImageLayout-00134",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-srcImageLayout-01917",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-dstImageLayout-01395",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdCopyImage-commandBuffer-01825",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-commandBuffer-01826",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImage-commandBuffer-01827",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"
+ }
+ ]
+ },
+ "VkImageCopy": {
+ "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageCopy-aspectMask-00137",
+ "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcOffset-00157",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, all members of <code>srcOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-extent-00158",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-extent-00159",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-extent-00160",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstOffset-00162",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, all members of <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-extent-00163",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-extent-00164",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-extent-00165",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource depth"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01551",
+ "text": " If neither the calling command’s <code>srcImage</code> nor the calling command’s <code>dstImage</code> has a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar image format</a> then the <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01552",
+ "text": " If the calling command’s <code>srcImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">two planes</a> then the <code>srcSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01553",
+ "text": " If the calling command’s <code>srcImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">three planes</a> then the <code>srcSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01554",
+ "text": " If the calling command’s <code>dstImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">two planes</a> then the <code>dstSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code> or <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01555",
+ "text": " If the calling command’s <code>dstImage</code> has a <a href=\"#VkFormat\">VkFormat</a> with <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">three planes</a> then the <code>dstSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01556",
+ "text": " If the calling command’s <code>srcImage</code> has a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar image format</a> and the <code>dstImage</code> does not have a multi-planar image format, the <code>dstSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01557",
+ "text": " If the calling command’s <code>dstImage</code> has a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar image format</a> and the <code>srcImage</code> does not have a multi-planar image format, the <code>srcSubresource</code> <code>aspectMask</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01727",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, all members of <code>srcOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01728",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01729",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01730",
+ "text": " If the calling command’s <code>srcImage</code> is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the source image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01731",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, all members of <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01732",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01733",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01734",
+ "text": " If the calling command’s <code>dstImage</code> is a compressed format image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>extent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the destination image subresource depth"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkImageCopy-layerCount-00138",
+ "text": " The <code>layerCount</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-00139",
+ "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of both <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01789",
+ "text": " If the calling command’s <code>srcImage</code> or <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, then <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-VkImageCopy-extent-00140",
+ "text": " The number of slices of the <code>extent</code> (for 3D) or layers of the <code>srcSubresource</code> (for non-3D) <strong class=\"purple\">must</strong> match the number of slices of the <code>extent</code> (for 3D) or layers of the <code>dstSubresource</code> (for non-3D)"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-00141",
+ "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of the corresponding subresource <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01790",
+ "text": " If both <code>srcImage</code> and <code>dstImage</code> are of type <code>VK_IMAGE_TYPE_2D</code> then then <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01791",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, and the <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_3D</code>, then <code>extent.depth</code> <strong class=\"purple\">must</strong> equal to the <code>layerCount</code> member of <code>srcSubresource</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01792",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, and the <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_3D</code>, then <code>extent.depth</code> <strong class=\"purple\">must</strong> equal to the <code>layerCount</code> member of <code>dstSubresource</code>."
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-VkImageCopy-aspectMask-00142",
+ "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>srcImage</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-aspectMask-00143",
+ "text": " The <code>aspectMask</code> member of <code>dstSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>dstImage</code>"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcOffset-00144",
+ "text": " <code>srcOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcOffset-00145",
+ "text": " <code>srcOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-00146",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcOffset-00147",
+ "text": " <code>srcOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01785",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01786",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcImage-01787",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, then <code>srcOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-01788",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_2D</code>, then <code>dstOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstOffset-00150",
+ "text": " <code>dstOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstOffset-00151",
+ "text": " <code>dstOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstImage-00152",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstOffset-00153",
+ "text": " <code>dstOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-srcSubresource-parameter",
+ "text": " <code>srcSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"
+ },
+ {
+ "vuid": "VUID-VkImageCopy-dstSubresource-parameter",
+ "text": " <code>dstSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"
+ }
+ ]
+ },
+ "VkImageSubresourceLayers": {
+ "core": [
+ {
+ "vuid": "VUID-VkImageSubresourceLayers-aspectMask-00167",
+ "text": " If <code>aspectMask</code> contains <code>VK_IMAGE_ASPECT_COLOR_BIT</code>, it <strong class=\"purple\">must</strong> not contain either of <code>VK_IMAGE_ASPECT_DEPTH_BIT</code> or <code>VK_IMAGE_ASPECT_STENCIL_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageSubresourceLayers-aspectMask-00168",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not contain <code>VK_IMAGE_ASPECT_METADATA_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageSubresourceLayers-layerCount-01700",
+ "text": " <code>layerCount</code> <strong class=\"purple\">must</strong> be greater than 0"
+ },
+ {
+ "vuid": "VUID-VkImageSubresourceLayers-aspectMask-parameter",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageAspectFlagBits\">VkImageAspectFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkImageSubresourceLayers-aspectMask-requiredbitmask",
+ "text": " <code>aspectMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "vkCmdCopyBufferToImage": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-00171",
+ "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> be large enough to contain all buffer locations that are accessed according to <a href=\"#copies-buffers-images-addressing\">Buffer and Image Addressing</a>, for each element of <code>pRegions</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-00172",
+ "text": " The image region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-00173",
+ "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-srcBuffer-00174",
+ "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_SRC_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-srcBuffer-00176",
+ "text": " If <code>srcBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00177",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00178",
+ "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00179",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have a sample count equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-00180",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-imageSubresource-01701",
+ "text": " The <code>imageSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-imageSubresource-01702",
+ "text": " The <span class=\"eq\"><code>imageSubresource.baseArrayLayer</code> + <code>imageSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-imageOffset-01793",
+ "text": " The <code>imageOffset</code> and <code>imageExtent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-srcBuffer-parameter",
+ "text": " <code>srcBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-parameter",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-parameter",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-pRegions-parameter",
+ "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkBufferImageCopy</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-regionCount-arraylength",
+ "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)+(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-00175",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImage-01940",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-00181",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-dstImageLayout-01396",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code>, <code>VK_IMAGE_LAYOUT_GENERAL</code>, or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-01828",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-01829",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyBufferToImage-commandBuffer-01830",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"
+ }
+ ]
+ },
+ "vkCmdCopyImageToBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-00182",
+ "text": " The image region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-00183",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be large enough to contain all buffer locations that are accessed according to <a href=\"#copies-buffers-images-addressing\">Buffer and Image Addressing</a>, for each element of <code>pRegions</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-00184",
+ "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00186",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00187",
+ "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00188",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have a sample count equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-00189",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-dstBuffer-00191",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-dstBuffer-00192",
+ "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-imageSubresource-01703",
+ "text": " The <code>imageSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-imageSubresource-01704",
+ "text": " The <span class=\"eq\"><code>imageSubresource.baseArrayLayer</code> + <code>imageSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-imageOffset-01794",
+ "text": " The <code>imageOffset</code> and <code>imageExtent</code> members of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> respect the image transfer granularity requirements of <code>commandBuffer</code>’s command pool’s queue family, as described in <a href=\"#VkQueueFamilyProperties\">VkQueueFamilyProperties</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-parameter",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-parameter",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-dstBuffer-parameter",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-pRegions-parameter",
+ "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkBufferImageCopy</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-regionCount-arraylength",
+ "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>dstBuffer</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)+(VK_VERSION_1_1,VK_KHR_maintenance1)": [
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-00185",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_SRC_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImage-01941",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_SRC_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-00190",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-srcImageLayout-01397",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-01831",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-01832",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be a protected buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdCopyImageToBuffer-commandBuffer-01833",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstBuffer</code> <strong class=\"purple\">must</strong> not be an unprotected buffer"
+ }
+ ]
+ },
+ "VkBufferImageCopy": {
+ "!(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferOffset-00193",
+ "text": " If the calling command’s <code>VkImage</code> parameter’s format is not a depth/stencil format, then <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the format’s element size"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferRowLength-00203",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>bufferRowLength</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferImageHeight-00204",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>bufferImageHeight</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageOffset-00205",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, all members of <code>imageOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferOffset-00206",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block size in bytes"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageExtent-00207",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>imageExtent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>imageExtent.width</code> + <code>imageOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource width"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageExtent-00208",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>imageExtent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>imageExtent.height</code> + <code>imageOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource height"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageExtent-00209",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, <code>imageExtent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>imageExtent.depth</code> + <code>imageOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource depth"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferOffset-01558",
+ "text": " If the calling command’s <code>VkImage</code> parameter’s format is not a depth/stencil format or a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar format</a>, then <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the format’s element size"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferOffset-01559",
+ "text": " If the calling command’s <code>VkImage</code> parameter’s format is a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar format</a>, then <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the element size of the compatible format for the format and the <code>aspectMask</code> of the <code>imageSubresource</code> as defined in <a href=\"#features-formats-compatible-planes\">Compatible formats of planes of multi-planar formats</a>"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-01735",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>bufferRowLength</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-01736",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>bufferImageHeight</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-01737",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, all members of <code>imageOffset</code> <strong class=\"purple\">must</strong> be a multiple of the corresponding dimensions of the compressed texel block"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-01738",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block size in bytes"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-01739",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>imageExtent.width</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block width or <span class=\"eq\">(<code>imageExtent.width</code> + <code>imageOffset.x</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource width"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-01740",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>imageExtent.height</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block height or <span class=\"eq\">(<code>imageExtent.height</code> + <code>imageOffset.y</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource height"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-01741",
+ "text": " If the calling command’s <code>VkImage</code> parameter is a compressed image, or a <em>single-plane</em>, “<code>_422</code>” image format, <code>imageExtent.depth</code> <strong class=\"purple\">must</strong> be a multiple of the compressed texel block depth or <span class=\"eq\">(<code>imageExtent.depth</code> + <code>imageOffset.z</code>)</span> <strong class=\"purple\">must</strong> equal the image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-aspectMask-01560",
+ "text": " If the calling command’s <code>VkImage</code> parameter’s format is a <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">multi-planar format</a>, then the <code>aspectMask</code> member of <code>imageSubresource</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_ASPECT_PLANE_0_BIT</code>, <code>VK_IMAGE_ASPECT_PLANE_1_BIT</code>, or <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> (with <code>VK_IMAGE_ASPECT_PLANE_2_BIT</code> valid only for image formats with three planes)"
+ }
+ ],
+ "core": [
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferOffset-00194",
+ "text": " <code>bufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferRowLength-00195",
+ "text": " <code>bufferRowLength</code> <strong class=\"purple\">must</strong> be <code>0</code>, or greater than or equal to the <code>width</code> member of <code>imageExtent</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-bufferImageHeight-00196",
+ "text": " <code>bufferImageHeight</code> <strong class=\"purple\">must</strong> be <code>0</code>, or greater than or equal to the <code>height</code> member of <code>imageExtent</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageOffset-00197",
+ "text": " <code>imageOffset.x</code> and <span class=\"eq\">(<code>imageExtent.width</code> + <code>imageOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the image subresource width"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageOffset-00198",
+ "text": " <code>imageOffset.y</code> and <span class=\"eq\">(imageExtent.height + <code>imageOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the image subresource height"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-srcImage-00199",
+ "text": " If the calling command’s <code>srcImage</code> (<a href=\"#vkCmdCopyImageToBuffer\">vkCmdCopyImageToBuffer</a>) or <code>dstImage</code> (<a href=\"#vkCmdCopyBufferToImage\">vkCmdCopyBufferToImage</a>) is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>imageOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>imageExtent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageOffset-00200",
+ "text": " <code>imageOffset.z</code> and <span class=\"eq\">(imageExtent.depth + <code>imageOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-srcImage-00201",
+ "text": " If the calling command’s <code>srcImage</code> (<a href=\"#vkCmdCopyImageToBuffer\">vkCmdCopyImageToBuffer</a>) or <code>dstImage</code> (<a href=\"#vkCmdCopyBufferToImage\">vkCmdCopyBufferToImage</a>) is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>imageOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>imageExtent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-aspectMask-00211",
+ "text": " The <code>aspectMask</code> member of <code>imageSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>VkImage</code> parameter"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-aspectMask-00212",
+ "text": " The <code>aspectMask</code> member of <code>imageSubresource</code> <strong class=\"purple\">must</strong> only have a single bit set"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-baseArrayLayer-00213",
+ "text": " If the calling command’s <code>VkImage</code> parameter is of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of <code>imageSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-None-00214",
+ "text": " When copying to the depth aspect of an image subresource, the data in the source buffer <strong class=\"purple\">must</strong> be in the range <span class=\"eq\">[0,1]</span>"
+ },
+ {
+ "vuid": "VUID-VkBufferImageCopy-imageSubresource-parameter",
+ "text": " <code>imageSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"
+ }
+ ]
+ },
+ "vkCmdBlitImage": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-pRegions-00215",
+ "text": " The source region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-pRegions-00216",
+ "text": " The destination region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-pRegions-00217",
+ "text": " The union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory with any texel that <strong class=\"purple\">may</strong> be sampled during the blit operation"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00219",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_SRC_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00220",
+ "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImageLayout-00221",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImage-00224",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with <code>VK_IMAGE_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImage-00225",
+ "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImageLayout-00226",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00228",
+ "text": " The sample count of <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> both be equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00229",
+ "text": " If either of <code>srcImage</code> or <code>dstImage</code> was created with a signed integer <a href=\"#VkFormat\">VkFormat</a>, the other <strong class=\"purple\">must</strong> also have been created with a signed integer <a href=\"#VkFormat\">VkFormat</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00230",
+ "text": " If either of <code>srcImage</code> or <code>dstImage</code> was created with an unsigned integer <a href=\"#VkFormat\">VkFormat</a>, the other <strong class=\"purple\">must</strong> also have been created with an unsigned integer <a href=\"#VkFormat\">VkFormat</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00231",
+ "text": " If either of <code>srcImage</code> or <code>dstImage</code> was created with a depth/stencil format, the other <strong class=\"purple\">must</strong> have exactly the same format"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00232",
+ "text": " If <code>srcImage</code> was created with a depth/stencil format, <code>filter</code> <strong class=\"purple\">must</strong> be <code>VK_FILTER_NEAREST</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00233",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have been created with a <code>samples</code> value of <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImage-00234",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with a <code>samples</code> value of <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcSubresource-01705",
+ "text": " The <code>srcSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstSubresource-01706",
+ "text": " The <code>dstSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcSubresource-01707",
+ "text": " The <span class=\"eq\"><code>srcSubresource.baseArrayLayer</code> + <code>srcSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstSubresource-01708",
+ "text": " The <span class=\"eq\"><code>dstSubresource.baseArrayLayer</code> + <code>dstSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-parameter",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImageLayout-parameter",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImage-parameter",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImageLayout-parameter",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-pRegions-parameter",
+ "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkImageBlit</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-filter-parameter",
+ "text": " <code>filter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFilter\">VkFilter</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-regionCount-arraylength",
+ "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-00218",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_BLIT_SRC_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImage-00223",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_BLIT_DST_BIT</code>, which is indicated by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-filter-00235",
+ "text": " If <code>filter</code> is <code>VK_FILTER_LINEAR</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-01942",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_SRC_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImage-01943",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> use a format that supports <code>VK_FORMAT_FEATURE_TRANSFER_DST_BIT</code>, which is indicated by <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-filter-01944",
+ "text": " If <code>filter</code> is <code>VK_FILTER_LINEAR</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImage-01561",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> not use a format listed in <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">Formats requiring sampler Y’C<sub>B</sub>C<sub>R</sub> conversion for <code>VK_IMAGE_ASPECT_COLOR_BIT</code> image views</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImage-01562",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> not use a format listed in <a href=\"#features-formats-requiring-sampler-ycbcr-conversion\">Formats requiring sampler Y’C<sub>B</sub>C<sub>R</sub> conversion for <code>VK_IMAGE_ASPECT_COLOR_BIT</code> image views</a>"
+ }
+ ],
+ "!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImageLayout-00222",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImageLayout-00227",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-srcImageLayout-01398",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-dstImageLayout-01399",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-filter-00236",
+ "text": " If <code>filter</code> is <code>VK_FILTER_CUBIC_IMG</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-filter-01945",
+ "text": " If <code>filter</code> is <code>VK_FILTER_CUBIC_IMG</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-filter-00237",
+ "text": " If <code>filter</code> is <code>VK_FILTER_CUBIC_IMG</code>, <code>srcImage</code> <strong class=\"purple\">must</strong> have a <a href=\"#VkImageType\">VkImageType</a> of <code>VK_IMAGE_TYPE_2D</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdBlitImage-commandBuffer-01834",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-commandBuffer-01835",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdBlitImage-commandBuffer-01836",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"
+ }
+ ]
+ },
+ "VkImageBlit": {
+ "core": [
+ {
+ "vuid": "VUID-VkImageBlit-aspectMask-00238",
+ "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-layerCount-00239",
+ "text": " The <code>layerCount</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-srcImage-00240",
+ "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of both <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-aspectMask-00241",
+ "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>srcImage</code>"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-aspectMask-00242",
+ "text": " The <code>aspectMask</code> member of <code>dstSubresource</code> <strong class=\"purple\">must</strong> specify aspects present in the calling command’s <code>dstImage</code>"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-srcOffset-00243",
+ "text": " <code>srcOffset</code>[0].<code>x</code> and <code>srcOffset</code>[1].<code>x</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-srcOffset-00244",
+ "text": " <code>srcOffset</code>[0].<code>y</code> and <code>srcOffset</code>[1].<code>y</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-srcImage-00245",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset</code>[0].y <strong class=\"purple\">must</strong> be <code>0</code> and <code>srcOffset</code>[1].y <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageBlit-srcOffset-00246",
+ "text": " <code>srcOffset</code>[0].<code>z</code> and <code>srcOffset</code>[1].<code>z</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-srcImage-00247",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>srcOffset</code>[0].z <strong class=\"purple\">must</strong> be <code>0</code> and <code>srcOffset</code>[1].z <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageBlit-dstOffset-00248",
+ "text": " <code>dstOffset</code>[0].<code>x</code> and <code>dstOffset</code>[1].<code>x</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-dstOffset-00249",
+ "text": " <code>dstOffset</code>[0].<code>y</code> and <code>dstOffset</code>[1].<code>y</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-dstImage-00250",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset</code>[0].y <strong class=\"purple\">must</strong> be <code>0</code> and <code>dstOffset</code>[1].y <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageBlit-dstOffset-00251",
+ "text": " <code>dstOffset</code>[0].<code>z</code> and <code>dstOffset</code>[1].<code>z</code> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-dstImage-00252",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>dstOffset</code>[0].z <strong class=\"purple\">must</strong> be <code>0</code> and <code>dstOffset</code>[1].z <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageBlit-srcSubresource-parameter",
+ "text": " <code>srcSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"
+ },
+ {
+ "vuid": "VUID-VkImageBlit-dstSubresource-parameter",
+ "text": " <code>dstSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"
+ }
+ ]
+ },
+ "vkCmdResolveImage": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdResolveImage-pRegions-00253",
+ "text": " The source region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>srcImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-pRegions-00254",
+ "text": " The destination region specified by each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be a region that is contained within <code>dstImage</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-pRegions-00255",
+ "text": " The union of all source regions, and the union of all destination regions, specified by the elements of <code>pRegions</code>, <strong class=\"purple\">must</strong> not overlap in memory"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImage-00256",
+ "text": " If <code>srcImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImage-00257",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> have a sample count equal to any valid sample count value other than <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImage-00258",
+ "text": " If <code>dstImage</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImage-00259",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> have a sample count equal to <code>VK_SAMPLE_COUNT_1_BIT</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImageLayout-00260",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>srcImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImageLayout-00262",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> specify the layout of the image subresources of <code>dstImage</code> specified in <code>pRegions</code> at the time this command is executed on a <code>VkDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImage-00264",
+ "text": " If <code>dstImage</code> was created with <code>tiling</code> equal to <code>VK_IMAGE_TILING_LINEAR</code>, <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with a <code>format</code> that supports being a color attachment, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImage-00265",
+ "text": " If <code>dstImage</code> was created with <code>tiling</code> equal to <code>VK_IMAGE_TILING_OPTIMAL</code>, <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with a <code>format</code> that supports being a color attachment, as specified by the <code>VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT</code> flag in <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImage-01386",
+ "text": " <code>srcImage</code> and <code>dstImage</code> <strong class=\"purple\">must</strong> have been created with the same image format"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcSubresource-01709",
+ "text": " The <code>srcSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstSubresource-01710",
+ "text": " The <code>dstSubresource.mipLevel</code> member of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcSubresource-01711",
+ "text": " The <span class=\"eq\"><code>srcSubresource.baseArrayLayer</code> + <code>srcSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>srcImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstSubresource-01712",
+ "text": " The <span class=\"eq\"><code>dstSubresource.baseArrayLayer</code> + <code>dstSubresource.layerCount</code></span> of each element of <code>pRegions</code> <strong class=\"purple\">must</strong> be less than or equal to the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>dstImage</code> was created"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImage-parameter",
+ "text": " <code>srcImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImageLayout-parameter",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImage-parameter",
+ "text": " <code>dstImage</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImageLayout-parameter",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageLayout\">VkImageLayout</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-pRegions-parameter",
+ "text": " <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>regionCount</code> valid <code>VkImageResolve</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-regionCount-arraylength",
+ "text": " <code>regionCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-commonparent",
+ "text": " Each of <code>commandBuffer</code>, <code>dstImage</code>, and <code>srcImage</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImageLayout-00261",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImageLayout-00263",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkCmdResolveImage-srcImageLayout-01400",
+ "text": " <code>srcImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-dstImageLayout-01401",
+ "text": " <code>dstImageLayout</code> <strong class=\"purple\">must</strong> be <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code>, <code>VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL</code> or <code>VK_IMAGE_LAYOUT_GENERAL</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdResolveImage-commandBuffer-01837",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>srcImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-commandBuffer-01838",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be a protected image"
+ },
+ {
+ "vuid": "VUID-vkCmdResolveImage-commandBuffer-01839",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, then <code>dstImage</code> <strong class=\"purple\">must</strong> not be an unprotected image"
+ }
+ ]
+ },
+ "VkImageResolve": {
+ "core": [
+ {
+ "vuid": "VUID-VkImageResolve-aspectMask-00266",
+ "text": " The <code>aspectMask</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> only contain <code>VK_IMAGE_ASPECT_COLOR_BIT</code>"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-layerCount-00267",
+ "text": " The <code>layerCount</code> member of <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> match"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-srcImage-00268",
+ "text": " If either of the calling command’s <code>srcImage</code> or <code>dstImage</code> parameters are of <a href=\"#VkImageType\">VkImageType</a> <code>VK_IMAGE_TYPE_3D</code>, the <code>baseArrayLayer</code> and <code>layerCount</code> members of both <code>srcSubresource</code> and <code>dstSubresource</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>1</code>, respectively"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-srcOffset-00269",
+ "text": " <code>srcOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>srcOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-srcOffset-00270",
+ "text": " <code>srcOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>srcOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-srcImage-00271",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>srcOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageResolve-srcOffset-00272",
+ "text": " <code>srcOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>srcOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the source image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-srcImage-00273",
+ "text": " If the calling command’s <code>srcImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>srcOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageResolve-dstOffset-00274",
+ "text": " <code>dstOffset.x</code> and <span class=\"eq\">(<code>extent.width</code> + <code>dstOffset.x</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource width"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-dstOffset-00275",
+ "text": " <code>dstOffset.y</code> and <span class=\"eq\">(<code>extent.height</code> + <code>dstOffset.y</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource height"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-dstImage-00276",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code>, then <code>dstOffset.y</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.height</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageResolve-dstOffset-00277",
+ "text": " <code>dstOffset.z</code> and <span class=\"eq\">(<code>extent.depth</code> + <code>dstOffset.z</code>)</span> <strong class=\"purple\">must</strong> both be greater than or equal to <code>0</code> and less than or equal to the destination image subresource depth"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-dstImage-00278",
+ "text": " If the calling command’s <code>dstImage</code> is of type <code>VK_IMAGE_TYPE_1D</code> or <code>VK_IMAGE_TYPE_2D</code>, then <code>dstOffset.z</code> <strong class=\"purple\">must</strong> be <code>0</code> and <code>extent.depth</code> <strong class=\"purple\">must</strong> be <code>1</code>."
+ },
+ {
+ "vuid": "VUID-VkImageResolve-srcSubresource-parameter",
+ "text": " <code>srcSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"
+ },
+ {
+ "vuid": "VUID-VkImageResolve-dstSubresource-parameter",
+ "text": " <code>dstSubresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresourceLayers</code> structure"
+ }
+ ]
+ },
+ "vkCmdWriteBufferMarkerAMD": {
+ "(VK_AMD_buffer_marker)": [
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstOffset-01798",
+ "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>dstBuffer</code> minus <code>4</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-01799",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created with <code>VK_BUFFER_USAGE_TRANSFER_DST_BIT</code> usage flag"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-01800",
+ "text": " If <code>dstBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstOffset-01801",
+ "text": " <code>dstOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-pipelineStage-parameter",
+ "text": " <code>pipelineStage</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineStageFlagBits\">VkPipelineStageFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-dstBuffer-parameter",
+ "text": " <code>dstBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support transfer, graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdWriteBufferMarkerAMD-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and <code>dstBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkPipelineInputAssemblyStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00428",
+ "text": " If <code>topology</code> is <code>VK_PRIMITIVE_TOPOLOGY_POINT_LIST</code>, <code>VK_PRIMITIVE_TOPOLOGY_LINE_LIST</code>, <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST</code>, <code>VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY</code>, <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY</code> or <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>, <code>primitiveRestartEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00429",
+ "text": " If the <a href=\"#features-features-geometryShader\">geometry shaders</a> feature is not enabled, <code>topology</code> <strong class=\"purple\">must</strong> not be any of <code>VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY</code>, <code>VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY</code>, <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY</code> or <code>VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-00430",
+ "text": " If the <a href=\"#features-features-tessellationShader\">tessellation shaders</a> feature is not enabled, <code>topology</code> <strong class=\"purple\">must</strong> not be <code>VK_PRIMITIVE_TOPOLOGY_PATCH_LIST</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineInputAssemblyStateCreateInfo-topology-parameter",
+ "text": " <code>topology</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPrimitiveTopology\">VkPrimitiveTopology</a> value"
+ }
+ ]
+ },
+ "vkCmdBindIndexBuffer": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-offset-00431",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-offset-00432",
+ "text": " The sum of <code>offset</code> and the address of the range of <code>VkDeviceMemory</code> object that is backing <code>buffer</code>, <strong class=\"purple\">must</strong> be a multiple of the type indicated by <code>indexType</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-buffer-00433",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDEX_BUFFER_BIT</code> flag"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-buffer-00434",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-indexType-parameter",
+ "text": " <code>indexType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndexType\">VkIndexType</a> value"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBindIndexBuffer-commonparent",
+ "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCmdDraw": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdDraw-renderPass-00435",
+ "text": " The current render pass <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-subpass-00436",
+ "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00437",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00438",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00439",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00440",
+ "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00441",
+ "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in <a href=\"#fxvertex-input\">Vertex Input Description</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00442",
+ "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00443",
+ "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00444",
+ "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00445",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00446",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00447",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00448",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-00449",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-None-01499",
+ "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDraw-linearTilingFeatures-00450",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDraw-formatFeatures-01953",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDraw-linearTilingFeatures-00451",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDraw-formatFeatures-01954",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-vkCmdDraw-None-00452",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdDraw-maxMultiviewInstanceIndex-00453",
+ "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDraw-commandBuffer-01850",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-commandBuffer-01851",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDraw-commandBuffer-01852",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ],
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdDraw-sampleLocationsEnable-01512",
+ "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"
+ }
+ ]
+ },
+ "vkCmdDrawIndexed": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-renderPass-00454",
+ "text": " The current render pass <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-subpass-00455",
+ "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00456",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00457",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00458",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00459",
+ "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00460",
+ "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in <a href=\"#fxvertex-input\">Vertex Input Description</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00461",
+ "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00462",
+ "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-indexSize-00463",
+ "text": " <span class=\"eq\">(<code>indexSize</code> * (<code>firstIndex</code> + <code>indexCount</code>) + <code>offset</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to the size of the bound index buffer, with indexSize being based on the type specified by <code>indexType</code>, where the index buffer, <code>indexType</code>, and <code>offset</code> are specified via <code>vkCmdBindIndexBuffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00464",
+ "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00465",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00466",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00467",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00468",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00469",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-01500",
+ "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-linearTilingFeatures-00470",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-formatFeatures-01955",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-linearTilingFeatures-00471",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-formatFeatures-01956",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-None-00472",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-maxMultiviewInstanceIndex-00473",
+ "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-01853",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-01854",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-commandBuffer-01855",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ],
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexed-sampleLocationsEnable-01513",
+ "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"
+ }
+ ]
+ },
+ "vkCmdDrawIndirect": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-buffer-00474",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-buffer-01660",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-offset-00475",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-drawCount-00476",
+ "text": " If <code>drawCount</code> is greater than <code>1</code>, <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndirectCommand</code>)"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-drawCount-00477",
+ "text": " If the <a href=\"#features-features-multiDrawIndirect\">multi-draw indirect</a> feature is not enabled, <code>drawCount</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>1</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-firstInstance-00478",
+ "text": " If the <a href=\"#features-features-drawIndirectFirstInstance\">drawIndirectFirstInstance</a> feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-renderPass-00479",
+ "text": " The current render pass <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-subpass-00480",
+ "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00481",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00482",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00483",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00484",
+ "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00485",
+ "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00486",
+ "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-drawCount-00487",
+ "text": " If <code>drawCount</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<a href=\"#VkDrawIndirectCommand\">VkDrawIndirectCommand</a>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-drawCount-00488",
+ "text": " If <code>drawCount</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<a href=\"#VkDrawIndirectCommand\">VkDrawIndirectCommand</a>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-drawCount-00489",
+ "text": " <code>drawCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00490",
+ "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00491",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00492",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00493",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00494",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00495",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-01501",
+ "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-commonparent",
+ "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-linearTilingFeatures-00496",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-formatFeatures-01957",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-linearTilingFeatures-00497",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-formatFeatures-01958",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-None-00498",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-maxMultiviewInstanceIndex-00499",
+ "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-01856",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-01857",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-commandBuffer-01858",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ],
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirect-sampleLocationsEnable-01514",
+ "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"
+ }
+ ]
+ },
+ "VkDrawIndirectCommand": {
+ "core": [
+ {
+ "vuid": "VUID-VkDrawIndirectCommand-None-00500",
+ "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in <a href=\"#fxvertex-input\">Vertex Input Description</a>"
+ },
+ {
+ "vuid": "VUID-VkDrawIndirectCommand-firstInstance-00501",
+ "text": " If the <a href=\"#features-features-drawIndirectFirstInstance\">drawIndirectFirstInstance</a> feature is not enabled, <code>firstInstance</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCmdDrawIndirectCountAMD": {
+ "(VK_AMD_draw_indirect_count)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-buffer-01661",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-buffer-01662",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-01663",
+ "text": " If <code>countBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-01664",
+ "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-offset-00502",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBufferOffset-00503",
+ "text": " <code>countBufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-stride-00504",
+ "text": " <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndirectCommand</code>)"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-maxDrawCount-00505",
+ "text": " If <code>maxDrawCount</code> is greater than or equal to <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>maxDrawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-firstInstance-00506",
+ "text": " If the <a href=\"#features-features-drawIndirectFirstInstance\">drawIndirectFirstInstance</a> feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-renderPass-00507",
+ "text": " The current render pass <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-subpass-00508",
+ "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00509",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00510",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00511",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00512",
+ "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00513",
+ "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00514",
+ "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-00515",
+ "text": " If the count stored in <code>countBuffer</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-00516",
+ "text": " If the count stored in <code>countBuffer</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-00517",
+ "text": " The count stored in <code>countBuffer</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00518",
+ "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00519",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00520",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00521",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00522",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-00523",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-None-01502",
+ "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-countBuffer-parameter",
+ "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-commonparent",
+ "text": " Each of <code>buffer</code>, <code>commandBuffer</code>, and <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-linearTilingFeatures-00524",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-formatFeatures-01959",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-maxMultiviewInstanceIndex-00525",
+ "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-01859",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-01860",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-commandBuffer-01861",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndirectCountAMD-sampleLocationsEnable-01515",
+ "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"
+ }
+ ]
+ },
+ "vkCmdDrawIndexedIndirect": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-buffer-00526",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-buffer-01665",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-offset-00527",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00528",
+ "text": " If <code>drawCount</code> is greater than <code>1</code>, <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>)"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00529",
+ "text": " If the <a href=\"#features-features-multiDrawIndirect\">multi-draw indirect</a> feature is not enabled, <code>drawCount</code> <strong class=\"purple\">must</strong> be <code>0</code> or <code>1</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-firstInstance-00530",
+ "text": " If the <a href=\"#features-features-drawIndirectFirstInstance\">drawIndirectFirstInstance</a> feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndexedIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-renderPass-00531",
+ "text": " The current render pass <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-subpass-00532",
+ "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00533",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00534",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00535",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00536",
+ "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00537",
+ "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00538",
+ "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00539",
+ "text": " If <code>drawCount</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00540",
+ "text": " If <code>drawCount</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-drawCount-00541",
+ "text": " <code>drawCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00542",
+ "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00543",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00544",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00545",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00546",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00547",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-01503",
+ "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-commonparent",
+ "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-linearTilingFeatures-00548",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-formatFeatures-01960",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-linearTilingFeatures-00549",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-formatFeatures-01961",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-None-00550",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-maxMultiviewInstanceIndex-00551",
+ "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-01862",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-01863",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-commandBuffer-01864",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ],
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirect-sampleLocationsEnable-01516",
+ "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"
+ }
+ ]
+ },
+ "VkDrawIndexedIndirectCommand": {
+ "core": [
+ {
+ "vuid": "VUID-VkDrawIndexedIndirectCommand-None-00552",
+ "text": " For a given vertex buffer binding, any attribute data fetched <strong class=\"purple\">must</strong> be entirely contained within the corresponding vertex buffer binding, as described in <a href=\"#fxvertex-input\">Vertex Input Description</a>"
+ },
+ {
+ "vuid": "VUID-VkDrawIndexedIndirectCommand-indexSize-00553",
+ "text": " <span class=\"eq\">(<code>indexSize</code> * (<code>firstIndex</code> + <code>indexCount</code>) + <code>offset</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to the size of the bound index buffer, with <code>indexSize</code> being based on the type specified by <code>indexType</code>, where the index buffer, <code>indexType</code>, and <code>offset</code> are specified via <code>vkCmdBindIndexBuffer</code>"
+ },
+ {
+ "vuid": "VUID-VkDrawIndexedIndirectCommand-firstInstance-00554",
+ "text": " If the <a href=\"#features-features-drawIndirectFirstInstance\">drawIndirectFirstInstance</a> feature is not enabled, <code>firstInstance</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCmdDrawIndexedIndirectCountAMD": {
+ "(VK_AMD_draw_indirect_count)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-buffer-01666",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-buffer-01667",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-01668",
+ "text": " If <code>countBuffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-01669",
+ "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-offset-00555",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBufferOffset-00556",
+ "text": " <code>countBufferOffset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-stride-00557",
+ "text": " <code>stride</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code> and <strong class=\"purple\">must</strong> be greater than or equal to <code>sizeof</code>(<code>VkDrawIndirectCommand</code>)"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-maxDrawCount-00558",
+ "text": " If <code>maxDrawCount</code> is greater than or equal to <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>maxDrawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-firstInstance-00559",
+ "text": " If the <a href=\"#features-features-drawIndirectFirstInstance\">drawIndirectFirstInstance</a> feature is not enabled, all the <code>firstInstance</code> members of the <code>VkDrawIndexedIndirectCommand</code> structures accessed by this command <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-renderPass-00560",
+ "text": " The current render pass <strong class=\"purple\">must</strong> be <a href=\"#renderpass-compatibility\">compatible</a> with the <code>renderPass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-subpass-00561",
+ "text": " The subpass index of the current render pass <strong class=\"purple\">must</strong> be equal to the <code>subpass</code> member of the <code>VkGraphicsPipelineCreateInfo</code> structure specified when creating the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00562",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00563",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00564",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00565",
+ "text": " All vertex input bindings accessed via vertex input variables declared in the vertex shader entry point’s interface <strong class=\"purple\">must</strong> have valid buffers bound"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00566",
+ "text": " A valid graphics pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00567",
+ "text": " If the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> requires any dynamic state, that state <strong class=\"purple\">must</strong> have been set on the current command buffer"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-00568",
+ "text": " If count stored in <code>countBuffer</code> is equal to <code>1</code>, <span class=\"eq\">(<code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-00569",
+ "text": " If count stored in <code>countBuffer</code> is greater than <code>1</code>, <span class=\"eq\">(<code>stride</code> {times} (<code>drawCount</code> - 1) + <code>offset</code> + <code>sizeof</code>(<code>VkDrawIndexedIndirectCommand</code>))</span> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-drawCount-00570",
+ "text": " <code>drawCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxDrawIndirectCount</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00571",
+ "text": " Every input attachment used by the current subpass <strong class=\"purple\">must</strong> be bound to the pipeline via a descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00572",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00573",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00574",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00575",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-00576",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-None-01504",
+ "text": " Image subresources used as attachments in the current render pass <strong class=\"purple\">must</strong> not be accessed in any way other than as an attachment by this command."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-countBuffer-parameter",
+ "text": " <code>countBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commonparent",
+ "text": " Each of <code>buffer</code>, <code>commandBuffer</code>, and <code>countBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-linearTilingFeatures-00577",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-formatFeatures-01962",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-maxMultiviewInstanceIndex-00578",
+ "text": " If the draw is recorded in a render pass instance with multiview enabled, the maximum instance index <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceMultiviewProperties\">VkPhysicalDeviceMultiviewProperties</a>::<code>maxMultiviewInstanceIndex</code>."
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-01865",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-01866",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-commandBuffer-01867",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the framebuffer-space pipeline stages in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_GRAPHICS</code> reads from or writes to any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ],
+ "(VK_AMD_draw_indirect_count)+(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdDrawIndexedIndirectCountAMD-sampleLocationsEnable-01517",
+ "text": " If the bound graphics pipeline was created with <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>::<code>sampleLocationsEnable</code> set to <code>VK_TRUE</code> and the current subpass has a depth/stencil attachment, then that attachment <strong class=\"purple\">must</strong> have been created with the <code>VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT</code> bit set"
+ }
+ ]
+ },
+ "VkPipelineVertexInputStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-vertexBindingDescriptionCount-00613",
+ "text": " <code>vertexBindingDescriptionCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-vertexAttributeDescriptionCount-00614",
+ "text": " <code>vertexAttributeDescriptionCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputAttributes</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-binding-00615",
+ "text": " For every <code>binding</code> specified by each element of <code>pVertexAttributeDescriptions</code>, a <code>VkVertexInputBindingDescription</code> <strong class=\"purple\">must</strong> exist in <code>pVertexBindingDescriptions</code> with the same value of <code>binding</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexBindingDescriptions-00616",
+ "text": " All elements of <code>pVertexBindingDescriptions</code> <strong class=\"purple\">must</strong> describe distinct binding numbers"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexAttributeDescriptions-00617",
+ "text": " All elements of <code>pVertexAttributeDescriptions</code> <strong class=\"purple\">must</strong> describe distinct attribute locations"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineVertexInputDivisorStateCreateInfoEXT\">VkPipelineVertexInputDivisorStateCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexBindingDescriptions-parameter",
+ "text": " If <code>vertexBindingDescriptionCount</code> is not <code>0</code>, <code>pVertexBindingDescriptions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>vertexBindingDescriptionCount</code> valid <code>VkVertexInputBindingDescription</code> structures"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputStateCreateInfo-pVertexAttributeDescriptions-parameter",
+ "text": " If <code>vertexAttributeDescriptionCount</code> is not <code>0</code>, <code>pVertexAttributeDescriptions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>vertexAttributeDescriptionCount</code> valid <code>VkVertexInputAttributeDescription</code> structures"
+ }
+ ]
+ },
+ "VkVertexInputBindingDescription": {
+ "core": [
+ {
+ "vuid": "VUID-VkVertexInputBindingDescription-binding-00618",
+ "text": " <code>binding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"
+ },
+ {
+ "vuid": "VUID-VkVertexInputBindingDescription-stride-00619",
+ "text": " <code>stride</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindingStride</code>"
+ },
+ {
+ "vuid": "VUID-VkVertexInputBindingDescription-inputRate-parameter",
+ "text": " <code>inputRate</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkVertexInputRate\">VkVertexInputRate</a> value"
+ }
+ ]
+ },
+ "VkVertexInputAttributeDescription": {
+ "core": [
+ {
+ "vuid": "VUID-VkVertexInputAttributeDescription-location-00620",
+ "text": " <code>location</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputAttributes</code>"
+ },
+ {
+ "vuid": "VUID-VkVertexInputAttributeDescription-binding-00621",
+ "text": " <code>binding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"
+ },
+ {
+ "vuid": "VUID-VkVertexInputAttributeDescription-offset-00622",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputAttributeOffset</code>"
+ },
+ {
+ "vuid": "VUID-VkVertexInputAttributeDescription-format-00623",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be allowed as a vertex buffer format, as specified by the <code>VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT</code> flag in <code>VkFormatProperties</code>::<code>bufferFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code>"
+ },
+ {
+ "vuid": "VUID-VkVertexInputAttributeDescription-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ }
+ ]
+ },
+ "vkCmdBindVertexBuffers": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-firstBinding-00624",
+ "text": " <code>firstBinding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-firstBinding-00625",
+ "text": " The sum of <code>firstBinding</code> and <code>bindingCount</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-pOffsets-00626",
+ "text": " All elements of <code>pOffsets</code> <strong class=\"purple\">must</strong> be less than the size of the corresponding element in <code>pBuffers</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-pBuffers-00627",
+ "text": " All elements of <code>pBuffers</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_VERTEX_BUFFER_BIT</code> flag"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-pBuffers-00628",
+ "text": " Each element of <code>pBuffers</code> that is non-sparse <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-pBuffers-parameter",
+ "text": " <code>pBuffers</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> valid <code>VkBuffer</code> handles"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-pOffsets-parameter",
+ "text": " <code>pOffsets</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindingCount</code> <code>VkDeviceSize</code> values"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-bindingCount-arraylength",
+ "text": " <code>bindingCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdBindVertexBuffers-commonparent",
+ "text": " Both of <code>commandBuffer</code>, and the elements of <code>pBuffers</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkPipelineVertexInputDivisorStateCreateInfoEXT": {
+ "(VK_EXT_vertex_attribute_divisor)": [
+ {
+ "vuid": "VUID-VkPipelineVertexInputDivisorStateCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputDivisorStateCreateInfoEXT-pVertexBindingDivisors-parameter",
+ "text": " <code>pVertexBindingDivisors</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>vertexBindingDivisorCount</code> <code>VkVertexInputBindingDivisorDescriptionEXT</code> structures"
+ },
+ {
+ "vuid": "VUID-VkPipelineVertexInputDivisorStateCreateInfoEXT-vertexBindingDivisorCount-arraylength",
+ "text": " <code>vertexBindingDivisorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkVertexInputBindingDivisorDescriptionEXT": {
+ "(VK_EXT_vertex_attribute_divisor)": [
+ {
+ "vuid": "VUID-VkVertexInputBindingDivisorDescriptionEXT-binding-01869",
+ "text": " <code>binding</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxVertexInputBindings</code>"
+ },
+ {
+ "vuid": "VUID-VkVertexInputBindingDivisorDescriptionEXT-divisor-01870",
+ "text": " <code>divisor</code> <strong class=\"purple\">must</strong> be a value between <code>0</code> and <code>VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT</code>::<code>maxVertexAttribDivisor</code>, inclusive."
+ },
+ {
+ "vuid": "VUID-VkVertexInputBindingDivisorDescriptionEXT-inputRate-01871",
+ "text": " <a href=\"#VkVertexInputBindingDescription\">VkVertexInputBindingDescription</a>::<code>inputRate</code> <strong class=\"purple\">must</strong> be of type <code>VK_VERTEX_INPUT_RATE_INSTANCE</code> for this <code>binding</code>."
+ }
+ ]
+ },
+ "VkPipelineTessellationStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineTessellationStateCreateInfo-patchControlPoints-01214",
+ "text": " <code>patchControlPoints</code> <strong class=\"purple\">must</strong> be greater than zero and less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxTessellationPatchSize</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineTessellationStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineTessellationStateCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineTessellationDomainOriginStateCreateInfo\">VkPipelineTessellationDomainOriginStateCreateInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkPipelineTessellationStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "VkPipelineTessellationDomainOriginStateCreateInfo": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkPipelineTessellationDomainOriginStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineTessellationDomainOriginStateCreateInfo-domainOrigin-parameter",
+ "text": " <code>domainOrigin</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkTessellationDomainOrigin\">VkTessellationDomainOrigin</a> value"
+ }
+ ]
+ },
+ "VkPipelineViewportSwizzleStateCreateInfoNV": {
+ "(VK_NV_viewport_swizzle)": [
+ {
+ "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-viewportCount-01215",
+ "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> match the <code>viewportCount</code> set in <code>VkPipelineViewportStateCreateInfo</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportSwizzleStateCreateInfoNV-viewportCount-arraylength",
+ "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkViewportSwizzleNV": {
+ "(VK_NV_viewport_swizzle)": [
+ {
+ "vuid": "VUID-VkViewportSwizzleNV-x-parameter",
+ "text": " <code>x</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"
+ },
+ {
+ "vuid": "VUID-VkViewportSwizzleNV-y-parameter",
+ "text": " <code>y</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"
+ },
+ {
+ "vuid": "VUID-VkViewportSwizzleNV-z-parameter",
+ "text": " <code>z</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"
+ },
+ {
+ "vuid": "VUID-VkViewportSwizzleNV-w-parameter",
+ "text": " <code>w</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkViewportCoordinateSwizzleNV\">VkViewportCoordinateSwizzleNV</a> value"
+ }
+ ]
+ },
+ "VkPipelineViewportWScalingStateCreateInfoNV": {
+ "(VK_NV_clip_space_w_scaling)": [
+ {
+ "vuid": "VUID-VkPipelineViewportWScalingStateCreateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportWScalingStateCreateInfoNV-viewportCount-arraylength",
+ "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkCmdSetViewportWScalingNV": {
+ "(VK_NV_clip_space_w_scaling)": [
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-None-01322",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-firstViewport-01323",
+ "text": " <code>firstViewport</code> <strong class=\"purple\">must</strong> be less than <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>maxViewports</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-firstViewport-01324",
+ "text": " The sum of <code>firstViewport</code> and <code>viewportCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <a href=\"#VkPhysicalDeviceLimits\">VkPhysicalDeviceLimits</a>::<code>maxViewports</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-pViewportWScalings-parameter",
+ "text": " <code>pViewportWScalings</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>viewportCount</code> <code>VkViewportWScalingNV</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewportWScalingNV-viewportCount-arraylength",
+ "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkPipelineViewportStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportCount-01216",
+ "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>viewportCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-01217",
+ "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>scissorCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportCount-01218",
+ "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-01219",
+ "text": " <code>scissorCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-01220",
+ "text": " <code>scissorCount</code> and <code>viewportCount</code> <strong class=\"purple\">must</strong> be identical"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineViewportSwizzleStateCreateInfoNV\">VkPipelineViewportSwizzleStateCreateInfoNV</a> or <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportCount-arraylength",
+ "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-scissorCount-arraylength",
+ "text": " <code>scissorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ],
+ "(VK_NV_clip_space_w_scaling)": [
+ {
+ "vuid": "VUID-VkPipelineViewportStateCreateInfo-viewportWScalingEnable-01726",
+ "text": " If the <code>viewportWScalingEnable</code> member of a <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> structure chained to the <code>pNext</code> chain is <code>VK_TRUE</code>, the <code>viewportCount</code> member of the <a href=\"#VkPipelineViewportWScalingStateCreateInfoNV\">VkPipelineViewportWScalingStateCreateInfoNV</a> structure <strong class=\"purple\">must</strong> be equal to <code>viewportCount</code>"
+ }
+ ]
+ },
+ "vkCmdSetViewport": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetViewport-None-01221",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_VIEWPORT</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-firstViewport-01222",
+ "text": " <code>firstViewport</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-firstViewport-01223",
+ "text": " The sum of <code>firstViewport</code> and <code>viewportCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-firstViewport-01224",
+ "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>firstViewport</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-viewportCount-01225",
+ "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>viewportCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-pViewports-parameter",
+ "text": " <code>pViewports</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>viewportCount</code> <code>VkViewport</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdSetViewport-viewportCount-arraylength",
+ "text": " <code>viewportCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkViewport": {
+ "core": [
+ {
+ "vuid": "VUID-VkViewport-width-01770",
+ "text": " <code>width</code> <strong class=\"purple\">must</strong> be greater than <code>0.0</code>"
+ },
+ {
+ "vuid": "VUID-VkViewport-width-01771",
+ "text": " <code>width</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxViewportDimensions</code>[0]"
+ },
+ {
+ "vuid": "VUID-VkViewport-height-01773",
+ "text": " The absolute value of <code>height</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxViewportDimensions</code>[1]"
+ },
+ {
+ "vuid": "VUID-VkViewport-x-01774",
+ "text": " <code>x</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>viewportBoundsRange</code>[0]"
+ },
+ {
+ "vuid": "VUID-VkViewport-x-01232",
+ "text": " <span class=\"eq\">(<code>x</code> + <code>width</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to <code>viewportBoundsRange</code>[1]"
+ },
+ {
+ "vuid": "VUID-VkViewport-y-01775",
+ "text": " <code>y</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>viewportBoundsRange</code>[0]"
+ },
+ {
+ "vuid": "VUID-VkViewport-y-01233",
+ "text": " <span class=\"eq\">(<code>y</code> + <code>height</code>)</span> <strong class=\"purple\">must</strong> be less than or equal to <code>viewportBoundsRange</code>[1]"
+ }
+ ],
+ "!(VK_VERSION_1_1,VK_KHR_maintenance1,VK_AMD_negative_viewport_height)": [
+ {
+ "vuid": "VUID-VkViewport-height-01772",
+ "text": " <code>height</code> <strong class=\"purple\">must</strong> be greater than <code>0.0</code>"
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_maintenance1,VK_AMD_negative_viewport_height)": [
+ {
+ "vuid": "VUID-VkViewport-y-01776",
+ "text": " <code>y</code> <strong class=\"purple\">must</strong> be less than or equal to <code>viewportBoundsRange</code>[1]"
+ },
+ {
+ "vuid": "VUID-VkViewport-y-01777",
+ "text": " <span class=\"eq\">(<code>y</code> + <code>height</code>)</span> <strong class=\"purple\">must</strong> be greater than or equal to <code>viewportBoundsRange</code>[0]"
+ }
+ ],
+ "(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-VkViewport-minDepth-01234",
+ "text": " Unless <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>minDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-VkViewport-maxDepth-01235",
+ "text": " Unless <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>maxDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ],
+ "!(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-VkViewport-minDepth-01234",
+ "text": " <code>minDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-VkViewport-maxDepth-01235",
+ "text": " <code>maxDepth</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ]
+ },
+ "VkPipelineRasterizationStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-depthClampEnable-00782",
+ "text": " If the <a href=\"#features-features-depthClamp\">depth clamping</a> feature is not enabled, <code>depthClampEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineRasterizationConservativeStateCreateInfoEXT\">VkPipelineRasterizationConservativeStateCreateInfoEXT</a> or <a href=\"#VkPipelineRasterizationStateRasterizationOrderAMD\">VkPipelineRasterizationStateRasterizationOrderAMD</a>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-parameter",
+ "text": " <code>polygonMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPolygonMode\">VkPolygonMode</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-cullMode-parameter",
+ "text": " <code>cullMode</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkCullModeFlagBits\">VkCullModeFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-frontFace-parameter",
+ "text": " <code>frontFace</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFrontFace\">VkFrontFace</a> value"
+ }
+ ],
+ "!(VK_NV_fill_rectangle)": [
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01413",
+ "text": " If the <a href=\"#features-features-fillModeNonSolid\">non-solid fill modes</a> feature is not enabled, <code>polygonMode</code> <strong class=\"purple\">must</strong> be <code>VK_POLYGON_MODE_FILL</code>"
+ }
+ ],
+ "(VK_NV_fill_rectangle)": [
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01507",
+ "text": " If the <a href=\"#features-features-fillModeNonSolid\">non-solid fill modes</a> feature is not enabled, <code>polygonMode</code> <strong class=\"purple\">must</strong> be <code>VK_POLYGON_MODE_FILL</code> or <code>VK_POLYGON_MODE_FILL_RECTANGLE_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateCreateInfo-polygonMode-01414",
+ "text": " If the <code><a href=\"#VK_NV_fill_rectangle\">VK_NV_fill_rectangle</a></code> extension is not enabled, <code>polygonMode</code> <strong class=\"purple\">must</strong> not be <code>VK_POLYGON_MODE_FILL_RECTANGLE_NV</code>"
+ }
+ ]
+ },
+ "VkPipelineMultisampleStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-sampleShadingEnable-00784",
+ "text": " If the <a href=\"#features-features-sampleRateShading\">sample rate shading</a> feature is not enabled, <code>sampleShadingEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-alphaToOneEnable-00785",
+ "text": " If the <a href=\"#features-features-alphaToOne\">alpha to one</a> feature is not enabled, <code>alphaToOneEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-minSampleShading-00786",
+ "text": " <code>minSampleShading</code> <strong class=\"purple\">must</strong> be in the range <span class=\"eq\">[0,1]</span>"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineCoverageModulationStateCreateInfoNV\">VkPipelineCoverageModulationStateCreateInfoNV</a>, <a href=\"#VkPipelineCoverageToColorStateCreateInfoNV\">VkPipelineCoverageToColorStateCreateInfoNV</a>, or <a href=\"#VkPipelineSampleLocationsStateCreateInfoEXT\">VkPipelineSampleLocationsStateCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-rasterizationSamples-parameter",
+ "text": " <code>rasterizationSamples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-pSampleMask-parameter",
+ "text": " If <code>pSampleMask</code> is not <code>NULL</code>, <code>pSampleMask</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of \\(\\lceil{\\mathit{rasterizationSamples} \\over 32}\\rceil\\) <code>VkSampleMask</code> values"
+ }
+ ],
+ "(VK_NV_framebuffer_mixed_samples)": [
+ {
+ "vuid": "VUID-VkPipelineMultisampleStateCreateInfo-rasterizationSamples-01415",
+ "text": " If the subpass has any color attachments and <code>rasterizationSamples</code> is greater than the number of color samples, then <code>sampleShadingEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ }
+ ]
+ },
+ "VkPipelineRasterizationStateRasterizationOrderAMD": {
+ "(VK_AMD_rasterization_order)": [
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateRasterizationOrderAMD-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationStateRasterizationOrderAMD-rasterizationOrder-parameter",
+ "text": " <code>rasterizationOrder</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkRasterizationOrderAMD\">VkRasterizationOrderAMD</a> value"
+ }
+ ]
+ },
+ "VkPipelineSampleLocationsStateCreateInfoEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkPipelineSampleLocationsStateCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineSampleLocationsStateCreateInfoEXT-sampleLocationsInfo-parameter",
+ "text": " <code>sampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid <code>VkSampleLocationsInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkSampleLocationsInfoEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsPerPixel-01526",
+ "text": " <code>sampleLocationsPerPixel</code> <strong class=\"purple\">must</strong> be a bit value that is set in <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>::<code>sampleLocationSampleCounts</code>"
+ },
+ {
+ "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsCount-01527",
+ "text": " <code>sampleLocationsCount</code> <strong class=\"purple\">must</strong> equal <span class=\"eq\"><code>sampleLocationsPerPixel</code> {times} <code>sampleLocationGridSize.width</code> {times} <code>sampleLocationGridSize.height</code></span>"
+ },
+ {
+ "vuid": "VUID-VkSampleLocationsInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsPerPixel-parameter",
+ "text": " <code>sampleLocationsPerPixel</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-VkSampleLocationsInfoEXT-pSampleLocations-parameter",
+ "text": " <code>pSampleLocations</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>sampleLocationsCount</code> <code>VkSampleLocationEXT</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSampleLocationsInfoEXT-sampleLocationsCount-arraylength",
+ "text": " <code>sampleLocationsCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkCmdSetSampleLocationsEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkCmdSetSampleLocationsEXT-None-01528",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetSampleLocationsEXT-sampleLocationsPerPixel-01529",
+ "text": " The <code>sampleLocationsPerPixel</code> member of <code>pSampleLocationsInfo</code> <strong class=\"purple\">must</strong> equal the <code>rasterizationSamples</code> member of the <a href=\"#VkPipelineMultisampleStateCreateInfo\">VkPipelineMultisampleStateCreateInfo</a> structure the bound graphics pipeline has been created with"
+ },
+ {
+ "vuid": "VUID-vkCmdSetSampleLocationsEXT-variableSampleLocations-01530",
+ "text": " If <a href=\"#VkPhysicalDeviceSampleLocationsPropertiesEXT\">VkPhysicalDeviceSampleLocationsPropertiesEXT</a>::<code>variableSampleLocations</code> is <code>VK_FALSE</code> then the current render pass <strong class=\"purple\">must</strong> have been begun by specifying a <a href=\"#VkRenderPassSampleLocationsBeginInfoEXT\">VkRenderPassSampleLocationsBeginInfoEXT</a> structure whose <code>pPostSubpassSampleLocations</code> member contains an element with a <code>subpassIndex</code> matching the current subpass index and the <code>sampleLocationsInfo</code> member of that element <strong class=\"purple\">must</strong> match the sample locations state pointed to by <code>pSampleLocationsInfo</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetSampleLocationsEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetSampleLocationsEXT-pSampleLocationsInfo-parameter",
+ "text": " <code>pSampleLocationsInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSampleLocationsInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdSetSampleLocationsEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetSampleLocationsEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ]
+ },
+ "vkCmdSetLineWidth": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetLineWidth-None-00787",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_LINE_WIDTH</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetLineWidth-lineWidth-00788",
+ "text": " If the <a href=\"#features-features-wideLines\">wide lines</a> feature is not enabled, <code>lineWidth</code> <strong class=\"purple\">must</strong> be <code>1.0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetLineWidth-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetLineWidth-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetLineWidth-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ]
+ },
+ "vkCmdSetDepthBias": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetDepthBias-None-00789",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_DEPTH_BIAS</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBias-depthBiasClamp-00790",
+ "text": " If the <a href=\"#features-features-depthBiasClamp\">depth bias clamping</a> feature is not enabled, <code>depthBiasClamp</code> <strong class=\"purple\">must</strong> be <code>0.0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBias-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBias-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBias-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ]
+ },
+ "VkPipelineRasterizationConservativeStateCreateInfoEXT": {
+ "(VK_EXT_conservative_rasterization)": [
+ {
+ "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-extraPrimitiveOverestimationSize-01769",
+ "text": " <code>extraPrimitiveOverestimationSize</code> <strong class=\"purple\">must</strong> be in the range of <code>0.0</code> to <code>VkPhysicalDeviceConservativeRasterizationPropertiesEXT</code>::<code>maxExtraPrimitiveOverestimationSize</code> inclusive"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineRasterizationConservativeStateCreateInfoEXT-conservativeRasterizationMode-parameter",
+ "text": " <code>conservativeRasterizationMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkConservativeRasterizationModeEXT\">VkConservativeRasterizationModeEXT</a> value"
+ }
+ ]
+ },
+ "VkPipelineDiscardRectangleStateCreateInfoEXT": {
+ "(VK_EXT_discard_rectangles)": [
+ {
+ "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-discardRectangleCount-00582",
+ "text": " <code>discardRectangleCount</code> <strong class=\"purple\">must</strong> be between <code>0</code> and <code>VkPhysicalDeviceDiscardRectanglePropertiesEXT</code>::<code>maxDiscardRectangles</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDiscardRectangleStateCreateInfoEXT-discardRectangleMode-parameter",
+ "text": " <code>discardRectangleMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDiscardRectangleModeEXT\">VkDiscardRectangleModeEXT</a> value"
+ }
+ ]
+ },
+ "vkCmdSetDiscardRectangleEXT": {
+ "(VK_EXT_discard_rectangles)": [
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-None-00583",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-firstDiscardRectangle-00585",
+ "text": " The sum of <code>firstDiscardRectangle</code> and <code>discardRectangleCount</code> <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceDiscardRectanglePropertiesEXT\">VkPhysicalDeviceDiscardRectanglePropertiesEXT</a>::<code>maxDiscardRectangles</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-x-00587",
+ "text": " The <code>x</code> and <code>y</code> member of <code>offset</code> in each <a href=\"#VkRect2D\">VkRect2D</a> element of <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-offset-00588",
+ "text": " Evaluation of <span class=\"eq\">(<code>offset.x</code> + <code>extent.width</code>)</span> in each <a href=\"#VkRect2D\">VkRect2D</a> element of <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-offset-00589",
+ "text": " Evaluation of <span class=\"eq\">(<code>offset.y</code> + <code>extent.height</code>)</span> in each <a href=\"#VkRect2D\">VkRect2D</a> element of <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-pDiscardRectangles-parameter",
+ "text": " <code>pDiscardRectangles</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>discardRectangleCount</code> <code>VkRect2D</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDiscardRectangleEXT-discardRectangleCount-arraylength",
+ "text": " <code>discardRectangleCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkCmdSetScissor": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetScissor-None-00590",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_SCISSOR</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-firstScissor-00591",
+ "text": " <code>firstScissor</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-firstScissor-00592",
+ "text": " The sum of <code>firstScissor</code> and <code>scissorCount</code> <strong class=\"purple\">must</strong> be between <code>1</code> and <code>VkPhysicalDeviceLimits</code>::<code>maxViewports</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-firstScissor-00593",
+ "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>firstScissor</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-scissorCount-00594",
+ "text": " If the <a href=\"#features-features-multiViewport\">multiple viewports</a> feature is not enabled, <code>scissorCount</code> <strong class=\"purple\">must</strong> be <code>1</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-x-00595",
+ "text": " The <code>x</code> and <code>y</code> members of <code>offset</code> <strong class=\"purple\">must</strong> be greater than or equal to <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-offset-00596",
+ "text": " Evaluation of <span class=\"eq\">(<code>offset.x</code> + <code>extent.width</code>)</span> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-offset-00597",
+ "text": " Evaluation of <span class=\"eq\">(<code>offset.y</code> + <code>extent.height</code>)</span> <strong class=\"purple\">must</strong> not cause a signed integer addition overflow"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-pScissors-parameter",
+ "text": " <code>pScissors</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>scissorCount</code> <code>VkRect2D</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ },
+ {
+ "vuid": "VUID-vkCmdSetScissor-scissorCount-arraylength",
+ "text": " <code>scissorCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkPipelineDepthStencilStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-depthBoundsTestEnable-00598",
+ "text": " If the <a href=\"#features-features-depthBounds\">depth bounds testing</a> feature is not enabled, <code>depthBoundsTestEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-depthCompareOp-parameter",
+ "text": " <code>depthCompareOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompareOp\">VkCompareOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-front-parameter",
+ "text": " <code>front</code> <strong class=\"purple\">must</strong> be a valid <code>VkStencilOpState</code> structure"
+ },
+ {
+ "vuid": "VUID-VkPipelineDepthStencilStateCreateInfo-back-parameter",
+ "text": " <code>back</code> <strong class=\"purple\">must</strong> be a valid <code>VkStencilOpState</code> structure"
+ }
+ ]
+ },
+ "vkCmdSetDepthBounds": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-None-00599",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_DEPTH_BOUNDS</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ],
+ "(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-minDepthBounds-00600",
+ "text": " Unless the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>minDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-maxDepthBounds-00601",
+ "text": " Unless the <code><a href=\"#VK_EXT_depth_range_unrestricted\">VK_EXT_depth_range_unrestricted</a></code> extension is enabled <code>maxDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ],
+ "!(VK_EXT_depth_range_unrestricted)": [
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-minDepthBounds-00600",
+ "text": " <code>minDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-vkCmdSetDepthBounds-maxDepthBounds-00601",
+ "text": " <code>maxDepthBounds</code> <strong class=\"purple\">must</strong> be between <code>0.0</code> and <code>1.0</code>, inclusive"
+ }
+ ]
+ },
+ "VkStencilOpState": {
+ "core": [
+ {
+ "vuid": "VUID-VkStencilOpState-failOp-parameter",
+ "text": " <code>failOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkStencilOp\">VkStencilOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkStencilOpState-passOp-parameter",
+ "text": " <code>passOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkStencilOp\">VkStencilOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkStencilOpState-depthFailOp-parameter",
+ "text": " <code>depthFailOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkStencilOp\">VkStencilOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkStencilOpState-compareOp-parameter",
+ "text": " <code>compareOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompareOp\">VkCompareOp</a> value"
+ }
+ ]
+ },
+ "vkCmdSetStencilCompareMask": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetStencilCompareMask-None-00602",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilCompareMask-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilCompareMask-faceMask-parameter",
+ "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkStencilFaceFlagBits\">VkStencilFaceFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilCompareMask-faceMask-requiredbitmask",
+ "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilCompareMask-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilCompareMask-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ]
+ },
+ "vkCmdSetStencilWriteMask": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetStencilWriteMask-None-00603",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_STENCIL_WRITE_MASK</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilWriteMask-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilWriteMask-faceMask-parameter",
+ "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkStencilFaceFlagBits\">VkStencilFaceFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilWriteMask-faceMask-requiredbitmask",
+ "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilWriteMask-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilWriteMask-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ]
+ },
+ "vkCmdSetStencilReference": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetStencilReference-None-00604",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_STENCIL_REFERENCE</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilReference-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilReference-faceMask-parameter",
+ "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkStencilFaceFlagBits\">VkStencilFaceFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilReference-faceMask-requiredbitmask",
+ "text": " <code>faceMask</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilReference-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetStencilReference-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ]
+ },
+ "VkPipelineCoverageToColorStateCreateInfoNV": {
+ "(VK_NV_fragment_coverage_to_color)": [
+ {
+ "vuid": "VUID-VkPipelineCoverageToColorStateCreateInfoNV-coverageToColorEnable-01404",
+ "text": " If <code>coverageToColorEnable</code> is <code>VK_TRUE</code>, then the render pass subpass indicated by <a href=\"#VkGraphicsPipelineCreateInfo\">VkGraphicsPipelineCreateInfo</a>::<code>renderPass</code> and <a href=\"#VkGraphicsPipelineCreateInfo\">VkGraphicsPipelineCreateInfo</a>::<code>subpass</code> <strong class=\"purple\">must</strong> have a color attachment at the location selected by <code>coverageToColorLocation</code>, with a <a href=\"#VkFormat\">VkFormat</a> of <code>VK_FORMAT_R8_UINT</code>, <code>VK_FORMAT_R8_SINT</code>, <code>VK_FORMAT_R16_UINT</code>, <code>VK_FORMAT_R16_SINT</code>, <code>VK_FORMAT_R32_UINT</code>, or <code>VK_FORMAT_R32_SINT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCoverageToColorStateCreateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCoverageToColorStateCreateInfoNV-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "VkPipelineCoverageModulationStateCreateInfoNV": {
+ "(VK_NV_framebuffer_mixed_samples)": [
+ {
+ "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-coverageModulationTableEnable-01405",
+ "text": " If <code>coverageModulationTableEnable</code> is <code>VK_TRUE</code>, <code>coverageModulationTableCount</code> <strong class=\"purple\">must</strong> be equal to the number of rasterization samples divided by the number of color samples in the subpass."
+ },
+ {
+ "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-coverageModulationMode-parameter",
+ "text": " <code>coverageModulationMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCoverageModulationModeNV\">VkCoverageModulationModeNV</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineCoverageModulationStateCreateInfoNV-coverageModulationTableCount-arraylength",
+ "text": " <code>coverageModulationTableCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkPipelineColorBlendStateCreateInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605",
+ "text": " If the <a href=\"#features-features-independentBlend\">independent blending</a> feature is not enabled, all elements of <code>pAttachments</code> <strong class=\"purple\">must</strong> be identical"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-logicOpEnable-00606",
+ "text": " If the <a href=\"#features-features-logicOp\">logic operations</a> feature is not enabled, <code>logicOpEnable</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-logicOpEnable-00607",
+ "text": " If <code>logicOpEnable</code> is <code>VK_TRUE</code>, <code>logicOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkLogicOp\">VkLogicOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPipelineColorBlendAdvancedStateCreateInfoEXT\">VkPipelineColorBlendAdvancedStateCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-parameter",
+ "text": " If <code>attachmentCount</code> is not <code>0</code>, <code>pAttachments</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>attachmentCount</code> valid <code>VkPipelineColorBlendAttachmentState</code> structures"
+ }
+ ]
+ },
+ "VkPipelineColorBlendAttachmentState": {
+ "core": [
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcColorBlendFactor-00608",
+ "text": " If the <a href=\"#features-features-dualSrcBlend\">dual source blending</a> feature is not enabled, <code>srcColorBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstColorBlendFactor-00609",
+ "text": " If the <a href=\"#features-features-dualSrcBlend\">dual source blending</a> feature is not enabled, <code>dstColorBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcAlphaBlendFactor-00610",
+ "text": " If the <a href=\"#features-features-dualSrcBlend\">dual source blending</a> feature is not enabled, <code>srcAlphaBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstAlphaBlendFactor-00611",
+ "text": " If the <a href=\"#features-features-dualSrcBlend\">dual source blending</a> feature is not enabled, <code>dstAlphaBlendFactor</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_FACTOR_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR</code>, <code>VK_BLEND_FACTOR_SRC1_ALPHA</code>, or <code>VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcColorBlendFactor-parameter",
+ "text": " <code>srcColorBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstColorBlendFactor-parameter",
+ "text": " <code>dstColorBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorBlendOp-parameter",
+ "text": " <code>colorBlendOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendOp\">VkBlendOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-srcAlphaBlendFactor-parameter",
+ "text": " <code>srcAlphaBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-dstAlphaBlendFactor-parameter",
+ "text": " <code>dstAlphaBlendFactor</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendFactor\">VkBlendFactor</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-alphaBlendOp-parameter",
+ "text": " <code>alphaBlendOp</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendOp\">VkBlendOp</a> value"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorWriteMask-parameter",
+ "text": " <code>colorWriteMask</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkColorComponentFlagBits\">VkColorComponentFlagBits</a> values"
+ }
+ ],
+ "(VK_EXT_blend_operation_advanced)": [
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorBlendOp-01406",
+ "text": " If either of <code>colorBlendOp</code> or <code>alphaBlendOp</code> is an <a href=\"#framebuffer-blend-advanced\">advanced blend operation</a>, then <code>colorBlendOp</code> <strong class=\"purple\">must</strong> equal <code>alphaBlendOp</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-advancedBlendIndependentBlend-01407",
+ "text": " If <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::<code>advancedBlendIndependentBlend</code> is <code>VK_FALSE</code> and <code>colorBlendOp</code> is an <a href=\"#framebuffer-blend-advanced\">advanced blend operation</a>, then <code>colorBlendOp</code> <strong class=\"purple\">must</strong> be the same for all attachments."
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-advancedBlendIndependentBlend-01408",
+ "text": " If <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::<code>advancedBlendIndependentBlend</code> is <code>VK_FALSE</code> and <code>alphaBlendOp</code> is an <a href=\"#framebuffer-blend-advanced\">advanced blend operation</a>, then <code>alphaBlendOp</code> <strong class=\"purple\">must</strong> be the same for all attachments."
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-advancedBlendAllOperations-01409",
+ "text": " If <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::<code>advancedBlendAllOperations</code> is <code>VK_FALSE</code>, then <code>colorBlendOp</code> <strong class=\"purple\">must</strong> not be <code>VK_BLEND_OP_ZERO_EXT</code>, <code>VK_BLEND_OP_SRC_EXT</code>, <code>VK_BLEND_OP_DST_EXT</code>, <code>VK_BLEND_OP_SRC_OVER_EXT</code>, <code>VK_BLEND_OP_DST_OVER_EXT</code>, <code>VK_BLEND_OP_SRC_IN_EXT</code>, <code>VK_BLEND_OP_DST_IN_EXT</code>, <code>VK_BLEND_OP_SRC_OUT_EXT</code>, <code>VK_BLEND_OP_DST_OUT_EXT</code>, <code>VK_BLEND_OP_SRC_ATOP_EXT</code>, <code>VK_BLEND_OP_DST_ATOP_EXT</code>, <code>VK_BLEND_OP_XOR_EXT</code>, <code>VK_BLEND_OP_INVERT_EXT</code>, <code>VK_BLEND_OP_INVERT_RGB_EXT</code>, <code>VK_BLEND_OP_LINEARDODGE_EXT</code>, <code>VK_BLEND_OP_LINEARBURN_EXT</code>, <code>VK_BLEND_OP_VIVIDLIGHT_EXT</code>, <code>VK_BLEND_OP_LINEARLIGHT_EXT</code>, <code>VK_BLEND_OP_PINLIGHT_EXT</code>, <code>VK_BLEND_OP_HARDMIX_EXT</code>, <code>VK_BLEND_OP_PLUS_EXT</code>, <code>VK_BLEND_OP_PLUS_CLAMPED_EXT</code>, <code>VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT</code>, <code>VK_BLEND_OP_PLUS_DARKER_EXT</code>, <code>VK_BLEND_OP_MINUS_EXT</code>, <code>VK_BLEND_OP_MINUS_CLAMPED_EXT</code>, <code>VK_BLEND_OP_CONTRAST_EXT</code>, <code>VK_BLEND_OP_INVERT_OVG_EXT</code>, <code>VK_BLEND_OP_RED_EXT</code>, <code>VK_BLEND_OP_GREEN_EXT</code>, or <code>VK_BLEND_OP_BLUE_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAttachmentState-colorBlendOp-01410",
+ "text": " If <code>colorBlendOp</code> or <code>alphaBlendOp</code> is an <a href=\"#framebuffer-blend-advanced\">advanced blend operation</a>, then <a href=\"#VkSubpassDescription\">VkSubpassDescription</a>::<code>colorAttachmentCount</code> of the subpass this pipeline is compiled against <strong class=\"purple\">must</strong> be less than or equal to <a href=\"#VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT\">VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT</a>::advancedBlendMaxColorAttachments"
+ }
+ ]
+ },
+ "vkCmdSetBlendConstants": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdSetBlendConstants-None-00612",
+ "text": " The bound graphics pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_DYNAMIC_STATE_BLEND_CONSTANTS</code> dynamic state enabled"
+ },
+ {
+ "vuid": "VUID-vkCmdSetBlendConstants-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdSetBlendConstants-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdSetBlendConstants-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics operations"
+ }
+ ]
+ },
+ "VkPipelineColorBlendAdvancedStateCreateInfoEXT": {
+ "(VK_EXT_blend_operation_advanced)": [
+ {
+ "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-srcPremultiplied-01424",
+ "text": " If the <a href=\"#features-limits-advancedBlendNonPremultipliedSrcColor\">non-premultiplied source color</a> property is not supported, <code>srcPremultiplied</code> <strong class=\"purple\">must</strong> be <code>VK_TRUE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-dstPremultiplied-01425",
+ "text": " If the <a href=\"#features-limits-advancedBlendNonPremultipliedDstColor\">non-premultiplied destination color</a> property is not supported, <code>dstPremultiplied</code> <strong class=\"purple\">must</strong> be <code>VK_TRUE</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-blendOverlap-01426",
+ "text": " If the <a href=\"#features-limits-advancedBlendCorrelatedOverlap\">correlated overlap</a> property is not supported, <code>blendOverlap</code> <strong class=\"purple\">must</strong> be <code>VK_BLEND_OVERLAP_UNCORRELATED_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkPipelineColorBlendAdvancedStateCreateInfoEXT-blendOverlap-parameter",
+ "text": " <code>blendOverlap</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkBlendOverlapEXT\">VkBlendOverlapEXT</a> value"
+ }
+ ]
+ },
+ "vkCmdDispatch": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdDispatch-groupCountX-00386",
+ "text": " <code>groupCountX</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0]"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-groupCountY-00387",
+ "text": " <code>groupCountY</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1]"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-groupCountZ-00388",
+ "text": " <code>groupCountZ</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2]"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00389",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00390",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00391",
+ "text": " A valid compute pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00392",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants with the one used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00393",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00394",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00395",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00396",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00397",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatch-linearTilingFeatures-00398",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatch-formatFeatures-01949",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatch-linearTilingFeatures-00399",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatch-formatFeatures-01950",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-vkCmdDispatch-None-00400",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDispatch-commandBuffer-01844",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-commandBuffer-01845",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDispatch-commandBuffer-01846",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the compute pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> reads from any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ]
+ },
+ "vkCmdDispatchIndirect": {
+ "core": [
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-buffer-00401",
+ "text": " If <code>buffer</code> is non-sparse then it <strong class=\"purple\">must</strong> be bound completely and contiguously to a single <code>VkDeviceMemory</code> object"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00402",
+ "text": " For each set <em>n</em> that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a descriptor set <strong class=\"purple\">must</strong> have been bound to <em>n</em> at <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for set <em>n</em>, with the <code>VkPipelineLayout</code> used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00403",
+ "text": " Descriptors in each bound descriptor set, specified via <code>vkCmdBindDescriptorSets</code>, <strong class=\"purple\">must</strong> be valid if they are statically used by the bound <code>VkPipeline</code> object, specified via <code>vkCmdBindPipeline</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00404",
+ "text": " A valid compute pipeline <strong class=\"purple\">must</strong> be bound to the current command buffer with <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-buffer-00405",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> have been created with the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-offset-00406",
+ "text": " <code>offset</code> <strong class=\"purple\">must</strong> be a multiple of <code>4</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-offset-00407",
+ "text": " The sum of <code>offset</code> and the size of <code>VkDispatchIndirectCommand</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>buffer</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00408",
+ "text": " For each push constant that is statically used by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, a push constant value <strong class=\"purple\">must</strong> have been set for <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>, with a <code>VkPipelineLayout</code> that is compatible for push constants with the one used to create the current <code>VkPipeline</code>, as described in <a href=\"#descriptorsets-compatibility\">Pipeline Layout Compatibility</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00409",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used to sample from any <code>VkImage</code> with a <code>VkImageView</code> of the type <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, <code>VK_IMAGE_VIEW_TYPE_1D_ARRAY</code>, <code>VK_IMAGE_VIEW_TYPE_2D_ARRAY</code> or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00410",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions with <code>ImplicitLod</code>, <code>Dref</code> or <code>Proj</code> in their name, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00411",
+ "text": " If any <code>VkSampler</code> object that is accessed from a shader by the <code>VkPipeline</code> bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> uses unnormalized coordinates, it <strong class=\"purple\">must</strong> not be used with any of the SPIR-V <code>OpImageSample*</code> or <code>OpImageSparseSample*</code> instructions that includes a LOD bias or any offset values, in any shader stage"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00412",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a uniform buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00413",
+ "text": " If the <a href=\"#features-features-robustBufferAccess\">robust buffer access</a> feature is not enabled, and any shader stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> accesses a storage buffer, it <strong class=\"purple\">must</strong> not access values outside of the range of that buffer specified in the bound descriptor set"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-commonparent",
+ "text": " Both of <code>buffer</code>, and <code>commandBuffer</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ],
+ "!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-linearTilingFeatures-00414",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-formatFeatures-01951",
+ "text": " Any <code>VkImageView</code> being sampled with <code>VK_FILTER_LINEAR</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports linear filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+!(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-linearTilingFeatures-00415",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-formatFeatures-01952",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> be of a format which supports cubic filtering, as specified by the <code>VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG</code> flag in <code>VkAndroidHardwareBufferFormatPropertiesANDROID</code>::<code>formatFeatures</code> returned by vkGetAndroidHardwareBufferPropertiesANDROID for external format images, or by <code>VkFormatProperties</code>::<code>linearTilingFeatures</code> or <code>VkFormatProperties</code>::<code>optimalTilingFeatures</code> returned by <code>vkGetPhysicalDeviceFormatProperties</code> for non-external format linearly or optimally tiled images, respectively"
+ }
+ ],
+ "(VK_IMG_filter_cubic)": [
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-None-00416",
+ "text": " Any <a href=\"#VkImageView\">VkImageView</a> being sampled with <code>VK_FILTER_CUBIC_IMG</code> as a result of this command <strong class=\"purple\">must</strong> not have a <a href=\"#VkImageViewType\">VkImageViewType</a> of <code>VK_IMAGE_VIEW_TYPE_3D</code>, <code>VK_IMAGE_VIEW_TYPE_CUBE</code>, or <code>VK_IMAGE_VIEW_TYPE_CUBE_ARRAY</code>"
+ }
+ ],
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-01847",
+ "text": " If <code>commandBuffer</code> is an unprotected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_BIND_POINT_COMPUTE</code> reads from or writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-01848",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> writes to any image or buffer, that image or buffer <strong class=\"purple\">must</strong> not be an unprotected image or unprotected buffer."
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchIndirect-commandBuffer-01849",
+ "text": " If <code>commandBuffer</code> is a protected command buffer, and any pipeline stage other than the compute pipeline stage in the <code>VkPipeline</code> object bound to <code>VK_PIPELINE_POINT_COMPUTE</code> reads from any image or buffer, the image or buffer <strong class=\"purple\">must</strong> not be a protected image or protected buffer."
+ }
+ ]
+ },
+ "VkDispatchIndirectCommand": {
+ "core": [
+ {
+ "vuid": "VUID-VkDispatchIndirectCommand-x-00417",
+ "text": " <code>x</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0]"
+ },
+ {
+ "vuid": "VUID-VkDispatchIndirectCommand-y-00418",
+ "text": " <code>y</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1]"
+ },
+ {
+ "vuid": "VUID-VkDispatchIndirectCommand-z-00419",
+ "text": " <code>z</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2]"
+ }
+ ]
+ },
+ "vkCmdDispatchBase": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkCmdDispatchBase-None-00420",
+ "text": " All valid usage rules from <a href=\"#vkCmdDispatch\">vkCmdDispatch</a> apply"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-baseGroupX-00421",
+ "text": " <code>baseGroupX</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0]"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-baseGroupX-00422",
+ "text": " <code>baseGroupX</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1]"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-baseGroupZ-00423",
+ "text": " <code>baseGroupZ</code> <strong class=\"purple\">must</strong> be less than <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2]"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-groupCountX-00424",
+ "text": " <code>groupCountX</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[0] minus <code>baseGroupX</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-groupCountY-00425",
+ "text": " <code>groupCountY</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[1] minus <code>baseGroupY</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-groupCountZ-00426",
+ "text": " <code>groupCountZ</code> <strong class=\"purple\">must</strong> be less than or equal to <code>VkPhysicalDeviceLimits</code>::<code>maxComputeWorkGroupCount</code>[2] minus <code>baseGroupZ</code>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-baseGroupX-00427",
+ "text": " If any of <code>baseGroupX</code>, <code>baseGroupY</code>, or <code>baseGroupZ</code> are not zero, then the bound compute pipeline <strong class=\"purple\">must</strong> have been created with the <code>VK_PIPELINE_CREATE_DISPATCH_BASE</code> flag."
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdDispatchBase-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called outside of a render pass instance"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX-pFeatures-parameter",
+ "text": " <code>pFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceGeneratedCommandsFeaturesNVX</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX-pLimits-parameter",
+ "text": " <code>pLimits</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceGeneratedCommandsLimitsNVX</code> structure"
+ }
+ ]
+ },
+ "VkDeviceGeneratedCommandsFeaturesNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkDeviceGeneratedCommandsFeaturesNVX-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGeneratedCommandsFeaturesNVX-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "VkDeviceGeneratedCommandsLimitsNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkDeviceGeneratedCommandsLimitsNVX-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGeneratedCommandsLimitsNVX-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkCreateObjectTableNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkCreateObjectTableNVX-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateObjectTableNVX-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkObjectTableCreateInfoNVX</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateObjectTableNVX-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateObjectTableNVX-pObjectTable-parameter",
+ "text": " <code>pObjectTable</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkObjectTableNVX</code> handle"
+ }
+ ]
+ },
+ "VkObjectTableCreateInfoNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-computeBindingPointSupport-01355",
+ "text": " If the <code>VkDeviceGeneratedCommandsFeaturesNVX</code>::<code>computeBindingPointSupport</code> feature is not enabled, <code>pObjectEntryUsageFlags</code> <strong class=\"purple\">must</strong> not contain <code>VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryCounts-01356",
+ "text": " Any value within <code>pObjectEntryCounts</code> <strong class=\"purple\">must</strong> not exceed <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>maxObjectEntryCounts</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-maxUniformBuffersPerDescriptor-01357",
+ "text": " <code>maxUniformBuffersPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-maxStorageBuffersPerDescriptor-01358",
+ "text": " <code>maxStorageBuffersPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-maxStorageImagesPerDescriptor-01359",
+ "text": " <code>maxStorageImagesPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-maxSampledImagesPerDescriptor-01360",
+ "text": " <code>maxSampledImagesPerDescriptor</code> <strong class=\"purple\">must</strong> be within the limits supported by the device."
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryTypes-parameter",
+ "text": " <code>pObjectEntryTypes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryCounts-parameter",
+ "text": " <code>pObjectEntryCounts</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryUsageFlags-parameter",
+ "text": " <code>pObjectEntryUsageFlags</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid combinations of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-pObjectEntryUsageFlags-requiredbitmask",
+ "text": " Each element of <code>pObjectEntryUsageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableCreateInfoNVX-objectCount-arraylength",
+ "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkDestroyObjectTableNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-01361",
+ "text": " All submitted commands that refer to <code>objectTable</code> <strong class=\"purple\">must</strong> have completed execution."
+ },
+ {
+ "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-01362",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here."
+ },
+ {
+ "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-01363",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>."
+ },
+ {
+ "vuid": "VUID-vkDestroyObjectTableNVX-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-parameter",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyObjectTableNVX-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyObjectTableNVX-objectTable-parent",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkRegisterObjectsNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-pObjectTableEntry-01364",
+ "text": " The contents of <code>pObjectTableEntry</code> <strong class=\"purple\">must</strong> yield plausible bindings supported by the device."
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-pObjectIndices-01365",
+ "text": " At any <code>pObjectIndices</code> there <strong class=\"purple\">must</strong> not be a registered resource already."
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-pObjectIndices-01366",
+ "text": " Any value inside <code>pObjectIndices</code> <strong class=\"purple\">must</strong> be below the appropriate <code>VkObjectTableCreateInfoNVX</code>::<code>pObjectEntryCounts</code> limits provided at <code>objectTable</code> creation time."
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-objectTable-parameter",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-ppObjectTableEntries-parameter",
+ "text": " <code>ppObjectTableEntries</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid <code>VkObjectTableEntryNVX</code> structures"
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-pObjectIndices-parameter",
+ "text": " <code>pObjectIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-objectCount-arraylength",
+ "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkRegisterObjectsNVX-objectTable-parent",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkObjectTableEntryNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkObjectTableEntryNVX-computeBindingPointSupport-01367",
+ "text": " If the <code>VkDeviceGeneratedCommandsFeaturesNVX</code>::<code>computeBindingPointSupport</code> feature is not enabled, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableEntryNVX-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"
+ },
+ {
+ "vuid": "VUID-VkObjectTableEntryNVX-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTableEntryNVX-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "VkObjectTablePipelineEntryNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkObjectTablePipelineEntryNVX-type-01368",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePipelineEntryNVX-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePipelineEntryNVX-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePipelineEntryNVX-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePipelineEntryNVX-pipeline-parameter",
+ "text": " <code>pipeline</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipeline</code> handle"
+ }
+ ]
+ },
+ "VkObjectTableDescriptorSetEntryNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-type-01369",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"
+ },
+ {
+ "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-pipelineLayout-parameter",
+ "text": " <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-descriptorSet-parameter",
+ "text": " <code>descriptorSet</code> <strong class=\"purple\">must</strong> be a valid <code>VkDescriptorSet</code> handle"
+ },
+ {
+ "vuid": "VUID-VkObjectTableDescriptorSetEntryNVX-commonparent",
+ "text": " Both of <code>descriptorSet</code>, and <code>pipelineLayout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkObjectTableVertexBufferEntryNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-type-01370",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"
+ },
+ {
+ "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableVertexBufferEntryNVX-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ }
+ ]
+ },
+ "VkObjectTableIndexBufferEntryNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-type-01371",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"
+ },
+ {
+ "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkObjectTableIndexBufferEntryNVX-indexType-parameter",
+ "text": " <code>indexType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndexType\">VkIndexType</a> value"
+ }
+ ]
+ },
+ "VkObjectTablePushConstantEntryNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkObjectTablePushConstantEntryNVX-type-01372",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be <code>VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePushConstantEntryNVX-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> value"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePushConstantEntryNVX-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkObjectEntryUsageFlagBitsNVX\">VkObjectEntryUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePushConstantEntryNVX-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePushConstantEntryNVX-pipelineLayout-parameter",
+ "text": " <code>pipelineLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkPipelineLayout</code> handle"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePushConstantEntryNVX-stageFlags-parameter",
+ "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkShaderStageFlagBits\">VkShaderStageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkObjectTablePushConstantEntryNVX-stageFlags-requiredbitmask",
+ "text": " <code>stageFlags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "vkUnregisterObjectsNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-pObjectIndices-01373",
+ "text": " At any <code>pObjectIndices</code> there <strong class=\"purple\">must</strong> be a registered resource already."
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-pObjectEntryTypes-01374",
+ "text": " The <code>pObjectEntryTypes</code> of the resource at <code>pObjectIndices</code> <strong class=\"purple\">must</strong> match."
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-None-01375",
+ "text": " All operations on the device using the registered resource <strong class=\"purple\">must</strong> have been completed."
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-objectTable-parameter",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-pObjectEntryTypes-parameter",
+ "text": " <code>pObjectEntryTypes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> valid <a href=\"#VkObjectEntryTypeNVX\">VkObjectEntryTypeNVX</a> values"
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-pObjectIndices-parameter",
+ "text": " <code>pObjectIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>objectCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-objectCount-arraylength",
+ "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkUnregisterObjectsNVX-objectTable-parent",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "VkIndirectCommandsLayoutTokenNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-bindingUnit-01342",
+ "text": " <code>bindingUnit</code> <strong class=\"purple\">must</strong> stay within device supported limits for the appropriate commands."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-dynamicCount-01343",
+ "text": " <code>dynamicCount</code> <strong class=\"purple\">must</strong> stay within device supported limits for the appropriate commands."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-divisor-01344",
+ "text": " <code>divisor</code> <strong class=\"purple\">must</strong> be greater than <code>0</code> and a power of two."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutTokenNVX-tokenType-parameter",
+ "text": " <code>tokenType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndirectCommandsTokenTypeNVX\">VkIndirectCommandsTokenTypeNVX</a> value"
+ }
+ ]
+ },
+ "VkIndirectCommandsTokenNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkIndirectCommandsTokenNVX-buffer-01345",
+ "text": " The <code>buffer</code>’s usage flag <strong class=\"purple\">must</strong> have the <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsTokenNVX-offset-01346",
+ "text": " The <code>offset</code> <strong class=\"purple\">must</strong> be aligned to <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>minCommandsTokenBufferOffsetAlignment</code>."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsTokenNVX-tokenType-parameter",
+ "text": " <code>tokenType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkIndirectCommandsTokenTypeNVX\">VkIndirectCommandsTokenTypeNVX</a> value"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsTokenNVX-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ }
+ ]
+ },
+ "vkCreateIndirectCommandsLayoutNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkIndirectCommandsLayoutCreateInfoNVX</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateIndirectCommandsLayoutNVX-pIndirectCommandsLayout-parameter",
+ "text": " <code>pIndirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkIndirectCommandsLayoutNVX</code> handle"
+ }
+ ]
+ },
+ "VkIndirectCommandsLayoutCreateInfoNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-tokenCount-01347",
+ "text": " <code>tokenCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code> and below <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>maxIndirectCommandsLayoutTokenCount</code>"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-computeBindingPointSupport-01348",
+ "text": " If the <code>VkDeviceGeneratedCommandsFeaturesNVX</code>::<code>computeBindingPointSupport</code> feature is not enabled, then <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> not be <code>VK_PIPELINE_BIND_POINT_COMPUTE</code>"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-01349",
+ "text": " If <code>pTokens</code> contains an entry of <code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX</code> it <strong class=\"purple\">must</strong> be the first element of the array and there <strong class=\"purple\">must</strong> be only a single element of such token type."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-01350",
+ "text": " All state binding tokens in <code>pTokens</code> <strong class=\"purple\">must</strong> occur prior work provoking tokens (<code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX</code>, <code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX</code>, <code>VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX</code>)."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-01351",
+ "text": " The content of <code>pTokens</code> <strong class=\"purple\">must</strong> include one single work provoking token that is compatible with the <code>pipelineBindPoint</code>."
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pipelineBindPoint-parameter",
+ "text": " <code>pipelineBindPoint</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPipelineBindPoint\">VkPipelineBindPoint</a> value"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkIndirectCommandsLayoutUsageFlagBitsNVX\">VkIndirectCommandsLayoutUsageFlagBitsNVX</a> values"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-pTokens-parameter",
+ "text": " <code>pTokens</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>tokenCount</code> valid <code>VkIndirectCommandsLayoutTokenNVX</code> structures"
+ },
+ {
+ "vuid": "VUID-VkIndirectCommandsLayoutCreateInfoNVX-tokenCount-arraylength",
+ "text": " <code>tokenCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkDestroyIndirectCommandsLayoutNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-indirectCommandsLayout-01352",
+ "text": " All submitted commands that refer to <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-objectTable-01353",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-objectTable-01354",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>objectTable</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-indirectCommandsLayout-parameter",
+ "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkIndirectCommandsLayoutNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyIndirectCommandsLayoutNVX-indirectCommandsLayout-parent",
+ "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkCmdReserveSpaceForCommandsNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-01329",
+ "text": " The provided <code>commandBuffer</code> <strong class=\"purple\">must</strong> not have had a prior space reservation since its creation or the last reset."
+ },
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-01330",
+ "text": " The state of the <code>commandBuffer</code> <strong class=\"purple\">must</strong> be legal to execute all commands within the sequence provided by the <code>indirectCommandsLayout</code> member of <code>pProcessCommandsInfo</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-pReserveSpaceInfo-parameter",
+ "text": " <code>pReserveSpaceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCmdReserveSpaceForCommandsInfoNVX</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ },
+ {
+ "vuid": "VUID-vkCmdReserveSpaceForCommandsNVX-bufferlevel",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a secondary <code>VkCommandBuffer</code>"
+ }
+ ]
+ },
+ "VkCmdReserveSpaceForCommandsInfoNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-objectTable-parameter",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-indirectCommandsLayout-parameter",
+ "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkIndirectCommandsLayoutNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCmdReserveSpaceForCommandsInfoNVX-commonparent",
+ "text": " Both of <code>indirectCommandsLayout</code>, and <code>objectTable</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkCmdProcessCommandsNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-vkCmdProcessCommandsNVX-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdProcessCommandsNVX-pProcessCommandsInfo-parameter",
+ "text": " <code>pProcessCommandsInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkCmdProcessCommandsInfoNVX</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdProcessCommandsNVX-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdProcessCommandsNVX-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ },
+ {
+ "vuid": "VUID-vkCmdProcessCommandsNVX-renderpass",
+ "text": " This command <strong class=\"purple\">must</strong> only be called inside of a render pass instance"
+ }
+ ]
+ },
+ "VkCmdProcessCommandsInfoNVX": {
+ "(VK_NVX_device_generated_commands)": [
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-objectTable-01331",
+ "text": " The provided <code>objectTable</code> <strong class=\"purple\">must</strong> include all objects referenced by the generation process."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-indirectCommandsTokenCount-01332",
+ "text": " <code>indirectCommandsTokenCount</code> <strong class=\"purple\">must</strong> match the <code>indirectCommandsLayout</code>’s <code>tokenCount</code>."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-tokenType-01333",
+ "text": " The <code>tokenType</code> member of each entry in the <code>pIndirectCommandsTokens</code> array <strong class=\"purple\">must</strong> match the values used at creation time of <code>indirectCommandsLayout</code>"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01334",
+ "text": " If <code>targetCommandBuffer</code> is provided, it <strong class=\"purple\">must</strong> have reserved command space."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01335",
+ "text": " If <code>targetCommandBuffer</code> is provided, the <code>objectTable</code> <strong class=\"purple\">must</strong> match the reservation’s objectTable and <strong class=\"purple\">must</strong> have had all referenced objects registered at reservation time."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01336",
+ "text": " If <code>targetCommandBuffer</code> is provided, the <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> match the reservation’s indirectCommandsLayout."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-01337",
+ "text": " If <code>targetCommandBuffer</code> is provided, the <code>maxSequencesCount</code> <strong class=\"purple\">must</strong> not exceed the reservation’s maxSequencesCount."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesCountBuffer-01338",
+ "text": " If <code>sequencesCountBuffer</code> is used, its usage flag <strong class=\"purple\">must</strong> have <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesCountBuffer-01339",
+ "text": " If <code>sequencesCountBuffer</code> is used, <code>sequencesCountOffset</code> <strong class=\"purple\">must</strong> be aligned to <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>minSequenceCountBufferOffsetAlignment</code>."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesIndexBuffer-01340",
+ "text": " If <code>sequencesIndexBuffer</code> is used, its usage flag <strong class=\"purple\">must</strong> have <code>VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT</code> bit set."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesIndexBuffer-01341",
+ "text": " If <code>sequencesIndexBuffer</code> is used, <code>sequencesIndexOffset</code> <strong class=\"purple\">must</strong> be aligned to <code>VkDeviceGeneratedCommandsLimitsNVX</code>::<code>minSequenceIndexBufferOffsetAlignment</code>."
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX</code>"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-objectTable-parameter",
+ "text": " <code>objectTable</code> <strong class=\"purple\">must</strong> be a valid <code>VkObjectTableNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-indirectCommandsLayout-parameter",
+ "text": " <code>indirectCommandsLayout</code> <strong class=\"purple\">must</strong> be a valid <code>VkIndirectCommandsLayoutNVX</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-pIndirectCommandsTokens-parameter",
+ "text": " <code>pIndirectCommandsTokens</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>indirectCommandsTokenCount</code> valid <code>VkIndirectCommandsTokenNVX</code> structures"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-targetCommandBuffer-parameter",
+ "text": " If <code>targetCommandBuffer</code> is not <code>NULL</code>, <code>targetCommandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesCountBuffer-parameter",
+ "text": " If <code>sequencesCountBuffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>sequencesCountBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-sequencesIndexBuffer-parameter",
+ "text": " If <code>sequencesIndexBuffer</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>sequencesIndexBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-indirectCommandsTokenCount-arraylength",
+ "text": " <code>indirectCommandsTokenCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkCmdProcessCommandsInfoNVX-commonparent",
+ "text": " Each of <code>indirectCommandsLayout</code>, <code>objectTable</code>, <code>sequencesCountBuffer</code>, <code>sequencesIndexBuffer</code>, and <code>targetCommandBuffer</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSparseImageFormatProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-samples-01094",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a bit value that is set in <code>VkImageFormatProperties</code>::<code>sampleCounts</code> returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>type</code>, <code>tiling</code>, and <code>usage</code> equal to those in this command and <code>flags</code> equal to the value that is set in <code>VkImageCreateInfo</code>::<code>flags</code> when the image is created"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-samples-parameter",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-tiling-parameter",
+ "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkSparseImageFormatProperties</code> structures"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSparseImageFormatProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pFormatInfo-parameter",
+ "text": " <code>pFormatInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceSparseImageFormatInfo2</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkSparseImageFormatProperties2</code> structures"
+ }
+ ]
+ },
+ "VkPhysicalDeviceSparseImageFormatInfo2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-samples-01095",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a bit value that is set in <code>VkImageFormatProperties</code>::<code>sampleCounts</code> returned by <code>vkGetPhysicalDeviceImageFormatProperties</code> with <code>format</code>, <code>type</code>, <code>tiling</code>, and <code>usage</code> equal to those in this command and <code>flags</code> equal to the value that is set in <code>VkImageCreateInfo</code>::<code>flags</code> when the image is created"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-samples-parameter",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSparseImageFormatInfo2-tiling-parameter",
+ "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"
+ }
+ ]
+ },
+ "VkSparseImageFormatProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkSparseImageFormatProperties2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2</code>"
+ },
+ {
+ "vuid": "VUID-VkSparseImageFormatProperties2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetImageSparseMemoryRequirements": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements-pSparseMemoryRequirementCount-parameter",
+ "text": " <code>pSparseMemoryRequirementCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements-pSparseMemoryRequirements-parameter",
+ "text": " If the value referenced by <code>pSparseMemoryRequirementCount</code> is not <code>0</code>, and <code>pSparseMemoryRequirements</code> is not <code>NULL</code>, <code>pSparseMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSparseMemoryRequirementCount</code> <code>VkSparseImageMemoryRequirements</code> structures"
+ },
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements-image-parent",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ }
+ ]
+ },
+ "vkGetImageSparseMemoryRequirements2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements2-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements2-pInfo-parameter",
+ "text": " <code>pInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkImageSparseMemoryRequirementsInfo2</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements2-pSparseMemoryRequirementCount-parameter",
+ "text": " <code>pSparseMemoryRequirementCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetImageSparseMemoryRequirements2-pSparseMemoryRequirements-parameter",
+ "text": " If the value referenced by <code>pSparseMemoryRequirementCount</code> is not <code>0</code>, and <code>pSparseMemoryRequirements</code> is not <code>NULL</code>, <code>pSparseMemoryRequirements</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSparseMemoryRequirementCount</code> <code>VkSparseImageMemoryRequirements2</code> structures"
+ }
+ ]
+ },
+ "VkImageSparseMemoryRequirementsInfo2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-VkImageSparseMemoryRequirementsInfo2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2</code>"
+ },
+ {
+ "vuid": "VUID-VkImageSparseMemoryRequirementsInfo2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkImageSparseMemoryRequirementsInfo2-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ }
+ ]
+ },
+ "VkSparseImageMemoryRequirements2": {
+ "(VK_VERSION_1_1,VK_KHR_get_memory_requirements2)": [
+ {
+ "vuid": "VUID-VkSparseImageMemoryRequirements2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2</code>"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryRequirements2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "VkSparseMemoryBind": {
+ "core": [
+ {
+ "vuid": "VUID-VkSparseMemoryBind-memory-01096",
+ "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> match the memory requirements of the resource, as described in section <a href=\"#resources-association\">Resource Memory Association</a>"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-memory-01097",
+ "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> not have been created with a memory type that reports <code>VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT</code> bit set"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-size-01098",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-resourceOffset-01099",
+ "text": " <code>resourceOffset</code> <strong class=\"purple\">must</strong> be less than the size of the resource"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-size-01100",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of the resource minus <code>resourceOffset</code>"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-memoryOffset-01101",
+ "text": " <code>memoryOffset</code> <strong class=\"purple\">must</strong> be less than the size of <code>memory</code>"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-size-01102",
+ "text": " <code>size</code> <strong class=\"purple\">must</strong> be less than or equal to the size of <code>memory</code> minus <code>memoryOffset</code>"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-memory-parameter",
+ "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSparseMemoryBind-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSparseMemoryBindFlagBits\">VkSparseMemoryBindFlagBits</a> values"
+ }
+ ]
+ },
+ "VkSparseBufferMemoryBindInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkSparseBufferMemoryBindInfo-buffer-parameter",
+ "text": " <code>buffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSparseBufferMemoryBindInfo-pBinds-parameter",
+ "text": " <code>pBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindCount</code> valid <code>VkSparseMemoryBind</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSparseBufferMemoryBindInfo-bindCount-arraylength",
+ "text": " <code>bindCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkSparseImageOpaqueMemoryBindInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-pBinds-01103",
+ "text": " If the <code>flags</code> member of any element of <code>pBinds</code> contains <code>VK_SPARSE_MEMORY_BIND_METADATA_BIT</code>, the binding range defined <strong class=\"purple\">must</strong> be within the mip tail region of the metadata aspect of <code>image</code>"
+ },
+ {
+ "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-pBinds-parameter",
+ "text": " <code>pBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindCount</code> valid <code>VkSparseMemoryBind</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSparseImageOpaqueMemoryBindInfo-bindCount-arraylength",
+ "text": " <code>bindCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkSparseImageMemoryBindInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkSparseImageMemoryBindInfo-subresource-01722",
+ "text": " The <code>subresource.mipLevel</code> member of each element of <code>pBinds</code> <strong class=\"purple\">must</strong> be less than the <code>mipLevels</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBindInfo-subresource-01723",
+ "text": " The <code>subresource.arrayLayer</code> member of each element of <code>pBinds</code> <strong class=\"purple\">must</strong> be less than the <code>arrayLayers</code> specified in <a href=\"#VkImageCreateInfo\">VkImageCreateInfo</a> when <code>image</code> was created"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBindInfo-image-parameter",
+ "text": " <code>image</code> <strong class=\"purple\">must</strong> be a valid <code>VkImage</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBindInfo-pBinds-parameter",
+ "text": " <code>pBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindCount</code> valid <code>VkSparseImageMemoryBind</code> structures"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBindInfo-bindCount-arraylength",
+ "text": " <code>bindCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkSparseImageMemoryBind": {
+ "core": [
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-memory-01104",
+ "text": " If the <a href=\"#features-features-sparseResidencyAliased\">sparse aliased residency</a> feature is not enabled, and if any other resources are bound to ranges of <code>memory</code>, the range of <code>memory</code> being bound <strong class=\"purple\">must</strong> not overlap with those bound ranges"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-memory-01105",
+ "text": " <code>memory</code> and <code>memoryOffset</code> <strong class=\"purple\">must</strong> match the memory requirements of the calling command’s <code>image</code>, as described in section <a href=\"#resources-association\">Resource Memory Association</a>"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-subresource-01106",
+ "text": " <code>subresource</code> <strong class=\"purple\">must</strong> be a valid image subresource for <code>image</code> (see <a href=\"#resources-image-views\">Image Views</a>)"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-offset-01107",
+ "text": " <code>offset.x</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block width (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.width</code>) of the image"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-extent-01108",
+ "text": " <code>extent.width</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block width of the image, or else <span class=\"eq\">(<code>extent.width</code> + <code>offset.x</code>)</span> <strong class=\"purple\">must</strong> equal the width of the image subresource"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-offset-01109",
+ "text": " <code>offset.y</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block height (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.height</code>) of the image"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-extent-01110",
+ "text": " <code>extent.height</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block height of the image, or else <span class=\"eq\">(<code>extent.height</code> + <code>offset.y</code>)</span> <strong class=\"purple\">must</strong> equal the height of the image subresource"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-offset-01111",
+ "text": " <code>offset.z</code> <strong class=\"purple\">must</strong> be a multiple of the sparse image block depth (<code>VkSparseImageFormatProperties</code>::<code>imageGranularity.depth</code>) of the image"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-extent-01112",
+ "text": " <code>extent.depth</code> <strong class=\"purple\">must</strong> either be a multiple of the sparse image block depth of the image, or else <span class=\"eq\">(<code>extent.depth</code> + <code>offset.z</code>)</span> <strong class=\"purple\">must</strong> equal the depth of the image subresource"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-subresource-parameter",
+ "text": " <code>subresource</code> <strong class=\"purple\">must</strong> be a valid <code>VkImageSubresource</code> structure"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-memory-parameter",
+ "text": " If <code>memory</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>memory</code> <strong class=\"purple\">must</strong> be a valid <code>VkDeviceMemory</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSparseImageMemoryBind-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSparseMemoryBindFlagBits\">VkSparseMemoryBindFlagBits</a> values"
+ }
+ ]
+ },
+ "vkQueueBindSparse": {
+ "core": [
+ {
+ "vuid": "VUID-vkQueueBindSparse-fence-01113",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be unsignaled"
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-fence-01114",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-pSignalSemaphores-01115",
+ "text": " Each element of the <code>pSignalSemaphores</code> member of each element of <code>pBindInfo</code> <strong class=\"purple\">must</strong> be unsignaled when the semaphore signal operation it defines is executed on the device"
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-pWaitSemaphores-01116",
+ "text": " When a semaphore unsignal operation defined by any element of the <code>pWaitSemaphores</code> member of any element of <code>pBindInfo</code> executes on <code>queue</code>, no other queue <strong class=\"purple\">must</strong> be waiting on the same semaphore."
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-pWaitSemaphores-01117",
+ "text": " All elements of the <code>pWaitSemaphores</code> member of all elements of <code>pBindInfo</code> <strong class=\"purple\">must</strong> be semaphores that are signaled, or have <a href=\"#synchronization-semaphores-signaling\">semaphore signal operations</a> previously submitted for execution."
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-queue-parameter",
+ "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-pBindInfo-parameter",
+ "text": " If <code>bindInfoCount</code> is not <code>0</code>, <code>pBindInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bindInfoCount</code> valid <code>VkBindSparseInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-fence-parameter",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-queuetype",
+ "text": " The <code>queue</code> <strong class=\"purple\">must</strong> support sparse binding operations"
+ },
+ {
+ "vuid": "VUID-vkQueueBindSparse-commonparent",
+ "text": " Both of <code>fence</code>, and <code>queue</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkBindSparseInfo": {
+ "core": [
+ {
+ "vuid": "VUID-VkBindSparseInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_BIND_SPARSE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkBindSparseInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupBindSparseInfo\">VkDeviceGroupBindSparseInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkBindSparseInfo-pWaitSemaphores-parameter",
+ "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid <code>VkSemaphore</code> handles"
+ },
+ {
+ "vuid": "VUID-VkBindSparseInfo-pBufferBinds-parameter",
+ "text": " If <code>bufferBindCount</code> is not <code>0</code>, <code>pBufferBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>bufferBindCount</code> valid <code>VkSparseBufferMemoryBindInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-VkBindSparseInfo-pImageOpaqueBinds-parameter",
+ "text": " If <code>imageOpaqueBindCount</code> is not <code>0</code>, <code>pImageOpaqueBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageOpaqueBindCount</code> valid <code>VkSparseImageOpaqueMemoryBindInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-VkBindSparseInfo-pImageBinds-parameter",
+ "text": " If <code>imageBindCount</code> is not <code>0</code>, <code>pImageBinds</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>imageBindCount</code> valid <code>VkSparseImageMemoryBindInfo</code> structures"
+ },
+ {
+ "vuid": "VUID-VkBindSparseInfo-pSignalSemaphores-parameter",
+ "text": " If <code>signalSemaphoreCount</code> is not <code>0</code>, <code>pSignalSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>signalSemaphoreCount</code> valid <code>VkSemaphore</code> handles"
+ },
+ {
+ "vuid": "VUID-VkBindSparseInfo-commonparent",
+ "text": " Both of the elements of <code>pSignalSemaphores</code>, and the elements of <code>pWaitSemaphores</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkDevice</code>"
+ }
+ ]
+ },
+ "VkDeviceGroupBindSparseInfo": {
+ "(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkDeviceGroupBindSparseInfo-resourceDeviceIndex-01118",
+ "text": " <code>resourceDeviceIndex</code> and <code>memoryDeviceIndex</code> <strong class=\"purple\">must</strong> both be valid device indices."
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupBindSparseInfo-memoryDeviceIndex-01119",
+ "text": " Each memory allocation bound in this batch <strong class=\"purple\">must</strong> have allocated an instance for <code>memoryDeviceIndex</code>."
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupBindSparseInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO</code>"
+ }
+ ]
+ },
+ "vkCreateAndroidSurfaceKHR": {
+ "(VK_KHR_surface)+(VK_KHR_android_surface)": [
+ {
+ "vuid": "VUID-vkCreateAndroidSurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateAndroidSurfaceKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAndroidSurfaceCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateAndroidSurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateAndroidSurfaceKHR-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkAndroidSurfaceCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_android_surface)": [
+ {
+ "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-window-01248",
+ "text": " <code>window</code> <strong class=\"purple\">must</strong> point to a valid Android <code>ANativeWindow</code>."
+ },
+ {
+ "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkAndroidSurfaceCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateMirSurfaceKHR": {
+ "(VK_KHR_surface)+(VK_KHR_mir_surface)": [
+ {
+ "vuid": "VUID-vkCreateMirSurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateMirSurfaceKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMirSurfaceCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateMirSurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateMirSurfaceKHR-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkMirSurfaceCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_mir_surface)": [
+ {
+ "vuid": "VUID-VkMirSurfaceCreateInfoKHR-connection-01263",
+ "text": " <code>connection</code> <strong class=\"purple\">must</strong> point to a valid <code>MirConnection</code>."
+ },
+ {
+ "vuid": "VUID-VkMirSurfaceCreateInfoKHR-surface-01264",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> point to a valid <code>MirSurface</code>."
+ },
+ {
+ "vuid": "VUID-VkMirSurfaceCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkMirSurfaceCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkMirSurfaceCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateWaylandSurfaceKHR": {
+ "(VK_KHR_surface)+(VK_KHR_wayland_surface)": [
+ {
+ "vuid": "VUID-vkCreateWaylandSurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateWaylandSurfaceKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkWaylandSurfaceCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateWaylandSurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateWaylandSurfaceKHR-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkWaylandSurfaceCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_wayland_surface)": [
+ {
+ "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-display-01304",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> point to a valid Wayland <code>wl_display</code>."
+ },
+ {
+ "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-surface-01305",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> point to a valid Wayland <code>wl_surface</code>."
+ },
+ {
+ "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkWaylandSurfaceCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateWin32SurfaceKHR": {
+ "(VK_KHR_surface)+(VK_KHR_win32_surface)": [
+ {
+ "vuid": "VUID-vkCreateWin32SurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateWin32SurfaceKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkWin32SurfaceCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateWin32SurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateWin32SurfaceKHR-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkWin32SurfaceCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_win32_surface)": [
+ {
+ "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-hinstance-01307",
+ "text": " <code>hinstance</code> <strong class=\"purple\">must</strong> be a valid Win32 <code>HINSTANCE</code>."
+ },
+ {
+ "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-hwnd-01308",
+ "text": " <code>hwnd</code> <strong class=\"purple\">must</strong> be a valid Win32 <code>HWND</code>."
+ },
+ {
+ "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkWin32SurfaceCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateXcbSurfaceKHR": {
+ "(VK_KHR_surface)+(VK_KHR_xcb_surface)": [
+ {
+ "vuid": "VUID-vkCreateXcbSurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateXcbSurfaceKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkXcbSurfaceCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateXcbSurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateXcbSurfaceKHR-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkXcbSurfaceCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_xcb_surface)": [
+ {
+ "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-connection-01310",
+ "text": " <code>connection</code> <strong class=\"purple\">must</strong> point to a valid X11 <code>xcb_connection_t</code>."
+ },
+ {
+ "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-window-01311",
+ "text": " <code>window</code> <strong class=\"purple\">must</strong> be a valid X11 <code>xcb_window_t</code>."
+ },
+ {
+ "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkXcbSurfaceCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateXlibSurfaceKHR": {
+ "(VK_KHR_surface)+(VK_KHR_xlib_surface)": [
+ {
+ "vuid": "VUID-vkCreateXlibSurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateXlibSurfaceKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkXlibSurfaceCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateXlibSurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateXlibSurfaceKHR-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkXlibSurfaceCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_xlib_surface)": [
+ {
+ "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-dpy-01313",
+ "text": " <code>dpy</code> <strong class=\"purple\">must</strong> point to a valid Xlib <code>Display</code>."
+ },
+ {
+ "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-window-01314",
+ "text": " <code>window</code> <strong class=\"purple\">must</strong> be a valid Xlib <code>Window</code>."
+ },
+ {
+ "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkXlibSurfaceCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateIOSSurfaceMVK": {
+ "(VK_KHR_surface)+(VK_MVK_ios_surface)": [
+ {
+ "vuid": "VUID-vkCreateIOSSurfaceMVK-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateIOSSurfaceMVK-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkIOSSurfaceCreateInfoMVK</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateIOSSurfaceMVK-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateIOSSurfaceMVK-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkIOSSurfaceCreateInfoMVK": {
+ "(VK_KHR_surface)+(VK_MVK_ios_surface)": [
+ {
+ "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-pView-01316",
+ "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid <code>UIView</code> and <strong class=\"purple\">must</strong> be backed by a <code>CALayer</code> instance of type <code>CAMetalLayer</code>."
+ },
+ {
+ "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK</code>"
+ },
+ {
+ "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkIOSSurfaceCreateInfoMVK-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateMacOSSurfaceMVK": {
+ "(VK_KHR_surface)+(VK_MVK_macos_surface)": [
+ {
+ "vuid": "VUID-vkCreateMacOSSurfaceMVK-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateMacOSSurfaceMVK-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkMacOSSurfaceCreateInfoMVK</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateMacOSSurfaceMVK-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateMacOSSurfaceMVK-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkMacOSSurfaceCreateInfoMVK": {
+ "(VK_KHR_surface)+(VK_MVK_macos_surface)": [
+ {
+ "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-pView-01317",
+ "text": " <code>pView</code> <strong class=\"purple\">must</strong> be a valid <code>NSView</code> and <strong class=\"purple\">must</strong> be backed by a <code>CALayer</code> instance of type <code>CAMetalLayer</code>."
+ },
+ {
+ "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK</code>"
+ },
+ {
+ "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkMacOSSurfaceCreateInfoMVK-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkCreateViSurfaceNN": {
+ "(VK_KHR_surface)+(VK_NN_vi_surface)": [
+ {
+ "vuid": "VUID-vkCreateViSurfaceNN-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateViSurfaceNN-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkViSurfaceCreateInfoNN</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateViSurfaceNN-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateViSurfaceNN-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkViSurfaceCreateInfoNN": {
+ "(VK_KHR_surface)+(VK_NN_vi_surface)": [
+ {
+ "vuid": "VUID-VkViSurfaceCreateInfoNN-window-01318",
+ "text": " <code>window</code> <strong class=\"purple\">must</strong> be a valid <code>nn</code>::<code>vi</code>::<code>NativeWindowHandle</code>"
+ },
+ {
+ "vuid": "VUID-VkViSurfaceCreateInfoNN-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN</code>"
+ },
+ {
+ "vuid": "VUID-VkViSurfaceCreateInfoNN-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkViSurfaceCreateInfoNN-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkDestroySurfaceKHR": {
+ "(VK_KHR_surface)": [
+ {
+ "vuid": "VUID-vkDestroySurfaceKHR-surface-01266",
+ "text": " All <code>VkSwapchainKHR</code> objects created for <code>surface</code> <strong class=\"purple\">must</strong> have been destroyed prior to destroying <code>surface</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroySurfaceKHR-surface-01267",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>surface</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroySurfaceKHR-surface-01268",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>surface</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroySurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySurfaceKHR-surface-parameter",
+ "text": " If <code>surface</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroySurfaceKHR-surface-parent",
+ "text": " If <code>surface</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>instance</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceDisplayPropertiesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceDisplayPropertiesKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceDisplayPropertiesKHR-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceDisplayPropertiesKHR-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkDisplayPropertiesKHR</code> structures"
+ }
+ ]
+ },
+ "vkAcquireXlibDisplayEXT": {
+ "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_direct_mode_display)+(VK_EXT_acquire_xlib_display)": [
+ {
+ "vuid": "VUID-vkAcquireXlibDisplayEXT-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAcquireXlibDisplayEXT-dpy-parameter",
+ "text": " <code>dpy</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>Display</code> value"
+ },
+ {
+ "vuid": "VUID-vkAcquireXlibDisplayEXT-display-parameter",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"
+ }
+ ]
+ },
+ "vkGetRandROutputDisplayEXT": {
+ "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_direct_mode_display)+(VK_EXT_acquire_xlib_display)": [
+ {
+ "vuid": "VUID-vkGetRandROutputDisplayEXT-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetRandROutputDisplayEXT-dpy-parameter",
+ "text": " <code>dpy</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>Display</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetRandROutputDisplayEXT-pDisplay-parameter",
+ "text": " <code>pDisplay</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDisplayKHR</code> handle"
+ }
+ ]
+ },
+ "vkReleaseDisplayEXT": {
+ "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_direct_mode_display)": [
+ {
+ "vuid": "VUID-vkReleaseDisplayEXT-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkReleaseDisplayEXT-display-parameter",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceDisplayPlanePropertiesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceDisplayPlanePropertiesKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceDisplayPlanePropertiesKHR-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceDisplayPlanePropertiesKHR-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkDisplayPlanePropertiesKHR</code> structures"
+ }
+ ]
+ },
+ "vkGetDisplayPlaneSupportedDisplaysKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-planeIndex-01249",
+ "text": " <code>planeIndex</code> <strong class=\"purple\">must</strong> be less than the number of display planes supported by the device as determined by calling <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code>"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-pDisplayCount-parameter",
+ "text": " <code>pDisplayCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayPlaneSupportedDisplaysKHR-pDisplays-parameter",
+ "text": " If the value referenced by <code>pDisplayCount</code> is not <code>0</code>, and <code>pDisplays</code> is not <code>NULL</code>, <code>pDisplays</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pDisplayCount</code> <code>VkDisplayKHR</code> handles"
+ }
+ ]
+ },
+ "vkGetDisplayModePropertiesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-vkGetDisplayModePropertiesKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayModePropertiesKHR-display-parameter",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayModePropertiesKHR-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayModePropertiesKHR-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkDisplayModePropertiesKHR</code> structures"
+ }
+ ]
+ },
+ "vkCreateDisplayModeKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-vkCreateDisplayModeKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDisplayModeKHR-display-parameter",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDisplayModeKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplayModeCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDisplayModeKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDisplayModeKHR-pMode-parameter",
+ "text": " <code>pMode</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDisplayModeKHR</code> handle"
+ }
+ ]
+ },
+ "VkDisplayModeCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-VkDisplayModeCreateInfoKHR-width-01250",
+ "text": " The <code>width</code> and <code>height</code> members of the <code>visibleRegion</code> member of <code>parameters</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayModeCreateInfoKHR-refreshRate-01251",
+ "text": " The <code>refreshRate</code> member of <code>parameters</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayModeCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayModeCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayModeCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ }
+ ]
+ },
+ "vkGetDisplayPlaneCapabilitiesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-vkGetDisplayPlaneCapabilitiesKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayPlaneCapabilitiesKHR-mode-parameter",
+ "text": " <code>mode</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayModeKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDisplayPlaneCapabilitiesKHR-pCapabilities-parameter",
+ "text": " <code>pCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDisplayPlaneCapabilitiesKHR</code> structure"
+ }
+ ]
+ },
+ "vkDisplayPowerControlEXT": {
+ "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-vkDisplayPowerControlEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDisplayPowerControlEXT-display-parameter",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDisplayPowerControlEXT-pDisplayPowerInfo-parameter",
+ "text": " <code>pDisplayPowerInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplayPowerInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkDisplayPowerInfoEXT": {
+ "(VK_KHR_surface)+(VK_KHR_display)+(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-VkDisplayPowerInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayPowerInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayPowerInfoEXT-powerState-parameter",
+ "text": " <code>powerState</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDisplayPowerStateEXT\">VkDisplayPowerStateEXT</a> value"
+ }
+ ]
+ },
+ "vkCreateDisplayPlaneSurfaceKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDisplaySurfaceCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDisplayPlaneSurfaceKHR-pSurface-parameter",
+ "text": " <code>pSurface</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkDisplaySurfaceCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_display)": [
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-planeIndex-01252",
+ "text": " <code>planeIndex</code> <strong class=\"purple\">must</strong> be less than the number of display planes supported by the device as determined by calling <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-planeReorderPossible-01253",
+ "text": " If the <code>planeReorderPossible</code> member of the <code>VkDisplayPropertiesKHR</code> structure returned by <code>vkGetPhysicalDeviceDisplayPropertiesKHR</code> for the display corresponding to <code>displayMode</code> is <code>VK_TRUE</code> then <code>planeStackIndex</code> <strong class=\"purple\">must</strong> be less than the number of display planes supported by the device as determined by calling <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code>; otherwise <code>planeStackIndex</code> <strong class=\"purple\">must</strong> equal the <code>currentStackIndex</code> member of <code>VkDisplayPlanePropertiesKHR</code> returned by <code>vkGetPhysicalDeviceDisplayPlanePropertiesKHR</code> for the display plane corresponding to <code>displayMode</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-alphaMode-01254",
+ "text": " If <code>alphaMode</code> is <code>VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR</code> then <code>globalAlpha</code> <strong class=\"purple\">must</strong> be between <code>0</code> and <code>1</code>, inclusive"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-alphaMode-01255",
+ "text": " <code>alphaMode</code> <strong class=\"purple\">must</strong> be <code>0</code> or one of the bits present in the <code>supportedAlpha</code> member of <code>VkDisplayPlaneCapabilitiesKHR</code> returned by <code>vkGetDisplayPlaneCapabilitiesKHR</code> for the display plane corresponding to <code>displayMode</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-width-01256",
+ "text": " The <code>width</code> and <code>height</code> members of <code>imageExtent</code> <strong class=\"purple\">must</strong> be less than the <code>maxImageDimensions2D</code> member of <code>VkPhysicalDeviceLimits</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-displayMode-parameter",
+ "text": " <code>displayMode</code> <strong class=\"purple\">must</strong> be a valid <code>VkDisplayModeKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-transform-parameter",
+ "text": " <code>transform</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSurfaceTransformFlagBitsKHR\">VkSurfaceTransformFlagBitsKHR</a> value"
+ },
+ {
+ "vuid": "VUID-VkDisplaySurfaceCreateInfoKHR-alphaMode-parameter",
+ "text": " <code>alphaMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDisplayPlaneAlphaFlagBitsKHR\">VkDisplayPlaneAlphaFlagBitsKHR</a> value"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSurfaceSupportKHR": {
+ "(VK_KHR_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-queueFamilyIndex-01269",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-pSupported-parameter",
+ "text": " <code>pSupported</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkBool32</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceSupportKHR-commonparent",
+ "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceMirPresentationSupportKHR": {
+ "(VK_KHR_surface)+(VK_KHR_mir_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMirPresentationSupportKHR-queueFamilyIndex-01265",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMirPresentationSupportKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMirPresentationSupportKHR-connection-parameter",
+ "text": " <code>connection</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>MirConnection</code> value"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceWaylandPresentationSupportKHR": {
+ "(VK_KHR_surface)+(VK_KHR_wayland_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-queueFamilyIndex-01306",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceWaylandPresentationSupportKHR-display-parameter",
+ "text": " <code>display</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>wl_display</code> value"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceWin32PresentationSupportKHR": {
+ "(VK_KHR_surface)+(VK_KHR_win32_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-queueFamilyIndex-01309",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceWin32PresentationSupportKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceXcbPresentationSupportKHR": {
+ "(VK_KHR_surface)+(VK_KHR_xcb_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceXcbPresentationSupportKHR-queueFamilyIndex-01312",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceXcbPresentationSupportKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceXcbPresentationSupportKHR-connection-parameter",
+ "text": " <code>connection</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>xcb_connection_t</code> value"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceXlibPresentationSupportKHR": {
+ "(VK_KHR_surface)+(VK_KHR_xlib_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-queueFamilyIndex-01315",
+ "text": " <code>queueFamilyIndex</code> <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <code>vkGetPhysicalDeviceQueueFamilyProperties</code> for the given <code>physicalDevice</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceXlibPresentationSupportKHR-dpy-parameter",
+ "text": " <code>dpy</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>Display</code> value"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSurfaceCapabilitiesKHR": {
+ "(VK_KHR_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-pSurfaceCapabilities-parameter",
+ "text": " <code>pSurfaceCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceCapabilitiesKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilitiesKHR-commonparent",
+ "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSurfaceCapabilities2KHR": {
+ "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-pSurfaceInfo-parameter",
+ "text": " <code>pSurfaceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceSurfaceInfo2KHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-pSurfaceCapabilities-parameter",
+ "text": " <code>pSurfaceCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceCapabilities2KHR</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceSurfaceInfo2KHR": {
+ "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceSurfaceInfo2KHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSurfaceInfo2KHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceSurfaceInfo2KHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ }
+ ]
+ },
+ "VkSurfaceCapabilities2KHR": {
+ "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [
+ {
+ "vuid": "VUID-VkSurfaceCapabilities2KHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkSurfaceCapabilities2KHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkSharedPresentSurfaceCapabilitiesKHR\">VkSharedPresentSurfaceCapabilitiesKHR</a>"
+ }
+ ]
+ },
+ "VkSharedPresentSurfaceCapabilitiesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)+(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-VkSharedPresentSurfaceCapabilitiesKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSurfaceCapabilities2EXT": {
+ "(VK_KHR_surface)+(VK_EXT_display_surface_counter)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-pSurfaceCapabilities-parameter",
+ "text": " <code>pSurfaceCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSurfaceCapabilities2EXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceCapabilities2EXT-commonparent",
+ "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "VkSurfaceCapabilities2EXT": {
+ "(VK_KHR_surface)+(VK_EXT_display_surface_counter)": [
+ {
+ "vuid": "VUID-VkSurfaceCapabilities2EXT-supportedSurfaceCounters-01246",
+ "text": " <code>supportedSurfaceCounters</code> <strong class=\"purple\">must</strong> not include <code>VK_SURFACE_COUNTER_VBLANK_EXT</code> unless the surface queried is a <a href=\"#wsi-display-surfaces\">display surface</a>."
+ },
+ {
+ "vuid": "VUID-VkSurfaceCapabilities2EXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkSurfaceCapabilities2EXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSurfaceFormatsKHR": {
+ "(VK_KHR_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-pSurfaceFormatCount-parameter",
+ "text": " <code>pSurfaceFormatCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-pSurfaceFormats-parameter",
+ "text": " If the value referenced by <code>pSurfaceFormatCount</code> is not <code>0</code>, and <code>pSurfaceFormats</code> is not <code>NULL</code>, <code>pSurfaceFormats</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSurfaceFormatCount</code> <code>VkSurfaceFormatKHR</code> structures"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormatsKHR-commonparent",
+ "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSurfaceFormats2KHR": {
+ "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-pSurfaceInfo-parameter",
+ "text": " <code>pSurfaceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceSurfaceInfo2KHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-pSurfaceFormatCount-parameter",
+ "text": " <code>pSurfaceFormatCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfaceFormats2KHR-pSurfaceFormats-parameter",
+ "text": " If the value referenced by <code>pSurfaceFormatCount</code> is not <code>0</code>, and <code>pSurfaceFormats</code> is not <code>NULL</code>, <code>pSurfaceFormats</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSurfaceFormatCount</code> <code>VkSurfaceFormat2KHR</code> structures"
+ }
+ ]
+ },
+ "VkSurfaceFormat2KHR": {
+ "(VK_KHR_surface)+(VK_KHR_get_surface_capabilities2)": [
+ {
+ "vuid": "VUID-VkSurfaceFormat2KHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkSurfaceFormat2KHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceSurfacePresentModesKHR": {
+ "(VK_KHR_surface)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-pPresentModeCount-parameter",
+ "text": " <code>pPresentModeCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-pPresentModes-parameter",
+ "text": " If the value referenced by <code>pPresentModeCount</code> is not <code>0</code>, and <code>pPresentModes</code> is not <code>NULL</code>, <code>pPresentModes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPresentModeCount</code> <a href=\"#VkPresentModeKHR\">VkPresentModeKHR</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceSurfacePresentModesKHR-commonparent",
+ "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetDeviceGroupPresentCapabilitiesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkGetDeviceGroupPresentCapabilitiesKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupPresentCapabilitiesKHR-pDeviceGroupPresentCapabilities-parameter",
+ "text": " <code>pDeviceGroupPresentCapabilities</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDeviceGroupPresentCapabilitiesKHR</code> structure"
+ }
+ ]
+ },
+ "VkDeviceGroupPresentCapabilitiesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkDeviceGroupPresentCapabilitiesKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentCapabilitiesKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetDeviceGroupSurfacePresentModesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-pModes-parameter",
+ "text": " <code>pModes</code> <strong class=\"purple\">must</strong> be a valid pointer to a <a href=\"#VkDeviceGroupPresentModeFlagsKHR\">VkDeviceGroupPresentModeFlagsKHR</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetDeviceGroupSurfacePresentModesKHR-commonparent",
+ "text": " Both of <code>device</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDevicePresentRectanglesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-pRectCount-parameter",
+ "text": " <code>pRectCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-pRects-parameter",
+ "text": " If the value referenced by <code>pRectCount</code> is not <code>0</code>, and <code>pRects</code> is not <code>NULL</code>, <code>pRects</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pRectCount</code> <code>VkRect2D</code> structures"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDevicePresentRectanglesKHR-commonparent",
+ "text": " Both of <code>physicalDevice</code>, and <code>surface</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetRefreshCycleDurationGOOGLE": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_GOOGLE_display_timing)": [
+ {
+ "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-pDisplayTimingProperties-parameter",
+ "text": " <code>pDisplayTimingProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkRefreshCycleDurationGOOGLE</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetRefreshCycleDurationGOOGLE-commonparent",
+ "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetPastPresentationTimingGOOGLE": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_GOOGLE_display_timing)": [
+ {
+ "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-pPresentationTimingCount-parameter",
+ "text": " <code>pPresentationTimingCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-pPresentationTimings-parameter",
+ "text": " If the value referenced by <code>pPresentationTimingCount</code> is not <code>0</code>, and <code>pPresentationTimings</code> is not <code>NULL</code>, <code>pPresentationTimings</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPresentationTimingCount</code> <code>VkPastPresentationTimingGOOGLE</code> structures"
+ },
+ {
+ "vuid": "VUID-vkGetPastPresentationTimingGOOGLE-commonparent",
+ "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkGetSwapchainStatusKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-vkGetSwapchainStatusKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainStatusKHR-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainStatusKHR-commonparent",
+ "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkCreateSwapchainKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-vkCreateSwapchainKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateSwapchainKHR-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkSwapchainCreateInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSwapchainKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSwapchainKHR-pSwapchain-parameter",
+ "text": " <code>pSwapchain</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkSwapchainKHR</code> handle"
+ }
+ ]
+ },
+ "VkSwapchainCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-surface-01270",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a surface that is supported by the device as determined using <code>vkGetPhysicalDeviceSurfaceSupportKHR</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-minImageCount-01271",
+ "text": " <code>minImageCount</code> <strong class=\"purple\">must</strong> be greater than or equal to the value returned in the <code>minImageCount</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-minImageCount-01272",
+ "text": " <code>minImageCount</code> <strong class=\"purple\">must</strong> be less than or equal to the value returned in the <code>maxImageCount</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface if the returned <code>maxImageCount</code> is not zero"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageFormat-01273",
+ "text": " <code>imageFormat</code> and <code>imageColorSpace</code> <strong class=\"purple\">must</strong> match the <code>format</code> and <code>colorSpace</code> members, respectively, of one of the <code>VkSurfaceFormatKHR</code> structures returned by <code>vkGetPhysicalDeviceSurfaceFormatsKHR</code> for the surface"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageExtent-01274",
+ "text": " <code>imageExtent</code> <strong class=\"purple\">must</strong> be between <code>minImageExtent</code> and <code>maxImageExtent</code>, inclusive, where <code>minImageExtent</code> and <code>maxImageExtent</code> are members of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageExtent-01689",
+ "text": " <code>imageExtent</code> members <code>width</code> and <code>height</code> <strong class=\"purple\">must</strong> both be non-zero"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageArrayLayers-01275",
+ "text": " <code>imageArrayLayers</code> <strong class=\"purple\">must</strong> be greater than <code>0</code> and less than or equal to the <code>maxImageArrayLayers</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01277",
+ "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>queueFamilyIndexCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01278",
+ "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, <code>queueFamilyIndexCount</code> <strong class=\"purple\">must</strong> be greater than <code>1</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-preTransform-01279",
+ "text": " <code>preTransform</code> <strong class=\"purple\">must</strong> be one of the bits present in the <code>supportedTransforms</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-compositeAlpha-01280",
+ "text": " <code>compositeAlpha</code> <strong class=\"purple\">must</strong> be one of the bits present in the <code>supportedCompositeAlpha</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-presentMode-01281",
+ "text": " <code>presentMode</code> <strong class=\"purple\">must</strong> be one of the <a href=\"#VkPresentModeKHR\">VkPresentModeKHR</a> values returned by <code>vkGetPhysicalDeviceSurfacePresentModesKHR</code> for the surface"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-01933",
+ "text": " If <code>oldSwapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>oldSwapchain</code> <strong class=\"purple\">must</strong> be a non-retired swapchain associated with native window referred to by <code>surface</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageFormat-01778",
+ "text": " <code>imageFormat</code>, <code>imageUsage</code>, <code>imageExtent</code>, and <code>imageArrayLayers</code> <strong class=\"purple\">must</strong> be supported for <code>VK_IMAGE_TYPE_2D</code> <code>VK_IMAGE_TILING_OPTIMAL</code> images as reported by <a href=\"#vkGetPhysicalDeviceImageFormatProperties\">vkGetPhysicalDeviceImageFormatProperties</a>."
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupSwapchainCreateInfoKHR\">VkDeviceGroupSwapchainCreateInfoKHR</a> or <a href=\"#VkSwapchainCounterCreateInfoEXT\">VkSwapchainCounterCreateInfoEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSwapchainCreateFlagBitsKHR\">VkSwapchainCreateFlagBitsKHR</a> values"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-surface-parameter",
+ "text": " <code>surface</code> <strong class=\"purple\">must</strong> be a valid <code>VkSurfaceKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageFormat-parameter",
+ "text": " <code>imageFormat</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageColorSpace-parameter",
+ "text": " <code>imageColorSpace</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkColorSpaceKHR\">VkColorSpaceKHR</a> value"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-parameter",
+ "text": " <code>imageUsage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-requiredbitmask",
+ "text": " <code>imageUsage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-parameter",
+ "text": " <code>imageSharingMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSharingMode\">VkSharingMode</a> value"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-preTransform-parameter",
+ "text": " <code>preTransform</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSurfaceTransformFlagBitsKHR\">VkSurfaceTransformFlagBitsKHR</a> value"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-compositeAlpha-parameter",
+ "text": " <code>compositeAlpha</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkCompositeAlphaFlagBitsKHR\">VkCompositeAlphaFlagBitsKHR</a> value"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-presentMode-parameter",
+ "text": " <code>presentMode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkPresentModeKHR\">VkPresentModeKHR</a> value"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-parameter",
+ "text": " If <code>oldSwapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>oldSwapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-oldSwapchain-parent",
+ "text": " If <code>oldSwapchain</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>surface</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-commonparent",
+ "text": " Both of <code>oldSwapchain</code>, and <code>surface</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-minImageCount-01383",
+ "text": " <code>minImageCount</code> <strong class=\"purple\">must</strong> be <code>1</code> if <code>presentMode</code> is either <code>VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR</code> or <code>VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-presentMode-01427",
+ "text": " If <code>presentMode</code> is <code>VK_PRESENT_MODE_IMMEDIATE_KHR</code>, <code>VK_PRESENT_MODE_MAILBOX_KHR</code>, <code>VK_PRESENT_MODE_FIFO_KHR</code> or <code>VK_PRESENT_MODE_FIFO_RELAXED_KHR</code>, <code>imageUsage</code> <strong class=\"purple\">must</strong> be a subset of the supported usage flags present in the <code>supportedUsageFlags</code> member of the <a href=\"#VkSurfaceCapabilitiesKHR\">VkSurfaceCapabilitiesKHR</a> structure returned by <a href=\"#vkGetPhysicalDeviceSurfaceCapabilitiesKHR\">vkGetPhysicalDeviceSurfaceCapabilitiesKHR</a> for <code>surface</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-01384",
+ "text": " If <code>presentMode</code> is <code>VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR</code> or <code>VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR</code>, <code>imageUsage</code> <strong class=\"purple\">must</strong> be a subset of the supported usage flags present in the <code>sharedPresentSupportedUsageFlags</code> member of the <a href=\"#VkSharedPresentSurfaceCapabilitiesKHR\">VkSharedPresentSurfaceCapabilitiesKHR</a> structure returned by <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2KHR\">vkGetPhysicalDeviceSurfaceCapabilities2KHR</a> for <code>surface</code>"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageUsage-01276",
+ "text": " <code>imageUsage</code> <strong class=\"purple\">must</strong> be a subset of the supported usage flags present in the <code>supportedUsageFlags</code> member of the <code>VkSurfaceCapabilitiesKHR</code> structure returned by <code>vkGetPhysicalDeviceSurfaceCapabilitiesKHR</code> for the surface"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+!(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01393",
+ "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-imageSharingMode-01428",
+ "text": " If <code>imageSharingMode</code> is <code>VK_SHARING_MODE_CONCURRENT</code>, each element of <code>pQueueFamilyIndices</code> <strong class=\"purple\">must</strong> be unique and <strong class=\"purple\">must</strong> be less than <code>pQueueFamilyPropertyCount</code> returned by either <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties\">vkGetPhysicalDeviceQueueFamilyProperties</a> or <a href=\"#vkGetPhysicalDeviceQueueFamilyProperties2\">vkGetPhysicalDeviceQueueFamilyProperties2</a> for the <code>physicalDevice</code> that was used to create <code>device</code>"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkSwapchainCreateInfoKHR-physicalDeviceCount-01429",
+ "text": " If the logical device was created with <a href=\"#VkDeviceGroupDeviceCreateInfo\">VkDeviceGroupDeviceCreateInfo</a>::<code>physicalDeviceCount</code> equal to 1, <code>flags</code> <strong class=\"purple\">must</strong> not contain <code>VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR</code>"
+ }
+ ]
+ },
+ "VkDeviceGroupSwapchainCreateInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkDeviceGroupSwapchainCreateInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSwapchainCreateInfoKHR-modes-parameter",
+ "text": " <code>modes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDeviceGroupPresentModeFlagBitsKHR\">VkDeviceGroupPresentModeFlagBitsKHR</a> values"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupSwapchainCreateInfoKHR-modes-requiredbitmask",
+ "text": " <code>modes</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "VkSwapchainCounterCreateInfoEXT": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-VkSwapchainCounterCreateInfoEXT-surfaceCounters-01244",
+ "text": " The bits in <code>surfaceCounters</code> <strong class=\"purple\">must</strong> be supported by <a href=\"#VkSwapchainCreateInfoKHR\">VkSwapchainCreateInfoKHR</a>::<code>surface</code>, as reported by <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2EXT\">vkGetPhysicalDeviceSurfaceCapabilities2EXT</a>."
+ },
+ {
+ "vuid": "VUID-VkSwapchainCounterCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkSwapchainCounterCreateInfoEXT-surfaceCounters-parameter",
+ "text": " <code>surfaceCounters</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkSurfaceCounterFlagBitsEXT\">VkSurfaceCounterFlagBitsEXT</a> values"
+ }
+ ]
+ },
+ "vkGetSwapchainCounterEXT": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_EXT_display_control)": [
+ {
+ "vuid": "VUID-vkGetSwapchainCounterEXT-swapchain-01245",
+ "text": " One or more present commands on <code>swapchain</code> <strong class=\"purple\">must</strong> have been processed by the presentation engine."
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainCounterEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainCounterEXT-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainCounterEXT-counter-parameter",
+ "text": " <code>counter</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSurfaceCounterFlagBitsEXT\">VkSurfaceCounterFlagBitsEXT</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainCounterEXT-pCounterValue-parameter",
+ "text": " <code>pCounterValue</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint64_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainCounterEXT-commonparent",
+ "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkDestroySwapchainKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-vkDestroySwapchainKHR-swapchain-01282",
+ "text": " All uses of presentable images acquired from <code>swapchain</code> <strong class=\"purple\">must</strong> have completed execution"
+ },
+ {
+ "vuid": "VUID-vkDestroySwapchainKHR-swapchain-01283",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>swapchain</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroySwapchainKHR-swapchain-01284",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>swapchain</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroySwapchainKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySwapchainKHR-swapchain-parameter",
+ "text": " If <code>swapchain</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroySwapchainKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroySwapchainKHR-commonparent",
+ "text": " Both of <code>device</code>, and <code>swapchain</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkCreateSharedSwapchainsKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_display_swapchain)": [
+ {
+ "vuid": "VUID-vkCreateSharedSwapchainsKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateSharedSwapchainsKHR-pCreateInfos-parameter",
+ "text": " <code>pCreateInfos</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkSwapchainCreateInfoKHR</code> structures"
+ },
+ {
+ "vuid": "VUID-vkCreateSharedSwapchainsKHR-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateSharedSwapchainsKHR-pSwapchains-parameter",
+ "text": " <code>pSwapchains</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>VkSwapchainKHR</code> handles"
+ },
+ {
+ "vuid": "VUID-vkCreateSharedSwapchainsKHR-swapchainCount-arraylength",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkGetSwapchainImagesKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-vkGetSwapchainImagesKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainImagesKHR-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainImagesKHR-pSwapchainImageCount-parameter",
+ "text": " <code>pSwapchainImageCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainImagesKHR-pSwapchainImages-parameter",
+ "text": " If the value referenced by <code>pSwapchainImageCount</code> is not <code>0</code>, and <code>pSwapchainImages</code> is not <code>NULL</code>, <code>pSwapchainImages</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pSwapchainImageCount</code> <code>VkImage</code> handles"
+ },
+ {
+ "vuid": "VUID-vkGetSwapchainImagesKHR-commonparent",
+ "text": " Both of <code>device</code>, and <code>swapchain</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkAcquireNextImageKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-swapchain-01285",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> not be in the retired state"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-semaphore-01286",
+ "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-semaphore-01779",
+ "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> not have any uncompleted signal or wait operations pending"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-fence-01287",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled and <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-semaphore-01780",
+ "text": " <code>semaphore</code> and <code>fence</code> <strong class=\"purple\">must</strong> not both be equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-swapchain-01802",
+ "text": " If the number of currently acquired images is greater than the difference between the number of images in <code>swapchain</code> and the value of <a href=\"#VkSurfaceCapabilitiesKHR\">VkSurfaceCapabilitiesKHR</a>::<code>minImageCount</code> as returned by a call to <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2KHR\">vkGetPhysicalDeviceSurfaceCapabilities2KHR</a> with the <code>surface</code> used to create <code>swapchain</code>, <code>timeout</code> <strong class=\"purple\">must</strong> not be <code>UINT64_MAX</code>"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-semaphore-parameter",
+ "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-fence-parameter",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-pImageIndex-parameter",
+ "text": " <code>pImageIndex</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-semaphore-parent",
+ "text": " If <code>semaphore</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-fence-parent",
+ "text": " If <code>fence</code> is a valid handle, it <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>device</code>"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImageKHR-commonparent",
+ "text": " Both of <code>device</code>, and <code>swapchain</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkAcquireNextImage2KHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-vkAcquireNextImage2KHR-swapchain-01803",
+ "text": " If the number of currently acquired images is greater than the difference between the number of images in the <code>swapchain</code> member of <code>pAcquireInfo</code> and the value of <a href=\"#VkSurfaceCapabilitiesKHR\">VkSurfaceCapabilitiesKHR</a>::<code>minImageCount</code> as returned by a call to <a href=\"#vkGetPhysicalDeviceSurfaceCapabilities2KHR\">vkGetPhysicalDeviceSurfaceCapabilities2KHR</a> with the <code>surface</code> used to create <code>swapchain</code>, the <code>timeout</code> member of <code>pAcquireInfo</code> <strong class=\"purple\">must</strong> not be <code>UINT64_MAX</code>"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImage2KHR-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImage2KHR-pAcquireInfo-parameter",
+ "text": " <code>pAcquireInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAcquireNextImageInfoKHR</code> structure"
+ },
+ {
+ "vuid": "VUID-vkAcquireNextImage2KHR-pImageIndex-parameter",
+ "text": " <code>pImageIndex</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ }
+ ]
+ },
+ "VkAcquireNextImageInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-swapchain-01675",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> not be in the retired state"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01288",
+ "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01781",
+ "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> not have any uncompleted signal or wait operations pending"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-fence-01289",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a> it <strong class=\"purple\">must</strong> be unsignaled and <strong class=\"purple\">must</strong> not be associated with any other queue command that has not yet completed execution on that queue"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01782",
+ "text": " <code>semaphore</code> and <code>fence</code> <strong class=\"purple\">must</strong> not both be equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-deviceMask-01290",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> be a valid device mask"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-deviceMask-01291",
+ "text": " <code>deviceMask</code> <strong class=\"purple\">must</strong> not be zero"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-01804",
+ "text": " <code>semaphore</code> and <code>fence</code> <strong class=\"purple\">must</strong> not both be equal to <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>."
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-swapchain-parameter",
+ "text": " <code>swapchain</code> <strong class=\"purple\">must</strong> be a valid <code>VkSwapchainKHR</code> handle"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-semaphore-parameter",
+ "text": " If <code>semaphore</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>semaphore</code> <strong class=\"purple\">must</strong> be a valid <code>VkSemaphore</code> handle"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-fence-parameter",
+ "text": " If <code>fence</code> is not <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>, <code>fence</code> <strong class=\"purple\">must</strong> be a valid <code>VkFence</code> handle"
+ },
+ {
+ "vuid": "VUID-VkAcquireNextImageInfoKHR-commonparent",
+ "text": " Each of <code>fence</code>, <code>semaphore</code>, and <code>swapchain</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkQueuePresentKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-vkQueuePresentKHR-pSwapchains-01292",
+ "text": " Each element of <code>pSwapchains</code> member of <code>pPresentInfo</code> <strong class=\"purple\">must</strong> be a swapchain that is created for a surface for which presentation is supported from <code>queue</code> as determined using a call to <code>vkGetPhysicalDeviceSurfaceSupportKHR</code>"
+ },
+ {
+ "vuid": "VUID-vkQueuePresentKHR-pWaitSemaphores-01294",
+ "text": " When a semaphore unsignal operation defined by the elements of the <code>pWaitSemaphores</code> member of <code>pPresentInfo</code> executes on <code>queue</code>, no other queue <strong class=\"purple\">must</strong> be waiting on the same semaphore."
+ },
+ {
+ "vuid": "VUID-vkQueuePresentKHR-pWaitSemaphores-01295",
+ "text": " All elements of the <code>pWaitSemaphores</code> member of <code>pPresentInfo</code> <strong class=\"purple\">must</strong> be semaphores that are signaled, or have <a href=\"#synchronization-semaphores-signaling\">semaphore signal operations</a> previously submitted for execution."
+ },
+ {
+ "vuid": "VUID-vkQueuePresentKHR-queue-parameter",
+ "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"
+ },
+ {
+ "vuid": "VUID-vkQueuePresentKHR-pPresentInfo-parameter",
+ "text": " <code>pPresentInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPresentInfoKHR</code> structure"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_display_swapchain)": [
+ {
+ "vuid": "VUID-vkQueuePresentKHR-pSwapchains-01293",
+ "text": " If more than one member of <code>pSwapchains</code> was created from a display surface, all display surfaces referenced that refer to the same display <strong class=\"purple\">must</strong> use the same display mode"
+ }
+ ]
+ },
+ "VkPresentInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+!(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-VkPresentInfoKHR-pImageIndices-01296",
+ "text": " Each element of <code>pImageIndices</code> <strong class=\"purple\">must</strong> be the index of a presentable image acquired from the swapchain specified by the corresponding element of the <code>pSwapchains</code> array, and the presented image subresource <strong class=\"purple\">must</strong> be in the <code>VK_IMAGE_LAYOUT_PRESENT_SRC_KHR</code> layout at the time the operation is executed on a <code>VkDevice</code>"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_shared_presentable_image)": [
+ {
+ "vuid": "VUID-VkPresentInfoKHR-pImageIndices-01430",
+ "text": " Each element of <code>pImageIndices</code> <strong class=\"purple\">must</strong> be the index of a presentable image acquired from the swapchain specified by the corresponding element of the <code>pSwapchains</code> array, and the presented image subresource <strong class=\"purple\">must</strong> be in the <code>VK_IMAGE_LAYOUT_PRESENT_SRC_KHR</code> or <code>VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR</code> layout at the time the operation is executed on a <code>VkDevice</code>"
+ }
+ ],
+ "(VK_KHR_surface)+(VK_KHR_swapchain)": [
+ {
+ "vuid": "VUID-VkPresentInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PRESENT_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkDeviceGroupPresentInfoKHR\">VkDeviceGroupPresentInfoKHR</a>, <a href=\"#VkDisplayPresentInfoKHR\">VkDisplayPresentInfoKHR</a>, <a href=\"#VkPresentRegionsKHR\">VkPresentRegionsKHR</a>, or <a href=\"#VkPresentTimesInfoGOOGLE\">VkPresentTimesInfoGOOGLE</a>"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-pWaitSemaphores-parameter",
+ "text": " If <code>waitSemaphoreCount</code> is not <code>0</code>, <code>pWaitSemaphores</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>waitSemaphoreCount</code> valid <code>VkSemaphore</code> handles"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-pSwapchains-parameter",
+ "text": " <code>pSwapchains</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkSwapchainKHR</code> handles"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-pImageIndices-parameter",
+ "text": " <code>pImageIndices</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-pResults-parameter",
+ "text": " If <code>pResults</code> is not <code>NULL</code>, <code>pResults</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <a href=\"#VkResult\">VkResult</a> values"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-swapchainCount-arraylength",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPresentInfoKHR-commonparent",
+ "text": " Both of the elements of <code>pSwapchains</code>, and the elements of <code>pWaitSemaphores</code> that are valid handles <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "VkPresentRegionsKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_incremental_present)": [
+ {
+ "vuid": "VUID-VkPresentRegionsKHR-swapchainCount-01260",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkPresentInfoKHR</code>::<code>swapchainCount</code>, where <code>VkPresentInfoKHR</code> is in the pNext-chain of this <code>VkPresentRegionsKHR</code> structure."
+ },
+ {
+ "vuid": "VUID-VkPresentRegionsKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkPresentRegionsKHR-pRegions-parameter",
+ "text": " If <code>pRegions</code> is not <code>NULL</code>, <code>pRegions</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkPresentRegionKHR</code> structures"
+ },
+ {
+ "vuid": "VUID-VkPresentRegionsKHR-swapchainCount-arraylength",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "VkPresentRegionKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_incremental_present)": [
+ {
+ "vuid": "VUID-VkPresentRegionKHR-pRectangles-parameter",
+ "text": " If <code>rectangleCount</code> is not <code>0</code>, and <code>pRectangles</code> is not <code>NULL</code>, <code>pRectangles</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>rectangleCount</code> <code>VkRectLayerKHR</code> structures"
+ }
+ ]
+ },
+ "VkRectLayerKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_incremental_present)": [
+ {
+ "vuid": "VUID-VkRectLayerKHR-offset-01261",
+ "text": " The sum of <code>offset</code> and <code>extent</code> <strong class=\"purple\">must</strong> be no greater than the <code>imageExtent</code> member of the <code>VkSwapchainCreateInfoKHR</code> structure given to <a href=\"#vkCreateSwapchainKHR\">vkCreateSwapchainKHR</a>."
+ },
+ {
+ "vuid": "VUID-VkRectLayerKHR-layer-01262",
+ "text": " <code>layer</code> <strong class=\"purple\">must</strong> be less than <code>imageArrayLayers</code> member of the <code>VkSwapchainCreateInfoKHR</code> structure given to <a href=\"#vkCreateSwapchainKHR\">vkCreateSwapchainKHR</a>."
+ }
+ ]
+ },
+ "VkDisplayPresentInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_KHR_display_swapchain)": [
+ {
+ "vuid": "VUID-VkDisplayPresentInfoKHR-srcRect-01257",
+ "text": " <code>srcRect</code> <strong class=\"purple\">must</strong> specify a rectangular region that is a subset of the image being presented"
+ },
+ {
+ "vuid": "VUID-VkDisplayPresentInfoKHR-dstRect-01258",
+ "text": " <code>dstRect</code> <strong class=\"purple\">must</strong> specify a rectangular region that is a subset of the <code>visibleRegion</code> parameter of the display mode the swapchain being presented uses"
+ },
+ {
+ "vuid": "VUID-VkDisplayPresentInfoKHR-persistentContent-01259",
+ "text": " If the <code>persistentContent</code> member of the <code>VkDisplayPropertiesKHR</code> structure returned by <code>vkGetPhysicalDeviceDisplayPropertiesKHR</code> for the display the present operation targets then <code>persistent</code> <strong class=\"purple\">must</strong> be <code>VK_FALSE</code>"
+ },
+ {
+ "vuid": "VUID-VkDisplayPresentInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR</code>"
+ }
+ ]
+ },
+ "VkDeviceGroupPresentInfoKHR": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_VERSION_1_1,VK_KHR_device_group)": [
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-swapchainCount-01297",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> equal <code>0</code> or <a href=\"#VkPresentInfoKHR\">VkPresentInfoKHR</a>::<code>swapchainCount</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01298",
+ "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR</code>, then each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> have exactly one bit set, and the corresponding element of <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code> <strong class=\"purple\">must</strong> be non-zero"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01299",
+ "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR</code>, then each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> have exactly one bit set, and some physical device in the logical device <strong class=\"purple\">must</strong> include that bit in its <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code>."
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01300",
+ "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR</code>, then each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> have a value for which all set bits are set in one of the elements of <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01301",
+ "text": " If <code>mode</code> is <code>VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR</code>, then for each bit set in each element of <code>pDeviceMasks</code>, the corresponding element of <a href=\"#VkDeviceGroupPresentCapabilitiesKHR\">VkDeviceGroupPresentCapabilitiesKHR</a>::<code>presentMask</code> <strong class=\"purple\">must</strong> be non-zero"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-pDeviceMasks-01302",
+ "text": " The value of each element of <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> be equal to the device mask passed in <a href=\"#VkAcquireNextImageInfoKHR\">VkAcquireNextImageInfoKHR</a>::<code>deviceMask</code> when the image index was last acquired"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-01303",
+ "text": " <code>mode</code> <strong class=\"purple\">must</strong> have exactly one bit set, and that bit <strong class=\"purple\">must</strong> have been included in <a href=\"#VkDeviceGroupSwapchainCreateInfoKHR\">VkDeviceGroupSwapchainCreateInfoKHR</a>::<code>modes</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR</code>"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-pDeviceMasks-parameter",
+ "text": " If <code>swapchainCount</code> is not <code>0</code>, <code>pDeviceMasks</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>uint32_t</code> values"
+ },
+ {
+ "vuid": "VUID-VkDeviceGroupPresentInfoKHR-mode-parameter",
+ "text": " <code>mode</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDeviceGroupPresentModeFlagBitsKHR\">VkDeviceGroupPresentModeFlagBitsKHR</a> value"
+ }
+ ]
+ },
+ "VkPresentTimesInfoGOOGLE": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_GOOGLE_display_timing)": [
+ {
+ "vuid": "VUID-VkPresentTimesInfoGOOGLE-swapchainCount-01247",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be the same value as <code>VkPresentInfoKHR</code>::<code>swapchainCount</code>, where <code>VkPresentInfoKHR</code> is in the <code>pNext</code> chain of this <code>VkPresentTimesInfoGOOGLE</code> structure."
+ },
+ {
+ "vuid": "VUID-VkPresentTimesInfoGOOGLE-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE</code>"
+ },
+ {
+ "vuid": "VUID-VkPresentTimesInfoGOOGLE-pTimes-parameter",
+ "text": " If <code>pTimes</code> is not <code>NULL</code>, <code>pTimes</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> <code>VkPresentTimeGOOGLE</code> structures"
+ },
+ {
+ "vuid": "VUID-VkPresentTimesInfoGOOGLE-swapchainCount-arraylength",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkSetHdrMetadataEXT": {
+ "(VK_KHR_surface)+(VK_KHR_swapchain)+(VK_EXT_hdr_metadata)": [
+ {
+ "vuid": "VUID-vkSetHdrMetadataEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkSetHdrMetadataEXT-pSwapchains-parameter",
+ "text": " <code>pSwapchains</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkSwapchainKHR</code> handles"
+ },
+ {
+ "vuid": "VUID-vkSetHdrMetadataEXT-pMetadata-parameter",
+ "text": " <code>pMetadata</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>swapchainCount</code> valid <code>VkHdrMetadataEXT</code> structures"
+ },
+ {
+ "vuid": "VUID-vkSetHdrMetadataEXT-swapchainCount-arraylength",
+ "text": " <code>swapchainCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkSetHdrMetadataEXT-commonparent",
+ "text": " Both of <code>device</code>, and the elements of <code>pSwapchains</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from the same <code>VkInstance</code>"
+ }
+ ]
+ },
+ "vkEnumerateInstanceLayerProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkEnumerateInstanceLayerProperties-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkEnumerateInstanceLayerProperties-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkLayerProperties</code> structures"
+ }
+ ]
+ },
+ "vkEnumerateDeviceLayerProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkEnumerateDeviceLayerProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkEnumerateDeviceLayerProperties-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkEnumerateDeviceLayerProperties-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkLayerProperties</code> structures"
+ }
+ ]
+ },
+ "vkEnumerateInstanceExtensionProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkEnumerateInstanceExtensionProperties-pLayerName-parameter",
+ "text": " If <code>pLayerName</code> is not <code>NULL</code>, <code>pLayerName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ },
+ {
+ "vuid": "VUID-vkEnumerateInstanceExtensionProperties-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkEnumerateInstanceExtensionProperties-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkExtensionProperties</code> structures"
+ }
+ ]
+ },
+ "vkEnumerateDeviceExtensionProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkEnumerateDeviceExtensionProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkEnumerateDeviceExtensionProperties-pLayerName-parameter",
+ "text": " If <code>pLayerName</code> is not <code>NULL</code>, <code>pLayerName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ },
+ {
+ "vuid": "VUID-vkEnumerateDeviceExtensionProperties-pPropertyCount-parameter",
+ "text": " <code>pPropertyCount</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>uint32_t</code> value"
+ },
+ {
+ "vuid": "VUID-vkEnumerateDeviceExtensionProperties-pProperties-parameter",
+ "text": " If the value referenced by <code>pPropertyCount</code> is not <code>0</code>, and <code>pProperties</code> is not <code>NULL</code>, <code>pProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>pPropertyCount</code> <code>VkExtensionProperties</code> structures"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceFeatures": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFeatures-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFeatures-pFeatures-parameter",
+ "text": " <code>pFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceFeatures</code> structure"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceFeatures2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFeatures2-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFeatures2-pFeatures-parameter",
+ "text": " <code>pFeatures</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkPhysicalDeviceFeatures2</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceFeatures2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceFeatures2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceVariablePointerFeatures": {
+ "(VK_VERSION_1_1,VK_KHR_variable_pointers)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceVariablePointerFeatures-variablePointers-01431",
+ "text": " If <code>variablePointers</code> is enabled then <code>variablePointersStorageBuffer</code> <strong class=\"purple\">must</strong> also be enabled."
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceVariablePointerFeatures-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceMultiviewFeatures": {
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceMultiviewFeatures-multiviewGeometryShader-00580",
+ "text": " If <code>multiviewGeometryShader</code> is enabled then <code>multiview</code> <strong class=\"purple\">must</strong> also be enabled."
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceMultiviewFeatures-multiviewTessellationShader-00581",
+ "text": " If <code>multiviewTessellationShader</code> is enabled then <code>multiview</code> <strong class=\"purple\">must</strong> also be enabled."
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceMultiviewFeatures-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDevice16BitStorageFeatures": {
+ "(VK_VERSION_1_1,VK_KHR_16bit_storage)": [
+ {
+ "vuid": "VUID-VkPhysicalDevice16BitStorageFeatures-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceSamplerYcbcrConversionFeatures": {
+ "(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceSamplerYcbcrConversionFeatures-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceProtectedMemoryFeatures": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceProtectedMemoryFeatures-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT": {
+ "(VK_EXT_blend_operation_advanced)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceShaderDrawParameterFeatures": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceShaderDrawParameterFeatures-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceDescriptorIndexingFeaturesEXT": {
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceDescriptorIndexingFeaturesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDevicePushDescriptorPropertiesKHR": {
+ "(VK_KHR_push_descriptor)": [
+ {
+ "vuid": "VUID-VkPhysicalDevicePushDescriptorPropertiesKHR-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceMultiviewProperties": {
+ "(VK_VERSION_1_1,VK_KHR_multiview)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceMultiviewProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceDiscardRectanglePropertiesEXT": {
+ "(VK_EXT_discard_rectangles)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceDiscardRectanglePropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceSampleLocationsPropertiesEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceSampleLocationsPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceExternalMemoryHostPropertiesEXT": {
+ "(VK_EXT_external_memory_host)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalMemoryHostPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX": {
+ "(VK_NVX_multiview_per_view_attributes)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX</code>"
+ }
+ ]
+ },
+ "VkPhysicalDevicePointClippingProperties": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance2)": [
+ {
+ "vuid": "VUID-VkPhysicalDevicePointClippingProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceSubgroupProperties": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceSubgroupProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT": {
+ "(VK_EXT_blend_operation_advanced)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT": {
+ "(VK_EXT_vertex_attribute_divisor)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT": {
+ "(VK_EXT_sampler_filter_minmax)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceProtectedMemoryProperties": {
+ "(VK_VERSION_1_1)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceProtectedMemoryProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceMaintenance3Properties": {
+ "(VK_VERSION_1_1,VK_KHR_maintenance3)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceMaintenance3Properties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceDescriptorIndexingPropertiesEXT": {
+ "(VK_EXT_descriptor_indexing)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceDescriptorIndexingPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceConservativeRasterizationPropertiesEXT": {
+ "(VK_EXT_conservative_rasterization)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceConservativeRasterizationPropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT</code>"
+ }
+ ]
+ },
+ "VkPhysicalDeviceShaderCorePropertiesAMD": {
+ "(VK_AMD_shader_core_properties)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceShaderCorePropertiesAMD-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceMultisamplePropertiesEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMultisamplePropertiesEXT-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMultisamplePropertiesEXT-samples-parameter",
+ "text": " <code>samples</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkSampleCountFlagBits\">VkSampleCountFlagBits</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceMultisamplePropertiesEXT-pMultisampleProperties-parameter",
+ "text": " <code>pMultisampleProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkMultisamplePropertiesEXT</code> structure"
+ }
+ ]
+ },
+ "VkMultisamplePropertiesEXT": {
+ "(VK_EXT_sample_locations)": [
+ {
+ "vuid": "VUID-VkMultisamplePropertiesEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkMultisamplePropertiesEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceFormatProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFormatProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFormatProperties-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFormatProperties-pFormatProperties-parameter",
+ "text": " <code>pFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFormatProperties</code> structure"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceFormatProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFormatProperties2-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFormatProperties2-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceFormatProperties2-pFormatProperties-parameter",
+ "text": " <code>pFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkFormatProperties2</code> structure"
+ }
+ ]
+ },
+ "VkFormatProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkFormatProperties2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2</code>"
+ },
+ {
+ "vuid": "VUID-VkFormatProperties2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceImageFormatProperties": {
+ "core": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-tiling-parameter",
+ "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties-pImageFormatProperties-parameter",
+ "text": " <code>pImageFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImageFormatProperties</code> structure"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceExternalImageFormatPropertiesNV": {
+ "(VK_NV_external_memory_capabilities)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-tiling-parameter",
+ "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-externalHandleType-parameter",
+ "text": " <code>externalHandleType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkExternalMemoryHandleTypeFlagBitsNV\">VkExternalMemoryHandleTypeFlagBitsNV</a> values"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalImageFormatPropertiesNV-pExternalImageFormatProperties-parameter",
+ "text": " <code>pExternalImageFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalImageFormatPropertiesNV</code> structure"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceImageFormatProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-pNext-01868",
+ "text": " If the <code>pNext</code> chain of <code>pImageFormatProperties</code> contains an instance of <a href=\"#VkAndroidHardwareBufferUsageANDROID\">VkAndroidHardwareBufferUsageANDROID</a>, the <code>pNext</code> chain of <code>pImageFormatInfo</code> <strong class=\"purple\">must</strong> contain an instance of <a href=\"#VkPhysicalDeviceExternalImageFormatInfo\">VkPhysicalDeviceExternalImageFormatInfo</a> with <code>handleType</code> set to <code>VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID</code>."
+ }
+ ],
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-pImageFormatInfo-parameter",
+ "text": " <code>pImageFormatInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceImageFormatInfo2</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceImageFormatProperties2-pImageFormatProperties-parameter",
+ "text": " <code>pImageFormatProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkImageFormatProperties2</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceImageFormatInfo2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkPhysicalDeviceExternalImageFormatInfo\">VkPhysicalDeviceExternalImageFormatInfo</a>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-format-parameter",
+ "text": " <code>format</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkFormat\">VkFormat</a> value"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-type-parameter",
+ "text": " <code>type</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageType\">VkImageType</a> value"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-tiling-parameter",
+ "text": " <code>tiling</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkImageTiling\">VkImageTiling</a> value"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageUsageFlagBits\">VkImageUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceImageFormatInfo2-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkImageCreateFlagBits\">VkImageCreateFlagBits</a> values"
+ }
+ ]
+ },
+ "VkImageFormatProperties2": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)": [
+ {
+ "vuid": "VUID-VkImageFormatProperties2-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2</code>"
+ },
+ {
+ "vuid": "VUID-VkImageFormatProperties2-pNext-pNext",
+ "text": " Each <code>pNext</code> member of any structure (including this one) in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be either <code>NULL</code> or a pointer to a valid instance of <a href=\"#VkAndroidHardwareBufferUsageANDROID\">VkAndroidHardwareBufferUsageANDROID</a>, <a href=\"#VkExternalImageFormatProperties\">VkExternalImageFormatProperties</a>, <a href=\"#VkSamplerYcbcrConversionImageFormatProperties\">VkSamplerYcbcrConversionImageFormatProperties</a>, or <a href=\"#VkTextureLODGatherFormatPropertiesAMD\">VkTextureLODGatherFormatPropertiesAMD</a>"
+ },
+ {
+ "vuid": "VUID-VkImageFormatProperties2-sType-unique",
+ "text": " Each <code>sType</code> member in the <code>pNext</code> chain <strong class=\"purple\">must</strong> be unique"
+ }
+ ]
+ },
+ "VkPhysicalDeviceExternalImageFormatInfo": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalImageFormatInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalImageFormatInfo-handleType-parameter",
+ "text": " If <code>handleType</code> is not <code>0</code>, <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "VkExternalImageFormatProperties": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [
+ {
+ "vuid": "VUID-VkExternalImageFormatProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES</code>"
+ }
+ ]
+ },
+ "VkSamplerYcbcrConversionImageFormatProperties": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_VERSION_1_1,VK_KHR_sampler_ycbcr_conversion)": [
+ {
+ "vuid": "VUID-VkSamplerYcbcrConversionImageFormatProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES</code>"
+ }
+ ]
+ },
+ "VkAndroidHardwareBufferUsageANDROID": {
+ "(VK_VERSION_1_1,VK_KHR_get_physical_device_properties2)+(VK_ANDROID_external_memory_android_hardware_buffer)": [
+ {
+ "vuid": "VUID-VkAndroidHardwareBufferUsageANDROID-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceExternalBufferProperties": {
+ "(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalBufferProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalBufferProperties-pExternalBufferInfo-parameter",
+ "text": " <code>pExternalBufferInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceExternalBufferInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalBufferProperties-pExternalBufferProperties-parameter",
+ "text": " <code>pExternalBufferProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalBufferProperties</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceExternalBufferInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferCreateFlagBits\">VkBufferCreateFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-usage-parameter",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkBufferUsageFlagBits\">VkBufferUsageFlagBits</a> values"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-usage-requiredbitmask",
+ "text": " <code>usage</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalBufferInfo-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalMemoryHandleTypeFlagBits\">VkExternalMemoryHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "VkExternalBufferProperties": {
+ "(VK_VERSION_1_1,VK_KHR_external_memory_capabilities)": [
+ {
+ "vuid": "VUID-VkExternalBufferProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES</code>"
+ },
+ {
+ "vuid": "VUID-VkExternalBufferProperties-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceExternalSemaphoreProperties": {
+ "(VK_VERSION_1_1,VK_KHR_external_semaphore_capabilities)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalSemaphoreProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalSemaphoreProperties-pExternalSemaphoreInfo-parameter",
+ "text": " <code>pExternalSemaphoreInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceExternalSemaphoreInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalSemaphoreProperties-pExternalSemaphoreProperties-parameter",
+ "text": " <code>pExternalSemaphoreProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalSemaphoreProperties</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceExternalSemaphoreInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_semaphore_capabilities)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalSemaphoreInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalSemaphoreInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalSemaphoreInfo-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalSemaphoreHandleTypeFlagBits\">VkExternalSemaphoreHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "VkExternalSemaphoreProperties": {
+ "(VK_VERSION_1_1,VK_KHR_external_semaphore_capabilities)": [
+ {
+ "vuid": "VUID-VkExternalSemaphoreProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES</code>"
+ },
+ {
+ "vuid": "VUID-VkExternalSemaphoreProperties-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkGetPhysicalDeviceExternalFenceProperties": {
+ "(VK_VERSION_1_1,VK_KHR_external_fence_capabilities)": [
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalFenceProperties-physicalDevice-parameter",
+ "text": " <code>physicalDevice</code> <strong class=\"purple\">must</strong> be a valid <code>VkPhysicalDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalFenceProperties-pExternalFenceInfo-parameter",
+ "text": " <code>pExternalFenceInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkPhysicalDeviceExternalFenceInfo</code> structure"
+ },
+ {
+ "vuid": "VUID-vkGetPhysicalDeviceExternalFenceProperties-pExternalFenceProperties-parameter",
+ "text": " <code>pExternalFenceProperties</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkExternalFenceProperties</code> structure"
+ }
+ ]
+ },
+ "VkPhysicalDeviceExternalFenceInfo": {
+ "(VK_VERSION_1_1,VK_KHR_external_fence_capabilities)": [
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalFenceInfo-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalFenceInfo-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkPhysicalDeviceExternalFenceInfo-handleType-parameter",
+ "text": " <code>handleType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkExternalFenceHandleTypeFlagBits\">VkExternalFenceHandleTypeFlagBits</a> value"
+ }
+ ]
+ },
+ "VkExternalFenceProperties": {
+ "(VK_VERSION_1_1,VK_KHR_external_fence_capabilities)": [
+ {
+ "vuid": "VUID-VkExternalFenceProperties-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES</code>"
+ },
+ {
+ "vuid": "VUID-VkExternalFenceProperties-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ }
+ ]
+ },
+ "vkSetDebugUtilsObjectNameEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkSetDebugUtilsObjectNameEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkSetDebugUtilsObjectNameEXT-pNameInfo-parameter",
+ "text": " <code>pNameInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsObjectNameInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkDebugUtilsObjectNameInfoEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectType-01905",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_OBJECT_TYPE_UNKNOWN</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectHandle-01906",
+ "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectHandle-01907",
+ "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in <a href=\"#debugging-object-types\">VkObjectType and Vulkan Handle Relationship</a>."
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-objectType-parameter",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectType\">VkObjectType</a> value"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectNameInfoEXT-pObjectName-parameter",
+ "text": " If <code>pObjectName</code> is not <code>NULL</code>, <code>pObjectName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkSetDebugUtilsObjectTagEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkSetDebugUtilsObjectTagEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkSetDebugUtilsObjectTagEXT-pTagInfo-parameter",
+ "text": " <code>pTagInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsObjectTagInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkDebugUtilsObjectTagInfoEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectType-01908",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_OBJECT_TYPE_UNKNOWN</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectHandle-01909",
+ "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectHandle-01910",
+ "text": " <code>objectHandle</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in <a href=\"#debugging-object-types\">VkObjectType and Vulkan Handle Relationship</a>."
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-objectType-parameter",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkObjectType\">VkObjectType</a> value"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-pTag-parameter",
+ "text": " <code>pTag</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>tagSize</code> bytes"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsObjectTagInfoEXT-tagSize-arraylength",
+ "text": " <code>tagSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkQueueBeginDebugUtilsLabelEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkQueueBeginDebugUtilsLabelEXT-queue-parameter",
+ "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"
+ },
+ {
+ "vuid": "VUID-vkQueueBeginDebugUtilsLabelEXT-pLabelInfo-parameter",
+ "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"
+ }
+ ]
+ },
+ "VkDebugUtilsLabelEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-VkDebugUtilsLabelEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsLabelEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsLabelEXT-pLabelName-parameter",
+ "text": " <code>pLabelName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkQueueEndDebugUtilsLabelEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkQueueEndDebugUtilsLabelEXT-None-01911",
+ "text": " There <strong class=\"purple\">must</strong> be an outstanding <code>vkQueueBeginDebugUtilsLabelEXT</code> command prior to the <code>vkQueueEndDebugUtilsLabelEXT</code> on the queue"
+ },
+ {
+ "vuid": "VUID-vkQueueEndDebugUtilsLabelEXT-queue-parameter",
+ "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"
+ }
+ ]
+ },
+ "vkQueueInsertDebugUtilsLabelEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkQueueInsertDebugUtilsLabelEXT-queue-parameter",
+ "text": " <code>queue</code> <strong class=\"purple\">must</strong> be a valid <code>VkQueue</code> handle"
+ },
+ {
+ "vuid": "VUID-vkQueueInsertDebugUtilsLabelEXT-pLabelInfo-parameter",
+ "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"
+ }
+ ]
+ },
+ "vkCmdBeginDebugUtilsLabelEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-pLabelInfo-parameter",
+ "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdBeginDebugUtilsLabelEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ }
+ ]
+ },
+ "vkCmdEndDebugUtilsLabelEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-01912",
+ "text": " There <strong class=\"purple\">must</strong> be an outstanding <code>vkCmdBeginDebugUtilsLabelEXT</code> command prior to the <code>vkCmdEndDebugUtilsLabelEXT</code> on the queue that <code>commandBuffer</code> is submitted to"
+ },
+ {
+ "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-01913",
+ "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> be an outstanding <code>vkCmdBeginDebugUtilsLabelEXT</code> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <code>vkCmdEndDebugUtilsLabelEXT</code>."
+ },
+ {
+ "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdEndDebugUtilsLabelEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ }
+ ]
+ },
+ "vkCmdInsertDebugUtilsLabelEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-pLabelInfo-parameter",
+ "text": " <code>pLabelInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsLabelEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdInsertDebugUtilsLabelEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ }
+ ]
+ },
+ "vkCreateDebugUtilsMessengerEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsMessengerCreateInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDebugUtilsMessengerEXT-pMessenger-parameter",
+ "text": " <code>pMessenger</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDebugUtilsMessengerEXT</code> handle"
+ }
+ ]
+ },
+ "VkDebugUtilsMessengerCreateInfoEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-pfnUserCallback-01914",
+ "text": " <code>pfnUserCallback</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#PFN_vkDebugUtilsMessengerCallbackEXT\">PFN_vkDebugUtilsMessengerCallbackEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageSeverity-parameter",
+ "text": " <code>messageSeverity</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugUtilsMessageSeverityFlagBitsEXT\">VkDebugUtilsMessageSeverityFlagBitsEXT</a> values"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageSeverity-requiredbitmask",
+ "text": " <code>messageSeverity</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageType-parameter",
+ "text": " <code>messageType</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugUtilsMessageTypeFlagBitsEXT\">VkDebugUtilsMessageTypeFlagBitsEXT</a> values"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCreateInfoEXT-messageType-requiredbitmask",
+ "text": " <code>messageType</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ }
+ ]
+ },
+ "VkDebugUtilsMessengerCallbackDataEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-flags-zerobitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-pMessageIdName-parameter",
+ "text": " If <code>pMessageIdName</code> is not <code>NULL</code>, <code>pMessageIdName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-pMessage-parameter",
+ "text": " <code>pMessage</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ },
+ {
+ "vuid": "VUID-VkDebugUtilsMessengerCallbackDataEXT-objectCount-arraylength",
+ "text": " <code>objectCount</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkSubmitDebugUtilsMessageEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-messageSeverity-parameter",
+ "text": " <code>messageSeverity</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugUtilsMessageSeverityFlagBitsEXT\">VkDebugUtilsMessageSeverityFlagBitsEXT</a> value"
+ },
+ {
+ "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-messageTypes-parameter",
+ "text": " <code>messageTypes</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugUtilsMessageTypeFlagBitsEXT\">VkDebugUtilsMessageTypeFlagBitsEXT</a> values"
+ },
+ {
+ "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-messageTypes-requiredbitmask",
+ "text": " <code>messageTypes</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkSubmitDebugUtilsMessageEXT-pCallbackData-parameter",
+ "text": " <code>pCallbackData</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugUtilsMessengerCallbackDataEXT</code> structure"
+ }
+ ]
+ },
+ "vkDestroyDebugUtilsMessengerEXT": {
+ "(VK_EXT_debug_utils)": [
+ {
+ "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-01915",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>messenger</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-01916",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>messenger</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-parameter",
+ "text": " <code>messenger</code> <strong class=\"purple\">must</strong> be a valid <code>VkDebugUtilsMessengerEXT</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugUtilsMessengerEXT-messenger-parent",
+ "text": " <code>messenger</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>instance</code>"
+ }
+ ]
+ },
+ "vkDebugMarkerSetObjectNameEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-vkDebugMarkerSetObjectNameEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDebugMarkerSetObjectNameEXT-pNameInfo-parameter",
+ "text": " <code>pNameInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerObjectNameInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkDebugMarkerObjectNameInfoEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-objectType-01490",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-object-01491",
+ "text": " <code>object</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-object-01492",
+ "text": " <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in <a href=\"#debug-report-object-types\">VkDebugReportObjectTypeEXT and Vulkan Handle Relationship</a>."
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-objectType-parameter",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugReportObjectTypeEXT\">VkDebugReportObjectTypeEXT</a> value"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectNameInfoEXT-pObjectName-parameter",
+ "text": " <code>pObjectName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkDebugMarkerSetObjectTagEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-vkDebugMarkerSetObjectTagEXT-device-parameter",
+ "text": " <code>device</code> <strong class=\"purple\">must</strong> be a valid <code>VkDevice</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDebugMarkerSetObjectTagEXT-pTagInfo-parameter",
+ "text": " <code>pTagInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerObjectTagInfoEXT</code> structure"
+ }
+ ]
+ },
+ "VkDebugMarkerObjectTagInfoEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-objectType-01493",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> not be <code>VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-object-01494",
+ "text": " <code>object</code> <strong class=\"purple\">must</strong> not be <a href=\"#VK_NULL_HANDLE\">VK_NULL_HANDLE</a>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-object-01495",
+ "text": " <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object of the type associated with <code>objectType</code> as defined in <a href=\"#debug-report-object-types\">VkDebugReportObjectTypeEXT and Vulkan Handle Relationship</a>."
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-objectType-parameter",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugReportObjectTypeEXT\">VkDebugReportObjectTypeEXT</a> value"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-pTag-parameter",
+ "text": " <code>pTag</code> <strong class=\"purple\">must</strong> be a valid pointer to an array of <code>tagSize</code> bytes"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerObjectTagInfoEXT-tagSize-arraylength",
+ "text": " <code>tagSize</code> <strong class=\"purple\">must</strong> be greater than <code>0</code>"
+ }
+ ]
+ },
+ "vkCmdDebugMarkerBeginEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-vkCmdDebugMarkerBeginEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerBeginEXT-pMarkerInfo-parameter",
+ "text": " <code>pMarkerInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerMarkerInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerBeginEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerBeginEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ }
+ ]
+ },
+ "VkDebugMarkerMarkerInfoEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-VkDebugMarkerMarkerInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerMarkerInfoEXT-pNext-pNext",
+ "text": " <code>pNext</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugMarkerMarkerInfoEXT-pMarkerName-parameter",
+ "text": " <code>pMarkerName</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkCmdDebugMarkerEndEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-01239",
+ "text": " There <strong class=\"purple\">must</strong> be an outstanding <a href=\"#vkCmdDebugMarkerBeginEXT\">vkCmdDebugMarkerBeginEXT</a> command prior to the <code>vkCmdDebugMarkerEndEXT</code> on the queue that <code>commandBuffer</code> is submitted to"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-01240",
+ "text": " If <code>commandBuffer</code> is a secondary command buffer, there <strong class=\"purple\">must</strong> be an outstanding <a href=\"#vkCmdDebugMarkerBeginEXT\">vkCmdDebugMarkerBeginEXT</a> command recorded to <code>commandBuffer</code> that has not previously been ended by a call to <a href=\"#vkCmdDebugMarkerEndEXT\">vkCmdDebugMarkerEndEXT</a>."
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerEndEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ }
+ ]
+ },
+ "vkCmdDebugMarkerInsertEXT": {
+ "(VK_EXT_debug_marker)": [
+ {
+ "vuid": "VUID-vkCmdDebugMarkerInsertEXT-commandBuffer-parameter",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be a valid <code>VkCommandBuffer</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerInsertEXT-pMarkerInfo-parameter",
+ "text": " <code>pMarkerInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugMarkerMarkerInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerInsertEXT-commandBuffer-recording",
+ "text": " <code>commandBuffer</code> <strong class=\"purple\">must</strong> be in the <a href=\"#commandbuffers-lifecycle\">recording state</a>"
+ },
+ {
+ "vuid": "VUID-vkCmdDebugMarkerInsertEXT-commandBuffer-cmdpool",
+ "text": " The <code>VkCommandPool</code> that <code>commandBuffer</code> was allocated from <strong class=\"purple\">must</strong> support graphics, or compute operations"
+ }
+ ]
+ },
+ "vkCreateDebugReportCallbackEXT": {
+ "(VK_EXT_debug_report)": [
+ {
+ "vuid": "VUID-vkCreateDebugReportCallbackEXT-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkCreateDebugReportCallbackEXT-pCreateInfo-parameter",
+ "text": " <code>pCreateInfo</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkDebugReportCallbackCreateInfoEXT</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDebugReportCallbackEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkCreateDebugReportCallbackEXT-pCallback-parameter",
+ "text": " <code>pCallback</code> <strong class=\"purple\">must</strong> be a valid pointer to a <code>VkDebugReportCallbackEXT</code> handle"
+ }
+ ]
+ },
+ "VkDebugReportCallbackCreateInfoEXT": {
+ "(VK_EXT_debug_report)": [
+ {
+ "vuid": "VUID-VkDebugReportCallbackCreateInfoEXT-pfnCallback-01385",
+ "text": " <code>pfnCallback</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#PFN_vkDebugReportCallbackEXT\">PFN_vkDebugReportCallbackEXT</a>"
+ },
+ {
+ "vuid": "VUID-VkDebugReportCallbackCreateInfoEXT-sType-sType",
+ "text": " <code>sType</code> <strong class=\"purple\">must</strong> be <code>VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT</code>"
+ },
+ {
+ "vuid": "VUID-VkDebugReportCallbackCreateInfoEXT-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugReportFlagBitsEXT\">VkDebugReportFlagBitsEXT</a> values"
+ }
+ ]
+ },
+ "vkDebugReportMessageEXT": {
+ "(VK_EXT_debug_report)": [
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-object-01241",
+ "text": " <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object or <code>VK_NULL_HANDLE</code>"
+ },
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-objectType-01498",
+ "text": " If <code>objectType</code> is not <code>VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT</code> and <code>object</code> is not <code>VK_NULL_HANDLE</code>, <code>object</code> <strong class=\"purple\">must</strong> be a Vulkan object of the corresponding type associated with <code>objectType</code> as defined in <a href=\"#debug-report-object-types\">VkDebugReportObjectTypeEXT and Vulkan Handle Relationship</a>."
+ },
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-flags-parameter",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> be a valid combination of <a href=\"#VkDebugReportFlagBitsEXT\">VkDebugReportFlagBitsEXT</a> values"
+ },
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-flags-requiredbitmask",
+ "text": " <code>flags</code> <strong class=\"purple\">must</strong> not be <code>0</code>"
+ },
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-objectType-parameter",
+ "text": " <code>objectType</code> <strong class=\"purple\">must</strong> be a valid <a href=\"#VkDebugReportObjectTypeEXT\">VkDebugReportObjectTypeEXT</a> value"
+ },
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-pLayerPrefix-parameter",
+ "text": " <code>pLayerPrefix</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ },
+ {
+ "vuid": "VUID-vkDebugReportMessageEXT-pMessage-parameter",
+ "text": " <code>pMessage</code> <strong class=\"purple\">must</strong> be a null-terminated UTF-8 string"
+ }
+ ]
+ },
+ "vkDestroyDebugReportCallbackEXT": {
+ "(VK_EXT_debug_report)": [
+ {
+ "vuid": "VUID-vkDestroyDebugReportCallbackEXT-instance-01242",
+ "text": " If <code>VkAllocationCallbacks</code> were provided when <code>callback</code> was created, a compatible set of callbacks <strong class=\"purple\">must</strong> be provided here"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugReportCallbackEXT-instance-01243",
+ "text": " If no <code>VkAllocationCallbacks</code> were provided when <code>callback</code> was created, <code>pAllocator</code> <strong class=\"purple\">must</strong> be <code>NULL</code>"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugReportCallbackEXT-instance-parameter",
+ "text": " <code>instance</code> <strong class=\"purple\">must</strong> be a valid <code>VkInstance</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugReportCallbackEXT-callback-parameter",
+ "text": " <code>callback</code> <strong class=\"purple\">must</strong> be a valid <code>VkDebugReportCallbackEXT</code> handle"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugReportCallbackEXT-pAllocator-parameter",
+ "text": " If <code>pAllocator</code> is not <code>NULL</code>, <code>pAllocator</code> <strong class=\"purple\">must</strong> be a valid pointer to a valid <code>VkAllocationCallbacks</code> structure"
+ },
+ {
+ "vuid": "VUID-vkDestroyDebugReportCallbackEXT-callback-parent",
+ "text": " <code>callback</code> <strong class=\"purple\">must</strong> have been created, allocated, or retrieved from <code>instance</code>"
+ }
+ ]
+ }
+ }
}
\ No newline at end of file