fix VkFlags64 bitmasks

This commit is contained in:
2026-04-15 19:38:52 +02:00
parent 2310ab969f
commit 8af4d8be84
2 changed files with 362 additions and 349 deletions

View File

@@ -270,15 +270,25 @@ class EnumFeature : VulkanFeature
lastCaseName = enumcase.name; lastCaseName = enumcase.name;
} }
str.Append("\t// pretty names\n"); str.Append("\t// pretty names\n");
StringView prefix = name; String prefix = scope .(name);
for (let t in tags) for (let t in tags)
{ {
if (!prefix.EndsWith(t)) continue; if (!prefix.EndsWith(t)) continue;
prefix.RemoveFromEnd(t.Length); prefix.Length -= t.Length;
break; break;
} }
{
char8 digit = '\0';
if (prefix[^1].IsDigit)
{
digit = prefix[^1];
prefix.Length--;
}
if (prefix.EndsWith("FlagBits")) if (prefix.EndsWith("FlagBits"))
prefix.RemoveFromEnd(8); prefix.Length -= 8;
if (digit != '\0')
prefix.Append(digit);
}
String lastName = scope .(128); String lastName = scope .(128);
for (let enumcase in cases) for (let enumcase in cases)
{ {
@@ -331,6 +341,7 @@ class EnumFeature : VulkanFeature
str.Remove(index, strI); str.Remove(index, strI);
} }
str.Append(tag); str.Append(tag);
if (str[index] == '_') str.Remove(index);
if (str[index].IsDigit) str.Insert(index, '_'); if (str[index].IsDigit) str.Insert(index, '_');
} }
@@ -598,6 +609,8 @@ class RegistryParser : XmlParser
case "bitmask": case "bitmask":
strBuf.Set("typealias "); strBuf.Set("typealias ");
bitmask_requires.Set(atts.GetValueOrDefault("requires")); bitmask_requires.Set(atts.GetValueOrDefault("requires"));
if (bitmask_requires.IsEmpty)
bitmask_requires.Set(atts.GetValueOrDefault("bitvalues"));
eStack.Add(.Type_Bitmask); eStack.Add(.Type_Bitmask);
case "basetype": case "basetype":
strBuf.Clear(); strBuf.Clear();

View File

