Further update after fix in Vulkan-Hpp repository
This commit is contained in:
parent
a1c3885d4e
commit
a01329f307
1 changed files with 12 additions and 30 deletions
|
|
@ -36158,15 +36158,18 @@ namespace VULKAN_HPP_NAMESPACE
|
||||||
#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||||
|
|
||||||
# if defined( _MSC_VER )
|
# if defined( _MSC_VER )
|
||||||
// no need to ignore this warning with MSVC
|
# pragma warning( push )
|
||||||
|
# pragma warning( disable : 4996 ) // 'function': was declared deprecated
|
||||||
# elif defined( __clang__ )
|
# elif defined( __clang__ )
|
||||||
// no need to ignore this warning with clang
|
# pragma clang diagnostic push
|
||||||
|
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||||
# elif defined( __GNUC__ )
|
# elif defined( __GNUC__ )
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||||
# else
|
# else
|
||||||
// unknown compiler... just ignore the warnings for yourselves ;)
|
// unknown compiler... just ignore the warnings for yourselves ;)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
VULKAN_HPP_CONSTEXPR_17 DeviceCreateInfo( DeviceCreateFlags flags_ = {},
|
VULKAN_HPP_CONSTEXPR_17 DeviceCreateInfo( DeviceCreateFlags flags_ = {},
|
||||||
uint32_t queueCreateInfoCount_ = {},
|
uint32_t queueCreateInfoCount_ = {},
|
||||||
const DeviceQueueCreateInfo * pQueueCreateInfos_ = {},
|
const DeviceQueueCreateInfo * pQueueCreateInfos_ = {},
|
||||||
|
|
@ -36180,24 +36183,15 @@ namespace VULKAN_HPP_NAMESPACE
|
||||||
, flags{ flags_ }
|
, flags{ flags_ }
|
||||||
, queueCreateInfoCount{ queueCreateInfoCount_ }
|
, queueCreateInfoCount{ queueCreateInfoCount_ }
|
||||||
, pQueueCreateInfos{ pQueueCreateInfos_ }
|
, pQueueCreateInfos{ pQueueCreateInfos_ }
|
||||||
|
, enabledLayerCount{ enabledLayerCount_ }
|
||||||
|
, ppEnabledLayerNames{ ppEnabledLayerNames_ }
|
||||||
, enabledExtensionCount{ enabledExtensionCount_ }
|
, enabledExtensionCount{ enabledExtensionCount_ }
|
||||||
, ppEnabledExtensionNames{ ppEnabledExtensionNames_ }
|
, ppEnabledExtensionNames{ ppEnabledExtensionNames_ }
|
||||||
, pEnabledFeatures{ pEnabledFeatures_ }
|
, pEnabledFeatures{ pEnabledFeatures_ }
|
||||||
{
|
{
|
||||||
detail::ignore( enabledLayerCount_ );
|
|
||||||
detail::ignore( ppEnabledLayerNames_ );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
VULKAN_HPP_CONSTEXPR_17 DeviceCreateInfo( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
VULKAN_HPP_CONSTEXPR_17 DeviceCreateInfo( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||||
: pNext{ rhs.pNext }
|
|
||||||
, flags{ rhs.flags }
|
|
||||||
, queueCreateInfoCount{ rhs.queueCreateInfoCount }
|
|
||||||
, pQueueCreateInfos{ rhs.pQueueCreateInfos }
|
|
||||||
, enabledExtensionCount{ rhs.enabledExtensionCount }
|
|
||||||
, ppEnabledExtensionNames{ rhs.ppEnabledExtensionNames }
|
|
||||||
, pEnabledFeatures{ rhs.pEnabledFeatures }
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
DeviceCreateInfo( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT : DeviceCreateInfo( *reinterpret_cast<DeviceCreateInfo const *>( &rhs ) ) {}
|
DeviceCreateInfo( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT : DeviceCreateInfo( *reinterpret_cast<DeviceCreateInfo const *>( &rhs ) ) {}
|
||||||
|
|
||||||
|
|
@ -36220,30 +36214,18 @@ namespace VULKAN_HPP_NAMESPACE
|
||||||
}
|
}
|
||||||
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
# endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||||
|
|
||||||
|
DeviceCreateInfo & operator=( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||||
|
|
||||||
# if defined( _MSC_VER )
|
# if defined( _MSC_VER )
|
||||||
// no need to ignore this warning with MSVC
|
# pragma warning( pop )
|
||||||
# elif defined( __clang__ )
|
# elif defined( __clang__ )
|
||||||
// no need to ignore this warning with clang
|
# pragma clang diagnostic pop
|
||||||
# elif defined( __GNUC__ )
|
# elif defined( __GNUC__ )
|
||||||
# pragma GCC diagnostic pop
|
# pragma GCC diagnostic pop
|
||||||
# else
|
# else
|
||||||
// unknown compiler... just ignore the warnings for yourselves ;)
|
// unknown compiler... just ignore the warnings for yourselves ;)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
DeviceCreateInfo & operator=( DeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
|
||||||
{
|
|
||||||
if ( this != &rhs )
|
|
||||||
{
|
|
||||||
pNext = rhs.pNext;
|
|
||||||
flags = rhs.flags;
|
|
||||||
queueCreateInfoCount = rhs.queueCreateInfoCount;
|
|
||||||
pQueueCreateInfos = rhs.pQueueCreateInfos;
|
|
||||||
enabledExtensionCount = rhs.enabledExtensionCount;
|
|
||||||
ppEnabledExtensionNames = rhs.ppEnabledExtensionNames;
|
|
||||||
pEnabledFeatures = rhs.pEnabledFeatures;
|
|
||||||
}
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/
|
#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/
|
||||||
|
|
||||||
DeviceCreateInfo & operator=( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
DeviceCreateInfo & operator=( VkDeviceCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue