Skip to content

Commit 7a20a21

Browse files
committed
Enable VK_ENABLE_BETA_EXTENSIONS by default and regenerate on Linux
TerraFX also does the same: https://github.com/terrafx/terrafx.interop.vulkan/blob/86629a4d0afc1de12d10111b4d1e8bbd4be4363b/generation/settings.rsp#L36
1 parent 8510dcf commit 7a20a21

14 files changed

Lines changed: 293 additions & 3 deletions

.silktouch/vulkan-clangsharp.stout

435 Bytes
Binary file not shown.

eng/silktouch/vulkan/settings.rsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@../../common.rsp
22
--define-macro
3+
VK_ENABLE_BETA_EXTENSIONS
34
TODO_DEFINE_MACROS=HERE
45
--headerFile
56
../header.txt

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public enum BufferUsageFlags2 : ulong
4444
[NativeName("VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT")]
4545
ShaderDeviceAddressBit = 0x20000,
4646

47+
[NativeName("VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX")]
48+
ExecutionGraphScratchBitAMDX = 0x2000000,
49+
4750
[NativeName("VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR")]
4851
TransferSrcBitKHR = 0x1,
4952

@@ -122,6 +125,9 @@ public enum BufferUsageFlags2 : ulong
122125
[NativeName("VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT")]
123126
MicromapStorageBitEXT = 0x1000000,
124127

128+
[NativeName("VK_BUFFER_USAGE_2_COMPRESSED_DATA_DGF1_BIT_AMDX")]
129+
CompressedDataDgf1BitAMDX = 0x200000000,
130+
125131
[NativeName("VK_BUFFER_USAGE_2_DATA_GRAPH_FOREIGN_DESCRIPTOR_BIT_ARM")]
126132
DataGraphForeignDescriptorBitARM = 0x20000000,
127133

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public enum PipelineCreateFlags2 : ulong
4141
[NativeName("VK_PIPELINE_CREATE_2_PROTECTED_ACCESS_ONLY_BIT")]
4242
ProtectedAccessOnlyBit = 0x40000000,
4343

44+
[NativeName("VK_PIPELINE_CREATE_2_EXECUTION_GRAPH_BIT_AMDX")]
45+
ExecutionGraphBitAMDX = 0x100000000,
46+
4447
[NativeName("VK_PIPELINE_CREATE_2_RAY_TRACING_SKIP_BUILT_IN_PRIMITIVES_BIT_KHR")]
4548
RayTracingSkipBuiltInPrimitivesBitKHR = 0x1000,
4649

sources/Vulkan/Vulkan/Vulkan/BufferUsageFlags.gen.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,17 @@ public enum BufferUsageFlags : uint
352352
)]
353353
ConditionalRenderingBitEXT = 0x200,
354354

355+
[NativeName("VK_BUFFER_USAGE_EXECUTION_GRAPH_SCRATCH_BIT_AMDX")]
356+
[SupportedApiProfile(
357+
"vulkan",
358+
["VK_AMDX_shader_enqueue"],
359+
ImpliesSets = [
360+
"VK_KHR_maintenance5+VK_KHR_pipeline_library+VK_KHR_synchronization2+VK_KHR_spirv_1_4+VK_EXT_extended_dynamic_state",
361+
"VK_KHR_maintenance5+VK_KHR_pipeline_library+VK_VERSION_1_3",
362+
]
363+
)]
364+
ExecutionGraphScratchBitAMDX = 0x2000000,
365+
355366
[NativeName("VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR")]
356367
[SupportedApiProfile(
357368
"vulkan",

sources/Vulkan/Vulkan/Vulkan/BuildAccelerationStructureFlagsKHR.gen.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,14 @@ public enum BuildAccelerationStructureFlagsKHR : uint
111111
)]
112112
AllowOpacityMicromapDataUpdateBitEXT = 0x100,
113113

