Skip to content

Commit 78bbb4d

Browse files
committed
Fix Vulkan enum constants not being identified properly
This meant that the enum constants were not being moved from Vulkan.gen.cs to their corresponding enum types.
1 parent d1fa402 commit 78bbb4d

12 files changed

+386
-2716
lines changed

.silktouch/c8c046b328b09d23.stout

-8 Bytes
Binary file not shown.

.silktouch/ce565fcfc6aa78c8.stout

0 Bytes
Binary file not shown.

sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs

Lines changed: 51 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,6 +1834,7 @@ private class Rewriter(JobData job) : CSharpSyntaxRewriter(true)
18341834

18351835
public override SyntaxNode? VisitFieldDeclaration(FieldDeclarationSyntax node)
18361836
{
1837+
// Only match constant fields
18371838
if (
18381839
node.Declaration.Variables.Count != 1
18391840
|| !node.Modifiers.Any(SyntaxKind.ConstKeyword)
@@ -1843,29 +1844,62 @@ private class Rewriter(JobData job) : CSharpSyntaxRewriter(true)
18431844
}
18441845

18451846
var nativeName = node.AttributeLists.GetNativeTypeName();
1846-
if (nativeName is null || !nativeName.StartsWith("#define "))
1847+
switch (nativeName)
18471848
{
1848-
return base.VisitFieldDeclaration(node);
1849-
}
1849+
// Handle case where the native name is in the form "#define NAME VALUE"
1850+
case {} s when s.StartsWith("#define "):
1851+
{
1852+
// Extract the "NAME" portion from the native name
1853+
var nativeNameSpan = s.AsSpan()["#define ".Length..].Trim();
1854+
var defineName = (
1855+
nativeNameSpan.IndexOf(' ') is >= 0 and var idx ? nativeNameSpan[..idx] : nativeNameSpan
1856+
).ToString();
1857+
1858+
// Remove constants that match an API set name
1859+
// Eg: #define GL_VERSION_1_0 1
1860+
if (job.ApiSets.ContainsKey(defineName))
1861+
{
1862+
return null;
1863+
}
18501864

1851-
var nnSpan = nativeName.AsSpan()["#define ".Length..].Trim();
1852-
nativeName = (
1853-
nnSpan.IndexOf(' ') is >= 0 and var idx ? nnSpan[..idx] : nnSpan
1854-
).ToString();
1865+
// Remove constants that match an enum name
1866+
// We save these constants so we can move them to the actual enum
1867+
if (job.EnumsToGroups.TryGetValue(defineName, out var groups))
1868+
{
1869+
foreach (var group in groups)
1870+
{
1871+
job.Groups[group].Enums.Add(node.Declaration.Variables[0]);
1872+
}
18551873

1856-
if (job.ApiSets.ContainsKey(nativeName))
1857-
{
1858-
return null;
1859-
}
1874+
return null;
1875+
}
18601876

1861-
if (job.EnumsToGroups.TryGetValue(nativeName, out var groups))
1862-
{
1863-
foreach (var group in groups)
1864-
{
1865-
job.Groups[group].Enums.Add(node.Declaration.Variables[0]);
1877+
break;
18661878
}
18671879

1868-
return null;
1880+
// Handle case where the native name is in the form "const Type"
1881+
case {} s when s.StartsWith("const "):
1882+
{
1883+
// Extract the "Type" portion from the native name
1884+
var typeName = s.AsSpan()["const ".Length..].Trim().ToString();
1885+
1886+
// Vulkan/OpenXR enum name
1887+
if (typeName.Contains("FlagBits"))
1888+
{
1889+
typeName = typeName.Replace("FlagBits", "Flags");
1890+
}
1891+
1892+
// Remove constants that match an enum group name
1893+
// We save these constants so we can move them to the actual enum
1894+
if (job.Groups.TryGetValue(typeName, out var group))
1895+
{
1896+
job.Groups[group.Name].Enums.Add(node.Declaration.Variables[0]);
1897+
1898+
return null;
1899+
}
1900+
1901+
break;
1902+
}
18691903
}
18701904

18711905
return base.VisitFieldDeclaration(node);

sources/Vulkan/Vulkan/Enums/AccessFlags2.gen.cs

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,77 @@
1010
namespace Silk.NET.Vulkan;
1111

1212
[Transformed]
13-
public enum AccessFlags2 : ulong { }
13+
public enum AccessFlags2 : ulong
14+
{
15+
None = unchecked((ulong)0UL),
16+
IndirectCommandReadBit = unchecked((ulong)0x00000001UL),
17+
IndexReadBit = unchecked((ulong)0x00000002UL),
18+
VertexAttributeReadBit = unchecked((ulong)0x00000004UL),
19+
UniformReadBit = unchecked((ulong)0x00000008UL),
20+
InputAttachmentReadBit = unchecked((ulong)0x00000010UL),
21+
ShaderReadBit = unchecked((ulong)0x00000020UL),
22+
ShaderWriteBit = unchecked((ulong)0x00000040UL),
23+
ColorAttachmentReadBit = unchecked((ulong)0x00000080UL),
24+
ColorAttachmentWriteBit = unchecked((ulong)0x00000100UL),
25+
DepthStencilAttachmentReadBit = unchecked((ulong)0x00000200UL),
26+
DepthStencilAttachmentWriteBit = unchecked((ulong)0x00000400UL),
27+
TransferReadBit = unchecked((ulong)0x00000800UL),
28+
TransferWriteBit = unchecked((ulong)0x00001000UL),
29+
HostReadBit = unchecked((ulong)0x00002000UL),
30+
HostWriteBit = unchecked((ulong)0x00004000UL),
31+
MemoryReadBit = unchecked((ulong)0x00008000UL),
32+
MemoryWriteBit = unchecked((ulong)0x00010000UL),
33+
ShaderSampledReadBit = unchecked((ulong)0x100000000UL),
34+
ShaderStorageReadBit = unchecked((ulong)0x200000000UL),
35+
ShaderStorageWriteBit = unchecked((ulong)0x400000000UL),
36+
VideoDecodeReadBitKHR = unchecked((ulong)0x800000000UL),
37+
VideoDecodeWriteBitKHR = unchecked((ulong)0x1000000000UL),
38+
VideoEncodeReadBitKHR = unchecked((ulong)0x2000000000UL),
39+
VideoEncodeWriteBitKHR = unchecked((ulong)0x4000000000UL),
40+
ShaderTileAttachmentReadBitQCOM = unchecked((ulong)0x8000000000000UL),
41+
ShaderTileAttachmentWriteBitQCOM = unchecked((ulong)0x10000000000000UL),
42+
NoneKHR = unchecked((ulong)0UL),
43+
IndirectCommandReadBitKHR = unchecked((ulong)0x00000001UL),
44+
IndexReadBitKHR = unchecked((ulong)0x00000002UL),
45+
VertexAttributeReadBitKHR = unchecked((ulong)0x00000004UL),
46+
UniformReadBitKHR = unchecked((ulong)0x00000008UL),
47+
InputAttachmentReadBitKHR = unchecked((ulong)0x00000010UL),
48+
ShaderReadBitKHR = unchecked((ulong)0x00000020UL),
49+
ShaderWriteBitKHR = unchecked((ulong)0x00000040UL),
50+
ColorAttachmentReadBitKHR = unchecked((ulong)0x00000080UL),
51+
ColorAttachmentWriteBitKHR = unchecked((ulong)0x00000100UL),
52+
DepthStencilAttachmentReadBitKHR = unchecked((ulong)0x00000200UL),
53+
DepthStencilAttachmentWriteBitKHR = unchecked((ulong)0x00000400UL),
54+
TransferReadBitKHR = unchecked((ulong)0x00000800UL),
55+
TransferWriteBitKHR = unchecked((ulong)0x00001000UL),
56+
HostReadBitKHR = unchecked((ulong)0x00002000UL),
57+
HostWriteBitKHR = unchecked((ulong)0x00004000UL),
58+
MemoryReadBitKHR = unchecked((ulong)0x00008000UL),
59+
MemoryWriteBitKHR = unchecked((ulong)0x00010000UL),
60+
ShaderSampledReadBitKHR = unchecked((ulong)0x100000000UL),
61+
ShaderStorageReadBitKHR = unchecked((ulong)0x200000000UL),
62+
ShaderStorageWriteBitKHR = unchecked((ulong)0x400000000UL),
63+
TransformFeedbackWriteBitEXT = unchecked((ulong)0x02000000UL),
64+
TransformFeedbackCounterReadBitEXT = unchecked((ulong)0x04000000UL),
65+
TransformFeedbackCounterWriteBitEXT = unchecked((ulong)0x08000000UL),
66+
ConditionalRenderingReadBitEXT = unchecked((ulong)0x00100000UL),
67+
CommandPreprocessReadBitNV = unchecked((ulong)0x00020000UL),
68+
CommandPreprocessWriteBitNV = unchecked((ulong)0x00040000UL),
69+
CommandPreprocessReadBitEXT = unchecked((ulong)0x00020000UL),
70+
CommandPreprocessWriteBitEXT = unchecked((ulong)0x00040000UL),
71+
FragmentShadingRateAttachmentReadBitKHR = unchecked((ulong)0x00800000UL),
72+
ShadingRateImageReadBitNV = unchecked((ulong)0x00800000UL),
73+
AccelerationStructureReadBitKHR = unchecked((ulong)0x00200000UL),
74+
AccelerationStructureWriteBitKHR = unchecked((ulong)0x00400000UL),
75+
AccelerationStructureReadBitNV = unchecked((ulong)0x00200000UL),
76+
AccelerationStructureWriteBitNV = unchecked((ulong)0x00400000UL),
77+
FragmentDensityMapReadBitEXT = unchecked((ulong)0x01000000UL),
78+
ColorAttachmentReadNoncoherentBitEXT = unchecked((ulong)0x00080000UL),
79+
DescriptorBufferReadBitEXT = unchecked((ulong)0x20000000000UL),
80+
InvocationMaskReadBitHuawei = unchecked((ulong)0x8000000000UL),
81+
ShaderBindingTableReadBitKHR = unchecked((ulong)0x10000000000UL),
82+
MicromapReadBitEXT = unchecked((ulong)0x100000000000UL),
83+
MicromapWriteBitEXT = unchecked((ulong)0x200000000000UL),
84+
OpticalFlowReadBitNV = unchecked((ulong)0x40000000000UL),
85+
OpticalFlowWriteBitNV = unchecked((ulong)0x80000000000UL),
86+
}

sources/Vulkan/Vulkan/Enums/AccessFlags3KHR.gen.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@
1010
namespace Silk.NET.Vulkan;
1111

1212
[Transformed]
13-
public enum AccessFlags3KHR : ulong { }
13+
public enum AccessFlags3KHR : ulong
14+
{
15+
Access3NoneKHR = unchecked((ulong)0UL),
16+
}

sources/Vulkan/Vulkan/Enums/BufferUsageFlags2.gen.cs

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,44 @@
1010
namespace Silk.NET.Vulkan;
1111

1212
[Transformed]
13-
public enum BufferUsageFlags2 : ulong { }
13+
public enum BufferUsageFlags2 : ulong
14+
{
15+
TransferSrcBit = unchecked((ulong)0x00000001UL),
16+
TransferDstBit = unchecked((ulong)0x00000002UL),
17+
UniformTexelBufferBit = unchecked((ulong)0x00000004UL),
18+
StorageTexelBufferBit = unchecked((ulong)0x00000008UL),
19+
UniformBufferBit = unchecked((ulong)0x00000010UL),
20+
StorageBufferBit = unchecked((ulong)0x00000020UL),
21+
IndexBufferBit = unchecked((ulong)0x00000040UL),
22+
VertexBufferBit = unchecked((ulong)0x00000080UL),
23+
IndirectBufferBit = unchecked((ulong)0x00000100UL),
24+
ShaderDeviceAddressBit = unchecked((ulong)0x00020000UL),
25+
TransferSrcBitKHR = unchecked((ulong)0x00000001UL),
26+
TransferDstBitKHR = unchecked((ulong)0x00000002UL),
27+
UniformTexelBufferBitKHR = unchecked((ulong)0x00000004UL),
28+
StorageTexelBufferBitKHR = unchecked((ulong)0x00000008UL),
29+
UniformBufferBitKHR = unchecked((ulong)0x00000010UL),
30+
StorageBufferBitKHR = unchecked((ulong)0x00000020UL),
31+
IndexBufferBitKHR = unchecked((ulong)0x00000040UL),
32+
VertexBufferBitKHR = unchecked((ulong)0x00000080UL),
33+
IndirectBufferBitKHR = unchecked((ulong)0x00000100UL),
34+
ConditionalRenderingBitEXT = unchecked((ulong)0x00000200UL),
35+
ShaderBindingTableBitKHR = unchecked((ulong)0x00000400UL),
36+
RayTracingBitNV = unchecked((ulong)0x00000400UL),
37+
TransformFeedbackBufferBitEXT = unchecked((ulong)0x00000800UL),
38+
TransformFeedbackCounterBufferBitEXT = unchecked((ulong)0x00001000UL),
39+
VideoDecodeSrcBitKHR = unchecked((ulong)0x00002000UL),
40+
VideoDecodeDstBitKHR = unchecked((ulong)0x00004000UL),
41+
VideoEncodeDstBitKHR = unchecked((ulong)0x00008000UL),
42+
VideoEncodeSrcBitKHR = unchecked((ulong)0x00010000UL),
43+
ShaderDeviceAddressBitKHR = unchecked((ulong)0x00020000UL),
44+
AccelerationStructureBuildInputReadOnlyBitKHR = unchecked((ulong)0x00080000UL),
45+
AccelerationStructureStorageBitKHR = unchecked((ulong)0x00100000UL),
46+
SamplerDescriptorBufferBitEXT = unchecked((ulong)0x00200000UL),
47+
ResourceDescriptorBufferBitEXT = unchecked((ulong)0x00400000UL),
48+
PushDescriptorsDescriptorBufferBitEXT = unchecked((ulong)0x04000000UL),
49+
MicromapBuildInputReadOnlyBitEXT = unchecked((ulong)0x00800000UL),
50+
MicromapStorageBitEXT = unchecked((ulong)0x01000000UL),
51+
TileMemoryBitQCOM = unchecked((ulong)0x08000000UL),
52+
PreprocessBufferBitEXT = unchecked((ulong)0x80000000UL),
53+
}

sources/Vulkan/Vulkan/Enums/FormatFeatureFlags2.gen.cs

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,82 @@
1010
namespace Silk.NET.Vulkan;
1111

1212
[Transformed]
13-
public enum FormatFeatureFlags2 : ulong { }
13+
public enum FormatFeatureFlags2 : ulong
14+
{
15+
SampledImageBit = unchecked((ulong)0x00000001UL),
16+
StorageImageBit = unchecked((ulong)0x00000002UL),
17+
StorageImageAtomicBit = unchecked((ulong)0x00000004UL),
18+
UniformTexelBufferBit = unchecked((ulong)0x00000008UL),
19+
StorageTexelBufferBit = unchecked((ulong)0x00000010UL),
20+
StorageTexelBufferAtomicBit = unchecked((ulong)0x00000020UL),
21+
VertexBufferBit = unchecked((ulong)0x00000040UL),
22+
ColorAttachmentBit = unchecked((ulong)0x00000080UL),
23+
ColorAttachmentBlendBit = unchecked((ulong)0x00000100UL),
24+
DepthStencilAttachmentBit = unchecked((ulong)0x00000200UL),
25+
BlitSrcBit = unchecked((ulong)0x00000400UL),
26+
BlitDstBit = unchecked((ulong)0x00000800UL),
27+
SampledImageFilterLinearBit = unchecked((ulong)0x00001000UL),
28+
TransferSrcBit = unchecked((ulong)0x00004000UL),
29+
TransferDstBit = unchecked((ulong)0x00008000UL),
30+
SampledImageFilterMinmaxBit = unchecked((ulong)0x00010000UL),
31+
MidpointChromaSamplesBit = unchecked((ulong)0x00020000UL),
32+
SampledImageYcbcrConversionLinearFilterBit = unchecked((ulong)0x00040000UL),
33+
SampledImageYcbcrConversionSeparateReconstructionFilterBit = unchecked((ulong)0x00080000UL),
34+
SampledImageYcbcrConversionChromaReconstructionExplicitBit = unchecked((ulong)0x00100000UL),
35+
SampledImageYcbcrConversionChromaReconstructionExplicitForceableBit =
36+
unchecked((ulong)0x00200000UL),
37+
DisjointBit = unchecked((ulong)0x00400000UL),
38+
CositedChromaSamplesBit = unchecked((ulong)0x00800000UL),
39+
StorageReadWithoutFormatBit = unchecked((ulong)0x80000000UL),
40+
StorageWriteWithoutFormatBit = unchecked((ulong)0x100000000UL),
41+
SampledImageDepthComparisonBit = unchecked((ulong)0x200000000UL),
42+
SampledImageFilterCubicBit = unchecked((ulong)0x00002000UL),
43+
HostImageTransferBit = unchecked((ulong)0x400000000000UL),
44+
VideoDecodeOutputBitKHR = unchecked((ulong)0x02000000UL),
45+
VideoDecodeDpbBitKHR = unchecked((ulong)0x04000000UL),
46+
AccelerationStructureVertexBufferBitKHR = unchecked((ulong)0x20000000UL),
47+
FragmentDensityMapBitEXT = unchecked((ulong)0x01000000UL),
48+
FragmentShadingRateAttachmentBitKHR = unchecked((ulong)0x40000000UL),
49+
HostImageTransferBitEXT = unchecked((ulong)0x400000000000UL),
50+
VideoEncodeInputBitKHR = unchecked((ulong)0x08000000UL),
51+
VideoEncodeDpbBitKHR = unchecked((ulong)0x10000000UL),
52+
SampledImageBitKHR = unchecked((ulong)0x00000001UL),
53+
StorageImageBitKHR = unchecked((ulong)0x00000002UL),
54+
StorageImageAtomicBitKHR = unchecked((ulong)0x00000004UL),
55+
UniformTexelBufferBitKHR = unchecked((ulong)0x00000008UL),
56+
StorageTexelBufferBitKHR = unchecked((ulong)0x00000010UL),
57+
StorageTexelBufferAtomicBitKHR = unchecked((ulong)0x00000020UL),
58+
VertexBufferBitKHR = unchecked((ulong)0x00000040UL),
59+
ColorAttachmentBitKHR = unchecked((ulong)0x00000080UL),
60+
ColorAttachmentBlendBitKHR = unchecked((ulong)0x00000100UL),
61+
DepthStencilAttachmentBitKHR = unchecked((ulong)0x00000200UL),
62+
BlitSrcBitKHR = unchecked((ulong)0x00000400UL),
63+
BlitDstBitKHR = unchecked((ulong)0x00000800UL),
64+
SampledImageFilterLinearBitKHR = unchecked((ulong)0x00001000UL),
65+
TransferSrcBitKHR = unchecked((ulong)0x00004000UL),
66+
TransferDstBitKHR = unchecked((ulong)0x00008000UL),
67+
MidpointChromaSamplesBitKHR = unchecked((ulong)0x00020000UL),
68+
SampledImageYcbcrConversionLinearFilterBitKHR = unchecked((ulong)0x00040000UL),
69+
SampledImageYcbcrConversionSeparateReconstructionFilterBitKHR = unchecked((ulong)0x00080000UL),
70+
SampledImageYcbcrConversionChromaReconstructionExplicitBitKHR = unchecked((ulong)0x00100000UL),
71+
SampledImageYcbcrConversionChromaReconstructionExplicitForceableBitKHR =
72+
unchecked((ulong)0x00200000UL),
73+
DisjointBitKHR = unchecked((ulong)0x00400000UL),
74+
CositedChromaSamplesBitKHR = unchecked((ulong)0x00800000UL),
75+
StorageReadWithoutFormatBitKHR = unchecked((ulong)0x80000000UL),
76+
StorageWriteWithoutFormatBitKHR = unchecked((ulong)0x100000000UL),
77+
SampledImageDepthComparisonBitKHR = unchecked((ulong)0x200000000UL),
78+
SampledImageFilterMinmaxBitKHR = unchecked((ulong)0x00010000UL),
79+
SampledImageFilterCubicBitEXT = unchecked((ulong)0x00002000UL),
80+
AccelerationStructureRadiusBufferBitNV = unchecked((ulong)0x8000000000000UL),
81+
LinearColorAttachmentBitNV = unchecked((ulong)0x4000000000UL),
82+
WeightImageBitQCOM = unchecked((ulong)0x400000000UL),
83+
WeightSampledImageBitQCOM = unchecked((ulong)0x800000000UL),
84+
BlockMatchingBitQCOM = unchecked((ulong)0x1000000000UL),
85+
BoxFilterSampledBitQCOM = unchecked((ulong)0x2000000000UL),
86+
OpticalFlowImageBitNV = unchecked((ulong)0x10000000000UL),
87+
OpticalFlowVectorBitNV = unchecked((ulong)0x20000000000UL),
88+
OpticalFlowCostBitNV = unchecked((ulong)0x40000000000UL),
89+
VideoEncodeQuantizationDeltaMapBitKHR = unchecked((ulong)0x2000000000000UL),
90+
VideoEncodeEmphasisMapBitKHR = unchecked((ulong)0x4000000000000UL),
91+
}

sources/Vulkan/Vulkan/Enums/MemoryDecompressionMethodFlagsNV.gen.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@
1010
namespace Silk.NET.Vulkan;
1111

1212
[Transformed]
13-
public enum MemoryDecompressionMethodFlagsNV : ulong { }
13+
public enum MemoryDecompressionMethodFlagsNV : ulong
14+
{
15+
Gdeflate1X0BitNV = unchecked((ulong)0x00000001UL),
16+
}

sources/Vulkan/Vulkan/Enums/PhysicalDeviceSchedulingControlsFlagsARM.gen.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@
1010
namespace Silk.NET.Vulkan;
1111

1212
[Transformed]
13-
public enum PhysicalDeviceSchedulingControlsFlagsARM : ulong { }
13+
public enum PhysicalDeviceSchedulingControlsFlagsARM : ulong
14+
{
15+
ShaderCoreCountARM = unchecked((ulong)0x00000001UL),
16+
}

sources/Vulkan/Vulkan/Enums/PipelineCreateFlags2.gen.cs

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,52 @@
1010
namespace Silk.NET.Vulkan;
1111

1212
[Transformed]
13-
public enum PipelineCreateFlags2 : ulong { }
13+
public enum PipelineCreateFlags2 : ulong
14+
{
15+
DisableOptimizationBit = unchecked((ulong)0x00000001UL),
16+
AllowDerivativesBit = unchecked((ulong)0x00000002UL),
17+
DerivativeBit = unchecked((ulong)0x00000004UL),
18+
ViewIndexFromDeviceIndexBit = unchecked((ulong)0x00000008UL),
19+
DispatchBaseBit = unchecked((ulong)0x00000010UL),
20+
FailOnPipelineCompileRequiredBit = unchecked((ulong)0x00000100UL),
21+
EarlyReturnOnFailureBit = unchecked((ulong)0x00000200UL),
22+
NoProtectedAccessBit = unchecked((ulong)0x08000000UL),
23+
ProtectedAccessOnlyBit = unchecked((ulong)0x40000000UL),
24+
RayTracingSkipBuiltInPrimitivesBitKHR = unchecked((ulong)0x00001000UL),
25+
RayTracingAllowSpheresAndLinearSweptSpheresBitNV = unchecked((ulong)0x200000000UL),
26+
EnableLegacyDitheringBitEXT = unchecked((ulong)0x400000000UL),
27+
DisableOptimizationBitKHR = unchecked((ulong)0x00000001UL),
28+
AllowDerivativesBitKHR = unchecked((ulong)0x00000002UL),
29+
DerivativeBitKHR = unchecked((ulong)0x00000004UL),
30+
ViewIndexFromDeviceIndexBitKHR = unchecked((ulong)0x00000008UL),
31+
DispatchBaseBitKHR = unchecked((ulong)0x00000010UL),
32+
DeferCompileBitNV = unchecked((ulong)0x00000020UL),
33+
CaptureStatisticsBitKHR = unchecked((ulong)0x00000040UL),
34+
CaptureInternalRepresentationsBitKHR = unchecked((ulong)0x00000080UL),
35+
FailOnPipelineCompileRequiredBitKHR = unchecked((ulong)0x00000100UL),
36+
EarlyReturnOnFailureBitKHR = unchecked((ulong)0x00000200UL),
37+
LinkTimeOptimizationBitEXT = unchecked((ulong)0x00000400UL),
38+
RetainLinkTimeOptimizationInfoBitEXT = unchecked((ulong)0x00800000UL),
39+
LibraryBitKHR = unchecked((ulong)0x00000800UL),
40+
RayTracingSkipTrianglesBitKHR = unchecked((ulong)0x00001000UL),
41+
RayTracingSkipAabbsBitKHR = unchecked((ulong)0x00002000UL),
42+
RayTracingNoNullAnyHitShadersBitKHR = unchecked((ulong)0x00004000UL),
43+
RayTracingNoNullClosestHitShadersBitKHR = unchecked((ulong)0x00008000UL),
44+
RayTracingNoNullMissShadersBitKHR = unchecked((ulong)0x00010000UL),
45+
RayTracingNoNullIntersectionShadersBitKHR = unchecked((ulong)0x00020000UL),
46+
RayTracingShaderGroupHandleCaptureReplayBitKHR = unchecked((ulong)0x00080000UL),
47+
IndirectBindableBitNV = unchecked((ulong)0x00040000UL),
48+
RayTracingAllowMotionBitNV = unchecked((ulong)0x00100000UL),
49+
RenderingFragmentShadingRateAttachmentBitKHR = unchecked((ulong)0x00200000UL),
50+
RenderingFragmentDensityMapAttachmentBitEXT = unchecked((ulong)0x00400000UL),
51+
RayTracingOpacityMicromapBitEXT = unchecked((ulong)0x01000000UL),
52+
ColorAttachmentFeedbackLoopBitEXT = unchecked((ulong)0x02000000UL),
53+
DepthStencilAttachmentFeedbackLoopBitEXT = unchecked((ulong)0x04000000UL),
54+
NoProtectedAccessBitEXT = unchecked((ulong)0x08000000UL),
55+
ProtectedAccessOnlyBitEXT = unchecked((ulong)0x40000000UL),
56+
RayTracingDisplacementMicromapBitNV = unchecked((ulong)0x10000000UL),
57+
DescriptorBufferBitEXT = unchecked((ulong)0x20000000UL),
58+
DisallowOpacityMicromapBitARM = unchecked((ulong)0x2000000000UL),
59+
CaptureDataBitKHR = unchecked((ulong)0x80000000UL),
60+
IndirectBindableBitEXT = unchecked((ulong)0x4000000000UL),
61+
}

0 commit comments

Comments
 (0)