mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix construction of multiple flags in to_string() functions. (#293)
Fix construction of multiple flags in to_string() functions based on Wunkolos proposal.
This commit is contained in:
parent
efe676ab66
commit
018ebdd87f
@ -660,24 +660,19 @@ void writeBitmaskToStringFunction(std::ostream & os, std::string const& bitmaskN
|
|||||||
{
|
{
|
||||||
// 'or' together all the bits in the value
|
// 'or' together all the bits in the value
|
||||||
static const std::string caseTemplate = R"(
|
static const std::string caseTemplate = R"(
|
||||||
if ( value & ${typeName}::${value} ) result += "${valueString})";
|
if ( value & ${typeName}::${value} ) result += "${valueString} | ";)";
|
||||||
|
|
||||||
std::string casesString;
|
std::string casesString;
|
||||||
for (auto const& value : enumValues)
|
for (auto const& value : enumValues)
|
||||||
{
|
{
|
||||||
if (!casesString.empty())
|
|
||||||
{
|
|
||||||
casesString += " | \";";
|
|
||||||
}
|
|
||||||
casesString += replaceWithMap(caseTemplate, { { "typeName", enumName },{ "value", value.second },{ "valueString", value.second.substr(1) } });
|
casesString += replaceWithMap(caseTemplate, { { "typeName", enumName },{ "value", value.second },{ "valueString", value.second.substr(1) } });
|
||||||
}
|
}
|
||||||
casesString += "\";";
|
|
||||||
|
|
||||||
static const std::string bodyTemplate = R"(
|
static const std::string bodyTemplate = R"(
|
||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
${cases}
|
${cases}
|
||||||
return result;)";
|
return "{ " + result.substr(0, result.size() - 3) + " }";)";
|
||||||
functionBody = replaceWithMap(bodyTemplate, { { "cases", casesString } });
|
functionBody = replaceWithMap(bodyTemplate, { { "cases", casesString } });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5652,8 +5652,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & AccessFlagBits::eShadingRateImageReadNV ) result += "ShadingRateImageReadNV | ";
|
if ( value & AccessFlagBits::eShadingRateImageReadNV ) result += "ShadingRateImageReadNV | ";
|
||||||
if ( value & AccessFlagBits::eAccelerationStructureReadNV ) result += "AccelerationStructureReadNV | ";
|
if ( value & AccessFlagBits::eAccelerationStructureReadNV ) result += "AccelerationStructureReadNV | ";
|
||||||
if ( value & AccessFlagBits::eAccelerationStructureWriteNV ) result += "AccelerationStructureWriteNV | ";
|
if ( value & AccessFlagBits::eAccelerationStructureWriteNV ) result += "AccelerationStructureWriteNV | ";
|
||||||
if ( value & AccessFlagBits::eFragmentDensityMapReadEXT ) result += "FragmentDensityMapReadEXT";
|
if ( value & AccessFlagBits::eFragmentDensityMapReadEXT ) result += "FragmentDensityMapReadEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
#ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||||
@ -5712,8 +5712,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & AttachmentDescriptionFlagBits::eMayAlias ) result += "MayAlias";
|
if ( value & AttachmentDescriptionFlagBits::eMayAlias ) result += "MayAlias | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class BufferCreateFlagBits
|
enum class BufferCreateFlagBits
|
||||||
@ -5767,8 +5767,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & BufferCreateFlagBits::eSparseResidency ) result += "SparseResidency | ";
|
if ( value & BufferCreateFlagBits::eSparseResidency ) result += "SparseResidency | ";
|
||||||
if ( value & BufferCreateFlagBits::eSparseAliased ) result += "SparseAliased | ";
|
if ( value & BufferCreateFlagBits::eSparseAliased ) result += "SparseAliased | ";
|
||||||
if ( value & BufferCreateFlagBits::eProtected ) result += "Protected | ";
|
if ( value & BufferCreateFlagBits::eProtected ) result += "Protected | ";
|
||||||
if ( value & BufferCreateFlagBits::eDeviceAddressCaptureReplayEXT ) result += "DeviceAddressCaptureReplayEXT";
|
if ( value & BufferCreateFlagBits::eDeviceAddressCaptureReplayEXT ) result += "DeviceAddressCaptureReplayEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class BufferUsageFlagBits
|
enum class BufferUsageFlagBits
|
||||||
@ -5849,8 +5849,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT ) result += "TransformFeedbackCounterBufferEXT | ";
|
if ( value & BufferUsageFlagBits::eTransformFeedbackCounterBufferEXT ) result += "TransformFeedbackCounterBufferEXT | ";
|
||||||
if ( value & BufferUsageFlagBits::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | ";
|
if ( value & BufferUsageFlagBits::eConditionalRenderingEXT ) result += "ConditionalRenderingEXT | ";
|
||||||
if ( value & BufferUsageFlagBits::eRayTracingNV ) result += "RayTracingNV | ";
|
if ( value & BufferUsageFlagBits::eRayTracingNV ) result += "RayTracingNV | ";
|
||||||
if ( value & BufferUsageFlagBits::eShaderDeviceAddressEXT ) result += "ShaderDeviceAddressEXT";
|
if ( value & BufferUsageFlagBits::eShaderDeviceAddressEXT ) result += "ShaderDeviceAddressEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class BufferViewCreateFlagBits
|
enum class BufferViewCreateFlagBits
|
||||||
@ -5919,8 +5919,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & BuildAccelerationStructureFlagBitsNV::eAllowCompaction ) result += "AllowCompaction | ";
|
if ( value & BuildAccelerationStructureFlagBitsNV::eAllowCompaction ) result += "AllowCompaction | ";
|
||||||
if ( value & BuildAccelerationStructureFlagBitsNV::ePreferFastTrace ) result += "PreferFastTrace | ";
|
if ( value & BuildAccelerationStructureFlagBitsNV::ePreferFastTrace ) result += "PreferFastTrace | ";
|
||||||
if ( value & BuildAccelerationStructureFlagBitsNV::ePreferFastBuild ) result += "PreferFastBuild | ";
|
if ( value & BuildAccelerationStructureFlagBitsNV::ePreferFastBuild ) result += "PreferFastBuild | ";
|
||||||
if ( value & BuildAccelerationStructureFlagBitsNV::eLowMemory ) result += "LowMemory";
|
if ( value & BuildAccelerationStructureFlagBitsNV::eLowMemory ) result += "LowMemory | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ColorComponentFlagBits
|
enum class ColorComponentFlagBits
|
||||||
@ -5971,8 +5971,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ColorComponentFlagBits::eR ) result += "R | ";
|
if ( value & ColorComponentFlagBits::eR ) result += "R | ";
|
||||||
if ( value & ColorComponentFlagBits::eG ) result += "G | ";
|
if ( value & ColorComponentFlagBits::eG ) result += "G | ";
|
||||||
if ( value & ColorComponentFlagBits::eB ) result += "B | ";
|
if ( value & ColorComponentFlagBits::eB ) result += "B | ";
|
||||||
if ( value & ColorComponentFlagBits::eA ) result += "A";
|
if ( value & ColorComponentFlagBits::eA ) result += "A | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class CommandBufferResetFlagBits
|
enum class CommandBufferResetFlagBits
|
||||||
@ -6014,8 +6014,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & CommandBufferResetFlagBits::eReleaseResources ) result += "ReleaseResources";
|
if ( value & CommandBufferResetFlagBits::eReleaseResources ) result += "ReleaseResources | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class CommandBufferUsageFlagBits
|
enum class CommandBufferUsageFlagBits
|
||||||
@ -6063,8 +6063,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & CommandBufferUsageFlagBits::eOneTimeSubmit ) result += "OneTimeSubmit | ";
|
if ( value & CommandBufferUsageFlagBits::eOneTimeSubmit ) result += "OneTimeSubmit | ";
|
||||||
if ( value & CommandBufferUsageFlagBits::eRenderPassContinue ) result += "RenderPassContinue | ";
|
if ( value & CommandBufferUsageFlagBits::eRenderPassContinue ) result += "RenderPassContinue | ";
|
||||||
if ( value & CommandBufferUsageFlagBits::eSimultaneousUse ) result += "SimultaneousUse";
|
if ( value & CommandBufferUsageFlagBits::eSimultaneousUse ) result += "SimultaneousUse | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class CommandPoolCreateFlagBits
|
enum class CommandPoolCreateFlagBits
|
||||||
@ -6112,8 +6112,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & CommandPoolCreateFlagBits::eTransient ) result += "Transient | ";
|
if ( value & CommandPoolCreateFlagBits::eTransient ) result += "Transient | ";
|
||||||
if ( value & CommandPoolCreateFlagBits::eResetCommandBuffer ) result += "ResetCommandBuffer | ";
|
if ( value & CommandPoolCreateFlagBits::eResetCommandBuffer ) result += "ResetCommandBuffer | ";
|
||||||
if ( value & CommandPoolCreateFlagBits::eProtected ) result += "Protected";
|
if ( value & CommandPoolCreateFlagBits::eProtected ) result += "Protected | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class CommandPoolResetFlagBits
|
enum class CommandPoolResetFlagBits
|
||||||
@ -6155,8 +6155,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & CommandPoolResetFlagBits::eReleaseResources ) result += "ReleaseResources";
|
if ( value & CommandPoolResetFlagBits::eReleaseResources ) result += "ReleaseResources | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class CommandPoolTrimFlagBits
|
enum class CommandPoolTrimFlagBits
|
||||||
@ -6224,8 +6224,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & CompositeAlphaFlagBitsKHR::eOpaque ) result += "Opaque | ";
|
if ( value & CompositeAlphaFlagBitsKHR::eOpaque ) result += "Opaque | ";
|
||||||
if ( value & CompositeAlphaFlagBitsKHR::ePreMultiplied ) result += "PreMultiplied | ";
|
if ( value & CompositeAlphaFlagBitsKHR::ePreMultiplied ) result += "PreMultiplied | ";
|
||||||
if ( value & CompositeAlphaFlagBitsKHR::ePostMultiplied ) result += "PostMultiplied | ";
|
if ( value & CompositeAlphaFlagBitsKHR::ePostMultiplied ) result += "PostMultiplied | ";
|
||||||
if ( value & CompositeAlphaFlagBitsKHR::eInherit ) result += "Inherit";
|
if ( value & CompositeAlphaFlagBitsKHR::eInherit ) result += "Inherit | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ConditionalRenderingFlagBitsEXT
|
enum class ConditionalRenderingFlagBitsEXT
|
||||||
@ -6267,8 +6267,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & ConditionalRenderingFlagBitsEXT::eInverted ) result += "Inverted";
|
if ( value & ConditionalRenderingFlagBitsEXT::eInverted ) result += "Inverted | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class CullModeFlagBits
|
enum class CullModeFlagBits
|
||||||
@ -6319,8 +6319,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & CullModeFlagBits::eNone ) result += "None | ";
|
if ( value & CullModeFlagBits::eNone ) result += "None | ";
|
||||||
if ( value & CullModeFlagBits::eFront ) result += "Front | ";
|
if ( value & CullModeFlagBits::eFront ) result += "Front | ";
|
||||||
if ( value & CullModeFlagBits::eBack ) result += "Back | ";
|
if ( value & CullModeFlagBits::eBack ) result += "Back | ";
|
||||||
if ( value & CullModeFlagBits::eFrontAndBack ) result += "FrontAndBack";
|
if ( value & CullModeFlagBits::eFrontAndBack ) result += "FrontAndBack | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DebugReportFlagBitsEXT
|
enum class DebugReportFlagBitsEXT
|
||||||
@ -6374,8 +6374,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & DebugReportFlagBitsEXT::eWarning ) result += "Warning | ";
|
if ( value & DebugReportFlagBitsEXT::eWarning ) result += "Warning | ";
|
||||||
if ( value & DebugReportFlagBitsEXT::ePerformanceWarning ) result += "PerformanceWarning | ";
|
if ( value & DebugReportFlagBitsEXT::ePerformanceWarning ) result += "PerformanceWarning | ";
|
||||||
if ( value & DebugReportFlagBitsEXT::eError ) result += "Error | ";
|
if ( value & DebugReportFlagBitsEXT::eError ) result += "Error | ";
|
||||||
if ( value & DebugReportFlagBitsEXT::eDebug ) result += "Debug";
|
if ( value & DebugReportFlagBitsEXT::eDebug ) result += "Debug | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DebugUtilsMessageSeverityFlagBitsEXT
|
enum class DebugUtilsMessageSeverityFlagBitsEXT
|
||||||
@ -6426,8 +6426,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eVerbose ) result += "Verbose | ";
|
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eVerbose ) result += "Verbose | ";
|
||||||
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eInfo ) result += "Info | ";
|
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eInfo ) result += "Info | ";
|
||||||
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eWarning ) result += "Warning | ";
|
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eWarning ) result += "Warning | ";
|
||||||
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eError ) result += "Error";
|
if ( value & DebugUtilsMessageSeverityFlagBitsEXT::eError ) result += "Error | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DebugUtilsMessageTypeFlagBitsEXT
|
enum class DebugUtilsMessageTypeFlagBitsEXT
|
||||||
@ -6475,8 +6475,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & DebugUtilsMessageTypeFlagBitsEXT::eGeneral ) result += "General | ";
|
if ( value & DebugUtilsMessageTypeFlagBitsEXT::eGeneral ) result += "General | ";
|
||||||
if ( value & DebugUtilsMessageTypeFlagBitsEXT::eValidation ) result += "Validation | ";
|
if ( value & DebugUtilsMessageTypeFlagBitsEXT::eValidation ) result += "Validation | ";
|
||||||
if ( value & DebugUtilsMessageTypeFlagBitsEXT::ePerformance ) result += "Performance";
|
if ( value & DebugUtilsMessageTypeFlagBitsEXT::ePerformance ) result += "Performance | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DebugUtilsMessengerCallbackDataFlagBitsEXT
|
enum class DebugUtilsMessengerCallbackDataFlagBitsEXT
|
||||||
@ -6556,8 +6556,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & DependencyFlagBits::eByRegion ) result += "ByRegion | ";
|
if ( value & DependencyFlagBits::eByRegion ) result += "ByRegion | ";
|
||||||
if ( value & DependencyFlagBits::eDeviceGroup ) result += "DeviceGroup | ";
|
if ( value & DependencyFlagBits::eDeviceGroup ) result += "DeviceGroup | ";
|
||||||
if ( value & DependencyFlagBits::eViewLocal ) result += "ViewLocal";
|
if ( value & DependencyFlagBits::eViewLocal ) result += "ViewLocal | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DescriptorBindingFlagBitsEXT
|
enum class DescriptorBindingFlagBitsEXT
|
||||||
@ -6608,8 +6608,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & DescriptorBindingFlagBitsEXT::eUpdateAfterBind ) result += "UpdateAfterBind | ";
|
if ( value & DescriptorBindingFlagBitsEXT::eUpdateAfterBind ) result += "UpdateAfterBind | ";
|
||||||
if ( value & DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending ) result += "UpdateUnusedWhilePending | ";
|
if ( value & DescriptorBindingFlagBitsEXT::eUpdateUnusedWhilePending ) result += "UpdateUnusedWhilePending | ";
|
||||||
if ( value & DescriptorBindingFlagBitsEXT::ePartiallyBound ) result += "PartiallyBound | ";
|
if ( value & DescriptorBindingFlagBitsEXT::ePartiallyBound ) result += "PartiallyBound | ";
|
||||||
if ( value & DescriptorBindingFlagBitsEXT::eVariableDescriptorCount ) result += "VariableDescriptorCount";
|
if ( value & DescriptorBindingFlagBitsEXT::eVariableDescriptorCount ) result += "VariableDescriptorCount | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DescriptorPoolCreateFlagBits
|
enum class DescriptorPoolCreateFlagBits
|
||||||
@ -6654,8 +6654,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & DescriptorPoolCreateFlagBits::eFreeDescriptorSet ) result += "FreeDescriptorSet | ";
|
if ( value & DescriptorPoolCreateFlagBits::eFreeDescriptorSet ) result += "FreeDescriptorSet | ";
|
||||||
if ( value & DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT ) result += "UpdateAfterBindEXT";
|
if ( value & DescriptorPoolCreateFlagBits::eUpdateAfterBindEXT ) result += "UpdateAfterBindEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DescriptorPoolResetFlagBits
|
enum class DescriptorPoolResetFlagBits
|
||||||
@ -6715,8 +6715,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR ) result += "PushDescriptorKHR | ";
|
if ( value & DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR ) result += "PushDescriptorKHR | ";
|
||||||
if ( value & DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT ) result += "UpdateAfterBindPoolEXT";
|
if ( value & DescriptorSetLayoutCreateFlagBits::eUpdateAfterBindPoolEXT ) result += "UpdateAfterBindPoolEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DescriptorUpdateTemplateCreateFlagBits
|
enum class DescriptorUpdateTemplateCreateFlagBits
|
||||||
@ -6799,8 +6799,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocal ) result += "Local | ";
|
if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocal ) result += "Local | ";
|
||||||
if ( value & DeviceGroupPresentModeFlagBitsKHR::eRemote ) result += "Remote | ";
|
if ( value & DeviceGroupPresentModeFlagBitsKHR::eRemote ) result += "Remote | ";
|
||||||
if ( value & DeviceGroupPresentModeFlagBitsKHR::eSum ) result += "Sum | ";
|
if ( value & DeviceGroupPresentModeFlagBitsKHR::eSum ) result += "Sum | ";
|
||||||
if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice ) result += "LocalMultiDevice";
|
if ( value & DeviceGroupPresentModeFlagBitsKHR::eLocalMultiDevice ) result += "LocalMultiDevice | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DeviceQueueCreateFlagBits
|
enum class DeviceQueueCreateFlagBits
|
||||||
@ -6842,8 +6842,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & DeviceQueueCreateFlagBits::eProtected ) result += "Protected";
|
if ( value & DeviceQueueCreateFlagBits::eProtected ) result += "Protected | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DisplayModeCreateFlagBitsKHR
|
enum class DisplayModeCreateFlagBitsKHR
|
||||||
@ -6909,8 +6909,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & DisplayPlaneAlphaFlagBitsKHR::eOpaque ) result += "Opaque | ";
|
if ( value & DisplayPlaneAlphaFlagBitsKHR::eOpaque ) result += "Opaque | ";
|
||||||
if ( value & DisplayPlaneAlphaFlagBitsKHR::eGlobal ) result += "Global | ";
|
if ( value & DisplayPlaneAlphaFlagBitsKHR::eGlobal ) result += "Global | ";
|
||||||
if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixel ) result += "PerPixel | ";
|
if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixel ) result += "PerPixel | ";
|
||||||
if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied ) result += "PerPixelPremultiplied";
|
if ( value & DisplayPlaneAlphaFlagBitsKHR::ePerPixelPremultiplied ) result += "PerPixelPremultiplied | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class DisplaySurfaceCreateFlagBitsKHR
|
enum class DisplaySurfaceCreateFlagBitsKHR
|
||||||
@ -6989,8 +6989,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & ExternalFenceFeatureFlagBits::eExportable ) result += "Exportable | ";
|
if ( value & ExternalFenceFeatureFlagBits::eExportable ) result += "Exportable | ";
|
||||||
if ( value & ExternalFenceFeatureFlagBits::eImportable ) result += "Importable";
|
if ( value & ExternalFenceFeatureFlagBits::eImportable ) result += "Importable | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ExternalFenceHandleTypeFlagBits
|
enum class ExternalFenceHandleTypeFlagBits
|
||||||
@ -7047,8 +7047,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | ";
|
if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueFd ) result += "OpaqueFd | ";
|
||||||
if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | ";
|
if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | ";
|
||||||
if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | ";
|
if ( value & ExternalFenceHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | ";
|
||||||
if ( value & ExternalFenceHandleTypeFlagBits::eSyncFd ) result += "SyncFd";
|
if ( value & ExternalFenceHandleTypeFlagBits::eSyncFd ) result += "SyncFd | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ExternalMemoryFeatureFlagBits
|
enum class ExternalMemoryFeatureFlagBits
|
||||||
@ -7101,8 +7101,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & ExternalMemoryFeatureFlagBits::eDedicatedOnly ) result += "DedicatedOnly | ";
|
if ( value & ExternalMemoryFeatureFlagBits::eDedicatedOnly ) result += "DedicatedOnly | ";
|
||||||
if ( value & ExternalMemoryFeatureFlagBits::eExportable ) result += "Exportable | ";
|
if ( value & ExternalMemoryFeatureFlagBits::eExportable ) result += "Exportable | ";
|
||||||
if ( value & ExternalMemoryFeatureFlagBits::eImportable ) result += "Importable";
|
if ( value & ExternalMemoryFeatureFlagBits::eImportable ) result += "Importable | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ExternalMemoryFeatureFlagBitsNV
|
enum class ExternalMemoryFeatureFlagBitsNV
|
||||||
@ -7150,8 +7150,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly ) result += "DedicatedOnly | ";
|
if ( value & ExternalMemoryFeatureFlagBitsNV::eDedicatedOnly ) result += "DedicatedOnly | ";
|
||||||
if ( value & ExternalMemoryFeatureFlagBitsNV::eExportable ) result += "Exportable | ";
|
if ( value & ExternalMemoryFeatureFlagBitsNV::eExportable ) result += "Exportable | ";
|
||||||
if ( value & ExternalMemoryFeatureFlagBitsNV::eImportable ) result += "Importable";
|
if ( value & ExternalMemoryFeatureFlagBitsNV::eImportable ) result += "Importable | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ExternalMemoryHandleTypeFlagBits
|
enum class ExternalMemoryHandleTypeFlagBits
|
||||||
@ -7232,8 +7232,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ExternalMemoryHandleTypeFlagBits::eDmaBufEXT ) result += "DmaBufEXT | ";
|
if ( value & ExternalMemoryHandleTypeFlagBits::eDmaBufEXT ) result += "DmaBufEXT | ";
|
||||||
if ( value & ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID ) result += "AndroidHardwareBufferANDROID | ";
|
if ( value & ExternalMemoryHandleTypeFlagBits::eAndroidHardwareBufferANDROID ) result += "AndroidHardwareBufferANDROID | ";
|
||||||
if ( value & ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT ) result += "HostAllocationEXT | ";
|
if ( value & ExternalMemoryHandleTypeFlagBits::eHostAllocationEXT ) result += "HostAllocationEXT | ";
|
||||||
if ( value & ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT ) result += "HostMappedForeignMemoryEXT";
|
if ( value & ExternalMemoryHandleTypeFlagBits::eHostMappedForeignMemoryEXT ) result += "HostMappedForeignMemoryEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ExternalMemoryHandleTypeFlagBitsNV
|
enum class ExternalMemoryHandleTypeFlagBitsNV
|
||||||
@ -7284,8 +7284,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 ) result += "OpaqueWin32 | ";
|
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32 ) result += "OpaqueWin32 | ";
|
||||||
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | ";
|
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | ";
|
||||||
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image ) result += "D3D11Image | ";
|
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11Image ) result += "D3D11Image | ";
|
||||||
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt ) result += "D3D11ImageKmt";
|
if ( value & ExternalMemoryHandleTypeFlagBitsNV::eD3D11ImageKmt ) result += "D3D11ImageKmt | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ExternalSemaphoreFeatureFlagBits
|
enum class ExternalSemaphoreFeatureFlagBits
|
||||||
@ -7334,8 +7334,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & ExternalSemaphoreFeatureFlagBits::eExportable ) result += "Exportable | ";
|
if ( value & ExternalSemaphoreFeatureFlagBits::eExportable ) result += "Exportable | ";
|
||||||
if ( value & ExternalSemaphoreFeatureFlagBits::eImportable ) result += "Importable";
|
if ( value & ExternalSemaphoreFeatureFlagBits::eImportable ) result += "Importable | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ExternalSemaphoreHandleTypeFlagBits
|
enum class ExternalSemaphoreHandleTypeFlagBits
|
||||||
@ -7396,8 +7396,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | ";
|
if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32 ) result += "OpaqueWin32 | ";
|
||||||
if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | ";
|
if ( value & ExternalSemaphoreHandleTypeFlagBits::eOpaqueWin32Kmt ) result += "OpaqueWin32Kmt | ";
|
||||||
if ( value & ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence ) result += "D3D12Fence | ";
|
if ( value & ExternalSemaphoreHandleTypeFlagBits::eD3D12Fence ) result += "D3D12Fence | ";
|
||||||
if ( value & ExternalSemaphoreHandleTypeFlagBits::eSyncFd ) result += "SyncFd";
|
if ( value & ExternalSemaphoreHandleTypeFlagBits::eSyncFd ) result += "SyncFd | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class FenceCreateFlagBits
|
enum class FenceCreateFlagBits
|
||||||
@ -7439,8 +7439,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & FenceCreateFlagBits::eSignaled ) result += "Signaled";
|
if ( value & FenceCreateFlagBits::eSignaled ) result += "Signaled | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class FenceImportFlagBits
|
enum class FenceImportFlagBits
|
||||||
@ -7485,8 +7485,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & FenceImportFlagBits::eTemporary ) result += "Temporary";
|
if ( value & FenceImportFlagBits::eTemporary ) result += "Temporary | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class FormatFeatureFlagBits
|
enum class FormatFeatureFlagBits
|
||||||
@ -7610,8 +7610,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & FormatFeatureFlagBits::eCositedChromaSamples ) result += "CositedChromaSamples | ";
|
if ( value & FormatFeatureFlagBits::eCositedChromaSamples ) result += "CositedChromaSamples | ";
|
||||||
if ( value & FormatFeatureFlagBits::eSampledImageFilterCubicIMG ) result += "SampledImageFilterCubicIMG | ";
|
if ( value & FormatFeatureFlagBits::eSampledImageFilterCubicIMG ) result += "SampledImageFilterCubicIMG | ";
|
||||||
if ( value & FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT ) result += "SampledImageFilterMinmaxEXT | ";
|
if ( value & FormatFeatureFlagBits::eSampledImageFilterMinmaxEXT ) result += "SampledImageFilterMinmaxEXT | ";
|
||||||
if ( value & FormatFeatureFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT";
|
if ( value & FormatFeatureFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class FramebufferCreateFlagBits
|
enum class FramebufferCreateFlagBits
|
||||||
@ -7671,8 +7671,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & GeometryFlagBitsNV::eOpaque ) result += "Opaque | ";
|
if ( value & GeometryFlagBitsNV::eOpaque ) result += "Opaque | ";
|
||||||
if ( value & GeometryFlagBitsNV::eNoDuplicateAnyHitInvocation ) result += "NoDuplicateAnyHitInvocation";
|
if ( value & GeometryFlagBitsNV::eNoDuplicateAnyHitInvocation ) result += "NoDuplicateAnyHitInvocation | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class GeometryInstanceFlagBitsNV
|
enum class GeometryInstanceFlagBitsNV
|
||||||
@ -7723,8 +7723,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & GeometryInstanceFlagBitsNV::eTriangleCullDisable ) result += "TriangleCullDisable | ";
|
if ( value & GeometryInstanceFlagBitsNV::eTriangleCullDisable ) result += "TriangleCullDisable | ";
|
||||||
if ( value & GeometryInstanceFlagBitsNV::eTriangleFrontCounterclockwise ) result += "TriangleFrontCounterclockwise | ";
|
if ( value & GeometryInstanceFlagBitsNV::eTriangleFrontCounterclockwise ) result += "TriangleFrontCounterclockwise | ";
|
||||||
if ( value & GeometryInstanceFlagBitsNV::eForceOpaque ) result += "ForceOpaque | ";
|
if ( value & GeometryInstanceFlagBitsNV::eForceOpaque ) result += "ForceOpaque | ";
|
||||||
if ( value & GeometryInstanceFlagBitsNV::eForceNoOpaque ) result += "ForceNoOpaque";
|
if ( value & GeometryInstanceFlagBitsNV::eForceNoOpaque ) result += "ForceNoOpaque | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VK_USE_PLATFORM_IOS_MVK
|
#ifdef VK_USE_PLATFORM_IOS_MVK
|
||||||
@ -7816,8 +7816,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ImageAspectFlagBits::eMemoryPlane0EXT ) result += "MemoryPlane0EXT | ";
|
if ( value & ImageAspectFlagBits::eMemoryPlane0EXT ) result += "MemoryPlane0EXT | ";
|
||||||
if ( value & ImageAspectFlagBits::eMemoryPlane1EXT ) result += "MemoryPlane1EXT | ";
|
if ( value & ImageAspectFlagBits::eMemoryPlane1EXT ) result += "MemoryPlane1EXT | ";
|
||||||
if ( value & ImageAspectFlagBits::eMemoryPlane2EXT ) result += "MemoryPlane2EXT | ";
|
if ( value & ImageAspectFlagBits::eMemoryPlane2EXT ) result += "MemoryPlane2EXT | ";
|
||||||
if ( value & ImageAspectFlagBits::eMemoryPlane3EXT ) result += "MemoryPlane3EXT";
|
if ( value & ImageAspectFlagBits::eMemoryPlane3EXT ) result += "MemoryPlane3EXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ImageCreateFlagBits
|
enum class ImageCreateFlagBits
|
||||||
@ -7907,8 +7907,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ImageCreateFlagBits::eDisjoint ) result += "Disjoint | ";
|
if ( value & ImageCreateFlagBits::eDisjoint ) result += "Disjoint | ";
|
||||||
if ( value & ImageCreateFlagBits::eCornerSampledNV ) result += "CornerSampledNV | ";
|
if ( value & ImageCreateFlagBits::eCornerSampledNV ) result += "CornerSampledNV | ";
|
||||||
if ( value & ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT ) result += "SampleLocationsCompatibleDepthEXT | ";
|
if ( value & ImageCreateFlagBits::eSampleLocationsCompatibleDepthEXT ) result += "SampleLocationsCompatibleDepthEXT | ";
|
||||||
if ( value & ImageCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT";
|
if ( value & ImageCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VK_USE_PLATFORM_FUCHSIA
|
#ifdef VK_USE_PLATFORM_FUCHSIA
|
||||||
@ -7994,8 +7994,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ImageUsageFlagBits::eTransientAttachment ) result += "TransientAttachment | ";
|
if ( value & ImageUsageFlagBits::eTransientAttachment ) result += "TransientAttachment | ";
|
||||||
if ( value & ImageUsageFlagBits::eInputAttachment ) result += "InputAttachment | ";
|
if ( value & ImageUsageFlagBits::eInputAttachment ) result += "InputAttachment | ";
|
||||||
if ( value & ImageUsageFlagBits::eShadingRateImageNV ) result += "ShadingRateImageNV | ";
|
if ( value & ImageUsageFlagBits::eShadingRateImageNV ) result += "ShadingRateImageNV | ";
|
||||||
if ( value & ImageUsageFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT";
|
if ( value & ImageUsageFlagBits::eFragmentDensityMapEXT ) result += "FragmentDensityMapEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ImageViewCreateFlagBits
|
enum class ImageViewCreateFlagBits
|
||||||
@ -8037,8 +8037,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT ) result += "FragmentDensityMapDynamicEXT";
|
if ( value & ImageViewCreateFlagBits::eFragmentDensityMapDynamicEXT ) result += "FragmentDensityMapDynamicEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class IndirectCommandsLayoutUsageFlagBitsNVX
|
enum class IndirectCommandsLayoutUsageFlagBitsNVX
|
||||||
@ -8089,8 +8089,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences ) result += "UnorderedSequences | ";
|
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eUnorderedSequences ) result += "UnorderedSequences | ";
|
||||||
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences ) result += "SparseSequences | ";
|
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eSparseSequences ) result += "SparseSequences | ";
|
||||||
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions ) result += "EmptyExecutions | ";
|
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eEmptyExecutions ) result += "EmptyExecutions | ";
|
||||||
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences ) result += "IndexedSequences";
|
if ( value & IndirectCommandsLayoutUsageFlagBitsNVX::eIndexedSequences ) result += "IndexedSequences | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class InstanceCreateFlagBits
|
enum class InstanceCreateFlagBits
|
||||||
@ -8167,8 +8167,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & MemoryAllocateFlagBits::eDeviceMask ) result += "DeviceMask";
|
if ( value & MemoryAllocateFlagBits::eDeviceMask ) result += "DeviceMask | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class MemoryHeapFlagBits
|
enum class MemoryHeapFlagBits
|
||||||
@ -8214,8 +8214,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & MemoryHeapFlagBits::eDeviceLocal ) result += "DeviceLocal | ";
|
if ( value & MemoryHeapFlagBits::eDeviceLocal ) result += "DeviceLocal | ";
|
||||||
if ( value & MemoryHeapFlagBits::eMultiInstance ) result += "MultiInstance";
|
if ( value & MemoryHeapFlagBits::eMultiInstance ) result += "MultiInstance | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class MemoryMapFlagBits
|
enum class MemoryMapFlagBits
|
||||||
@ -8287,8 +8287,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & MemoryPropertyFlagBits::eHostCoherent ) result += "HostCoherent | ";
|
if ( value & MemoryPropertyFlagBits::eHostCoherent ) result += "HostCoherent | ";
|
||||||
if ( value & MemoryPropertyFlagBits::eHostCached ) result += "HostCached | ";
|
if ( value & MemoryPropertyFlagBits::eHostCached ) result += "HostCached | ";
|
||||||
if ( value & MemoryPropertyFlagBits::eLazilyAllocated ) result += "LazilyAllocated | ";
|
if ( value & MemoryPropertyFlagBits::eLazilyAllocated ) result += "LazilyAllocated | ";
|
||||||
if ( value & MemoryPropertyFlagBits::eProtected ) result += "Protected";
|
if ( value & MemoryPropertyFlagBits::eProtected ) result += "Protected | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ObjectEntryUsageFlagBitsNVX
|
enum class ObjectEntryUsageFlagBitsNVX
|
||||||
@ -8333,8 +8333,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & ObjectEntryUsageFlagBitsNVX::eGraphics ) result += "Graphics | ";
|
if ( value & ObjectEntryUsageFlagBitsNVX::eGraphics ) result += "Graphics | ";
|
||||||
if ( value & ObjectEntryUsageFlagBitsNVX::eCompute ) result += "Compute";
|
if ( value & ObjectEntryUsageFlagBitsNVX::eCompute ) result += "Compute | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class PeerMemoryFeatureFlagBits
|
enum class PeerMemoryFeatureFlagBits
|
||||||
@ -8391,8 +8391,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & PeerMemoryFeatureFlagBits::eCopySrc ) result += "CopySrc | ";
|
if ( value & PeerMemoryFeatureFlagBits::eCopySrc ) result += "CopySrc | ";
|
||||||
if ( value & PeerMemoryFeatureFlagBits::eCopyDst ) result += "CopyDst | ";
|
if ( value & PeerMemoryFeatureFlagBits::eCopyDst ) result += "CopyDst | ";
|
||||||
if ( value & PeerMemoryFeatureFlagBits::eGenericSrc ) result += "GenericSrc | ";
|
if ( value & PeerMemoryFeatureFlagBits::eGenericSrc ) result += "GenericSrc | ";
|
||||||
if ( value & PeerMemoryFeatureFlagBits::eGenericDst ) result += "GenericDst";
|
if ( value & PeerMemoryFeatureFlagBits::eGenericDst ) result += "GenericDst | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class PipelineCacheCreateFlagBits
|
enum class PipelineCacheCreateFlagBits
|
||||||
@ -8511,8 +8511,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & PipelineCreateFlagBits::eDerivative ) result += "Derivative | ";
|
if ( value & PipelineCreateFlagBits::eDerivative ) result += "Derivative | ";
|
||||||
if ( value & PipelineCreateFlagBits::eViewIndexFromDeviceIndex ) result += "ViewIndexFromDeviceIndex | ";
|
if ( value & PipelineCreateFlagBits::eViewIndexFromDeviceIndex ) result += "ViewIndexFromDeviceIndex | ";
|
||||||
if ( value & PipelineCreateFlagBits::eDispatchBase ) result += "DispatchBase | ";
|
if ( value & PipelineCreateFlagBits::eDispatchBase ) result += "DispatchBase | ";
|
||||||
if ( value & PipelineCreateFlagBits::eDeferCompileNV ) result += "DeferCompileNV";
|
if ( value & PipelineCreateFlagBits::eDeferCompileNV ) result += "DeferCompileNV | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class PipelineDepthStencilStateCreateFlagBits
|
enum class PipelineDepthStencilStateCreateFlagBits
|
||||||
@ -8779,8 +8779,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & PipelineStageFlagBits::eAccelerationStructureBuildNV ) result += "AccelerationStructureBuildNV | ";
|
if ( value & PipelineStageFlagBits::eAccelerationStructureBuildNV ) result += "AccelerationStructureBuildNV | ";
|
||||||
if ( value & PipelineStageFlagBits::eTaskShaderNV ) result += "TaskShaderNV | ";
|
if ( value & PipelineStageFlagBits::eTaskShaderNV ) result += "TaskShaderNV | ";
|
||||||
if ( value & PipelineStageFlagBits::eMeshShaderNV ) result += "MeshShaderNV | ";
|
if ( value & PipelineStageFlagBits::eMeshShaderNV ) result += "MeshShaderNV | ";
|
||||||
if ( value & PipelineStageFlagBits::eFragmentDensityProcessEXT ) result += "FragmentDensityProcessEXT";
|
if ( value & PipelineStageFlagBits::eFragmentDensityProcessEXT ) result += "FragmentDensityProcessEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class PipelineTessellationStateCreateFlagBits
|
enum class PipelineTessellationStateCreateFlagBits
|
||||||
@ -8882,8 +8882,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & QueryControlFlagBits::ePrecise ) result += "Precise";
|
if ( value & QueryControlFlagBits::ePrecise ) result += "Precise | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class QueryPipelineStatisticFlagBits
|
enum class QueryPipelineStatisticFlagBits
|
||||||
@ -8955,8 +8955,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & QueryPipelineStatisticFlagBits::eFragmentShaderInvocations ) result += "FragmentShaderInvocations | ";
|
if ( value & QueryPipelineStatisticFlagBits::eFragmentShaderInvocations ) result += "FragmentShaderInvocations | ";
|
||||||
if ( value & QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches ) result += "TessellationControlShaderPatches | ";
|
if ( value & QueryPipelineStatisticFlagBits::eTessellationControlShaderPatches ) result += "TessellationControlShaderPatches | ";
|
||||||
if ( value & QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations ) result += "TessellationEvaluationShaderInvocations | ";
|
if ( value & QueryPipelineStatisticFlagBits::eTessellationEvaluationShaderInvocations ) result += "TessellationEvaluationShaderInvocations | ";
|
||||||
if ( value & QueryPipelineStatisticFlagBits::eComputeShaderInvocations ) result += "ComputeShaderInvocations";
|
if ( value & QueryPipelineStatisticFlagBits::eComputeShaderInvocations ) result += "ComputeShaderInvocations | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class QueryPoolCreateFlagBits
|
enum class QueryPoolCreateFlagBits
|
||||||
@ -9022,8 +9022,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & QueryResultFlagBits::e64 ) result += "64 | ";
|
if ( value & QueryResultFlagBits::e64 ) result += "64 | ";
|
||||||
if ( value & QueryResultFlagBits::eWait ) result += "Wait | ";
|
if ( value & QueryResultFlagBits::eWait ) result += "Wait | ";
|
||||||
if ( value & QueryResultFlagBits::eWithAvailability ) result += "WithAvailability | ";
|
if ( value & QueryResultFlagBits::eWithAvailability ) result += "WithAvailability | ";
|
||||||
if ( value & QueryResultFlagBits::ePartial ) result += "Partial";
|
if ( value & QueryResultFlagBits::ePartial ) result += "Partial | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class QueueFlagBits
|
enum class QueueFlagBits
|
||||||
@ -9077,8 +9077,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & QueueFlagBits::eCompute ) result += "Compute | ";
|
if ( value & QueueFlagBits::eCompute ) result += "Compute | ";
|
||||||
if ( value & QueueFlagBits::eTransfer ) result += "Transfer | ";
|
if ( value & QueueFlagBits::eTransfer ) result += "Transfer | ";
|
||||||
if ( value & QueueFlagBits::eSparseBinding ) result += "SparseBinding | ";
|
if ( value & QueueFlagBits::eSparseBinding ) result += "SparseBinding | ";
|
||||||
if ( value & QueueFlagBits::eProtected ) result += "Protected";
|
if ( value & QueueFlagBits::eProtected ) result += "Protected | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class RenderPassCreateFlagBits
|
enum class RenderPassCreateFlagBits
|
||||||
@ -9147,8 +9147,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ResolveModeFlagBitsKHR::eSampleZero ) result += "SampleZero | ";
|
if ( value & ResolveModeFlagBitsKHR::eSampleZero ) result += "SampleZero | ";
|
||||||
if ( value & ResolveModeFlagBitsKHR::eAverage ) result += "Average | ";
|
if ( value & ResolveModeFlagBitsKHR::eAverage ) result += "Average | ";
|
||||||
if ( value & ResolveModeFlagBitsKHR::eMin ) result += "Min | ";
|
if ( value & ResolveModeFlagBitsKHR::eMin ) result += "Min | ";
|
||||||
if ( value & ResolveModeFlagBitsKHR::eMax ) result += "Max";
|
if ( value & ResolveModeFlagBitsKHR::eMax ) result += "Max | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SampleCountFlagBits
|
enum class SampleCountFlagBits
|
||||||
@ -9208,8 +9208,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & SampleCountFlagBits::e8 ) result += "8 | ";
|
if ( value & SampleCountFlagBits::e8 ) result += "8 | ";
|
||||||
if ( value & SampleCountFlagBits::e16 ) result += "16 | ";
|
if ( value & SampleCountFlagBits::e16 ) result += "16 | ";
|
||||||
if ( value & SampleCountFlagBits::e32 ) result += "32 | ";
|
if ( value & SampleCountFlagBits::e32 ) result += "32 | ";
|
||||||
if ( value & SampleCountFlagBits::e64 ) result += "64";
|
if ( value & SampleCountFlagBits::e64 ) result += "64 | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SamplerCreateFlagBits
|
enum class SamplerCreateFlagBits
|
||||||
@ -9254,8 +9254,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & SamplerCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT | ";
|
if ( value & SamplerCreateFlagBits::eSubsampledEXT ) result += "SubsampledEXT | ";
|
||||||
if ( value & SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT ) result += "SubsampledCoarseReconstructionEXT";
|
if ( value & SamplerCreateFlagBits::eSubsampledCoarseReconstructionEXT ) result += "SubsampledCoarseReconstructionEXT | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SemaphoreCreateFlagBits
|
enum class SemaphoreCreateFlagBits
|
||||||
@ -9315,8 +9315,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & SemaphoreImportFlagBits::eTemporary ) result += "Temporary";
|
if ( value & SemaphoreImportFlagBits::eTemporary ) result += "Temporary | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ShaderModuleCreateFlagBits
|
enum class ShaderModuleCreateFlagBits
|
||||||
@ -9418,8 +9418,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & ShaderStageFlagBits::eIntersectionNV ) result += "IntersectionNV | ";
|
if ( value & ShaderStageFlagBits::eIntersectionNV ) result += "IntersectionNV | ";
|
||||||
if ( value & ShaderStageFlagBits::eCallableNV ) result += "CallableNV | ";
|
if ( value & ShaderStageFlagBits::eCallableNV ) result += "CallableNV | ";
|
||||||
if ( value & ShaderStageFlagBits::eTaskNV ) result += "TaskNV | ";
|
if ( value & ShaderStageFlagBits::eTaskNV ) result += "TaskNV | ";
|
||||||
if ( value & ShaderStageFlagBits::eMeshNV ) result += "MeshNV";
|
if ( value & ShaderStageFlagBits::eMeshNV ) result += "MeshNV | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SparseImageFormatFlagBits
|
enum class SparseImageFormatFlagBits
|
||||||
@ -9467,8 +9467,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & SparseImageFormatFlagBits::eSingleMiptail ) result += "SingleMiptail | ";
|
if ( value & SparseImageFormatFlagBits::eSingleMiptail ) result += "SingleMiptail | ";
|
||||||
if ( value & SparseImageFormatFlagBits::eAlignedMipSize ) result += "AlignedMipSize | ";
|
if ( value & SparseImageFormatFlagBits::eAlignedMipSize ) result += "AlignedMipSize | ";
|
||||||
if ( value & SparseImageFormatFlagBits::eNonstandardBlockSize ) result += "NonstandardBlockSize";
|
if ( value & SparseImageFormatFlagBits::eNonstandardBlockSize ) result += "NonstandardBlockSize | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SparseMemoryBindFlagBits
|
enum class SparseMemoryBindFlagBits
|
||||||
@ -9510,8 +9510,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & SparseMemoryBindFlagBits::eMetadata ) result += "Metadata";
|
if ( value & SparseMemoryBindFlagBits::eMetadata ) result += "Metadata | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class StencilFaceFlagBits
|
enum class StencilFaceFlagBits
|
||||||
@ -9559,8 +9559,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & StencilFaceFlagBits::eFront ) result += "Front | ";
|
if ( value & StencilFaceFlagBits::eFront ) result += "Front | ";
|
||||||
if ( value & StencilFaceFlagBits::eBack ) result += "Back | ";
|
if ( value & StencilFaceFlagBits::eBack ) result += "Back | ";
|
||||||
if ( value & StencilFaceFlagBits::eVkStencilFrontAndBack ) result += "VkStencilFrontAndBack";
|
if ( value & StencilFaceFlagBits::eVkStencilFrontAndBack ) result += "VkStencilFrontAndBack | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SubgroupFeatureFlagBits
|
enum class SubgroupFeatureFlagBits
|
||||||
@ -9626,8 +9626,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & SubgroupFeatureFlagBits::eShuffleRelative ) result += "ShuffleRelative | ";
|
if ( value & SubgroupFeatureFlagBits::eShuffleRelative ) result += "ShuffleRelative | ";
|
||||||
if ( value & SubgroupFeatureFlagBits::eClustered ) result += "Clustered | ";
|
if ( value & SubgroupFeatureFlagBits::eClustered ) result += "Clustered | ";
|
||||||
if ( value & SubgroupFeatureFlagBits::eQuad ) result += "Quad | ";
|
if ( value & SubgroupFeatureFlagBits::eQuad ) result += "Quad | ";
|
||||||
if ( value & SubgroupFeatureFlagBits::ePartitionedNV ) result += "PartitionedNV";
|
if ( value & SubgroupFeatureFlagBits::ePartitionedNV ) result += "PartitionedNV | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SubpassDescriptionFlagBits
|
enum class SubpassDescriptionFlagBits
|
||||||
@ -9672,8 +9672,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & SubpassDescriptionFlagBits::ePerViewAttributesNVX ) result += "PerViewAttributesNVX | ";
|
if ( value & SubpassDescriptionFlagBits::ePerViewAttributesNVX ) result += "PerViewAttributesNVX | ";
|
||||||
if ( value & SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX ) result += "PerViewPositionXOnlyNVX";
|
if ( value & SubpassDescriptionFlagBits::ePerViewPositionXOnlyNVX ) result += "PerViewPositionXOnlyNVX | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SurfaceCounterFlagBitsEXT
|
enum class SurfaceCounterFlagBitsEXT
|
||||||
@ -9715,8 +9715,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( !value ) return "{}";
|
if ( !value ) return "{}";
|
||||||
std::string result;
|
std::string result;
|
||||||
|
|
||||||
if ( value & SurfaceCounterFlagBitsEXT::eVblank ) result += "Vblank";
|
if ( value & SurfaceCounterFlagBitsEXT::eVblank ) result += "Vblank | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SurfaceTransformFlagBitsKHR
|
enum class SurfaceTransformFlagBitsKHR
|
||||||
@ -9782,8 +9782,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 ) result += "HorizontalMirrorRotate90 | ";
|
if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate90 ) result += "HorizontalMirrorRotate90 | ";
|
||||||
if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 ) result += "HorizontalMirrorRotate180 | ";
|
if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate180 ) result += "HorizontalMirrorRotate180 | ";
|
||||||
if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 ) result += "HorizontalMirrorRotate270 | ";
|
if ( value & SurfaceTransformFlagBitsKHR::eHorizontalMirrorRotate270 ) result += "HorizontalMirrorRotate270 | ";
|
||||||
if ( value & SurfaceTransformFlagBitsKHR::eInherit ) result += "Inherit";
|
if ( value & SurfaceTransformFlagBitsKHR::eInherit ) result += "Inherit | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class SwapchainCreateFlagBitsKHR
|
enum class SwapchainCreateFlagBitsKHR
|
||||||
@ -9831,8 +9831,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
if ( value & SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions ) result += "SplitInstanceBindRegions | ";
|
if ( value & SwapchainCreateFlagBitsKHR::eSplitInstanceBindRegions ) result += "SplitInstanceBindRegions | ";
|
||||||
if ( value & SwapchainCreateFlagBitsKHR::eProtected ) result += "Protected | ";
|
if ( value & SwapchainCreateFlagBitsKHR::eProtected ) result += "Protected | ";
|
||||||
if ( value & SwapchainCreateFlagBitsKHR::eMutableFormat ) result += "MutableFormat";
|
if ( value & SwapchainCreateFlagBitsKHR::eMutableFormat ) result += "MutableFormat | ";
|
||||||
return result;
|
return "{ " + result.substr(0, result.size() - 3) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class ValidationCacheCreateFlagBitsEXT
|
enum class ValidationCacheCreateFlagBitsEXT
|
||||||
|
Loading…
Reference in New Issue
Block a user