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