114+
[NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_BIT_NV")]
115+
[SupportedApiProfile(
116+
"vulkan",
117+
["VK_NV_displacement_micromap"],
118+
ImpliesSets = ["VK_EXT_opacity_micromap"]
119+
)]
120+
AllowDisplacementMicromapUpdateBitNV = 0x200,
121+
114122
[NativeName("VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_BIT_KHR")]
115123
[SupportedApiProfile(
116124
"vulkan",

sources/Vulkan/Vulkan/Vulkan/GeometryTypeKHR.gen.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ public enum GeometryTypeKHR : uint
6161
)]
6262
LinearSweptSpheresNV = 1000429005,
6363

64+
[NativeName("VK_GEOMETRY_TYPE_DENSE_GEOMETRY_FORMAT_TRIANGLES_AMDX")]
65+
[SupportedApiProfile(
66+
"vulkan",
67+
["VK_AMDX_dense_geometry_format"],
68+
ImpliesSets = [
69+
"VK_KHR_acceleration_structure+VK_KHR_maintenance5",
70+
"VK_KHR_acceleration_structure+VK_VERSION_1_4",
71+
]
72+
)]
73+
DenseGeometryFormatTrianglesAMDX = 1000478000,
74+
6475
[NativeName("VK_GEOMETRY_TYPE_TRIANGLES_NV")]
6576
[SupportedApiProfile(
6677
"vulkan",

sources/Vulkan/Vulkan/Vulkan/MicromapTypeEXT.gen.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,12 @@ public enum MicromapTypeEXT : uint
2222
]
2323
)]
2424
OpacityMicromap = 0,
25+
26+
[NativeName("VK_MICROMAP_TYPE_DISPLACEMENT_MICROMAP_NV")]
27+
[SupportedApiProfile(
28+
"vulkan",
29+
["VK_NV_displacement_micromap"],
30+
ImpliesSets = ["VK_EXT_opacity_micromap"]
31+
)]
32+
DisplacementMicromapNV = 1000397000,
2533
}

sources/Vulkan/Vulkan/Vulkan/ObjectType.gen.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,28 @@ public enum ObjectType : uint
915915
)]
916916
IndirectCommandsLayoutNV = 1000277000,
917917

918+
[NativeName("VK_OBJECT_TYPE_CUDA_MODULE_NV")]
919+
[SupportedApiProfile(
920+
"vulkan",
921+
["VK_NV_cuda_kernel_launch"],
922+
ImpliesSets = [
923+
"VK_NV_cuda_kernel_launch+VK_KHR_get_physical_device_properties2",
924+
"VK_NV_cuda_kernel_launch+VK_VERSION_1_1",
925+
]
926+
)]
927+
CudaModuleNV = 1000307000,
928+
929+
[NativeName("VK_OBJECT_TYPE_CUDA_FUNCTION_NV")]
930+
[SupportedApiProfile(
931+
"vulkan",
932+
["VK_NV_cuda_kernel_launch"],
933+
ImpliesSets = [
934+
"VK_NV_cuda_kernel_launch+VK_KHR_get_physical_device_properties2",
935+
"VK_NV_cuda_kernel_launch+VK_VERSION_1_1",
936+
]
937+
)]
938+
CudaFunctionNV = 1000307001,
939+
918940
[NativeName("VK_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA")]
919941
[SupportedApiProfile(
920942
"vulkan",

sources/Vulkan/Vulkan/Vulkan/PhysicalDevicePresentMeteringFeaturesNV.gen.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public unsafe partial struct PhysicalDevicePresentMeteringFeaturesNV
2121
"VK_NV_present_metering+VK_VERSION_1_1",
2222
]
2323
)]
24-
public StructureType SType =
25-
StructureType.VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV;
24+
public StructureType SType = StructureType.PhysicalDevicePresentMeteringFeaturesNV;
2625

2726
[NativeName("pNext")]
2827
[SupportedApiProfile(

0 commit comments

Comments
 (0)