@@ -11646,7 +11646,7 @@ typealias VkPrivateDataSlotCreateFlags = VkFlags;
[CallingConvention(VKAPI_PTR)] function void PFN_vkGetPrivateData(VkDevice device, VkObjectType objectType, uint64 objectHandle, VkPrivateDataSlot privateDataSlot, out uint64 pData); [CallingConvention(VKAPI_PTR)] function void PFN_vkGetPrivateData(VkDevice device, VkObjectType objectType, uint64 objectHandle, VkPrivateDataSlot privateDataSlot, out uint64 pData);
// Promoted from VK_KHR_synchronization2 (extension 315) // Promoted from VK_KHR_synchronization2 (extension 315)
typealias VkPipelineStageFlags2 = VkFlags64; typealias VkPipelineStageFlags2 = VkPipelineStageFlagBits2;
[AllowDuplicates] enum VkPipelineStageFlagBits2 : int32 [AllowDuplicates] enum VkPipelineStageFlagBits2 : int32
{ {
@@ -11731,89 +11731,89 @@ typealias VkPipelineStageFlags2 = VkFlags64;
[NoShow] VK_PIPELINE_STAGE_2_COPY_INDIRECT_BIT_KHR = 1 << 46, [NoShow] VK_PIPELINE_STAGE_2_COPY_INDIRECT_BIT_KHR = 1 << 46,
[NoShow] VK_PIPELINE_STAGE_2_MEMORY_DECOMPRESSION_BIT_EXT = 1 << 45, [NoShow] VK_PIPELINE_STAGE_2_MEMORY_DECOMPRESSION_BIT_EXT = 1 << 45,
// pretty names // pretty names
VkPipelineStage2_None = 0, None = 0,
VkPipelineStage2_TopOfPipe = 1 << 0, TopOfPipe = 1 << 0,
VkPipelineStage2_DrawIndirect = 1 << 1, DrawIndirect = 1 << 1,
VkPipelineStage2_VertexInput = 1 << 2, VertexInput = 1 << 2,
VkPipelineStage2_VertexShader = 1 << 3, VertexShader = 1 << 3,
VkPipelineStage2_TessellationControlShader = 1 << 4, TessellationControlShader = 1 << 4,
VkPipelineStage2_TessellationEvaluationShader = 1 << 5, TessellationEvaluationShader = 1 << 5,
VkPipelineStage2_GeometryShader = 1 << 6, GeometryShader = 1 << 6,
VkPipelineStage2_FragmentShader = 1 << 7, FragmentShader = 1 << 7,
VkPipelineStage2_EarlyFragmentTests = 1 << 8, EarlyFragmentTests = 1 << 8,
VkPipelineStage2_LateFragmentTests = 1 << 9, LateFragmentTests = 1 << 9,
VkPipelineStage2_ColorAttachmentOutput = 1 << 10, ColorAttachmentOutput = 1 << 10,
VkPipelineStage2_ComputeShader = 1 << 11, ComputeShader = 1 << 11,
VkPipelineStage2_AllTransfer = 1 << 12, AllTransfer = 1 << 12,
VkPipelineStage2_Transfer = VkPipelineStage2_AllTransfer, Transfer = AllTransfer,
VkPipelineStage2_BottomOfPipe = 1 << 13, BottomOfPipe = 1 << 13,
VkPipelineStage2_Host = 1 << 14, Host = 1 << 14,
VkPipelineStage2_AllGraphics = 1 << 15, AllGraphics = 1 << 15,
VkPipelineStage2_AllCommands = 1 << 16, AllCommands = 1 << 16,
VkPipelineStage2_Copy = 1 << 32, Copy = 1 << 32,
VkPipelineStage2_Resolve = 1 << 33, Resolve = 1 << 33,
VkPipelineStage2_Blit = 1 << 34, Blit = 1 << 34,
VkPipelineStage2_Clear = 1 << 35, Clear = 1 << 35,
VkPipelineStage2_IndexInput = 1 << 36, IndexInput = 1 << 36,
VkPipelineStage2_VertexAttributeInput = 1 << 37, VertexAttributeInput = 1 << 37,
VkPipelineStage2_PreRasterizationShaders = 1 << 38, PreRasterizationShaders = 1 << 38,
VkPipelineStage2_VideoDecodeKHR = 1 << 26, VideoDecodeKHR = 1 << 26,
VkPipelineStage2_VideoEncodeKHR = 1 << 27, VideoEncodeKHR = 1 << 27,
VkPipelineStage2_NoneKHR = VkPipelineStage2_None, NoneKHR = None,
VkPipelineStage2_TopOfPipeKHR = VkPipelineStage2_TopOfPipe, TopOfPipeKHR = TopOfPipe,
VkPipelineStage2_DrawIndirectKHR = VkPipelineStage2_DrawIndirect, DrawIndirectKHR = DrawIndirect,
VkPipelineStage2_VertexInputKHR = VkPipelineStage2_VertexInput, VertexInputKHR = VertexInput,
VkPipelineStage2_VertexShaderKHR = VkPipelineStage2_VertexShader, VertexShaderKHR = VertexShader,
VkPipelineStage2_TessellationControlShaderKHR = VkPipelineStage2_TessellationControlShader, TessellationControlShaderKHR = TessellationControlShader,
VkPipelineStage2_TessellationEvaluationShaderKHR = VkPipelineStage2_TessellationEvaluationShader, TessellationEvaluationShaderKHR = TessellationEvaluationShader,
VkPipelineStage2_GeometryShaderKHR = VkPipelineStage2_GeometryShader, GeometryShaderKHR = GeometryShader,
VkPipelineStage2_FragmentShaderKHR = VkPipelineStage2_FragmentShader, FragmentShaderKHR = FragmentShader,
VkPipelineStage2_EarlyFragmentTestsKHR = VkPipelineStage2_EarlyFragmentTests, EarlyFragmentTestsKHR = EarlyFragmentTests,
VkPipelineStage2_LateFragmentTestsKHR = VkPipelineStage2_LateFragmentTests, LateFragmentTestsKHR = LateFragmentTests,
VkPipelineStage2_ColorAttachmentOutputKHR = VkPipelineStage2_ColorAttachmentOutput, ColorAttachmentOutputKHR = ColorAttachmentOutput,
VkPipelineStage2_ComputeShaderKHR = VkPipelineStage2_ComputeShader, ComputeShaderKHR = ComputeShader,
VkPipelineStage2_AllTransferKHR = VkPipelineStage2_AllTransfer, AllTransferKHR = AllTransfer,
VkPipelineStage2_TransferKHR = VkPipelineStage2_AllTransfer, TransferKHR = AllTransfer,
VkPipelineStage2_BottomOfPipeKHR = VkPipelineStage2_BottomOfPipe, BottomOfPipeKHR = BottomOfPipe,
VkPipelineStage2_HostKHR = VkPipelineStage2_Host, HostKHR = Host,
VkPipelineStage2_AllGraphicsKHR = VkPipelineStage2_AllGraphics, AllGraphicsKHR = AllGraphics,
VkPipelineStage2_AllCommandsKHR = VkPipelineStage2_AllCommands, AllCommandsKHR = AllCommands,
VkPipelineStage2_CopyKHR = VkPipelineStage2_Copy, CopyKHR = Copy,
VkPipelineStage2_ResolveKHR = VkPipelineStage2_Resolve, ResolveKHR = Resolve,
VkPipelineStage2_BlitKHR = VkPipelineStage2_Blit, BlitKHR = Blit,
VkPipelineStage2_ClearKHR = VkPipelineStage2_Clear, ClearKHR = Clear,
VkPipelineStage2_IndexInputKHR = VkPipelineStage2_IndexInput, IndexInputKHR = IndexInput,
VkPipelineStage2_VertexAttributeInputKHR = VkPipelineStage2_VertexAttributeInput, VertexAttributeInputKHR = VertexAttributeInput,
VkPipelineStage2_PreRasterizationShadersKHR = VkPipelineStage2_PreRasterizationShaders, PreRasterizationShadersKHR = PreRasterizationShaders,
VkPipelineStage2_TransformFeedbackEXT = 1 << 24, TransformFeedbackEXT = 1 << 24,
VkPipelineStage2_ConditionalRenderingEXT = 1 << 18, // A pipeline stage for conditional rendering predicate fetch ConditionalRenderingEXT = 1 << 18, // A pipeline stage for conditional rendering predicate fetch
VkPipelineStage2_CommandPreprocessNV = VkPipelineStage2_CommandPreprocessEXT, CommandPreprocessNV = CommandPreprocessEXT,
VkPipelineStage2_CommandPreprocessEXT = 1 << 17, CommandPreprocessEXT = 1 << 17,
VkPipelineStage2_FragmentShadingRateAttachmentKHR = 1 << 22, FragmentShadingRateAttachmentKHR = 1 << 22,
VkPipelineStage2_ShadingRateImageNV = VkPipelineStage2_FragmentShadingRateAttachmentKHR, ShadingRateImageNV = FragmentShadingRateAttachmentKHR,
VkPipelineStage2_AccelerationStructureBuildKHR = 1 << 25, AccelerationStructureBuildKHR = 1 << 25,
VkPipelineStage2_RayTracingShaderKHR = 1 << 21, RayTracingShaderKHR = 1 << 21,
VkPipelineStage2_RayTracingShaderNV = VkPipelineStage2_RayTracingShaderKHR, RayTracingShaderNV = RayTracingShaderKHR,
VkPipelineStage2_AccelerationStructureBuildNV = VkPipelineStage2_AccelerationStructureBuildKHR, AccelerationStructureBuildNV = AccelerationStructureBuildKHR,
VkPipelineStage2_FragmentDensityProcessEXT = 1 << 23, FragmentDensityProcessEXT = 1 << 23,
VkPipelineStage2_TaskShaderNV = VkPipelineStage2_TaskShaderEXT, TaskShaderNV = TaskShaderEXT,
VkPipelineStage2_MeshShaderNV = VkPipelineStage2_MeshShaderEXT, MeshShaderNV = MeshShaderEXT,
VkPipelineStage2_TaskShaderEXT = 1 << 19, TaskShaderEXT = 1 << 19,
VkPipelineStage2_MeshShaderEXT = 1 << 20, MeshShaderEXT = 1 << 20,
VkPipelineStage2_SubpassShaderHUAWEI = 1 << 39, SubpassShaderHUAWEI = 1 << 39,
VkPipelineStage2_SubpassShadingHUAWEI = VkPipelineStage2_SubpassShaderHUAWEI, SubpassShadingHUAWEI = SubpassShaderHUAWEI,
VkPipelineStage2_InvocationMaskHUAWEI = 1 << 40, InvocationMaskHUAWEI = 1 << 40,
VkPipelineStage2_AccelerationStructureCopyKHR = 1 << 28, AccelerationStructureCopyKHR = 1 << 28,
VkPipelineStage2_MicromapBuildEXT = 1 << 30, MicromapBuildEXT = 1 << 30,
VkPipelineStage2_ClusterCullingShaderHUAWEI = 1 << 41, ClusterCullingShaderHUAWEI = 1 << 41,
VkPipelineStage2_OpticalFlowNV = 1 << 29, OpticalFlowNV = 1 << 29,
VkPipelineStage2_ConvertCooperativeVectorMatrixNV = 1 << 44, ConvertCooperativeVectorMatrixNV = 1 << 44,
VkPipelineStage2_DataGraphARM = 1 << 42, DataGraphARM = 1 << 42,
VkPipelineStage2_CopyIndirectKHR = 1 << 46, CopyIndirectKHR = 1 << 46,
VkPipelineStage2_MemoryDecompressionEXT = 1 << 45, MemoryDecompressionEXT = 1 << 45,
} }
typealias VkAccessFlags2 = VkFlags64; typealias VkAccessFlags2 = VkAccessFlagBits2;
[AllowDuplicates] enum VkAccessFlagBits2 : int32 [AllowDuplicates] enum VkAccessFlagBits2 : int32
{ {
@@ -11893,81 +11893,81 @@ typealias VkAccessFlags2 = VkFlags64;
[NoShow] VK_ACCESS_2_MEMORY_DECOMPRESSION_READ_BIT_EXT = 1 << 55, [NoShow] VK_ACCESS_2_MEMORY_DECOMPRESSION_READ_BIT_EXT = 1 << 55,
[NoShow] VK_ACCESS_2_MEMORY_DECOMPRESSION_WRITE_BIT_EXT = 1 << 56, [NoShow] VK_ACCESS_2_MEMORY_DECOMPRESSION_WRITE_BIT_EXT = 1 << 56,
// pretty names // pretty names
VkAccess2_None = 0, None = 0,
VkAccess2_IndirectCommandRead = 1 << 0, IndirectCommandRead = 1 << 0,
VkAccess2_IndexRead = 1 << 1, IndexRead = 1 << 1,
VkAccess2_VertexAttributeRead = 1 << 2, VertexAttributeRead = 1 << 2,
VkAccess2_UniformRead = 1 << 3, UniformRead = 1 << 3,
VkAccess2_InputAttachmentRead = 1 << 4, InputAttachmentRead = 1 << 4,
VkAccess2_ShaderRead = 1 << 5, ShaderRead = 1 << 5,
VkAccess2_ShaderWrite = 1 << 6, ShaderWrite = 1 << 6,
VkAccess2_ColorAttachmentRead = 1 << 7, ColorAttachmentRead = 1 << 7,
VkAccess2_ColorAttachmentWrite = 1 << 8, ColorAttachmentWrite = 1 << 8,
VkAccess2_DepthStencilAttachmentRead = 1 << 9, DepthStencilAttachmentRead = 1 << 9,
VkAccess2_DepthStencilAttachmentWrite = 1 << 10, DepthStencilAttachmentWrite = 1 << 10,
VkAccess2_TransferRead = 1 << 11, TransferRead = 1 << 11,
VkAccess2_TransferWrite = 1 << 12, TransferWrite = 1 << 12,
VkAccess2_HostRead = 1 << 13, HostRead = 1 << 13,
VkAccess2_HostWrite = 1 << 14, HostWrite = 1 << 14,
VkAccess2_MemoryRead = 1 << 15, MemoryRead = 1 << 15,
VkAccess2_MemoryWrite = 1 << 16, MemoryWrite = 1 << 16,
VkAccess2_ShaderSampledRead = 1 << 32, ShaderSampledRead = 1 << 32,
VkAccess2_ShaderStorageRead = 1 << 33, ShaderStorageRead = 1 << 33,
VkAccess2_ShaderStorageWrite = 1 << 34, ShaderStorageWrite = 1 << 34,
VkAccess2_VideoDecodeReadKHR = 1 << 35, VideoDecodeReadKHR = 1 << 35,
VkAccess2_VideoDecodeWriteKHR = 1 << 36, VideoDecodeWriteKHR = 1 << 36,
VkAccess2_VideoEncodeReadKHR = 1 << 37, VideoEncodeReadKHR = 1 << 37,
VkAccess2_VideoEncodeWriteKHR = 1 << 38, VideoEncodeWriteKHR = 1 << 38,
VkAccess2_ShaderTileAttachmentReadQCOM = 1 << 51, ShaderTileAttachmentReadQCOM = 1 << 51,
VkAccess2_ShaderTileAttachmentWriteQCOM = 1 << 52, ShaderTileAttachmentWriteQCOM = 1 << 52,
VkAccess2_NoneKHR = VkAccess2_None, NoneKHR = None,
VkAccess2_IndirectCommandReadKHR = VkAccess2_IndirectCommandRead, IndirectCommandReadKHR = IndirectCommandRead,
VkAccess2_IndexReadKHR = VkAccess2_IndexRead, IndexReadKHR = IndexRead,
VkAccess2_VertexAttributeReadKHR = VkAccess2_VertexAttributeRead, VertexAttributeReadKHR = VertexAttributeRead,
VkAccess2_UniformReadKHR = VkAccess2_UniformRead, UniformReadKHR = UniformRead,
VkAccess2_InputAttachmentReadKHR = VkAccess2_InputAttachmentRead, InputAttachmentReadKHR = InputAttachmentRead,
VkAccess2_ShaderReadKHR = VkAccess2_ShaderRead, ShaderReadKHR = ShaderRead,
VkAccess2_ShaderWriteKHR = VkAccess2_ShaderWrite, ShaderWriteKHR = ShaderWrite,
VkAccess2_ColorAttachmentReadKHR = VkAccess2_ColorAttachmentRead, ColorAttachmentReadKHR = ColorAttachmentRead,
VkAccess2_ColorAttachmentWriteKHR = VkAccess2_ColorAttachmentWrite, ColorAttachmentWriteKHR = ColorAttachmentWrite,
VkAccess2_DepthStencilAttachmentReadKHR = VkAccess2_DepthStencilAttachmentRead, DepthStencilAttachmentReadKHR = DepthStencilAttachmentRead,
VkAccess2_DepthStencilAttachmentWriteKHR = VkAccess2_DepthStencilAttachmentWrite, DepthStencilAttachmentWriteKHR = DepthStencilAttachmentWrite,
VkAccess2_TransferReadKHR = VkAccess2_TransferRead, TransferReadKHR = TransferRead,
VkAccess2_TransferWriteKHR = VkAccess2_TransferWrite, TransferWriteKHR = TransferWrite,
VkAccess2_HostReadKHR = VkAccess2_HostRead, HostReadKHR = HostRead,
VkAccess2_HostWriteKHR = VkAccess2_HostWrite, HostWriteKHR = HostWrite,
VkAccess2_MemoryReadKHR = VkAccess2_MemoryRead, MemoryReadKHR = MemoryRead,
VkAccess2_MemoryWriteKHR = VkAccess2_MemoryWrite, MemoryWriteKHR = MemoryWrite,
VkAccess2_ShaderSampledReadKHR = VkAccess2_ShaderSampledRead, ShaderSampledReadKHR = ShaderSampledRead,
VkAccess2_ShaderStorageReadKHR = VkAccess2_ShaderStorageRead, ShaderStorageReadKHR = ShaderStorageRead,
VkAccess2_ShaderStorageWriteKHR = VkAccess2_ShaderStorageWrite, ShaderStorageWriteKHR = ShaderStorageWrite,
VkAccess2_TransformFeedbackWriteEXT = 1 << 25, TransformFeedbackWriteEXT = 1 << 25,
VkAccess2_TransformFeedbackCounterReadEXT = 1 << 26, TransformFeedbackCounterReadEXT = 1 << 26,
VkAccess2_TransformFeedbackCounterWriteEXT = 1 << 27, TransformFeedbackCounterWriteEXT = 1 << 27,
VkAccess2_ConditionalRenderingReadEXT = 1 << 20, // read access flag for reading conditional rendering predicate ConditionalRenderingReadEXT = 1 << 20, // read access flag for reading conditional rendering predicate
VkAccess2_CommandPreprocessReadNV = VkAccess2_CommandPreprocessReadEXT, CommandPreprocessReadNV = CommandPreprocessReadEXT,
VkAccess2_CommandPreprocessWriteNV = VkAccess2_CommandPreprocessWriteEXT, CommandPreprocessWriteNV = CommandPreprocessWriteEXT,
VkAccess2_CommandPreprocessReadEXT = 1 << 17, CommandPreprocessReadEXT = 1 << 17,
VkAccess2_CommandPreprocessWriteEXT = 1 << 18, CommandPreprocessWriteEXT = 1 << 18,
VkAccess2_FragmentShadingRateAttachmentReadKHR = 1 << 23, FragmentShadingRateAttachmentReadKHR = 1 << 23,
VkAccess2_ShadingRateImageReadNV = VkAccess2_FragmentShadingRateAttachmentReadKHR, ShadingRateImageReadNV = FragmentShadingRateAttachmentReadKHR,
VkAccess2_AccelerationStructureReadKHR = 1 << 21, AccelerationStructureReadKHR = 1 << 21,
VkAccess2_AccelerationStructureWriteKHR = 1 << 22, AccelerationStructureWriteKHR = 1 << 22,
VkAccess2_AccelerationStructureReadNV = VkAccess2_AccelerationStructureReadKHR, AccelerationStructureReadNV = AccelerationStructureReadKHR,
VkAccess2_AccelerationStructureWriteNV = VkAccess2_AccelerationStructureWriteKHR, AccelerationStructureWriteNV = AccelerationStructureWriteKHR,
VkAccess2_FragmentDensityMapReadEXT = 1 << 24, FragmentDensityMapReadEXT = 1 << 24,
VkAccess2_ColorAttachmentReadNoncoherentEXT = 1 << 19, ColorAttachmentReadNoncoherentEXT = 1 << 19,
VkAccess2_DescriptorBufferReadEXT = 1 << 41, DescriptorBufferReadEXT = 1 << 41,
VkAccess2_InvocationMaskReadHUAWEI = 1 << 39, InvocationMaskReadHUAWEI = 1 << 39,
VkAccess2_ShaderBindingTableReadKHR = 1 << 40, ShaderBindingTableReadKHR = 1 << 40,
VkAccess2_MicromapReadEXT = 1 << 44, MicromapReadEXT = 1 << 44,
VkAccess2_MicromapWriteEXT = 1 << 45, MicromapWriteEXT = 1 << 45,
VkAccess2_OpticalFlowReadNV = 1 << 42, OpticalFlowReadNV = 1 << 42,
VkAccess2_OpticalFlowWriteNV = 1 << 43, OpticalFlowWriteNV = 1 << 43,
VkAccess2_DataGraphReadARM = 1 << 47, DataGraphReadARM = 1 << 47,
VkAccess2_DataGraphWriteARM = 1 << 48, DataGraphWriteARM = 1 << 48,
VkAccess2_MemoryDecompressionReadEXT = 1 << 55, MemoryDecompressionReadEXT = 1 << 55,
VkAccess2_MemoryDecompressionWriteEXT = 1 << 56, MemoryDecompressionWriteEXT = 1 << 56,
} }
[CRepr] struct VkMemoryBarrier2 : this() [CRepr] struct VkMemoryBarrier2 : this()
@@ -12385,7 +12385,7 @@ typealias VkSubmitFlags = VkSubmitFlagBits;
} }
// Promoted from VK_KHR_format_feature_flags2 (extension 361) // Promoted from VK_KHR_format_feature_flags2 (extension 361)
typealias VkFormatFeatureFlags2 = VkFlags64; typealias VkFormatFeatureFlags2 = VkFormatFeatureFlagBits2;
[AllowDuplicates] enum VkFormatFeatureFlagBits2 : int32 [AllowDuplicates] enum VkFormatFeatureFlagBits2 : int32
{ {
@@ -12472,88 +12472,88 @@ typealias VkFormatFeatureFlags2 = VkFlags64;
[NoShow] VK_FORMAT_FEATURE_2_STENCIL_COPY_ON_COMPUTE_QUEUE_BIT_KHR = 1 << 54, [NoShow] VK_FORMAT_FEATURE_2_STENCIL_COPY_ON_COMPUTE_QUEUE_BIT_KHR = 1 << 54,
[NoShow] VK_FORMAT_FEATURE_2_STENCIL_COPY_ON_TRANSFER_QUEUE_BIT_KHR = 1 << 55, [NoShow] VK_FORMAT_FEATURE_2_STENCIL_COPY_ON_TRANSFER_QUEUE_BIT_KHR = 1 << 55,
// pretty names // pretty names
VkFormatFeature2_SampledImage = 1 << 0, SampledImage = 1 << 0,
VkFormatFeature2_StorageImage = 1 << 1, StorageImage = 1 << 1,
VkFormatFeature2_StorageImageAtomic = 1 << 2, StorageImageAtomic = 1 << 2,
VkFormatFeature2_UniformTexelBuffer = 1 << 3, UniformTexelBuffer = 1 << 3,
VkFormatFeature2_StorageTexelBuffer = 1 << 4, StorageTexelBuffer = 1 << 4,
VkFormatFeature2_StorageTexelBufferAtomic = 1 << 5, StorageTexelBufferAtomic = 1 << 5,
VkFormatFeature2_VertexBuffer = 1 << 6, VertexBuffer = 1 << 6,
VkFormatFeature2_ColorAttachment = 1 << 7, ColorAttachment = 1 << 7,
VkFormatFeature2_ColorAttachmentBlend = 1 << 8, ColorAttachmentBlend = 1 << 8,
VkFormatFeature2_DepthStencilAttachment = 1 << 9, DepthStencilAttachment = 1 << 9,
VkFormatFeature2_BlitSrc = 1 << 10, BlitSrc = 1 << 10,
VkFormatFeature2_BlitDst = 1 << 11, BlitDst = 1 << 11,
VkFormatFeature2_SampledImageFilterLinear = 1 << 12, SampledImageFilterLinear = 1 << 12,
VkFormatFeature2_TransferSrc = 1 << 14, TransferSrc = 1 << 14,
VkFormatFeature2_TransferDst = 1 << 15, TransferDst = 1 << 15,
VkFormatFeature2_SampledImageFilterMinmax = 1 << 16, SampledImageFilterMinmax = 1 << 16,
VkFormatFeature2_MidpointChromaSamples = 1 << 17, MidpointChromaSamples = 1 << 17,
VkFormatFeature2_SampledImageYcbcrConversionLinearFilter = 1 << 18, SampledImageYcbcrConversionLinearFilter = 1 << 18,
VkFormatFeature2_SampledImageYcbcrConversionSeparateReconstructionFilter = 1 << 19, SampledImageYcbcrConversionSeparateReconstructionFilter = 1 << 19,
VkFormatFeature2_SampledImageYcbcrConversionChromaReconstructionExplicit = 1 << 20, SampledImageYcbcrConversionChromaReconstructionExplicit = 1 << 20,
VkFormatFeature2_SampledImageYcbcrConversionChromaReconstructionExplicitForceable = 1 << 21, SampledImageYcbcrConversionChromaReconstructionExplicitForceable = 1 << 21,
VkFormatFeature2_Disjoint = 1 << 22, Disjoint = 1 << 22,
VkFormatFeature2_CositedChromaSamples = 1 << 23, CositedChromaSamples = 1 << 23,
VkFormatFeature2_StorageReadWithoutFormat = 1 << 31, StorageReadWithoutFormat = 1 << 31,
VkFormatFeature2_StorageWriteWithoutFormat = 1 << 32, StorageWriteWithoutFormat = 1 << 32,
VkFormatFeature2_SampledImageDepthComparison = 1 << 33, SampledImageDepthComparison = 1 << 33,
VkFormatFeature2_SampledImageFilterCubic = 1 << 13, // This is an interaction with EXT_filter_cubic, though not tagged that way SampledImageFilterCubic = 1 << 13, // This is an interaction with EXT_filter_cubic, though not tagged that way
VkFormatFeature2_HostImageTransfer = 1 << 46, HostImageTransfer = 1 << 46,
VkFormatFeature2_VideoDecodeOutputKHR = 1 << 25, VideoDecodeOutputKHR = 1 << 25,
VkFormatFeature2_VideoDecodeDpbKHR = 1 << 26, VideoDecodeDpbKHR = 1 << 26,
VkFormatFeature2_AccelerationStructureVertexBufferKHR = 1 << 29, AccelerationStructureVertexBufferKHR = 1 << 29,
VkFormatFeature2_FragmentDensityMapEXT = 1 << 24, FragmentDensityMapEXT = 1 << 24,
VkFormatFeature2_FragmentShadingRateAttachmentKHR = 1 << 30, FragmentShadingRateAttachmentKHR = 1 << 30,
VkFormatFeature2_HostImageTransferEXT = VkFormatFeature2_HostImageTransfer, // Host image copies are supported HostImageTransferEXT = HostImageTransfer, // Host image copies are supported
VkFormatFeature2_VideoEncodeInputKHR = 1 << 27, VideoEncodeInputKHR = 1 << 27,
VkFormatFeature2_VideoEncodeDpbKHR = 1 << 28, VideoEncodeDpbKHR = 1 << 28,
VkFormatFeature2_SampledImageKHR = VkFormatFeature2_SampledImage, SampledImageKHR = SampledImage,
VkFormatFeature2_StorageImageKHR = VkFormatFeature2_StorageImage, StorageImageKHR = StorageImage,
VkFormatFeature2_StorageImageAtomicKHR = VkFormatFeature2_StorageImageAtomic, StorageImageAtomicKHR = StorageImageAtomic,
VkFormatFeature2_UniformTexelBufferKHR = VkFormatFeature2_UniformTexelBuffer, UniformTexelBufferKHR = UniformTexelBuffer,
VkFormatFeature2_StorageTexelBufferKHR = VkFormatFeature2_StorageTexelBuffer, StorageTexelBufferKHR = StorageTexelBuffer,
VkFormatFeature2_StorageTexelBufferAtomicKHR = VkFormatFeature2_StorageTexelBufferAtomic, StorageTexelBufferAtomicKHR = StorageTexelBufferAtomic,
VkFormatFeature2_VertexBufferKHR = VkFormatFeature2_VertexBuffer, VertexBufferKHR = VertexBuffer,
VkFormatFeature2_ColorAttachmentKHR = VkFormatFeature2_ColorAttachment, ColorAttachmentKHR = ColorAttachment,
VkFormatFeature2_ColorAttachmentBlendKHR = VkFormatFeature2_ColorAttachmentBlend, ColorAttachmentBlendKHR = ColorAttachmentBlend,
VkFormatFeature2_DepthStencilAttachmentKHR = VkFormatFeature2_DepthStencilAttachment, DepthStencilAttachmentKHR = DepthStencilAttachment,
VkFormatFeature2_BlitSrcKHR = VkFormatFeature2_BlitSrc, BlitSrcKHR = BlitSrc,
VkFormatFeature2_BlitDstKHR = VkFormatFeature2_BlitDst, BlitDstKHR = BlitDst,
VkFormatFeature2_SampledImageFilterLinearKHR = VkFormatFeature2_SampledImageFilterLinear, SampledImageFilterLinearKHR = SampledImageFilterLinear,
VkFormatFeature2_TransferSrcKHR = VkFormatFeature2_TransferSrc, TransferSrcKHR = TransferSrc,
VkFormatFeature2_TransferDstKHR = VkFormatFeature2_TransferDst, TransferDstKHR = TransferDst,
VkFormatFeature2_MidpointChromaSamplesKHR = VkFormatFeature2_MidpointChromaSamples, MidpointChromaSamplesKHR = MidpointChromaSamples,
VkFormatFeature2_SampledImageYcbcrConversionLinearFilterKHR = VkFormatFeature2_SampledImageYcbcrConversionLinearFilter, SampledImageYcbcrConversionLinearFilterKHR = SampledImageYcbcrConversionLinearFilter,
VkFormatFeature2_SampledImageYcbcrConversionSeparateReconstructionFilterKHR = VkFormatFeature2_SampledImageYcbcrConversionSeparateReconstructionFilter, SampledImageYcbcrConversionSeparateReconstructionFilterKHR = SampledImageYcbcrConversionSeparateReconstructionFilter,
VkFormatFeature2_SampledImageYcbcrConversionChromaReconstructionExplicitKHR = VkFormatFeature2_SampledImageYcbcrConversionChromaReconstructionExplicit, SampledImageYcbcrConversionChromaReconstructionExplicitKHR = SampledImageYcbcrConversionChromaReconstructionExplicit,
VkFormatFeature2_SampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR = VkFormatFeature2_SampledImageYcbcrConversionChromaReconstructionExplicitForceable, SampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR = SampledImageYcbcrConversionChromaReconstructionExplicitForceable,
VkFormatFeature2_DisjointKHR = VkFormatFeature2_Disjoint, DisjointKHR = Disjoint,
VkFormatFeature2_CositedChromaSamplesKHR = VkFormatFeature2_CositedChromaSamples, CositedChromaSamplesKHR = CositedChromaSamples,
VkFormatFeature2_StorageReadWithoutFormatKHR = VkFormatFeature2_StorageReadWithoutFormat, StorageReadWithoutFormatKHR = StorageReadWithoutFormat,
VkFormatFeature2_StorageWriteWithoutFormatKHR = VkFormatFeature2_StorageWriteWithoutFormat, StorageWriteWithoutFormatKHR = StorageWriteWithoutFormat,
VkFormatFeature2_SampledImageDepthComparisonKHR = VkFormatFeature2_SampledImageDepthComparison, SampledImageDepthComparisonKHR = SampledImageDepthComparison,
VkFormatFeature2_SampledImageFilterMinmaxKHR = VkFormatFeature2_SampledImageFilterMinmax, SampledImageFilterMinmaxKHR = SampledImageFilterMinmax,
VkFormatFeature2_SampledImageFilterCubicEXT = VkFormatFeature2_SampledImageFilterCubic, SampledImageFilterCubicEXT = SampledImageFilterCubic,
VkFormatFeature2_AccelerationStructureRadiusBufferNV = 1 << 51, AccelerationStructureRadiusBufferNV = 1 << 51,
VkFormatFeature2_LinearColorAttachmentNV = 1 << 38, // Format support linear image as render target, it cannot be mixed with non linear attachment LinearColorAttachmentNV = 1 << 38, // Format support linear image as render target, it cannot be mixed with non linear attachment
VkFormatFeature2_WeightImageQCOM = 1 << 34, WeightImageQCOM = 1 << 34,
VkFormatFeature2_WeightSampledImageQCOM = 1 << 35, WeightSampledImageQCOM = 1 << 35,
VkFormatFeature2_BlockMatchingQCOM = 1 << 36, BlockMatchingQCOM = 1 << 36,
VkFormatFeature2_BoxFilterSampledQCOM = 1 << 37, BoxFilterSampledQCOM = 1 << 37,
VkFormatFeature2_TensorShaderARM = 1 << 39, TensorShaderARM = 1 << 39,
VkFormatFeature2_TensorImageAliasingARM = 1 << 43, TensorImageAliasingARM = 1 << 43,
VkFormatFeature2_OpticalFlowImageNV = 1 << 40, OpticalFlowImageNV = 1 << 40,
VkFormatFeature2_OpticalFlowVectorNV = 1 << 41, OpticalFlowVectorNV = 1 << 41,
VkFormatFeature2_OpticalFlowCostNV = 1 << 42, OpticalFlowCostNV = 1 << 42,
VkFormatFeature2_TensorDataGraphARM = 1 << 48, TensorDataGraphARM = 1 << 48,
VkFormatFeature2_CopyImageIndirectDstKHR = 1 << 59, CopyImageIndirectDstKHR = 1 << 59,
VkFormatFeature2_VideoEncodeQuantizationDeltaMapKHR = 1 << 49, VideoEncodeQuantizationDeltaMapKHR = 1 << 49,
VkFormatFeature2_VideoEncodeEmphasisMapKHR = 1 << 50, VideoEncodeEmphasisMapKHR = 1 << 50,
VkFormatFeature2_DepthCopyOnComputeQueueKHR = 1 << 52, DepthCopyOnComputeQueueKHR = 1 << 52,
VkFormatFeature2_DepthCopyOnTransferQueueKHR = 1 << 53, DepthCopyOnTransferQueueKHR = 1 << 53,
VkFormatFeature2_StencilCopyOnComputeQueueKHR = 1 << 54, StencilCopyOnComputeQueueKHR = 1 << 54,
VkFormatFeature2_StencilCopyOnTransferQueueKHR = 1 << 55, StencilCopyOnTransferQueueKHR = 1 << 55,
} }
[CRepr] struct VkFormatProperties3 : this() [CRepr] struct VkFormatProperties3 : this()
@@ -13534,7 +13534,7 @@ typealias VkMemoryUnmapFlags = VkMemoryUnmapFlagBits;
public using public VkSubresourceLayout subresourceLayout = default; public using public VkSubresourceLayout subresourceLayout = default;
} }
typealias VkBufferUsageFlags2 = VkFlags64; typealias VkBufferUsageFlags2 = VkBufferUsageFlagBits2;
[AllowDuplicates] enum VkBufferUsageFlagBits2 : int32 [AllowDuplicates] enum VkBufferUsageFlagBits2 : int32
{ {
@@ -13581,48 +13581,48 @@ typealias VkBufferUsageFlags2 = VkFlags64;
[NoShow] VK_BUFFER_USAGE_2_MEMORY_DECOMPRESSION_BIT_EXT = 1 << 32, [NoShow] VK_BUFFER_USAGE_2_MEMORY_DECOMPRESSION_BIT_EXT = 1 << 32,
[NoShow] VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT = 1 << 31, [NoShow] VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT = 1 << 31,
// pretty names // pretty names
VkBufferUsage2_TransferSrc = 1 << 0, TransferSrc = 1 << 0,
VkBufferUsage2_TransferDst = 1 << 1, TransferDst = 1 << 1,
VkBufferUsage2_UniformTexelBuffer = 1 << 2, UniformTexelBuffer = 1 << 2,
VkBufferUsage2_StorageTexelBuffer = 1 << 3, StorageTexelBuffer = 1 << 3,
VkBufferUsage2_UniformBuffer = 1 << 4, UniformBuffer = 1 << 4,
VkBufferUsage2_StorageBuffer = 1 << 5, StorageBuffer = 1 << 5,
VkBufferUsage2_IndexBuffer = 1 << 6, IndexBuffer = 1 << 6,
VkBufferUsage2_VertexBuffer = 1 << 7, VertexBuffer = 1 << 7,
VkBufferUsage2_IndirectBuffer = 1 << 8, IndirectBuffer = 1 << 8,
VkBufferUsage2_ShaderDeviceAddress = 1 << 17, ShaderDeviceAddress = 1 << 17,
VkBufferUsage2_ExecutionGraphScratchAMDX = 1 << 25, ExecutionGraphScratchAMDX = 1 << 25,
VkBufferUsage2_TransferSrcKHR = VkBufferUsage2_TransferSrc, TransferSrcKHR = TransferSrc,
VkBufferUsage2_TransferDstKHR = VkBufferUsage2_TransferDst, TransferDstKHR = TransferDst,
VkBufferUsage2_UniformTexelBufferKHR = VkBufferUsage2_UniformTexelBuffer, UniformTexelBufferKHR = UniformTexelBuffer,
VkBufferUsage2_StorageTexelBufferKHR = VkBufferUsage2_StorageTexelBuffer, StorageTexelBufferKHR = StorageTexelBuffer,
VkBufferUsage2_UniformBufferKHR = VkBufferUsage2_UniformBuffer, UniformBufferKHR = UniformBuffer,
VkBufferUsage2_StorageBufferKHR = VkBufferUsage2_StorageBuffer, StorageBufferKHR = StorageBuffer,
VkBufferUsage2_IndexBufferKHR = VkBufferUsage2_IndexBuffer, IndexBufferKHR = IndexBuffer,
VkBufferUsage2_VertexBufferKHR = VkBufferUsage2_VertexBuffer, VertexBufferKHR = VertexBuffer,
VkBufferUsage2_IndirectBufferKHR = VkBufferUsage2_IndirectBuffer, IndirectBufferKHR = IndirectBuffer,
VkBufferUsage2_ConditionalRenderingEXT = 1 << 9, ConditionalRenderingEXT = 1 << 9,
VkBufferUsage2_ShaderBindingTableKHR = 1 << 10, ShaderBindingTableKHR = 1 << 10,
VkBufferUsage2_RayTracingNV = VkBufferUsage2_ShaderBindingTableKHR, RayTracingNV = ShaderBindingTableKHR,
VkBufferUsage2_TransformFeedbackBufferEXT = 1 << 11, TransformFeedbackBufferEXT = 1 << 11,
VkBufferUsage2_TransformFeedbackCounterBufferEXT = 1 << 12, TransformFeedbackCounterBufferEXT = 1 << 12,
VkBufferUsage2_VideoDecodeSrcKHR = 1 << 13, VideoDecodeSrcKHR = 1 << 13,
VkBufferUsage2_VideoDecodeDstKHR = 1 << 14, VideoDecodeDstKHR = 1 << 14,
VkBufferUsage2_VideoEncodeDstKHR = 1 << 15, VideoEncodeDstKHR = 1 << 15,
VkBufferUsage2_VideoEncodeSrcKHR = 1 << 16, VideoEncodeSrcKHR = 1 << 16,
VkBufferUsage2_ShaderDeviceAddressKHR = VkBufferUsage2_ShaderDeviceAddress, ShaderDeviceAddressKHR = ShaderDeviceAddress,
VkBufferUsage2_AccelerationStructureBuildInputReadOnlyKHR = 1 << 19, AccelerationStructureBuildInputReadOnlyKHR = 1 << 19,
VkBufferUsage2_AccelerationStructureStorageKHR = 1 << 20, AccelerationStructureStorageKHR = 1 << 20,
VkBufferUsage2_SamplerDescriptorBufferEXT = 1 << 21, SamplerDescriptorBufferEXT = 1 << 21,
VkBufferUsage2_ResourceDescriptorBufferEXT = 1 << 22, ResourceDescriptorBufferEXT = 1 << 22,
VkBufferUsage2_PushDescriptorsDescriptorBufferEXT = 1 << 26, PushDescriptorsDescriptorBufferEXT = 1 << 26,
VkBufferUsage2_MicromapBuildInputReadOnlyEXT = 1 << 23, MicromapBuildInputReadOnlyEXT = 1 << 23,
VkBufferUsage2_MicromapStorageEXT = 1 << 24, MicromapStorageEXT = 1 << 24,
VkBufferUsage2_CompressedDataDgf1AMDX = 1 << 33, CompressedDataDgf1AMDX = 1 << 33,
VkBufferUsage2_DataGraphForeignDescriptorARM = 1 << 29, DataGraphForeignDescriptorARM = 1 << 29,
VkBufferUsage2_TileMemoryQCOM = 1 << 27, TileMemoryQCOM = 1 << 27,
VkBufferUsage2_MemoryDecompressionEXT = 1 << 32, MemoryDecompressionEXT = 1 << 32,
VkBufferUsage2_PreprocessBufferEXT = 1 << 31, PreprocessBufferEXT = 1 << 31,
} }
[CRepr] struct VkBufferUsageFlags2CreateInfo : this() [CRepr] struct VkBufferUsageFlags2CreateInfo : this()
@@ -13959,7 +13959,7 @@ typealias VkHostImageCopyFlags = VkHostImageCopyFlagBits;
} }
// Promoted from VK_KHR_maintenance5 (extension 471) 'Roadmap 2024' // Promoted from VK_KHR_maintenance5 (extension 471) 'Roadmap 2024'
typealias VkPipelineCreateFlags2 = VkFlags64; typealias VkPipelineCreateFlags2 = VkPipelineCreateFlagBits2;
[AllowDuplicates] enum VkPipelineCreateFlagBits2 : int32 [AllowDuplicates] enum VkPipelineCreateFlagBits2 : int32
{ {
@@ -14013,55 +14013,55 @@ typealias VkPipelineCreateFlags2 = VkFlags64;
[NoShow] VK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE = 1 << 40, [NoShow] VK_PIPELINE_CREATE_2_PER_LAYER_FRAGMENT_DENSITY_BIT_VALVE = 1 << 40,
[NoShow] VK_PIPELINE_CREATE_2_64_BIT_INDEXING_BIT_EXT = 1 << 43, [NoShow] VK_PIPELINE_CREATE_2_64_BIT_INDEXING_BIT_EXT = 1 << 43,
// pretty names // pretty names
VkPipelineCreate2_DisableOptimization = 1 << 0, DisableOptimization = 1 << 0,
VkPipelineCreate2_AllowDerivatives = 1 << 1, AllowDerivatives = 1 << 1,
VkPipelineCreate2_Derivative = 1 << 2, Derivative = 1 << 2,
VkPipelineCreate2_ViewIndexFromDeviceIndex = 1 << 3, ViewIndexFromDeviceIndex = 1 << 3,
VkPipelineCreate2_DispatchBase = 1 << 4, DispatchBase = 1 << 4,
VkPipelineCreate2_FailOnPipelineCompileRequired = 1 << 8, FailOnPipelineCompileRequired = 1 << 8,
VkPipelineCreate2_EarlyReturnOnFailure = 1 << 9, EarlyReturnOnFailure = 1 << 9,
VkPipelineCreate2_NoProtectedAccess = 1 << 27, NoProtectedAccess = 1 << 27,
VkPipelineCreate2_ProtectedAccessOnly = 1 << 30, ProtectedAccessOnly = 1 << 30,
VkPipelineCreate2_ExecutionGraphAMDX = 1 << 32, ExecutionGraphAMDX = 1 << 32,
VkPipelineCreate2_RayTracingSkipBuiltInPrimitivesKHR = VkPipelineCreate2_RayTracingSkipTrianglesKHR, RayTracingSkipBuiltInPrimitivesKHR = RayTracingSkipTrianglesKHR,
VkPipelineCreate2_RayTracingAllowSpheresAndLinearSweptSpheresNV = 1 << 33, RayTracingAllowSpheresAndLinearSweptSpheresNV = 1 << 33,
VkPipelineCreate2_EnableLegacyDitheringEXT = 1 << 34, EnableLegacyDitheringEXT = 1 << 34,
VkPipelineCreate2_DisableOptimizationKHR = VkPipelineCreate2_DisableOptimization, DisableOptimizationKHR = DisableOptimization,
VkPipelineCreate2_AllowDerivativesKHR = VkPipelineCreate2_AllowDerivatives, AllowDerivativesKHR = AllowDerivatives,
VkPipelineCreate2_DerivativeKHR = VkPipelineCreate2_Derivative, DerivativeKHR = Derivative,
VkPipelineCreate2_ViewIndexFromDeviceIndexKHR = VkPipelineCreate2_ViewIndexFromDeviceIndex, ViewIndexFromDeviceIndexKHR = ViewIndexFromDeviceIndex,
VkPipelineCreate2_DispatchBaseKHR = VkPipelineCreate2_DispatchBase, DispatchBaseKHR = DispatchBase,
VkPipelineCreate2_DeferCompileNV = 1 << 5, DeferCompileNV = 1 << 5,
VkPipelineCreate2_CaptureStatisticsKHR = 1 << 6, CaptureStatisticsKHR = 1 << 6,
VkPipelineCreate2_CaptureInternalRepresentationsKHR = 1 << 7, CaptureInternalRepresentationsKHR = 1 << 7,
VkPipelineCreate2_FailOnPipelineCompileRequiredKHR = VkPipelineCreate2_FailOnPipelineCompileRequired, FailOnPipelineCompileRequiredKHR = FailOnPipelineCompileRequired,
VkPipelineCreate2_EarlyReturnOnFailureKHR = VkPipelineCreate2_EarlyReturnOnFailure, EarlyReturnOnFailureKHR = EarlyReturnOnFailure,
VkPipelineCreate2_LinkTimeOptimizationEXT = 1 << 10, LinkTimeOptimizationEXT = 1 << 10,
VkPipelineCreate2_RetainLinkTimeOptimizationInfoEXT = 1 << 23, RetainLinkTimeOptimizationInfoEXT = 1 << 23,
VkPipelineCreate2_LibraryKHR = 1 << 11, LibraryKHR = 1 << 11,
VkPipelineCreate2_RayTracingSkipTrianglesKHR = 1 << 12, RayTracingSkipTrianglesKHR = 1 << 12,
VkPipelineCreate2_RayTracingSkipAabbsKHR = 1 << 13, RayTracingSkipAabbsKHR = 1 << 13,
VkPipelineCreate2_RayTracingNoNullAnyHitShadersKHR = 1 << 14, RayTracingNoNullAnyHitShadersKHR = 1 << 14,
VkPipelineCreate2_RayTracingNoNullClosestHitShadersKHR = 1 << 15, RayTracingNoNullClosestHitShadersKHR = 1 << 15,
VkPipelineCreate2_RayTracingNoNullMissShadersKHR = 1 << 16, RayTracingNoNullMissShadersKHR = 1 << 16,
VkPipelineCreate2_RayTracingNoNullIntersectionShadersKHR = 1 << 17, RayTracingNoNullIntersectionShadersKHR = 1 << 17,
VkPipelineCreate2_RayTracingShaderGroupHandleCaptureReplayKHR = 1 << 19, RayTracingShaderGroupHandleCaptureReplayKHR = 1 << 19,
VkPipelineCreate2_IndirectBindableNV = 1 << 18, IndirectBindableNV = 1 << 18,
VkPipelineCreate2_RayTracingAllowMotionNV = 1 << 20, RayTracingAllowMotionNV = 1 << 20,
VkPipelineCreate2_RenderingFragmentShadingRateAttachmentKHR = 1 << 21, RenderingFragmentShadingRateAttachmentKHR = 1 << 21,
VkPipelineCreate2_RenderingFragmentDensityMapAttachmentEXT = 1 << 22, RenderingFragmentDensityMapAttachmentEXT = 1 << 22,
VkPipelineCreate2_RayTracingOpacityMicromapEXT = 1 << 24, RayTracingOpacityMicromapEXT = 1 << 24,
VkPipelineCreate2_ColorAttachmentFeedbackLoopEXT = 1 << 25, ColorAttachmentFeedbackLoopEXT = 1 << 25,
VkPipelineCreate2_DepthStencilAttachmentFeedbackLoopEXT = 1 << 26, DepthStencilAttachmentFeedbackLoopEXT = 1 << 26,
VkPipelineCreate2_NoProtectedAccessEXT = VkPipelineCreate2_NoProtectedAccess, NoProtectedAccessEXT = NoProtectedAccess,
VkPipelineCreate2_ProtectedAccessOnlyEXT = VkPipelineCreate2_ProtectedAccessOnly, ProtectedAccessOnlyEXT = ProtectedAccessOnly,
VkPipelineCreate2_RayTracingDisplacementMicromapNV = 1 << 28, RayTracingDisplacementMicromapNV = 1 << 28,
VkPipelineCreate2_DescriptorBufferEXT = 1 << 29, DescriptorBufferEXT = 1 << 29,
VkPipelineCreate2_DisallowOpacityMicromapARM = 1 << 37, DisallowOpacityMicromapARM = 1 << 37,
VkPipelineCreate2_CaptureDataKHR = 1 << 31, CaptureDataKHR = 1 << 31,
VkPipelineCreate2_IndirectBindableEXT = 1 << 38, IndirectBindableEXT = 1 << 38,
VkPipelineCreate2_PerLayerFragmentDensityVALVE = 1 << 40, PerLayerFragmentDensityVALVE = 1 << 40,
VkPipelineCreate2_64_BitIndexingEXT = 1 << 43, _64_BitIndexingEXT = 1 << 43,
} }
[CRepr] struct VkPipelineCreateFlags2CreateInfo : this() [CRepr] struct VkPipelineCreateFlags2CreateInfo : this()
@@ -22341,7 +22341,7 @@ static { public const let VK_EXT_PRESENT_TIMING_EXTENSION_NAME = "VK_EXT_present
ImageFirstPixelVisibleEXT = 1 << 3, ImageFirstPixelVisibleEXT = 1 << 3,
} }
typealias VkPresentStageFlagsEXT = VkFlags; typealias VkPresentStageFlagsEXT = VkPresentStageFlagBitsEXT;
[AllowDuplicates] enum VkPresentTimingInfoFlagBitsEXT : int32 [AllowDuplicates] enum VkPresentTimingInfoFlagBitsEXT : int32
{ {
@@ -22352,7 +22352,7 @@ typealias VkPresentStageFlagsEXT = VkFlags;
PresentAtNearestRefreshCycleEXT = 1 << 1, PresentAtNearestRefreshCycleEXT = 1 << 1,
} }
typealias VkPresentTimingInfoFlagsEXT = VkFlags; typealias VkPresentTimingInfoFlagsEXT = VkPresentTimingInfoFlagBitsEXT;
[AllowDuplicates] enum VkPastPresentationTimingFlagBitsEXT : int32 [AllowDuplicates] enum VkPastPresentationTimingFlagBitsEXT : int32
{ {
@@ -22363,7 +22363,7 @@ typealias VkPresentTimingInfoFlagsEXT = VkFlags;
AllowOutOfOrderResultsEXT = 1 << 1, AllowOutOfOrderResultsEXT = 1 << 1,
} }
typealias VkPastPresentationTimingFlagsEXT = VkFlags; typealias VkPastPresentationTimingFlagsEXT = VkPastPresentationTimingFlagBitsEXT;
[CallingConvention(VKAPI_PTR)] function VkResult PFN_vkSetSwapchainPresentTimingQueueSizeEXT(VkDevice device, VkSwapchainKHR swapchain, uint32 size); [CallingConvention(VKAPI_PTR)] function VkResult PFN_vkSetSwapchainPresentTimingQueueSizeEXT(VkDevice device, VkSwapchainKHR swapchain, uint32 size);
[CallingConvention(VKAPI_PTR)] function VkResult PFN_vkGetSwapchainTimingPropertiesEXT(VkDevice device, VkSwapchainKHR swapchain, out VkSwapchainTimingPropertiesEXT pSwapchainTimingProperties, out uint64 pSwapchainTimingPropertiesCounter); [CallingConvention(VKAPI_PTR)] function VkResult PFN_vkGetSwapchainTimingPropertiesEXT(VkDevice device, VkSwapchainKHR swapchain, out VkSwapchainTimingPropertiesEXT pSwapchainTimingProperties, out uint64 pSwapchainTimingPropertiesCounter);
@@ -28375,7 +28375,7 @@ static { public const let VK_ARM_SCHEDULING_CONTROLS_EXTENSION_NAME = "VK_ARM_sc
public VkPhysicalDeviceSchedulingControlsFlagsARM schedulingControlsFlags = default; public VkPhysicalDeviceSchedulingControlsFlagsARM schedulingControlsFlags = default;
} }
typealias VkPhysicalDeviceSchedulingControlsFlagsARM = VkFlags64; typealias VkPhysicalDeviceSchedulingControlsFlagsARM = VkPhysicalDeviceSchedulingControlsFlagBitsARM;
[AllowDuplicates] enum VkPhysicalDeviceSchedulingControlsFlagBitsARM : int32 [AllowDuplicates] enum VkPhysicalDeviceSchedulingControlsFlagBitsARM : int32
{ {
@@ -29363,7 +29363,7 @@ struct VkTensorViewARM : uint64
public const VkObjectType ObjectType = .VK_OBJECT_TYPE_TENSOR_VIEW_ARM; public const VkObjectType ObjectType = .VK_OBJECT_TYPE_TENSOR_VIEW_ARM;
public static operator Self(decltype(null)) => VK_NULL_HANDLE; public static operator Self(decltype(null)) => VK_NULL_HANDLE;
} }
typealias VkTensorCreateFlagsARM = VkFlags64; typealias VkTensorCreateFlagsARM = VkTensorCreateFlagBitsARM;
[AllowDuplicates] enum VkTensorCreateFlagBitsARM : int32 [AllowDuplicates] enum VkTensorCreateFlagBitsARM : int32
{ {
@@ -29376,7 +29376,7 @@ typealias VkTensorCreateFlagsARM = VkFlags64;
DescriptorBufferCaptureReplayARM = 1 << 2, DescriptorBufferCaptureReplayARM = 1 << 2,
} }
typealias VkTensorViewCreateFlagsARM = VkFlags64; typealias VkTensorViewCreateFlagsARM = VkTensorViewCreateFlagBitsARM;
[AllowDuplicates] enum VkTensorViewCreateFlagBitsARM : int32 [AllowDuplicates] enum VkTensorViewCreateFlagBitsARM : int32
{ {
@@ -29385,7 +29385,7 @@ typealias VkTensorViewCreateFlagsARM = VkFlags64;
DescriptorBufferCaptureReplayARM = 1 << 0, DescriptorBufferCaptureReplayARM = 1 << 0,
} }
typealias VkTensorUsageFlagsARM = VkFlags64; typealias VkTensorUsageFlagsARM = VkTensorUsageFlagBitsARM;
[AllowDuplicates] enum VkTensorUsageFlagBitsARM : int32 [AllowDuplicates] enum VkTensorUsageFlagBitsARM : int32
{ {
@@ -32002,7 +32002,7 @@ struct VkDataGraphPipelineSessionARM : uint64
} }
} }
typealias VkDataGraphPipelineSessionCreateFlagsARM = VkFlags64; typealias VkDataGraphPipelineSessionCreateFlagsARM = VkDataGraphPipelineSessionCreateFlagBitsARM;
[AllowDuplicates] enum VkDataGraphPipelineSessionCreateFlagBitsARM : int32 [AllowDuplicates] enum VkDataGraphPipelineSessionCreateFlagBitsARM : int32
{ {
@@ -32150,7 +32150,7 @@ typealias VkDataGraphPipelineSessionCreateFlagsARM = VkFlags64;
} }
} }
typealias VkDataGraphPipelineDispatchFlagsARM = VkFlags64; typealias VkDataGraphPipelineDispatchFlagsARM = VkDataGraphPipelineDispatchFlagBitsARM;
[AllowDuplicates] enum VkDataGraphPipelineDispatchFlagBitsARM : int32 [AllowDuplicates] enum VkDataGraphPipelineDispatchFlagBitsARM : int32
{ {
@@ -33612,7 +33612,7 @@ static { public const let VK_EXT_MEMORY_DECOMPRESSION_EXTENSION_NAME = "VK_EXT_m
Gdeflate1_0NV = Gdeflate1_0EXT, Gdeflate1_0NV = Gdeflate1_0EXT,
} }
typealias VkMemoryDecompressionMethodFlagsEXT = VkFlags64; typealias VkMemoryDecompressionMethodFlagsEXT = VkMemoryDecompressionMethodFlagBitsEXT;
[CRepr] struct VkDecompressMemoryInfoEXT : this() [CRepr] struct VkDecompressMemoryInfoEXT : this()
{ {
@@ -35349,10 +35349,10 @@ static { public const let VK_KHR_MAINTENANCE_8_EXTENSION_NAME = "VK_KHR_maintena
{ {
[NoShow] VK_ACCESS_3_NONE_KHR = 0, [NoShow] VK_ACCESS_3_NONE_KHR = 0,
// pretty names // pretty names
VkAccess3_NoneKHR = 0, NoneKHR = 0,
} }
typealias VkAccessFlags3KHR = VkFlags64; typealias VkAccessFlags3KHR = VkAccessFlagBits3KHR;
[CRepr] struct VkPhysicalDeviceMaintenance8FeaturesKHR : this() [CRepr] struct VkPhysicalDeviceMaintenance8FeaturesKHR : this()
{ {