diff --git a/Silk.NET.sln b/Silk.NET.sln
index fde5fc0fcf..c87c7ab0f5 100644
--- a/Silk.NET.sln
+++ b/Silk.NET.sln
@@ -614,6 +614,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Assimp.Tests", "sr
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Core.Tests", "src\Core\Silk.NET.Core.Tests\Silk.NET.Core.Tests.csproj", "{4D871493-0B88-477A-99A1-3E05561CFAD9}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenXR.Extensions.EXTX1", "src\OpenXR\Extensions\Silk.NET.OpenXR.Extensions.EXTX1\Silk.NET.OpenXR.Extensions.EXTX1.csproj", "{0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenXR.Extensions.SONY", "src\OpenXR\Extensions\Silk.NET.OpenXR.Extensions.SONY\Silk.NET.OpenXR.Extensions.SONY.csproj", "{E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Vulkan.Extensions.MTK", "src\Vulkan\Extensions\Silk.NET.Vulkan.Extensions.MTK\Silk.NET.Vulkan.Extensions.MTK.csproj", "{B843850A-7D12-4AEB-8FD1-8FDB60535D34}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Vulkan.Extensions.OHOS", "src\Vulkan\Extensions\Silk.NET.Vulkan.Extensions.OHOS\Silk.NET.Vulkan.Extensions.OHOS.csproj", "{7CD02E61-FCF1-414F-B69A-079F78686D65}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -3755,6 +3763,54 @@ Global
{4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x64.Build.0 = Release|Any CPU
{4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x86.ActiveCfg = Release|Any CPU
{4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x86.Build.0 = Release|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x64.Build.0 = Debug|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Debug|x86.Build.0 = Debug|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x64.ActiveCfg = Release|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x64.Build.0 = Release|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x86.ActiveCfg = Release|Any CPU
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C}.Release|x86.Build.0 = Release|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x64.Build.0 = Debug|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Debug|x86.Build.0 = Debug|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x64.ActiveCfg = Release|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x64.Build.0 = Release|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x86.ActiveCfg = Release|Any CPU
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF}.Release|x86.Build.0 = Release|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x64.Build.0 = Debug|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Debug|x86.Build.0 = Debug|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x64.ActiveCfg = Release|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x64.Build.0 = Release|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x86.ActiveCfg = Release|Any CPU
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34}.Release|x86.Build.0 = Release|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x64.Build.0 = Debug|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Debug|x86.Build.0 = Debug|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x64.ActiveCfg = Release|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x64.Build.0 = Release|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x86.ActiveCfg = Release|Any CPU
+ {7CD02E61-FCF1-414F-B69A-079F78686D65}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -4054,6 +4110,10 @@ Global
{01B6FFA0-5B37-44EA-ABDF-7BABD05874C5} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
{12D0A556-7DDF-4902-8911-1DA3F6331149} = {6EADA376-E83F-40B7-9539-71DD17AEF7A4}
{4D871493-0B88-477A-99A1-3E05561CFAD9} = {0651C5EF-50AA-4598-8D9C-8F210ADD8490}
+ {0D7930DF-CFB5-4D24-BAED-7F252FBB7E9C} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
+ {E68D2B21-DBCE-4F6B-8477-DB49B74E28BF} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
+ {B843850A-7D12-4AEB-8FD1-8FDB60535D34} = {49BC383A-D7E6-4013-93C7-371479B984CC}
+ {7CD02E61-FCF1-414F-B69A-079F78686D65} = {49BC383A-D7E6-4013-93C7-371479B984CC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F5273D7F-3334-48DF-94E3-41AE6816CD4D}
diff --git a/build/cache/cl.json.gz b/build/cache/cl.json.gz
index eb4f20306d..0b98b7e076 100644
Binary files a/build/cache/cl.json.gz and b/build/cache/cl.json.gz differ
diff --git a/build/cache/dstorage.json.gz b/build/cache/dstorage.json.gz
index 2c173f35f0..e196c6934b 100644
Binary files a/build/cache/dstorage.json.gz and b/build/cache/dstorage.json.gz differ
diff --git a/build/cache/gl.json.gz b/build/cache/gl.json.gz
index 14237e6282..802fbcd47e 100644
Binary files a/build/cache/gl.json.gz and b/build/cache/gl.json.gz differ
diff --git a/build/cache/glcore.json.gz b/build/cache/glcore.json.gz
index 8695acb519..b968ee78bd 100644
Binary files a/build/cache/glcore.json.gz and b/build/cache/glcore.json.gz differ
diff --git a/build/cache/gles2.json.gz b/build/cache/gles2.json.gz
index 61ee86e26b..5e75b437d6 100644
Binary files a/build/cache/gles2.json.gz and b/build/cache/gles2.json.gz differ
diff --git a/build/cache/openxr.json.gz b/build/cache/openxr.json.gz
index bc1c441c04..55a5c30ebf 100644
Binary files a/build/cache/openxr.json.gz and b/build/cache/openxr.json.gz differ
diff --git a/build/cache/vulkan.json.gz b/build/cache/vulkan.json.gz
index 5770e7e445..713d5fc39d 100644
Binary files a/build/cache/vulkan.json.gz and b/build/cache/vulkan.json.gz differ
diff --git a/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs
index d9c1db0317..23458d0366 100644
--- a/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs
+++ b/src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs
@@ -21,7 +21,7 @@ public unsafe partial class DStorage : NativeAPI
public const int FacilityGame = unchecked((int) 0x924);
[NativeName("Type", "int")]
[NativeName("Name", "DSTORAGE_SDK_VERSION")]
- public const int SdkVersion = unchecked((int) 0xCB);
+ public const int SdkVersion = unchecked((int) 0x12C);
[NativeName("Type", "int")]
[NativeName("Name", "DSTORAGE_MIN_QUEUE_CAPACITY")]
public const int MinQueueCapacity = unchecked((int) 0x80);
@@ -33,67 +33,67 @@ public unsafe partial class DStorage : NativeAPI
public const int RequestMaxName = unchecked((int) 0x40);
/// To be documented.
- [NativeName("Src", "Line 1296, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1386, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageSetConfiguration", Convention = CallingConvention.StdCall)]
public unsafe partial int SetConfiguration([Flow(Silk.NET.Core.Native.FlowDirection.In)] Configuration* configuration);
/// To be documented.
- [NativeName("Src", "Line 1296, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1386, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageSetConfiguration", Convention = CallingConvention.StdCall)]
public partial int SetConfiguration([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Configuration configuration);
/// To be documented.
- [NativeName("Src", "Line 1306, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1396, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageSetConfiguration1", Convention = CallingConvention.StdCall)]
public unsafe partial int SetConfiguration1([Flow(Silk.NET.Core.Native.FlowDirection.In)] Configuration1* configuration);
/// To be documented.
- [NativeName("Src", "Line 1306, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1396, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageSetConfiguration1", Convention = CallingConvention.StdCall)]
public partial int SetConfiguration1([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Configuration1 configuration);
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)]
public unsafe partial int GetFactory(Guid* riid, void** ppv);
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)]
public unsafe partial int GetFactory(Guid* riid, ref void* ppv);
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)]
public unsafe partial int GetFactory(ref Guid riid, void** ppv);
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageGetFactory", Convention = CallingConvention.StdCall)]
public unsafe partial int GetFactory(ref Guid riid, ref void* ppv);
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)]
public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, Guid* riid, void** ppv);
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)]
public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, Guid* riid, ref void* ppv);
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)]
public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, ref Guid riid, void** ppv);
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
[NativeApi(EntryPoint = "DStorageCreateCompressionCodec", Convention = CallingConvention.StdCall)]
public unsafe partial int CreateCompressionCodec(CompressionFormat format, uint numThreads, ref Guid riid, ref void* ppv);
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
public unsafe int GetFactory(out ComPtr ppv) where TI0 : unmanaged, IComVtbl
{
// ComPtrOverloader
@@ -102,7 +102,7 @@ public unsafe int GetFactory(out ComPtr ppv) where TI0 : unmanaged, IC
}
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
public unsafe int CreateCompressionCodec(CompressionFormat format, uint numThreads, out ComPtr ppv) where TI0 : unmanaged, IComVtbl
{
// ComPtrOverloader
@@ -111,7 +111,7 @@ public unsafe int CreateCompressionCodec(CompressionFormat format, uint num
}
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
public unsafe ComPtr GetFactory() where TI0 : unmanaged, IComVtbl
{
// NonKhrReturnTypeOverloader
@@ -120,7 +120,7 @@ public unsafe ComPtr GetFactory() where TI0 : unmanaged, IComVtbl
}
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
public unsafe ComPtr CreateCompressionCodec(CompressionFormat format, uint numThreads) where TI0 : unmanaged, IComVtbl
{
// NonKhrReturnTypeOverloader
diff --git a/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs
index a917698957..2b663a8467 100644
--- a/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs
+++ b/src/Microsoft/Silk.NET.DirectStorage/DStorageOverloads.gen.cs
@@ -17,7 +17,7 @@ namespace Silk.NET.DirectStorage
public static class DStorageOverloads
{
/// To be documented.
- [NativeName("Src", "Line 1296, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1386, Column 16 in dstorage.h")]
public static unsafe int SetConfiguration(this DStorage thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan configuration)
{
// SpanOverloader
@@ -25,7 +25,7 @@ public static unsafe int SetConfiguration(this DStorage thisApi, [Flow(Silk.NET.
}
/// To be documented.
- [NativeName("Src", "Line 1306, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1396, Column 16 in dstorage.h")]
public static unsafe int SetConfiguration1(this DStorage thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan configuration)
{
// SpanOverloader
@@ -33,7 +33,7 @@ public static unsafe int SetConfiguration1(this DStorage thisApi, [Flow(Silk.NET
}
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
public static unsafe int GetFactory(this DStorage thisApi, Span riid, void** ppv)
{
// SpanOverloader
@@ -41,7 +41,7 @@ public static unsafe int GetFactory(this DStorage thisApi, Span riid, void
}
/// To be documented.
- [NativeName("Src", "Line 1316, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1406, Column 16 in dstorage.h")]
public static unsafe int GetFactory(this DStorage thisApi, Span riid, ref void* ppv)
{
// SpanOverloader
@@ -49,7 +49,7 @@ public static unsafe int GetFactory(this DStorage thisApi, Span riid, ref
}
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
public static unsafe int CreateCompressionCodec(this DStorage thisApi, CompressionFormat format, uint numThreads, Span riid, void** ppv)
{
// SpanOverloader
@@ -57,7 +57,7 @@ public static unsafe int CreateCompressionCodec(this DStorage thisApi, Compressi
}
/// To be documented.
- [NativeName("Src", "Line 1331, Column 16 in dstorage.h")]
+ [NativeName("Src", "Line 1421, Column 16 in dstorage.h")]
public static unsafe int CreateCompressionCodec(this DStorage thisApi, CompressionFormat format, uint numThreads, Span riid, ref void* ppv)
{
// SpanOverloader
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Enums/EnqueueRequestFlags.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Enums/EnqueueRequestFlags.gen.cs
new file mode 100644
index 0000000000..0a81404180
--- /dev/null
+++ b/src/Microsoft/Silk.NET.DirectStorage/Enums/EnqueueRequestFlags.gen.cs
@@ -0,0 +1,31 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.DirectStorage
+{
+ [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAGS")]
+ public enum EnqueueRequestFlags : uint
+ {
+ [Obsolete("Deprecated in favour of \"None\"")]
+ [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_NONE")]
+ EnqueueRequestFlagNone = 0x0,
+ [Obsolete("Deprecated in favour of \"FenceWaitBeforeGpuWork\"")]
+ [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_GPU_WORK")]
+ EnqueueRequestFlagFenceWaitBeforeGpuWork = 0x1,
+ [Obsolete("Deprecated in favour of \"FenceWaitBeforeSourceAccess\"")]
+ [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_SOURCE_ACCESS")]
+ EnqueueRequestFlagFenceWaitBeforeSourceAccess = 0x2,
+ [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_NONE")]
+ None = 0x0,
+ [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_GPU_WORK")]
+ FenceWaitBeforeGpuWork = 0x1,
+ [NativeName("Name", "DSTORAGE_ENQUEUE_REQUEST_FLAG_FENCE_WAIT_BEFORE_SOURCE_ACCESS")]
+ FenceWaitBeforeSourceAccess = 0x2,
+ }
+}
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs
index b9d2f96b41..173150e066 100644
--- a/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs
+++ b/src/Microsoft/Silk.NET.DirectStorage/Enums/RequestDestinationType.gen.cs
@@ -27,6 +27,9 @@ public enum RequestDestinationType : ulong
[Obsolete("Deprecated in favour of \"Tiles\"")]
[NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_TILES")]
RequestDestinationTiles = 0x4,
+ [Obsolete("Deprecated in favour of \"MultipleSubresourcesRange\"")]
+ [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")]
+ RequestDestinationMultipleSubresourcesRange = 0x5,
[NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_MEMORY")]
Memory = 0x0,
[NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_BUFFER")]
@@ -37,5 +40,7 @@ public enum RequestDestinationType : ulong
MultipleSubresources = 0x3,
[NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_TILES")]
Tiles = 0x4,
+ [NativeName("Name", "DSTORAGE_REQUEST_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")]
+ MultipleSubresourcesRange = 0x5,
}
}
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/DStorageQueue3VtblExtensions.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/DStorageQueue3VtblExtensions.gen.cs
new file mode 100644
index 0000000000..1ed1b59ad2
--- /dev/null
+++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/DStorageQueue3VtblExtensions.gen.cs
@@ -0,0 +1,382 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+using Silk.NET.Core;
+using Silk.NET.Core.Native;
+using Silk.NET.Core.Attributes;
+using Silk.NET.Core.Contexts;
+using Silk.NET.Core.Loader;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.DirectStorage;
+
+public unsafe static class DStorageQueue3VtblExtensions
+{
+ /// To be documented.
+ public static unsafe int QueryInterface(this ComPtr thisVtbl, Guid* riid, void** ppvObject)
+ {
+ var @this = thisVtbl.Handle;
+ int ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObject);
+ return ret;
+ }
+
+ /// To be documented.
+ public static unsafe int QueryInterface(this ComPtr thisVtbl, Guid* riid, ref void* ppvObject)
+ {
+ var @this = thisVtbl.Handle;
+ int ret = default;
+ fixed (void** ppvObjectPtr = &ppvObject)
+ {
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObjectPtr);
+ }
+ return ret;
+ }
+
+ /// To be documented.
+ public static unsafe int QueryInterface(this ComPtr thisVtbl, ref Guid riid, void** ppvObject)
+ {
+ var @this = thisVtbl.Handle;
+ int ret = default;
+ fixed (Guid* riidPtr = &riid)
+ {
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObject);
+ }
+ return ret;
+ }
+
+ /// To be documented.
+ public static unsafe int QueryInterface(this ComPtr thisVtbl, ref Guid riid, ref void* ppvObject)
+ {
+ var @this = thisVtbl.Handle;
+ int ret = default;
+ fixed (Guid* riidPtr = &riid)
+ {
+ fixed (void** ppvObjectPtr = &ppvObject)
+ {
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObjectPtr);
+ }
+ }
+ return ret;
+ }
+
+ /// To be documented.
+ public static uint AddRef(this ComPtr thisVtbl)
+ {
+ var @this = thisVtbl.Handle;
+ uint ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[1])(@this);
+ return ret;
+ }
+
+ /// To be documented.
+ public static uint Release(this ComPtr thisVtbl)
+ {
+ var @this = thisVtbl.Handle;
+ uint ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[2])(@this);
+ return ret;
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueRequest(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* request)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, request);
+ }
+
+ /// To be documented.
+ public static void EnqueueRequest(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request request)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (Request* requestPtr = &request)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, requestPtr);
+ }
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueStatus(this ComPtr thisVtbl, IDStorageStatusArray* statusArray, uint index)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArray, index);
+ }
+
+ /// To be documented.
+ public static void EnqueueStatus(this ComPtr thisVtbl, ref IDStorageStatusArray statusArray, uint index)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (IDStorageStatusArray* statusArrayPtr = &statusArray)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArrayPtr, index);
+ }
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueSignal(this ComPtr thisVtbl, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fence, value);
+ }
+
+ /// To be documented.
+ public static void EnqueueSignal(this ComPtr thisVtbl, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fencePtr, value);
+ }
+ }
+
+ /// To be documented.
+ public static void Submit(this ComPtr thisVtbl)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[6])(@this);
+ }
+
+ /// To be documented.
+ public static void CancelRequestsWithTag(this ComPtr thisVtbl, ulong mask, ulong value)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[7])(@this, mask, value);
+ }
+
+ /// To be documented.
+ public static void Close(this ComPtr thisVtbl)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[8])(@this);
+ }
+
+ /// To be documented.
+ public static unsafe void* GetErrorEvent(this ComPtr thisVtbl)
+ {
+ var @this = thisVtbl.Handle;
+ void* ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[9])(@this);
+ return ret;
+ }
+
+ /// To be documented.
+ public static unsafe void RetrieveErrorRecord(this ComPtr thisVtbl, ErrorRecord* record)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, record);
+ }
+
+ /// To be documented.
+ public static void RetrieveErrorRecord(this ComPtr thisVtbl, ref ErrorRecord record)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (ErrorRecord* recordPtr = &record)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, recordPtr);
+ }
+ }
+
+ /// To be documented.
+ public static unsafe void Query(this ComPtr thisVtbl, QueueInfo* info)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, info);
+ }
+
+ /// To be documented.
+ public static void Query(this ComPtr thisVtbl, ref QueueInfo info)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (QueueInfo* infoPtr = &info)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, infoPtr);
+ }
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueSetEvent(this ComPtr thisVtbl, void* handle)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handle);
+ }
+
+ /// To be documented.
+ public static void EnqueueSetEvent(this ComPtr thisVtbl, ref T0 handle) where T0 : unmanaged
+ {
+ var @this = thisVtbl.Handle;
+ fixed (void* handlePtr = &handle)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handlePtr);
+ }
+ }
+
+ /// To be documented.
+ public static CompressionSupport GetCompressionSupport(this ComPtr thisVtbl, CompressionFormat format)
+ {
+ var @this = thisVtbl.Handle;
+ CompressionSupport ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[13])(@this, format);
+ return ret;
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = thisVtbl.Handle;
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fence, value, flag);
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fencePtr, value, flag);
+ }
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (Request* requestsPtr = &requests)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fence, value, flag);
+ }
+ }
+
+ /// To be documented.
+ public static void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = thisVtbl.Handle;
+ fixed (Request* requestsPtr = &requests)
+ {
+ fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fencePtr, value, flag);
+ }
+ }
+ }
+
+ /// To be documented.
+ public static int QueryInterface(this ComPtr thisVtbl, out ComPtr ppvObject) where TI0 : unmanaged, IComVtbl
+ {
+ var @this = thisVtbl.Handle;
+ // ComPtrOverloader
+ ppvObject = default;
+ return @this->QueryInterface(SilkMarshal.GuidPtrOf(), (void**) ppvObject.GetAddressOf());
+ }
+
+ /// To be documented.
+ public static unsafe int QueryInterface(this ComPtr thisVtbl, Span riid, void** ppvObject)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ return @this->QueryInterface(ref riid.GetPinnableReference(), ppvObject);
+ }
+
+ /// To be documented.
+ public static unsafe int QueryInterface(this ComPtr thisVtbl, Span riid, ref void* ppvObject)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ return @this->QueryInterface(ref riid.GetPinnableReference(), ref ppvObject);
+ }
+
+ /// To be documented.
+ public static void EnqueueRequest(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan request)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->EnqueueRequest(in request.GetPinnableReference());
+ }
+
+ /// To be documented.
+ public static void EnqueueStatus(this ComPtr thisVtbl, ComPtr statusArray, uint index) where TI0 : unmanaged, IComVtbl, IComVtbl
+ {
+ var @this = thisVtbl.Handle;
+ // ComPtrOverloader
+ @this->EnqueueStatus((IDStorageStatusArray*) statusArray.Handle, index);
+ }
+
+ /// To be documented.
+ public static void EnqueueStatus(this ComPtr thisVtbl, Span statusArray, uint index)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->EnqueueStatus(ref statusArray.GetPinnableReference(), index);
+ }
+
+ /// To be documented.
+ public static void EnqueueSignal(this ComPtr thisVtbl, Span fence, ulong value)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->EnqueueSignal(ref fence.GetPinnableReference(), value);
+ }
+
+ /// To be documented.
+ public static void RetrieveErrorRecord(this ComPtr thisVtbl, Span record)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->RetrieveErrorRecord(ref record.GetPinnableReference());
+ }
+
+ /// To be documented.
+ public static void Query(this ComPtr thisVtbl, Span info)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->Query(ref info.GetPinnableReference());
+ }
+
+ /// To be documented.
+ public static void EnqueueSetEvent(this ComPtr thisVtbl, Span handle) where T0 : unmanaged
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->EnqueueSetEvent(ref handle.GetPinnableReference());
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, Span fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->EnqueueRequests(requests, numRequests, ref fence.GetPinnableReference(), value, flag);
+ }
+
+ /// To be documented.
+ public static unsafe void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->EnqueueRequests(in requests.GetPinnableReference(), numRequests, fence, value, flag);
+ }
+
+ /// To be documented.
+ public static void EnqueueRequests(this ComPtr thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan requests, uint numRequests, Span fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = thisVtbl.Handle;
+ // SpanOverloader
+ @this->EnqueueRequests(in requests.GetPinnableReference(), numRequests, ref fence.GetPinnableReference(), value, flag);
+ }
+
+ /// To be documented.
+ public static ComPtr QueryInterface(this ComPtr thisVtbl) where TI0 : unmanaged, IComVtbl
+ {
+ var @this = thisVtbl.Handle;
+ // NonKhrReturnTypeOverloader
+ SilkMarshal.ThrowHResult(@this->QueryInterface(out ComPtr silkRet));
+ return silkRet;
+ }
+
+}
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs
index 07b414990d..8d3105a693 100644
--- a/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs
+++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/Destination.gen.cs
@@ -26,7 +26,8 @@ public Destination
DestinationBuffer? buffer = null,
DestinationTextureRegion? texture = null,
DestinationMultipleSubresources? multipleSubresources = null,
- DestinationTiles? tiles = null
+ DestinationTiles? tiles = null,
+ DestinationMultipleSubresourcesRange? multipleSubresourcesRange = null
) : this()
{
if (memory is not null)
@@ -53,6 +54,11 @@ public Destination
{
Tiles = tiles.Value;
}
+
+ if (multipleSubresourcesRange is not null)
+ {
+ MultipleSubresourcesRange = multipleSubresourcesRange.Value;
+ }
}
@@ -85,5 +91,11 @@ public Destination
[NativeName("Type.Name", "DSTORAGE_DESTINATION_TILES")]
[NativeName("Name", "Tiles")]
public DestinationTiles Tiles;
+
+ [FieldOffset(0)]
+ [NativeName("Type", "DSTORAGE_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")]
+ [NativeName("Type.Name", "DSTORAGE_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")]
+ [NativeName("Name", "MultipleSubresourcesRange")]
+ public DestinationMultipleSubresourcesRange MultipleSubresourcesRange;
}
}
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/DestinationMultipleSubresourcesRange.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/DestinationMultipleSubresourcesRange.gen.cs
new file mode 100644
index 0000000000..2b99191a9b
--- /dev/null
+++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/DestinationMultipleSubresourcesRange.gen.cs
@@ -0,0 +1,61 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+using Silk.NET.Core;
+using Silk.NET.Core.Native;
+using Silk.NET.Core.Attributes;
+using Silk.NET.Core.Contexts;
+using Silk.NET.Core.Loader;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.DirectStorage
+{
+ [NativeName("Name", "DSTORAGE_DESTINATION_MULTIPLE_SUBRESOURCES_RANGE")]
+ public unsafe partial struct DestinationMultipleSubresourcesRange
+ {
+ public DestinationMultipleSubresourcesRange
+ (
+ Silk.NET.Direct3D12.ID3D12Resource* resource = null,
+ uint? firstSubresource = null,
+ uint? numSubresources = null
+ ) : this()
+ {
+ if (resource is not null)
+ {
+ Resource = resource;
+ }
+
+ if (firstSubresource is not null)
+ {
+ FirstSubresource = firstSubresource.Value;
+ }
+
+ if (numSubresources is not null)
+ {
+ NumSubresources = numSubresources.Value;
+ }
+ }
+
+
+ [NativeName("Type", "ID3D12Resource *")]
+ [NativeName("Type.Name", "ID3D12Resource *")]
+ [NativeName("Name", "Resource")]
+ public Silk.NET.Direct3D12.ID3D12Resource* Resource;
+
+ [NativeName("Type", "UINT")]
+ [NativeName("Type.Name", "UINT")]
+ [NativeName("Name", "FirstSubresource")]
+ public uint FirstSubresource;
+
+ [NativeName("Type", "UINT")]
+ [NativeName("Type.Name", "UINT")]
+ [NativeName("Name", "NumSubresources")]
+ public uint NumSubresources;
+ }
+}
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs
index d5cb87a8a1..019d7673c8 100644
--- a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs
+++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailure.gen.cs
@@ -78,7 +78,7 @@ public ErrorFirstFailure
public CommandType CommandType;
[NativeName("Type", "")]
- [NativeName("Type.Name", "__AnonymousRecord_dstorage_L556_C5")]
+ [NativeName("Type.Name", "__AnonymousRecord_dstorage_L618_C5")]
[NativeName("Name", "anonymous1")]
public ErrorFirstFailureUnion Anonymous;
#if NETSTANDARD2_1 || NETCOREAPP3_1 || NET5_0 || NET5_0_OR_GREATER
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs
index ae0ef284a9..7b3e2d0c47 100644
--- a/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs
+++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/ErrorFirstFailureUnion.gen.cs
@@ -17,7 +17,7 @@
namespace Silk.NET.DirectStorage
{
[StructLayout(LayoutKind.Explicit)]
- [NativeName("Name", "__AnonymousRecord_dstorage_L556_C5")]
+ [NativeName("Name", "__AnonymousRecord_dstorage_L618_C5")]
public unsafe partial struct ErrorFirstFailureUnion
{
public ErrorFirstFailureUnion
diff --git a/src/Microsoft/Silk.NET.DirectStorage/Structs/IDStorageQueue3.gen.cs b/src/Microsoft/Silk.NET.DirectStorage/Structs/IDStorageQueue3.gen.cs
new file mode 100644
index 0000000000..4904bb26fd
--- /dev/null
+++ b/src/Microsoft/Silk.NET.DirectStorage/Structs/IDStorageQueue3.gen.cs
@@ -0,0 +1,330 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+using Silk.NET.Core;
+using Silk.NET.Core.Native;
+using Silk.NET.Core.Attributes;
+using Silk.NET.Core.Contexts;
+using Silk.NET.Core.Loader;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.DirectStorage
+{
+ [Guid("deb54c52-eca8-46b3-82a7-031b72262653")]
+ [NativeName("Name", "IDStorageQueue3")]
+ public unsafe partial struct IDStorageQueue3 : IComVtbl, IComVtbl, IComVtbl, IComVtbl, IComVtbl
+ {
+ public static readonly Guid Guid = new("deb54c52-eca8-46b3-82a7-031b72262653");
+
+ void*** IComVtbl.AsVtblPtr()
+ => (void***) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+
+ public static implicit operator IDStorageQueue2(IDStorageQueue3 val)
+ => Unsafe.As(ref val);
+
+ public static implicit operator IDStorageQueue1(IDStorageQueue3 val)
+ => Unsafe.As(ref val);
+
+ public static implicit operator IDStorageQueue(IDStorageQueue3 val)
+ => Unsafe.As(ref val);
+
+ public static implicit operator Silk.NET.Core.Native.IUnknown(IDStorageQueue3 val)
+ => Unsafe.As(ref val);
+
+ public IDStorageQueue3
+ (
+ void** lpVtbl = null
+ ) : this()
+ {
+ if (lpVtbl is not null)
+ {
+ LpVtbl = lpVtbl;
+ }
+ }
+
+
+ [NativeName("Type", "")]
+ [NativeName("Type.Name", "")]
+ [NativeName("Name", "lpVtbl")]
+ public void** LpVtbl;
+ /// To be documented.
+ public readonly unsafe int QueryInterface(Guid* riid, void** ppvObject)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ int ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObject);
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly unsafe int QueryInterface(Guid* riid, ref void* ppvObject)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ int ret = default;
+ fixed (void** ppvObjectPtr = &ppvObject)
+ {
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riid, ppvObjectPtr);
+ }
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly unsafe int QueryInterface(ref Guid riid, void** ppvObject)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ int ret = default;
+ fixed (Guid* riidPtr = &riid)
+ {
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObject);
+ }
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly unsafe int QueryInterface(ref Guid riid, ref void* ppvObject)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ int ret = default;
+ fixed (Guid* riidPtr = &riid)
+ {
+ fixed (void** ppvObjectPtr = &ppvObject)
+ {
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[0])(@this, riidPtr, ppvObjectPtr);
+ }
+ }
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly uint AddRef()
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ uint ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[1])(@this);
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly uint Release()
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ uint ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[2])(@this);
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly unsafe void EnqueueRequest([Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* request)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, request);
+ }
+
+ /// To be documented.
+ public readonly void EnqueueRequest([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request request)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (Request* requestPtr = &request)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[3])(@this, requestPtr);
+ }
+ }
+
+ /// To be documented.
+ public readonly unsafe void EnqueueStatus(IDStorageStatusArray* statusArray, uint index)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArray, index);
+ }
+
+ /// To be documented.
+ public readonly void EnqueueStatus(ref IDStorageStatusArray statusArray, uint index)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (IDStorageStatusArray* statusArrayPtr = &statusArray)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[4])(@this, statusArrayPtr, index);
+ }
+ }
+
+ /// To be documented.
+ public readonly unsafe void EnqueueSignal(Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fence, value);
+ }
+
+ /// To be documented.
+ public readonly void EnqueueSignal(ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[5])(@this, fencePtr, value);
+ }
+ }
+
+ /// To be documented.
+ public readonly void Submit()
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[6])(@this);
+ }
+
+ /// To be documented.
+ public readonly void CancelRequestsWithTag(ulong mask, ulong value)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[7])(@this, mask, value);
+ }
+
+ /// To be documented.
+ public readonly void Close()
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[8])(@this);
+ }
+
+ /// To be documented.
+ public readonly unsafe void* GetErrorEvent()
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ void* ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[9])(@this);
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly unsafe void RetrieveErrorRecord(ErrorRecord* record)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, record);
+ }
+
+ /// To be documented.
+ public readonly void RetrieveErrorRecord(ref ErrorRecord record)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (ErrorRecord* recordPtr = &record)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[10])(@this, recordPtr);
+ }
+ }
+
+ /// To be documented.
+ public readonly unsafe void Query(QueueInfo* info)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, info);
+ }
+
+ /// To be documented.
+ public readonly void Query(ref QueueInfo info)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (QueueInfo* infoPtr = &info)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[11])(@this, infoPtr);
+ }
+ }
+
+ /// To be documented.
+ public readonly unsafe void EnqueueSetEvent(void* handle)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handle);
+ }
+
+ /// To be documented.
+ public readonly void EnqueueSetEvent(ref T0 handle) where T0 : unmanaged
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (void* handlePtr = &handle)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[12])(@this, handlePtr);
+ }
+ }
+
+ /// To be documented.
+ public readonly CompressionSupport GetCompressionSupport(CompressionFormat format)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ CompressionSupport ret = default;
+ ret = ((delegate* unmanaged[Stdcall])@this->LpVtbl[13])(@this, format);
+ return ret;
+ }
+
+ /// To be documented.
+ public readonly unsafe void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fence, value, flag);
+ }
+
+ /// To be documented.
+ public readonly unsafe void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] Request* requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requests, numRequests, fencePtr, value, flag);
+ }
+ }
+
+ /// To be documented.
+ public readonly unsafe void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, Silk.NET.Direct3D12.ID3D12Fence* fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (Request* requestsPtr = &requests)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fence, value, flag);
+ }
+ }
+
+ /// To be documented.
+ public readonly void EnqueueRequests([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in Request requests, uint numRequests, ref Silk.NET.Direct3D12.ID3D12Fence fence, ulong value, EnqueueRequestFlags flag)
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ fixed (Request* requestsPtr = &requests)
+ {
+ fixed (Silk.NET.Direct3D12.ID3D12Fence* fencePtr = &fence)
+ {
+ ((delegate* unmanaged[Stdcall])@this->LpVtbl[14])(@this, requestsPtr, numRequests, fencePtr, value, flag);
+ }
+ }
+ }
+
+ /// To be documented.
+ public readonly int QueryInterface(out ComPtr ppvObject) where TI0 : unmanaged, IComVtbl
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ // ComPtrOverloader
+ ppvObject = default;
+ return @this->QueryInterface(SilkMarshal.GuidPtrOf(), (void**) ppvObject.GetAddressOf());
+ }
+
+ /// To be documented.
+ public readonly void EnqueueStatus(ComPtr statusArray, uint index) where TI0 : unmanaged, IComVtbl, IComVtbl
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ // ComPtrOverloader
+ @this->EnqueueStatus((IDStorageStatusArray*) statusArray.Handle, index);
+ }
+
+ /// To be documented.
+ public readonly ComPtr QueryInterface() where TI0 : unmanaged, IComVtbl
+ {
+ var @this = (IDStorageQueue3*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
+ // NonKhrReturnTypeOverloader
+ SilkMarshal.ThrowHResult(@this->QueryInterface(out ComPtr silkRet));
+ return silkRet;
+ }
+
+ }
+}
diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll
index 2547a0ef75..a14cbab23e 100644
Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstorage.dll differ
diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll
index c78230ba9f..0b39520ed5 100644
Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-arm64/native/dstoragecore.dll differ
diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll
index f089658762..c5930cf7fe 100644
Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstorage.dll differ
diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll
index d69ce4db92..10b16f7c63 100644
Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x64/native/dstoragecore.dll differ
diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll
index b8288ebb84..a725c7815c 100644
Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstorage.dll differ
diff --git a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll
index b866722a5a..57dde6b76f 100644
Binary files a/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll and b/src/Native/Silk.NET.DirectStorage.Native/runtimes/win-x86/native/dstoragecore.dll differ
diff --git a/src/Native/Silk.NET.DirectStorage.Native/version.txt b/src/Native/Silk.NET.DirectStorage.Native/version.txt
index e2cac26c1a..589268e6fe 100644
--- a/src/Native/Silk.NET.DirectStorage.Native/version.txt
+++ b/src/Native/Silk.NET.DirectStorage.Native/version.txt
@@ -1 +1 @@
-1.2.3
\ No newline at end of file
+1.3.0
\ No newline at end of file
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs
index 04cb630aee..d699408aef 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/Enums/EXT.gen.cs
@@ -119,6 +119,18 @@ public enum EXT : int
UnsignedIntRaw12Ext = 0x10E4,
[NativeName("Name", "CL_UNORM_INT_2_101010_EXT")]
UnormInt2101010Ext = 0x10E5,
+ [NativeName("Name", "CL_UNSIGNED_INT10X6_EXT")]
+ UnsignedInt10X6Ext = 0x10E6,
+ [NativeName("Name", "CL_UNSIGNED_INT12X4_EXT")]
+ UnsignedInt12X4Ext = 0x10E7,
+ [NativeName("Name", "CL_UNSIGNED_INT14X2_EXT")]
+ UnsignedInt14X2Ext = 0x10E8,
+ [NativeName("Name", "CL_UNORM_INT10X6_EXT")]
+ UnormInt10X6Ext = 0x10E1,
+ [NativeName("Name", "CL_UNORM_INT12X4_EXT")]
+ UnormInt12X4Ext = 0x10E9,
+ [NativeName("Name", "CL_UNORM_INT14X2_EXT")]
+ UnormInt14X2Ext = 0x10EA,
[NativeName("Name", "CL_COMMAND_MIGRATE_MEM_OBJECT_EXT")]
MigrateMemObjectExt = 0x4040,
[NativeName("Name", "CL_COMMAND_MIGRATE_MEM_OBJECT_EXT")]
@@ -165,5 +177,21 @@ public enum EXT : int
InvalidPartitionCountExt = unchecked((int) 0xFFFFFFFFFFFFFBDE),
[NativeName("Name", "CL_INVALID_PARTITION_NAME_EXT")]
InvalidPartitionNameExt = unchecked((int) 0xFFFFFFFFFFFFFBDD),
+ [NativeName("Name", "CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")]
+ DevicePtrsExt = 0x5002,
+ [NativeName("Name", "CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT")]
+ KernelExecInfoDevicePtrsExt = 0x5002,
+ [NativeName("Name", "CL_MEM_IMMUTABLE_EXT")]
+ ImmutableExt = 0x40,
+ [NativeName("Name", "CL_MEM_IMMUTABLE_EXT")]
+ MemImmutableExt = 0x40,
+ [NativeName("Name", "CL_MEM_DEVICE_ADDRESS_EXT")]
+ DeviceAddressExt = 0x5001,
+ [NativeName("Name", "CL_MEM_DEVICE_ADDRESS_EXT")]
+ MemDeviceAddressExt = 0x5001,
+ [NativeName("Name", "CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")]
+ DevicePrivateAddressExt = 0x5000,
+ [NativeName("Name", "CL_MEM_DEVICE_PRIVATE_ADDRESS_EXT")]
+ MemDevicePrivateAddressExt = 0x5000,
}
}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtBufferDeviceAddress.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtBufferDeviceAddress.gen.cs
new file mode 100644
index 0000000000..64804ff9cd
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.EXT/ExtBufferDeviceAddress.gen.cs
@@ -0,0 +1,32 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+using Silk.NET.Core;
+using Silk.NET.Core.Native;
+using Silk.NET.Core.Attributes;
+using Silk.NET.Core.Contexts;
+using Silk.NET.Core.Loader;
+using Silk.NET.OpenCL;
+using Extension = Silk.NET.Core.Attributes.ExtensionAttribute;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.EXT
+{
+ [Extension("EXT_buffer_device_address")]
+ public unsafe partial class ExtBufferDeviceAddress : NativeExtension
+ {
+ public const string ExtensionName = "EXT_buffer_device_address";
+ [NativeApi(EntryPoint = "clSetKernelArgDevicePointerEXT", Convention = CallingConvention.Winapi)]
+ public partial int SetKernelArgDevicePointer([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint kernel, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint arg_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ulong arg_value);
+
+ public ExtBufferDeviceAddress(INativeContext ctx)
+ : base(ctx)
+ {
+ }
+ }
+}
+
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/ContextSafetyProperties.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/ContextSafetyProperties.gen.cs
new file mode 100644
index 0000000000..e5dbfbb43e
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/ContextSafetyProperties.gen.cs
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.IMG
+{
+ [System.Flags]
+ [NativeName("Name", "cl_context_safety_properties_img")]
+ public enum ContextSafetyProperties : ulong
+ {
+ [NativeName("Name", "")]
+ None = 0,
+ [NativeName("Name", "CL_CONTEXT_WORKGROUP_PROTECTION_IMG")]
+ WorkgroupProtection = 0x1,
+ [NativeName("Name", "CL_CONTEXT_ENHANCED_EVENT_EXECUTION_STATUS_IMG")]
+ EnhancedEventExecutionStatus = 0x2,
+ }
+}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs
index 4969b4a5cb..b7bdc9bcb9 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/Enums/IMG.gen.cs
@@ -10,10 +10,17 @@
namespace Silk.NET.OpenCL.Extensions.IMG
{
[Obsolete("The \"ungrouped\" enums (CLEnum, KHR, etc...) are deprecated in favour of the \"grouped\" enums (ErrorCodes, DeviceType, etc...). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ")]
- [Flags]
[NativeName("Name", "CLenum")]
public enum IMG : int
{
+ [NativeName("Name", "CL_CONTEXT_WORKGROUP_PROTECTION_IMG")]
+ WorkgroupProtection = 0x1,
+ [NativeName("Name", "CL_CONTEXT_WORKGROUP_PROTECTION_IMG")]
+ ContextWorkgroupProtectionImg = 0x1,
+ [NativeName("Name", "CL_CONTEXT_ENHANCED_EVENT_EXECUTION_STATUS_IMG")]
+ EnhancedEventExecutionStatus = 0x2,
+ [NativeName("Name", "CL_CONTEXT_ENHANCED_EVENT_EXECUTION_STATUS_IMG")]
+ ContextEnhancedEventExecutionStatusImg = 0x2,
[NativeName("Name", "CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")]
RelaxRequirements = 0x1,
[NativeName("Name", "CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")]
@@ -62,14 +69,40 @@ public enum IMG : int
GenerateMipmapImg = 0x40D6,
[NativeName("Name", "CL_COMMAND_GENERATE_MIPMAP_IMG")]
CommandGenerateMipmapImg = 0x40D6,
+ [NativeName("Name", "CL_CONTEXT_SAFETY_PROPERTIES_IMG")]
+ SafetyPropertiesImg = 0x40D9,
+ [NativeName("Name", "CL_CONTEXT_SAFETY_PROPERTIES_IMG")]
+ ContextSafetyPropertiesImg = 0x40D9,
[NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")]
MemoryCapabilitiesImg = 0x40D8,
[NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")]
DeviceMemoryCapabilitiesImg = 0x40D8,
+ [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")]
+ WorkgroupProtectionSvmCapabilitiesImg = 0x40DA,
+ [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_SVM_CAPABILITIES_IMG")]
+ DeviceWorkgroupProtectionSvmCapabilitiesImg = 0x40DA,
+ [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")]
+ WorkgroupProtectionDeviceEnqueueCapabilitiesImg = 0x40DB,
+ [NativeName("Name", "CL_DEVICE_WORKGROUP_PROTECTION_DEVICE_ENQUEUE_CAPABILITIES_IMG")]
+ DeviceWorkgroupProtectionDeviceEnqueueCapabilitiesImg = 0x40DB,
+ [NativeName("Name", "CL_DEVICE_SAFETY_MEM_SIZE_IMG")]
+ SafetyMemSizeImg = 0x40DC,
+ [NativeName("Name", "CL_DEVICE_SAFETY_MEM_SIZE_IMG")]
+ DeviceSafetyMemSizeImg = 0x40DC,
[NativeName("Name", "CL_GRALLOC_RESOURCE_NOT_ACQUIRED_IMG")]
GrallocResourceNotAcquiredImg = 0x40D4,
[NativeName("Name", "CL_INVALID_GRALLOC_OBJECT_IMG")]
InvalidGrallocObjectImg = 0x40D5,
+ [NativeName("Name", "CL_ECC_RECOVERED_IMG")]
+ EccRecoveredImg = 0x40DD,
+ [NativeName("Name", "CL_PAGE_FAULT_IMG")]
+ PageFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB99),
+ [NativeName("Name", "CL_SAFETY_FAULT_IMG")]
+ SafetyFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB98),
+ [NativeName("Name", "CL_GENERAL_FAULT_IMG")]
+ GeneralFaultImg = unchecked((int) 0xFFFFFFFFFFFFFB97),
+ [NativeName("Name", "CL_ECC_UNRECOVERED_IMG")]
+ EccUnrecoveredImg = unchecked((int) 0xFFFFFFFFFFFFFB96),
[NativeName("Name", "CL_CANCELLED_IMG")]
CancelledImg = unchecked((int) 0xFFFFFFFFFFFFFB9A),
[NativeName("Name", "CL_MEM_USE_UNCACHED_CPU_MEMORY_IMG")]
@@ -88,5 +121,13 @@ public enum IMG : int
AllocFlagsImg = 0x40D7,
[NativeName("Name", "CL_MEM_ALLOC_FLAGS_IMG")]
MemAllocFlagsImg = 0x40D7,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")]
+ ExternalMemoryDmaBufVirtualAddressImg = 0x4220,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")]
+ SvmAllocExternalMemoryDmaBufVirtualAddressImg = 0x4220,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")]
+ ExternalMemoryDmaBufImg = 0x4221,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")]
+ SvmAllocExternalMemoryDmaBufImg = 0x4221,
}
}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs
index 8078a490d0..f68c71c6ba 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/CommandBufferState.gen.cs
@@ -16,7 +16,7 @@ public enum CommandBufferState : int
Recording = 0x0,
[NativeName("Name", "CL_COMMAND_BUFFER_STATE_EXECUTABLE_KHR")]
Executable = 0x1,
- [NativeName("Name", "CL_COMMAND_BUFFER_STATE_PENDING_KHR")]
- Pending = 0x2,
+ [NativeName("Name", "CL_COMMAND_BUFFER_STATE_FINALIZED_KHR")]
+ Finalized = 0x2,
}
}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs
index 8f3031ee32..afb487262f 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/DeviceCommandBufferCapabilities.gen.cs
@@ -21,8 +21,6 @@ public enum DeviceCommandBufferCapabilities : int
DeviceSideEnqueue = 0x2,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR")]
SimultaneousUse = 0x4,
- [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR")]
- OutOfOrder = 0x8,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_MULTIPLE_QUEUE_KHR")]
MultipleQueue = 0x10,
}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs
index 38ae53e4de..f13f713912 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalMemoryHandleType.gen.cs
@@ -22,5 +22,7 @@ public enum ExternalMemoryHandleType : int
OpaqueWin32Kmt = 0x2062,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_NAME_KHR")]
OpaqueWin32Name = 0x2069,
+ [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_ANDROID_HARDWARE_BUFFER_KHR")]
+ AndroidHardwareBuffer = 0x2070,
}
}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs
index aa21146657..23ccf79b9e 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/ExternalSemaphoreHandleType.gen.cs
@@ -12,6 +12,8 @@ namespace Silk.NET.OpenCL.Extensions.KHR
[NativeName("Name", "cl_external_semaphore_handle_type_khr")]
public enum ExternalSemaphoreHandleType : int
{
+ [NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")]
+ D3D12Fence = 0x2059,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_OPAQUE_FD_KHR")]
OpaqueFD = 0x2055,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_SYNC_FD_KHR")]
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs
index 8dd71a5c17..08e600a73c 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/KHR.gen.cs
@@ -65,10 +65,10 @@ public enum KHR : int
Executable = 0x1,
[NativeName("Name", "CL_COMMAND_BUFFER_STATE_EXECUTABLE_KHR")]
CommandBufferStateExecutableKhr = 0x1,
- [NativeName("Name", "CL_COMMAND_BUFFER_STATE_PENDING_KHR")]
- Pending = 0x2,
- [NativeName("Name", "CL_COMMAND_BUFFER_STATE_PENDING_KHR")]
- CommandBufferStatePendingKhr = 0x2,
+ [NativeName("Name", "CL_COMMAND_BUFFER_STATE_FINALIZED_KHR")]
+ Finalized = 0x2,
+ [NativeName("Name", "CL_COMMAND_BUFFER_STATE_FINALIZED_KHR")]
+ CommandBufferStateFinalizedKhr = 0x2,
[NativeName("Name", "CL_STRUCTURE_TYPE_MUTABLE_DISPATCH_CONFIG_KHR")]
StructureTypeMutableDispatchConfig = 0x0,
[NativeName("Name", "CL_STRUCTURE_TYPE_MUTABLE_DISPATCH_CONFIG_KHR")]
@@ -127,10 +127,6 @@ public enum KHR : int
CommandBufferCapabilityDeviceSideEnqueueKhr = 0x2,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR")]
CommandBufferCapabilitySimultaneousUseKhr = 0x4,
- [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR")]
- OutOfOrder = 0x8,
- [NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR")]
- CommandBufferCapabilityOutOfOrderKhr = 0x8,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_MULTIPLE_QUEUE_KHR")]
MultipleQueue = 0x10,
[NativeName("Name", "CL_COMMAND_BUFFER_CAPABILITY_MULTIPLE_QUEUE_KHR")]
@@ -179,6 +175,14 @@ public enum KHR : int
OpaqueWin32Name = 0x2069,
[NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_NAME_KHR")]
ExternalMemoryHandleOpaqueWin32NameKhr = 0x2069,
+ [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_ANDROID_HARDWARE_BUFFER_KHR")]
+ AndroidHardwareBuffer = 0x2070,
+ [NativeName("Name", "CL_EXTERNAL_MEMORY_HANDLE_ANDROID_HARDWARE_BUFFER_KHR")]
+ ExternalMemoryHandleAndroidHardwareBufferKhr = 0x2070,
+ [NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")]
+ D3D12Fence = 0x2059,
+ [NativeName("Name", "CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR")]
+ SemaphoreHandleD3D12FenceKhr = 0x2059,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_OPAQUE_FD_KHR")]
SemaphoreHandleOpaqueFDKhr = 0x2055,
[NativeName("Name", "CL_SEMAPHORE_HANDLE_SYNC_FD_KHR")]
@@ -377,6 +381,124 @@ public enum KHR : int
Binary = 0x1,
[NativeName("Name", "CL_SEMAPHORE_TYPE_BINARY_KHR")]
SemaphoreTypeBinaryKhr = 0x1,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOREAD_KHR")]
+ HostNoread = 0x1,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOREAD_KHR")]
+ SvmAllocAccessHostNoreadKhr = 0x1,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOWRITE_KHR")]
+ HostNowrite = 0x2,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOWRITE_KHR")]
+ SvmAllocAccessHostNowriteKhr = 0x2,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOREAD_KHR")]
+ DeviceNoread = 0x100,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOREAD_KHR")]
+ SvmAllocAccessDeviceNoreadKhr = 0x100,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOWRITE_KHR")]
+ DeviceNowrite = 0x200,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOWRITE_KHR")]
+ SvmAllocAccessDeviceNowriteKhr = 0x200,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")]
+ ExternalMemoryDmaBufVirtualAddressImg = 0x4220,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")]
+ SvmAllocExternalMemoryDmaBufVirtualAddressImg = 0x4220,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")]
+ ExternalMemoryDmaBufImg = 0x4221,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")]
+ SvmAllocExternalMemoryDmaBufImg = 0x4221,
+ [NativeName("Name", "CL_SVM_ALLOC_ASSOCIATED_DEVICE_HANDLE_KHR")]
+ AssociatedDeviceHandle = 0x2078,
+ [NativeName("Name", "CL_SVM_ALLOC_ASSOCIATED_DEVICE_HANDLE_KHR")]
+ SvmAllocAssociatedDeviceHandleKhr = 0x2078,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_FLAGS_KHR")]
+ AccessFlags = 0x2079,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_FLAGS_KHR")]
+ SvmAllocAccessFlagsKhr = 0x2079,
+ [NativeName("Name", "CL_SVM_ALLOC_ALIGNMENT_KHR")]
+ Alignment = 0x207A,
+ [NativeName("Name", "CL_SVM_ALLOC_ALIGNMENT_KHR")]
+ SvmAllocAlignmentKhr = 0x207A,
+ [NativeName("Name", "CL_SVM_CAPABILITY_SINGLE_ADDRESS_SPACE_KHR")]
+ SingleAddressSpace = 0x1,
+ [NativeName("Name", "CL_SVM_CAPABILITY_SINGLE_ADDRESS_SPACE_KHR")]
+ SvmCapabilitySingleAddressSpaceKhr = 0x1,
+ [NativeName("Name", "CL_SVM_CAPABILITY_SYSTEM_ALLOCATED_KHR")]
+ SystemAllocated = 0x2,
+ [NativeName("Name", "CL_SVM_CAPABILITY_SYSTEM_ALLOCATED_KHR")]
+ SvmCapabilitySystemAllocatedKhr = 0x2,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_OWNED_KHR")]
+ DeviceOwned = 0x4,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_OWNED_KHR")]
+ SvmCapabilityDeviceOwnedKhr = 0x4,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_UNASSOCIATED_KHR")]
+ DeviceUnassociated = 0x8,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_UNASSOCIATED_KHR")]
+ SvmCapabilityDeviceUnassociatedKhr = 0x8,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONTEXT_ACCESS_KHR")]
+ ContextAccess = 0x10,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONTEXT_ACCESS_KHR")]
+ SvmCapabilityContextAccessKhr = 0x10,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_OWNED_KHR")]
+ HostOwned = 0x20,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_OWNED_KHR")]
+ SvmCapabilityHostOwnedKhr = 0x20,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_READ_KHR")]
+ HostRead = 0x40,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_READ_KHR")]
+ SvmCapabilityHostReadKhr = 0x40,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_WRITE_KHR")]
+ HostWrite = 0x80,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_WRITE_KHR")]
+ SvmCapabilityHostWriteKhr = 0x80,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_MAP_KHR")]
+ HostMap = 0x100,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_MAP_KHR")]
+ SvmCapabilityHostMapKhr = 0x100,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_READ_KHR")]
+ DeviceRead = 0x200,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_READ_KHR")]
+ SvmCapabilityDeviceReadKhr = 0x200,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_WRITE_KHR")]
+ DeviceWrite = 0x400,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_WRITE_KHR")]
+ SvmCapabilityDeviceWriteKhr = 0x400,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_ATOMIC_ACCESS_KHR")]
+ DeviceAtomicAccess = 0x800,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_ATOMIC_ACCESS_KHR")]
+ SvmCapabilityDeviceAtomicAccessKhr = 0x800,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ACCESS_KHR")]
+ ConcurrentAccess = 0x1000,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ACCESS_KHR")]
+ SvmCapabilityConcurrentAccessKhr = 0x1000,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ATOMIC_ACCESS_KHR")]
+ ConcurrentAtomicAccess = 0x2000,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ATOMIC_ACCESS_KHR")]
+ SvmCapabilityConcurrentAtomicAccessKhr = 0x2000,
+ [NativeName("Name", "CL_SVM_CAPABILITY_INDIRECT_ACCESS_KHR")]
+ IndirectAccess = 0x4000,
+ [NativeName("Name", "CL_SVM_CAPABILITY_INDIRECT_ACCESS_KHR")]
+ SvmCapabilityIndirectAccessKhr = 0x4000,
+ [NativeName("Name", "CL_SVM_INFO_TYPE_INDEX_KHR")]
+ TypeIndex = 0x2088,
+ [NativeName("Name", "CL_SVM_INFO_TYPE_INDEX_KHR")]
+ SvmInfoTypeIndexKhr = 0x2088,
+ [NativeName("Name", "CL_SVM_INFO_CAPABILITIES_KHR")]
+ Capabilities = 0x2089,
+ [NativeName("Name", "CL_SVM_INFO_CAPABILITIES_KHR")]
+ SvmInfoCapabilitiesKhr = 0x2089,
+ [NativeName("Name", "CL_SVM_INFO_PROPERTIES_KHR")]
+ SvmInfoPropertiesKhr = 0x208A,
+ [NativeName("Name", "CL_SVM_INFO_ACCESS_FLAGS_KHR")]
+ SvmInfoAccessFlagsKhr = 0x208B,
+ [NativeName("Name", "CL_SVM_INFO_BASE_PTR_KHR")]
+ BasePtr = 0x419B,
+ [NativeName("Name", "CL_SVM_INFO_BASE_PTR_KHR")]
+ SvmInfoBasePtrKhr = 0x419B,
+ [NativeName("Name", "CL_SVM_INFO_SIZE_KHR")]
+ Size = 0x419C,
+ [NativeName("Name", "CL_SVM_INFO_SIZE_KHR")]
+ SvmInfoSizeKhr = 0x419C,
+ [NativeName("Name", "CL_SVM_INFO_ASSOCIATED_DEVICE_HANDLE_KHR")]
+ SvmInfoAssociatedDeviceHandleKhr = 0x419D,
[NativeName("Name", "CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR")]
AcquireD3D10ObjectsKhr = 0x4017,
[NativeName("Name", "CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR")]
@@ -547,6 +669,10 @@ public enum KHR : int
CommandBufferCapabilitiesKhr = 0x12A9,
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_CAPABILITIES_KHR")]
DeviceCommandBufferCapabilitiesKhr = 0x12A9,
+ [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR")]
+ CommandBufferSupportedQueuePropertiesKhr = 0x129A,
+ [NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR")]
+ DeviceCommandBufferSupportedQueuePropertiesKhr = 0x129A,
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")]
CommandBufferRequiredQueuePropertiesKhr = 0x12AA,
[NativeName("Name", "CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR")]
@@ -567,6 +693,22 @@ public enum KHR : int
KernelClockCapabilitiesKhr = 0x1076,
[NativeName("Name", "CL_DEVICE_KERNEL_CLOCK_CAPABILITIES_KHR")]
DeviceKernelClockCapabilitiesKhr = 0x1076,
+ [NativeName("Name", "CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")]
+ SpirvExtendedInstructionSetsKhr = 0x12B9,
+ [NativeName("Name", "CL_DEVICE_SPIRV_EXTENDED_INSTRUCTION_SETS_KHR")]
+ DeviceSpirvExtendedInstructionSetsKhr = 0x12B9,
+ [NativeName("Name", "CL_DEVICE_SPIRV_EXTENSIONS_KHR")]
+ SpirvExtensionsKhr = 0x12BA,
+ [NativeName("Name", "CL_DEVICE_SPIRV_EXTENSIONS_KHR")]
+ DeviceSpirvExtensionsKhr = 0x12BA,
+ [NativeName("Name", "CL_DEVICE_SPIRV_CAPABILITIES_KHR")]
+ SpirvCapabilitiesKhr = 0x12BB,
+ [NativeName("Name", "CL_DEVICE_SPIRV_CAPABILITIES_KHR")]
+ DeviceSpirvCapabilitiesKhr = 0x12BB,
+ [NativeName("Name", "CL_DEVICE_SVM_TYPE_CAPABILITIES_KHR")]
+ SvmTypeCapabilitiesKhr = 0x1077,
+ [NativeName("Name", "CL_DEVICE_SVM_TYPE_CAPABILITIES_KHR")]
+ DeviceSvmTypeCapabilitiesKhr = 0x1077,
[NativeName("Name", "CL_INVALID_D3D10_DEVICE_KHR")]
InvalidD3D10DeviceKhr = unchecked((int) 0xFFFFFFFFFFFFFC16),
[NativeName("Name", "CL_INVALID_D3D10_RESOURCE_KHR")]
@@ -623,6 +765,10 @@ public enum KHR : int
DX9MediaPlaneKhr = 0x202A,
[NativeName("Name", "CL_IMAGE_DX9_MEDIA_PLANE_KHR")]
ImageDX9MediaPlaneKhr = 0x202A,
+ [NativeName("Name", "CL_KERNEL_EXEC_INFO_SVM_INDIRECT_ACCESS_KHR")]
+ SvmIndirectAccessKhr = 0x11BB,
+ [NativeName("Name", "CL_KERNEL_EXEC_INFO_SVM_INDIRECT_ACCESS_KHR")]
+ KernelExecInfoSvmIndirectAccessKhr = 0x11BB,
[NativeName("Name", "CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR")]
MaxSubGroupSizeForNdrangeKhr = 0x2033,
[NativeName("Name", "CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR")]
@@ -669,6 +815,8 @@ public enum KHR : int
PlatformExternalMemoryImportHandleTypesKhr = 0x2044,
[NativeName("Name", "CL_PLATFORM_COMMAND_BUFFER_CAPABILITIES_KHR")]
PlatformCommandBufferCapabilitiesKhr = 0x908,
+ [NativeName("Name", "CL_PLATFORM_SVM_TYPE_CAPABILITIES_KHR")]
+ PlatformSvmTypeCapabilitiesKhr = 0x909,
[NativeName("Name", "CL_PROGRAM_IL_KHR")]
ILKhr = 0x1169,
[NativeName("Name", "CL_PROGRAM_IL_KHR")]
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocAccessFlags.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocAccessFlags.gen.cs
new file mode 100644
index 0000000000..930fb34cee
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocAccessFlags.gen.cs
@@ -0,0 +1,27 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ [System.Flags]
+ [NativeName("Name", "cl_svm_alloc_access_flags_khr")]
+ public enum SvmAllocAccessFlags : ulong
+ {
+ [NativeName("Name", "")]
+ None = 0,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOREAD_KHR")]
+ HostNoread = 0x1,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_HOST_NOWRITE_KHR")]
+ HostNowrite = 0x2,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOREAD_KHR")]
+ DeviceNoread = 0x100,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_DEVICE_NOWRITE_KHR")]
+ DeviceNowrite = 0x200,
+ }
+}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocProperties.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocProperties.gen.cs
new file mode 100644
index 0000000000..cf74eedbaa
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmAllocProperties.gen.cs
@@ -0,0 +1,26 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ [NativeName("Name", "cl_svm_alloc_properties_khr")]
+ public enum SvmAllocProperties : ulong
+ {
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_VIRTUAL_ADDRESS_IMG")]
+ ExternalMemoryDmaBufVirtualAddressImg = 0x4220,
+ [NativeName("Name", "CL_SVM_ALLOC_EXTERNAL_MEMORY_DMA_BUF_IMG")]
+ ExternalMemoryDmaBufImg = 0x4221,
+ [NativeName("Name", "CL_SVM_ALLOC_ASSOCIATED_DEVICE_HANDLE_KHR")]
+ AssociatedDeviceHandle = 0x2078,
+ [NativeName("Name", "CL_SVM_ALLOC_ACCESS_FLAGS_KHR")]
+ AccessFlags = 0x2079,
+ [NativeName("Name", "CL_SVM_ALLOC_ALIGNMENT_KHR")]
+ Alignment = 0x207A,
+ }
+}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmCapabilities.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmCapabilities.gen.cs
new file mode 100644
index 0000000000..ee790d9f32
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmCapabilities.gen.cs
@@ -0,0 +1,49 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ [System.Flags]
+ [NativeName("Name", "cl_svm_capabilities_khr")]
+ public enum SvmCapabilities : ulong
+ {
+ [NativeName("Name", "")]
+ None = 0,
+ [NativeName("Name", "CL_SVM_CAPABILITY_SINGLE_ADDRESS_SPACE_KHR")]
+ SingleAddressSpace = 0x1,
+ [NativeName("Name", "CL_SVM_CAPABILITY_SYSTEM_ALLOCATED_KHR")]
+ SystemAllocated = 0x2,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_OWNED_KHR")]
+ DeviceOwned = 0x4,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_UNASSOCIATED_KHR")]
+ DeviceUnassociated = 0x8,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONTEXT_ACCESS_KHR")]
+ ContextAccess = 0x10,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_OWNED_KHR")]
+ HostOwned = 0x20,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_READ_KHR")]
+ HostRead = 0x40,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_WRITE_KHR")]
+ HostWrite = 0x80,
+ [NativeName("Name", "CL_SVM_CAPABILITY_HOST_MAP_KHR")]
+ HostMap = 0x100,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_READ_KHR")]
+ DeviceRead = 0x200,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_WRITE_KHR")]
+ DeviceWrite = 0x400,
+ [NativeName("Name", "CL_SVM_CAPABILITY_DEVICE_ATOMIC_ACCESS_KHR")]
+ DeviceAtomicAccess = 0x800,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ACCESS_KHR")]
+ ConcurrentAccess = 0x1000,
+ [NativeName("Name", "CL_SVM_CAPABILITY_CONCURRENT_ATOMIC_ACCESS_KHR")]
+ ConcurrentAtomicAccess = 0x2000,
+ [NativeName("Name", "CL_SVM_CAPABILITY_INDIRECT_ACCESS_KHR")]
+ IndirectAccess = 0x4000,
+ }
+}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeFlags.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeFlags.gen.cs
new file mode 100644
index 0000000000..e3f0a7a3af
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeFlags.gen.cs
@@ -0,0 +1,19 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ [System.Flags]
+ [NativeName("Name", "cl_svm_free_flags_khr")]
+ public enum SvmFreeFlags : ulong
+ {
+ [NativeName("Name", "")]
+ None = 0,
+ }
+}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeProperties.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeProperties.gen.cs
new file mode 100644
index 0000000000..b623bac03a
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmFreeProperties.gen.cs
@@ -0,0 +1,16 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ [NativeName("Name", "cl_svm_free_properties_khr")]
+ public enum SvmFreeProperties : ulong
+ {
+ }
+}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmPointerInfo.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmPointerInfo.gen.cs
new file mode 100644
index 0000000000..8e89af2cfb
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/SvmPointerInfo.gen.cs
@@ -0,0 +1,30 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+
+using System;
+using Silk.NET.Core.Attributes;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ [NativeName("Name", "cl_svm_pointer_info_khr")]
+ public enum SvmPointerInfo : int
+ {
+ [NativeName("Name", "CL_SVM_INFO_TYPE_INDEX_KHR")]
+ TypeIndex = 0x2088,
+ [NativeName("Name", "CL_SVM_INFO_CAPABILITIES_KHR")]
+ Capabilities = 0x2089,
+ [NativeName("Name", "CL_SVM_INFO_PROPERTIES_KHR")]
+ Properties = 0x208A,
+ [NativeName("Name", "CL_SVM_INFO_ACCESS_FLAGS_KHR")]
+ AccessFlags = 0x208B,
+ [NativeName("Name", "CL_SVM_INFO_BASE_PTR_KHR")]
+ BasePtr = 0x419B,
+ [NativeName("Name", "CL_SVM_INFO_SIZE_KHR")]
+ Size = 0x419C,
+ [NativeName("Name", "CL_SVM_INFO_ASSOCIATED_DEVICE_HANDLE_KHR")]
+ AssociatedDeviceHandle = 0x419D,
+ }
+}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs
index 9190f3d631..7e3caa3877 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcd.gen.cs
@@ -20,6 +20,15 @@ namespace Silk.NET.OpenCL.Extensions.KHR
public unsafe partial class KhrIcd : NativeExtension
{
public const string ExtensionName = "KHR_icd";
+ [NativeApi(EntryPoint = "clIcdGetFunctionAddressForPlatformKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* IcdGetFunctionAddressForPlatform([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* func_name);
+
+ [NativeApi(EntryPoint = "clIcdGetFunctionAddressForPlatformKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* IcdGetFunctionAddressForPlatform([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in byte func_name);
+
+ [NativeApi(EntryPoint = "clIcdGetFunctionAddressForPlatformKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* IcdGetFunctionAddressForPlatform([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string func_name);
+
[NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR", Convention = CallingConvention.Winapi)]
public unsafe partial int IcdGetPlatformIDs([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nint* platforms, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* num_platforms);
@@ -32,6 +41,12 @@ public unsafe partial class KhrIcd : NativeExtension
[NativeApi(EntryPoint = "clIcdGetPlatformIDsKHR", Convention = CallingConvention.Winapi)]
public partial int IcdGetPlatformIDs([Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nint platforms, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint num_platforms);
+ [NativeApi(EntryPoint = "clIcdSetPlatformDispatchDataKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int IcdSetPlatformDispatchData([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* dispatch_data);
+
+ [NativeApi(EntryPoint = "clIcdSetPlatformDispatchDataKHR", Convention = CallingConvention.Winapi)]
+ public partial int IcdSetPlatformDispatchData([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 dispatch_data) where T0 : unmanaged;
+
public KhrIcd(INativeContext ctx)
: base(ctx)
{
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs
index 4e4cd51af1..3f41b68cfd 100644
--- a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrIcdOverloads.gen.cs
@@ -16,6 +16,12 @@ namespace Silk.NET.OpenCL.Extensions.KHR
{
public static class KhrIcdOverloads
{
+ public static unsafe void* IcdGetFunctionAddressForPlatform(this KhrIcd thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan func_name)
+ {
+ // SpanOverloader
+ return thisApi.IcdGetFunctionAddressForPlatform(platform, in func_name.GetPinnableReference());
+ }
+
public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint num_entries, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nint* platforms, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span num_platforms)
{
// SpanOverloader
@@ -34,6 +40,12 @@ public static unsafe int IcdGetPlatformIDs(this KhrIcd thisApi, [Flow(Silk.NET.C
return thisApi.IcdGetPlatformIDs(num_entries, out platforms.GetPinnableReference(), out num_platforms.GetPinnableReference());
}
+ public static unsafe int IcdSetPlatformDispatchData(this KhrIcd thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint platform, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span dispatch_data) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.IcdSetPlatformDispatchData(platform, out dispatch_data.GetPinnableReference());
+ }
+
}
}
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvm.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvm.gen.cs
new file mode 100644
index 0000000000..d43969c85b
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvm.gen.cs
@@ -0,0 +1,327 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+using Silk.NET.Core;
+using Silk.NET.Core.Native;
+using Silk.NET.Core.Attributes;
+using Silk.NET.Core.Contexts;
+using Silk.NET.Core.Loader;
+using Silk.NET.OpenCL;
+using Extension = Silk.NET.Core.Attributes.ExtensionAttribute;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ [Extension("KHR_unified_svm")]
+ public unsafe partial class KhrUnifiedSvm : NativeExtension
+ {
+ public const string ExtensionName = "KHR_unified_svm";
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret);
+
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret);
+
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged;
+
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged;
+
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged;
+
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged;
+
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged;
+
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged where T1 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ [NativeApi(EntryPoint = "clGetSVMPointerInfoKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmpointerInfo([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in T0 ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T1 param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out nuint param_value_size_ret) where T0 : unmanaged where T1 : unmanaged;
+
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clGetSVMSuggestedTypeIndexKHR", Convention = CallingConvention.Winapi)]
+ public partial int GetSvmsuggestedTypeIndex([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out uint suggested_svm_type_index);
+
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret);
+
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret);
+
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret);
+
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] int* errcode_ret);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMAllocWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial void* SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out int errcode_ret);
+
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmFreeProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmFreeFlags flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public unsafe partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* ptr);
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmFreeProperties, SvmFreeFlags). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ [NativeApi(EntryPoint = "clSVMFreeWithPropertiesKHR", Convention = CallingConvention.Winapi)]
+ public partial int SvmfreeWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR flags, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] out T0 ptr) where T0 : unmanaged;
+
+ public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size)
+ {
+ // NonKhrReturnTypeOverloader
+ SvmallocWithProperties(context, properties, svm_type_index, size, out int silkRet);
+ return silkRet;
+ }
+
+ public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in SvmAllocProperties properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size)
+ {
+ // NonKhrReturnTypeOverloader
+ SvmallocWithProperties(context, in properties, svm_type_index, size, out int silkRet);
+ return silkRet;
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size)
+ {
+ // NonKhrReturnTypeOverloader
+ SvmallocWithProperties(context, properties, svm_type_index, size, out int silkRet);
+ return silkRet;
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public unsafe int SvmallocWithProperties([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in KHR properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint svm_type_index, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size)
+ {
+ // NonKhrReturnTypeOverloader
+ SvmallocWithProperties(context, in properties, svm_type_index, size, out int silkRet);
+ return silkRet;
+ }
+
+ public KhrUnifiedSvm(INativeContext ctx)
+ : base(ctx)
+ {
+ }
+ }
+}
+
diff --git a/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvmOverloads.gen.cs b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvmOverloads.gen.cs
new file mode 100644
index 0000000000..f1aadaad5b
--- /dev/null
+++ b/src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/KhrUnifiedSvmOverloads.gen.cs
@@ -0,0 +1,397 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.CompilerServices;
+using System.Text;
+using Silk.NET.Core;
+using Silk.NET.Core.Native;
+using Silk.NET.Core.Attributes;
+using Silk.NET.Core.Contexts;
+using Silk.NET.Core.Loader;
+
+#pragma warning disable 1591
+
+namespace Silk.NET.OpenCL.Extensions.KHR
+{
+ public static class KhrUnifiedSvmOverloads
+ {
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference());
+ }
+
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret);
+ }
+
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference());
+ }
+
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret);
+ }
+
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference());
+ }
+
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret);
+ }
+
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmPointerInfo param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret);
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, ptr, param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, param_value_size_ret);
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] void* param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, param_value, out param_value_size_ret.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] nuint* param_value_size_ret) where T0 : unmanaged where T1 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), param_value_size_ret);
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmPointerInfo). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", false)]
+ public static unsafe int GetSvmpointerInfo(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan ptr, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR param_name, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint param_value_size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span param_value_size_ret) where T0 : unmanaged where T1 : unmanaged
+ {
+ // SpanOverloader
+ return thisApi.GetSvmpointerInfo(context, device, in ptr.GetPinnableReference(), param_name, param_value_size, out param_value.GetPinnableReference(), out param_value_size_ret.GetPinnableReference());
+ }
+
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index);
+ }
+
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index);
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index);
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index);
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmAllocProperties* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, properties, size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] uint* suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, suggested_svm_type_index);
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span suggested_svm_type_index)
+ {
+ // SpanOverloader
+ return thisApi.GetSvmsuggestedTypeIndex(context, required_capabilities, desired_capabilities, in properties.GetPinnableReference(), size, out suggested_svm_type_index.GetPinnableReference());
+ }
+
+ [Obsolete("The \"ungrouped\" enums (KHR) are deprecated in favour of the \"grouped\" enums (SvmCapabilities, SvmAllocProperties). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ", true)]
+ public static unsafe int GetSvmsuggestedTypeIndex(this KhrUnifiedSvm thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nint context, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR required_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SvmCapabilities desired_capabilities, [Flow(Silk.NET.Core.Native.FlowDirection.In)] KHR* properties, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint size, [Flow(Silk.NET.Core.Native.FlowDirection.Out)] Span