diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index 03efa87b74..6e2e244c47 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -3,10 +3,11 @@
"isRoot": true,
"tools": {
"csharpier": {
- "version": "0.29.2",
+ "version": "1.3.0",
"commands": [
- "dotnet-csharpier"
- ]
+ "csharpier"
+ ],
+ "rollForward": false
}
}
}
\ No newline at end of file
diff --git a/.silktouch/openal-clangsharp.stout b/.silktouch/openal-clangsharp.stout
index b67feaa619..d84ad03c4c 100644
Binary files a/.silktouch/openal-clangsharp.stout and b/.silktouch/openal-clangsharp.stout differ
diff --git a/.silktouch/opencl-clangsharp.stout b/.silktouch/opencl-clangsharp.stout
index c3cee4b0a4..15b3302966 100644
Binary files a/.silktouch/opencl-clangsharp.stout and b/.silktouch/opencl-clangsharp.stout differ
diff --git a/.silktouch/opengl-clangsharp.stout b/.silktouch/opengl-clangsharp.stout
index 400d3c820d..8c501366d4 100644
Binary files a/.silktouch/opengl-clangsharp.stout and b/.silktouch/opengl-clangsharp.stout differ
diff --git a/.silktouch/openxr-clangsharp.stout b/.silktouch/openxr-clangsharp.stout
index 252ca036b2..6ddc4b0135 100644
Binary files a/.silktouch/openxr-clangsharp.stout and b/.silktouch/openxr-clangsharp.stout differ
diff --git a/.silktouch/sdl-clangsharp.stout b/.silktouch/sdl-clangsharp.stout
index c172df67bf..9d337d3386 100644
Binary files a/.silktouch/sdl-clangsharp.stout and b/.silktouch/sdl-clangsharp.stout differ
diff --git a/.silktouch/vulkan-clangsharp.stout b/.silktouch/vulkan-clangsharp.stout
index ec1dfbd799..faeb5ccb44 100644
Binary files a/.silktouch/vulkan-clangsharp.stout and b/.silktouch/vulkan-clangsharp.stout differ
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 6a64c60210..2a635eb496 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -21,6 +21,8 @@
+
+
diff --git a/Silk.NET.slnx b/Silk.NET.slnx
index 8ee5d577a6..759ceabb08 100644
--- a/Silk.NET.slnx
+++ b/Silk.NET.slnx
@@ -1,99 +1,99 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/for-contributors/Generator/generator-mods.md b/docs/for-contributors/Generator/generator-mods.md
index 3cf4fadffe..d0c12ea055 100644
--- a/docs/for-contributors/Generator/generator-mods.md
+++ b/docs/for-contributors/Generator/generator-mods.md
@@ -27,9 +27,11 @@ ideally, no communication is done at all so that mods are kept completely standa
### Mod Configuration
-Mods are configured through the generator config JSON file. Silk's config file is named `generator.json` and is located
-at the root of the Silk.NET repository. This config file can be used as reference for your own config files. In
-addition, most mods have a configuration class located in their source code with additional documentation.
+Mods are configured as part of bindings generation jobs in a separate C# project. Silk's own configuration project is
+the
+[`Silk.NET.SilkTouch.Jobs`](https://github.com/dotnet/Silk.NET/blob/develop/3.0/sources/SilkTouch/Jobs/Program.cs)
+project. This project can be used as reference for your own SilkTouch configuration projects. More information about
+using the SilkTouch generator can be found in the [Using the Generator](using-the-generator.md) documentation.
## Available Mods
@@ -186,7 +188,7 @@ development and iteration, the generator is typically set up so that platform-sp
Usage recommendations:
-This mod is configured differently from the rest of the mods. The JSON mod configuration follows the same pattern as the
+This mod is configured differently from the rest of the mods. The C# mod configuration follows the same pattern as the
rest of the mods, but the bulk of the configuration comes in the form of `.rsp` files. These `.rsp` files represent the
command line arguments passed to ClangSharpPInvokeGenerator. More information about how to use this mod and how to
configure the generator as a whole is found in the [Using the Generator](using-the-generator.md) documentation.
@@ -373,16 +375,12 @@ Name affix categories:
Example name affix configurations for `PrettifyNames`:
-```
-"SharedPrefix": {
- "Remove": true
-}
+```cs
+["SharedPrefix"] = new() { Remove = true },
```
-```
-"SharedPrefix": {
- "IsDiscriminator": true
-}
+```cs
+["SharedPrefix"] = new() { IsDiscriminator = true },
```
Usage recommendations:
@@ -465,8 +463,8 @@ This is a monolithic mod that handles behavior specific to Khronos-style APIs su
Because this mod is intended more for internal use rather than public use, the documentation here will focus on
decisions made during the development of the mod and other internal details rather than the exact usage of the mod.
-For information relating to how the mod should be used, please use Silk's `generator.json` configuration, source code,
-and `MixKhronosDataTests` as a reference.
+For information relating to how the mod should be used, please use Silk's own configuration, source code, and
+`MixKhronosDataTests` as a reference.
(TODO: Document major decisions relating to `MixKhronosData`. This is difficult because of the mod's long development
history, and while this section is already massive, it still does not cover everything the mod does. This should be done
diff --git a/docs/for-contributors/Generator/using-the-generator.md b/docs/for-contributors/Generator/using-the-generator.md
index 68aebfd43c..6aac8b34e6 100644
--- a/docs/for-contributors/Generator/using-the-generator.md
+++ b/docs/for-contributors/Generator/using-the-generator.md
@@ -17,7 +17,8 @@ Metal.
There are three main things to configure:
-1. Silk 3 - This is the [`generator.json`](https://github.com/dotnet/Silk.NET/blob/develop/3.0/generator.json) file.
+1. Silk 3 - This is the [`Silk.NET.SilkTouch.Jobs`](https://github.com/dotnet/Silk.NET/blob/develop/3.0/sources/SilkTouch/Jobs/Program.cs)
+ project. You may also use a single file app instead of a full C# project.
2. ClangSharpPInvokeGenerator - This is the [`eng/silktouch`](https://github.com/dotnet/Silk.NET/tree/develop/3.0/eng/silktouch) folder.
@@ -32,9 +33,13 @@ you are binding.
## SilkTouch Configuration
-Silk defines the configuration for SilkTouch in the
-[`generator.json`](https://github.com/dotnet/Silk.NET/blob/develop/3.0/generator.json) file. This file defines the
-different bindings jobs and the list of mods to run for each job.
+Silk defines the configuration for SilkTouch as regular C# in the
+[`Silk.NET.SilkTouch.Jobs`](https://github.com/dotnet/Silk.NET/blob/develop/3.0/sources/SilkTouch/Jobs/Program.cs)
+project.
+
+This project defines the different bindings jobs and the list of mods to run for each job. Silk's own bindings jobs are
+split into multiple files for maintainability, but since this is regular C# code, you may organize your own job
+definitions however you wish.
For example, when binding to a C API:
@@ -48,8 +53,8 @@ For example, when binding to a C API:
Aside from reading documentation, some other ways to learn about the mods are to:
-- Read through the tests. The tests act as examples for specific behaviors expected by each mod, with configurations,
- inputs, and expected outputs provided for each case.
+- Read through the SilkTouch tests. The tests act as examples for specific behaviors expected by each mod, with
+ configurations, inputs, and expected outputs provided for each case.
- Add them one by one. Mods run in the order you define them and work off the output of the previous mod.
@@ -105,7 +110,9 @@ eng
- SDL3
```
-Profiles likely will not be relevent for most C APIs, so the examples here will keep focusing on the SDL case.
+Profiles are not likely to be required for your average C API required, so the examples here will keep focusing on the
+SDL case. Profiles are needed when your API has multiple variants or needs to be generated on multiple platforms. For
+additional reference, please use the OpenGL (TODO: or OpenXR bindings) bindings jobs as examples.
The following is the folder structure used for Silk's SDL bindings. You do not have to structure it the way Silk does.
Silk's structure focuses on keeping consistency in its response file organization, regardless of whether the API makes
@@ -117,8 +124,8 @@ eng
- sdl
- SDL3
- generate.rsp <-- The main settings file. Used as the entrypoint. All import paths must be relative to this file.
- - header.txt
- sdl-SDL.h <-- Handwritten header file that #includes the relevant headers of the library you want to bind.
+ - header.txt
- remap.rsp
- settings.rsp <-- Shared settings for all profiles.
```
@@ -164,7 +171,7 @@ Silk.NET.SDL
--define-macro
TODO_DEFINE_MACROS=HERE
--headerFile
-header.txt
+../header.txt
--include-directory
../../../submodules/sdl/include
--with-callconv
@@ -238,23 +245,19 @@ MSBuild under the hood.
The generator can be run directly from source using the following command:
```sh
-dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.csproj -c Release -- generator.json --only SDL
+dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.Jobs.csproj -c Release -- --only SDL
```
You may use the `--help` option to display additional information about available options.
```
-dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.csproj -c Release -- --help
+dotnet run --project sources/SilkTouch/SilkTouch/Silk.NET.SilkTouch.Jobs.csproj -c Release -- --help
```
Some notable options include the `--only` and `--skip` options. `--only` lets you specify the exact jobs to run.
`--skip` is the opposite and lets you specify the jobs to skip. If `--only` and `--skip` is specified for the same job,
`--skip` takes precedence.
-Warning: There are currently some generator bugs associated with running multiple jobs in the same process. We recommend
-that you use `--only` to ensure that only one job is executed per process. Running multiple processes in parallel is
-fine.
-
### Generated Bindings Output
All generated binding will be output to the `Jobs.JOB_NAME.SourceProject` path defined in `generator.json`.
diff --git a/eng/silktouch/sdl/SDL3/header.txt b/eng/silktouch/sdl/header.txt
similarity index 100%
rename from eng/silktouch/sdl/SDL3/header.txt
rename to eng/silktouch/sdl/header.txt
diff --git a/eng/silktouch/sdl/settings.rsp b/eng/silktouch/sdl/settings.rsp
index 4ffc034a59..d5bc9b1ff4 100644
--- a/eng/silktouch/sdl/settings.rsp
+++ b/eng/silktouch/sdl/settings.rsp
@@ -2,7 +2,7 @@
--define-macro
TODO_DEFINE_MACROS=HERE
--headerFile
-header.txt
+../header.txt
--include-directory
../../../submodules/sdl/include
../../../include/glcompat
diff --git a/generator.json b/generator.json
deleted file mode 100644
index ade9e36d58..0000000000
--- a/generator.json
+++ /dev/null
@@ -1,845 +0,0 @@
-{
- "Jobs": {
- "Microsoft": {
- "Solution": "Silk.NET.slnx",
- "SourceProject": "sources/Win32/Win32/Silk.NET.Win32.csproj",
- "TestProject": "tests/Win32/Win32/Silk.NET.Win32.UnitTests.csproj",
- "DefaultLicenseHeader": "eng/silktouch/header.txt",
- "Mods": [
- "AddIncludes",
- "ClangScraper",
- "ChangeNamespace"
- ],
- "ClangScraper": {
- "ClangSharpResponseFiles": [
- "eng/submodules/terrafx.interop.windows/generation/**/generate.rsp"
- ],
- "ManualOverrides": {
- "sources/Windows/um/icm/Windows.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/um/icm/Windows.cs",
- "sources/Gdiplus/um/gdiplustypes/GpRect.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Gdiplus/um/gdiplustypes/GpRect.cs",
- "sources/Gdiplus/um/gdiplustypes/GpRectF.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Gdiplus/um/gdiplustypes/GpRectF.cs",
- "sources/Gdiplus/um/gdiplustypes/GpPathData.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Gdiplus/um/gdiplustypes/GpPathData.cs",
- "sources/Windows/shared/strsafe/Windows.gen.cs": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows/Windows/shared/strsafe/Windows.gen.cs"
- },
- "InputSourceRoot": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows",
- "InputTestRoot": "eng/submodules/terrafx.interop.windows/tests/Interop/Windows",
- "SkipScrapeIf": [
- "!win"
- ]
- },
- "ChangeNamespace": {
- "Mappings": {
- "TerraFX.Interop.(.*)": "Silk.NET.$1"
- }
- }
- },
- "SDL": {
- "SourceProject": "sources/SDL/SDL/Silk.NET.SDL.csproj",
- "TestProject": "tests/SDL/SDL/Silk.NET.SDL.UnitTests.csproj",
- "Solution": "Silk.NET.slnx",
- "DefaultLicenseHeader": "eng/silktouch/header.txt",
- "Mods": [
- "AddIncludes",
- "ClangScraper",
- "MarkNativeNames",
- "ExtractHandles",
- "ExtractNestedTypes",
- "ExtractEnumConstants",
- "ExtractFunctionPointers",
- "TransformHandles",
- "TransformFunctions",
- "TransformProperties",
- "IdentifySharedPrefixes",
- "PrettifyNames",
- "TransformEnums",
- "AddVTables",
- "StripAttributes"
- ],
- "ClangScraper": {
- "ClangSharpResponseFiles": [
- "eng/silktouch/sdl/**/generate.rsp"
- ],
- "InputSourceRoot": "sources/SDL",
- "InputTestRoot": "tests/SDL"
- },
- "TransformHandles": {
- "UseDsl": true
- },
- "TransformFunctions": {
- "BoolTypes": {
- "SDL_bool": null
- }
- },
- "TransformProperties": {
- "BoolTypes": {
- "SDL_bool": null
- }
- },
- "IdentifySharedPrefixes": {
- "GlobalPrefixHints": ["SDL"]
- },
- "PrettifyNames": {
- "Affixes": {
- "SharedPrefix": {
- "Remove": true
- }
- }
- },
- "TransformEnums": {
- "AddNoneMemberToFlags": true,
- "RewriteMemberValues": true
- },
- "StripAttributes": {
- "Remove": [
- "NativeTypeName",
- "NameAffix",
- "Transformed"
- ]
- }
- },
- "OpenGL": {
- "SourceProject": "sources/OpenGL/OpenGL/Silk.NET.OpenGL.csproj",
- "Solution": "Silk.NET.slnx",
- "DefaultLicenseHeader": "eng/silktouch/header.txt",
- "Mods": [
- "AddIncludes",
- "ClangScraper",
- "MarkNativeNames",
- "AddApiProfiles",
- "BakeSourceSets",
- "AddOpaqueStructs",
- "MixKhronosData",
- "TransformHandles",
- "TransformFunctions",
- "IdentifySharedPrefixes",
- "PrettifyNames",
- "TransformEnums",
- "AddVTables",
- "StripAttributes"
- ],
- "ClangScraper": {
- "ClangSharpResponseFiles": [
- "eng/silktouch/opengl/**/generate.rsp"
- ],
- "InputSourceRoot": "sources/OpenGL",
- "InputTestRoot": "tests/OpenGL"
- },
- "AddApiProfiles": {
- "Profiles": [
- {
- "Profile": "gl",
- "SourceSubdirectory": "glcompat"
- },
- {
- "Profile": "glcore",
- "SourceSubdirectory": "glcore",
- "MinVersion": "3.2"
- },
- {
- "Profile": "gles1",
- "SourceSubdirectory": "gles1",
- "MaxVersion": "2.0"
- },
- {
- "Profile": "gles2",
- "SourceSubdirectory": "gles2",
- "MinVersion": "2.0"
- }
- ]
- },
- "BakeSourceSets": {
- "SourceSets": {
- "glcompat": "gl",
- "glcore": "gl",
- "gles1": "gl",
- "gles2": "gl"
- }
- },
- "AddOpaqueStructs": {
- "Names": [
- "GLsync"
- ]
- },
- "MixKhronosData": {
- "SpecPath": "eng/submodules/opengl-registry/xml/gl.xml",
- "Namespace": "Silk.NET.OpenGL",
- "TypeMap": {
- "GLenum": "uint",
- "TraceMaskMESA": "uint",
- "PathRenderingTokenNV": "byte",
- "PathCoordType": "byte"
- },
- "IdentifyFunctionDataTypes": true,
- "IdentifyEnumTypeNonExclusiveVendors": true,
- "IdentifyEnumMemberImpliedVendors": true
- },
- "AddVTables": {
- "VTables": [
- {
- "Kind": "DllImport"
- },
- {
- "Kind": "StaticWrapper"
- },
- {
- "Kind": "ThisThread",
- "IsDefault": true,
- "GenerateMakeCurrentPartial": true
- }
- ]
- },
- "IdentifySharedPrefixes": {
- "GlobalPrefixHints": ["gl"],
- "PrefixOverrides": {
- "SyncObjectMask": "GL_SYNC",
- "OcclusionQueryParameterNameNV": "GL",
- "TexStorageAttribs": "GL",
- "ContainerType": "GL",
- "SeparableTargetEXT": "GL"
- }
- },
- "PrettifyNames": {
- "Affixes": {
- "HandleType": {
- "Order": 1
- },
- "FunctionPointerDelegateType": {
- "Order": 1
- },
- "KhronosVendor": {
- "Order": -1
- },
- "KhronosFunctionDataType": {
- "IsDiscriminator": true
- },
- "KhronosImpliedVendor": {
- "Remove": true
- },
- "KhronosNonExclusiveVendor": {
- "Remove": true
- },
- "SharedPrefix": {
- "Remove": true
- }
- }
- },
- "TransformEnums": {
- "AddNoneMemberToFlags": true,
- "RewriteMemberValues": true
- },
- "TransformHandles": {
- "UseDsl": true
- },
- "TransformFunctions": {
- "BoolTypes": {
- "GLboolean": null
- }
- },
- "TransformProperties": {
- "BoolTypes": {
- "GLboolean": null
- }
- },
- "StripAttributes": {
- "Remove": [
- "NativeTypeName",
- "NameAffix",
- "Transformed"
- ]
- }
- },
- "OpenCL": {
- "SourceProject": "sources/OpenCL/OpenCL/Silk.NET.OpenCL.csproj",
- "Solution": "Silk.NET.slnx",
- "DefaultLicenseHeader": "eng/silktouch/header.txt",
- "Mods": [
- "AddIncludes",
- "ClangScraper",
- "MarkNativeNames",
- "AddApiProfiles",
- "ExtractHandles",
- "ExtractNestedTypes",
- "ExtractFunctionPointers",
- "MixKhronosData",
- "TransformHandles",
- "TransformFunctions",
- "IdentifySharedPrefixes",
- "PrettifyNames",
- "TransformEnums",
- "AddVTables",
- "StripAttributes"
- ],
- "ClangScraper": {
- "ClangSharpResponseFiles": [
- "eng/silktouch/opencl/**/generate.rsp"
- ],
- "InputSourceRoot": "sources/OpenCL",
- "InputTestRoot": "tests/OpenCL"
- },
- "MixKhronosData": {
- "SpecPath": "eng/submodules/opencl-docs/xml/cl.xml",
- "Namespace": "Silk.NET.OpenCL",
- "TypeMap": {
- "cl_bitfield": "ulong",
- "cl_properties": "ulong",
- "intptr_t": "long",
- "ErrorCodes": "int",
- "cl_affinity_domain_ext": "uint",
- "clCommandExecutionStatus": "uint",
- "cl_compiler_mode_altera": "uint",
- "cl_motion_estimation_desc_intel.mb_block_type": "uint",
- "cl_motion_estimation_desc_intel.subpixel_mode": "uint",
- "cl_motion_estimation_desc_intel.sad_adjust_mode": "uint",
- "cl_motion_estimation_desc_intel.search_path_type": "uint",
- "cl_arm_device_svm_capabilities.flags": "uint",
- "cl_arm_svm_alloc.flags": "uint",
- "cl_intel_advanced_motion_estimation.flags": "uint",
- "cl_intel_advanced_motion_estimation.search_cost_penalty": "uint",
- "cl_intel_advanced_motion_estimation.search_cost_precision": "uint",
- "cl_intel_advanced_motion_estimation.intra_search_prediction_modes_buffer.luma_block": "uint",
- "cl_intel_advanced_motion_estimation.intra_search_prediction_modes_buffer.chroma_block": "uint",
- "cl_intel_advanced_motion_estimation.skip_block_type": "uint",
- "cl_intel_advanced_motion_estimation.device_me_version": "uint",
- "cl_intel_advanced_motion_estimation.cl_motion_detect_desc_intel": "uint",
- "cl_intel_advanced_motion_estimation.cl_motion_detect_desc_intel.2": "uint",
- "cl_intel_device_side_avc_motion_estimation.version": "uint",
- "cl_intel_device_side_avc_motion_estimation.major": "uint",
- "cl_intel_device_side_avc_motion_estimation.minor": "uint",
- "cl_intel_device_side_avc_motion_estimation.major.dir": "uint",
- "cl_intel_device_side_avc_motion_estimation.partition": "uint",
- "cl_intel_device_side_avc_motion_estimation.window": "uint",
- "cl_intel_device_side_avc_motion_estimation.adjust": "uint",
- "cl_intel_device_side_avc_motion_estimation.subpixel": "uint",
- "cl_intel_device_side_avc_motion_estimation.cost.precision": "uint",
- "cl_intel_device_side_avc_motion_estimation.weight": "uint",
- "cl_intel_device_side_avc_motion_estimation.border": "uint",
- "cl_intel_device_side_avc_motion_estimation.skip": "uint",
- "cl_intel_device_side_avc_motion_estimation.skip.dir": "uint",
- "cl_intel_device_side_avc_motion_estimation.skip.block.based": "uint",
- "cl_intel_device_side_avc_motion_estimation.intra": "uint",
- "cl_intel_device_side_avc_motion_estimation.intra.luma": "uint",
- "cl_intel_device_side_avc_motion_estimation.intra.neighbor": "uint",
- "cl_intel_device_side_avc_motion_estimation.luma.predictor": "uint",
- "cl_intel_device_side_avc_motion_estimation.frame.dir": "uint",
- "cl_intel_device_side_avc_motion_estimation.slice": "uint",
- "cl_intel_device_side_avc_motion_estimation.scan.dir": "uint",
- "cl_command_termination_reason_arm": "uint",
- "cl_platform_command_buffer_capabilities_khr": "uint",
- "cl_device_command_buffer_capabilities_khr": "uint",
- "cl_media_adapter_type_khr": "uint",
- "cl_media_adapter_set_khr": "uint",
- "host_cache_policy": "uint",
- "allocation_type": "uint",
- "cl_unified_shared_memory_capabilities_intel": "uint",
- "cl_mem_alloc_info_intel": "uint",
- "cl_semaphore_type": "uint",
- "cl_kernel_workgroup_info": "uint"
- },
- "Vendors": [
- "ALTERA"
- ],
- "IdentifyEnumMemberImpliedVendors": true
- },
- "AddVTables": {
- "VTables": [
- {
- "Kind": "DllImport"
- },
- {
- "Kind": "StaticWrapper"
- },
- {
- "Kind": "ThisThread",
- "IsDefault": true,
- "GenerateFactoryPartial": true
- }
- ]
- },
- "IdentifySharedPrefixes": {
- "GlobalPrefixHints": ["cl", "_cl"],
- "PrefixOverrides": {
- "cl_device_info": "CL_DEVICE",
- "cl_context_properties": "CL_CONTEXT",
- "cl_device_integer_dot_product_capabilities": "CL_DEVICE_INTEGER_DOT_PRODUCT",
- "cl_device_integer_dot_product_capabilities_khr": "CL_DEVICE_INTEGER_DOT_PRODUCT"
- }
- },
- "PrettifyNames": {
- "NameOverrides": {
- "CL_DRIVER_VERSION": "DriverVersion",
- "CL_DRIVER_UUID": "DriverUuid",
- "CL_DRIVER_UUID_KHR": "DriverUuidKHR"
- },
- "Affixes": {
- "HandleType": {
- "Order": 1
- },
- "FunctionPointerDelegateType": {
- "Order": 1
- },
- "KhronosVendor": {
- "Order": -1,
- "Capitalize": true
- },
- "KhronosFunctionDataType": {
- "IsDiscriminator": true
- },
- "KhronosImpliedVendor": {
- "Remove": true
- },
- "KhronosNonExclusiveVendor": {
- "Remove": true
- },
- "SharedPrefix": {
- "Remove": true
- }
- }
- },
- "TransformEnums": {
- "AddNoneMemberToFlags": true,
- "RewriteMemberValues": true
- },
- "TransformHandles": {
- "UseDsl": true
- },
- "TransformFunctions": {
- "BoolTypes": {
- "cl_bool": null
- }
- },
- "TransformProperties": {
- "BoolTypes": {
- "cl_bool": null
- }
- },
- "StripAttributes": {
- "Remove": [
- "NativeTypeName",
- "NameAffix",
- "Transformed"
- ]
- }
- },
- "OpenAL": {
- "SourceProject": "sources/OpenAL/OpenAL/Silk.NET.OpenAL.csproj",
- "Solution": "Silk.NET.slnx",
- "DefaultLicenseHeader": "eng/silktouch/header.txt",
- "Mods": [
- "AddIncludes",
- "ClangScraper",
- "MarkNativeNames",
- "ChangeNativeClass",
- "AddApiProfiles",
- "MixKhronosData",
- "ExtractHandles",
- "ExtractNestedTypes",
- "ExtractEnumConstants",
- "ExtractFunctionPointers",
- "TransformHandles",
- "InterceptNativeFunctions",
- "TransformFunctions",
- "IdentifySharedPrefixes",
- "PrettifyNames",
- "TransformEnums",
- "AddVTables",
- "StripAttributes"
- ],
- "ClangScraper": {
- "ClangSharpResponseFiles": [
- "eng/silktouch/openal*/**/generate.rsp"
- ],
- "InputSourceRoot": "sources/OpenAL",
- "InputTestRoot": "tests/OpenAL"
- },
- "ChangeNativeClass": {
- "NewClasses": {
- "(alc|ALC_).*": "ALContext",
- "EFX_REVERB_PRESET_.*": "EfxReverbPreset"
- }
- },
- "MixKhronosData": {
- "SpecPath": "eng/submodules/openal-soft/registry/xml/al.xml",
- "Namespace": "Silk.NET.OpenAL",
- "TypeMap": {
- "ALenum": "uint",
- "ALCenum": "uint"
- },
- "NonStandardExtensionNomenclature": true,
- "Vendors": [
- "SOFT",
- "LOKI",
- "EXT"
- ],
- "NonVendorSuffixes": [
- "Direct"
- ],
- "IdentifyFunctionDataTypes": true,
- "IdentifyEnumTypeNonExclusiveVendors": true,
- "IdentifyEnumMemberImpliedVendors": true
- },
- "InterceptNativeFunctions": {
- "NativeFunctionNames": [
- "alcOpenDevice",
- "alcMakeContextCurrent"
- ]
- },
- "AddVTables": {
- "VTables": [
- {
- "Kind": "DllImport"
- },
- {
- "Kind": "StaticWrapper"
- },
- {
- "Kind": "ThisThread",
- "IsDefault": true,
- "GenerateFactoryPartial": true
- }
- ]
- },
- "IdentifySharedPrefixes": {
- "GlobalPrefixHints": ["alc", "al"]
- },
- "PrettifyNames": {
- "NameOverrides": {
- "ALContext": "ALContext",
- "EFXEAXREVERBPROPERTIES": "EfxEaxReverbProperties",
- "ALCcontextHandle": "ContextHandle",
- "ALCdeviceHandle": "DeviceHandle",
- "ALBUFFERCALLBACKTYPESOFT": "BufferCallbackSOFT",
- "ALCEVENTPROCTYPESOFT": "ContextEventProcSOFT",
- "ALEVENTPROCSOFT": "EventProcSOFT",
- "ALDEBUGPROCEXT": "DebugProcEXT",
- "LPALFOLDBACKCALLBACK": "FoldbackCallback"
- },
- "Affixes": {
- "HandleType": {
- "Order": 1
- },
- "FunctionPointerDelegateType": {
- "Order": 1
- },
- "KhronosVendor": {
- "Order": -1
- },
- "KhronosFunctionDataType": {
- "IsDiscriminator": true
- },
- "KhronosImpliedVendor": {
- "Remove": true
- },
- "KhronosNonExclusiveVendor": {
- "Remove": true
- },
- "SharedPrefix": {
- "Remove": true
- }
- }
- },
- "TransformEnums": {
- "AddNoneMemberToFlags": true,
- "RewriteMemberValues": true
- },
- "TransformFunctions": {
- "BoolTypes": {
- "ALboolean": null,
- "ALCboolean": null
- },
- "BenefitOfTheDoubtArrayTransformation": true
- },
- "TransformProperties": {
- "BoolTypes": {
- "ALboolean": null,
- "ALCboolean": null
- }
- },
- "TransformHandles": {
- "UseDsl": true
- },
- "StripAttributes": {
- "Remove": [
- "NativeTypeName",
- "NameAffix",
- "Transformed"
- ]
- }
- },
- "OpenXR": {
- "SourceProject": "sources/OpenXR/OpenXR/Silk.NET.OpenXR.csproj",
- "Solution": "Silk.NET.slnx",
- "DefaultLicenseHeader": "eng/silktouch/header.txt",
- "Mods": [
- "AddIncludes",
- "ClangScraper",
- "MarkNativeNames",
- "ExtractHandles",
- "ExtractNestedTypes",
- "ExtractFunctionPointers",
- "TransformHandles",
- "MixKhronosData",
- "AddApiProfiles",
- "InterceptNativeFunctions",
- "TransformFunctions",
- "TransformProperties",
- "IdentifySharedPrefixes",
- "PrettifyNames",
- "TransformEnums",
- "AddVTables",
- "StripAttributes"
- ],
- "ClangScraper": {
- "ClangSharpResponseFiles": [
- "eng/silktouch/openxr/**/generate.rsp"
- ],
- "InputSourceRoot": "sources/OpenXR",
- "InputTestRoot": "tests/OpenXR"
- },
- "AddApiProfiles": {
- "Profiles": [
- {
- "Profile": "openxr",
- "SourceSubdirectory": "openxr"
- }
- ]
- },
- "MixKhronosData": {
- "SpecPath": "eng/submodules/openxr-sdk/specification/registry/xr.xml",
- "Namespace": "Silk.NET.OpenXR",
- "StructureTypes": [
- "XrStructureType"
- ],
- "FlagsTypes": [
- "XrFlags64"
- ],
- "IdentifyEnumMemberImpliedVendors": true
- },
- "InterceptNativeFunctions": {
- "NativeFunctionNames": [
- "xrCreateInstance"
- ]
- },
- "TransformFunctions": {
- "BoolTypes": {
- "XrBool32": null
- }
- },
- "TransformProperties": {
- "BoolTypes": {
- "XrBool32": null
- }
- },
- "TransformHandles": {
- "UseDsl": true
- },
- "IdentifySharedPrefixes": {
- "GlobalPrefixHints": ["PFN_xr", "xr"],
- "PrefixOverrides": {
- "XrPerfSettingsNotificationLevelEXT": "XR_PERF_SETTINGS_NOTIF_LEVEL",
- "XrSceneMarkerQRCodeSymbolTypeMSFT": "XR_SCENE_MARKER_QR_CODE_SYMBOL_TYPE",
- "XrStructureType": "XR_TYPE"
- }
- },
- "PrettifyNames": {
- "Affixes": {
- "HandleType": {
- "Order": 1
- },
- "FunctionPointerDelegateType": {
- "Order": 1
- },
- "KhronosVendor": {
- "Order": -1
- },
- "KhronosImpliedVendor": {
- "Remove": true
- },
- "KhronosHandleType": {
- "Remove": true
- },
- "SharedPrefix": {
- "Remove": true
- }
- }
- },
- "TransformEnums": {
- "AddNoneMemberToFlags": true,
- "RemoveMembers": [
- {
- "MemberName": "MaxEnum",
- "MemberValue": "0x7FFFFFFF"
- }
- ],
- "CoerceBackingTypes": "PreferUnsigned",
- "RewriteMemberValues": true
- },
- "AddVTables": {
- "VTables": [
- {
- "Kind": "DllImport"
- },
- {
- "Kind": "StaticWrapper"
- },
- {
- "Kind": "ThisThread",
- "IsDefault": true,
- "GenerateFactoryPartial": true
- }
- ]
- },
- "StripAttributes": {
- "Remove": [
- "NativeTypeName",
- "NameAffix",
- "Transformed"
- ]
- }
- },
- "Vulkan": {
- "SourceProject": "sources/Vulkan/Vulkan/Silk.NET.Vulkan.csproj",
- "Solution": "Silk.NET.slnx",
- "DefaultLicenseHeader": "eng/silktouch/header.txt",
- "Mods": [
- "AddIncludes",
- "ClangScraper",
- "MarkNativeNames",
- "ExtractHandles",
- "ExtractNestedTypes",
- "ExtractFunctionPointers",
- "TransformHandles",
- "MixKhronosData",
- "AddApiProfiles",
- "InterceptNativeFunctions",
- "TransformFunctions",
- "TransformProperties",
- "IdentifySharedPrefixes",
- "PrettifyNames",
- "TransformEnums",
- "AddVTables",
- "StripAttributes"
- ],
- "ClangScraper": {
- "ClangSharpResponseFiles": [
- "eng/silktouch/vulkan/**/generate.rsp"
- ],
- "InputSourceRoot": "sources/Vulkan",
- "InputTestRoot": "tests/Vulkan"
- },
- "AddApiProfiles": {
- "Profiles": [
- {
- "Profile": "vulkan",
- "SourceSubdirectory": "vulkan"
- }
- ]
- },
- "MixKhronosData": {
- "SpecPath": "eng/submodules/vulkan-docs/xml/vk.xml",
- "Namespace": "Silk.NET.Vulkan",
- "StructureTypes": [
- "VkStructureType"
- ],
- "FlagsTypes": [
- "VkFlags",
- "VkFlags64"
- ],
- "ExcludeVendorSuffixIdentification": [
- "VK_VENDOR_ID_VIV",
- "VK_VENDOR_ID_VSI",
- "VK_VENDOR_ID_MESA"
- ],
- "IdentifyEnumMemberImpliedVendors": true
- },
- "InterceptNativeFunctions": {
- "NativeFunctionNames": [
- "vkCreateInstance",
- "vkCreateDevice"
- ]
- },
- "TransformFunctions": {
- "BoolTypes": {
- "VkBool32": null
- }
- },
- "TransformProperties": {
- "BoolTypes": {
- "VkBool32": null
- }
- },
- "TransformHandles": {
- "UseDsl": true
- },
- "IdentifySharedPrefixes": {
- "GlobalPrefixHints": ["PFN_vk", "vk"],
- "PrefixOverrides": {
- "VkImageCreateFlags2KHR": "VK_IMAGE_CREATE_2",
- "VkPipelineCreateFlags2": "VK_PIPELINE_CREATE_2",
- "VkMemoryDecompressionMethodFlagsEXT": "VK_MEMORY_DECOMPRESSION_METHOD"
- }
- },
- "PrettifyNames": {
- "NameOverrides": {
- "numAABBs": "NumAabbs"
- },
- "Affixes": {
- "HandleType": {
- "Order": 1
- },
- "FunctionPointerDelegateType": {
- "Order": 1
- },
- "KhronosVendor": {
- "Order": -1
- },
- "KhronosImpliedVendor": {
- "Remove": true
- },
- "KhronosHandleType": {
- "Remove": true
- },
- "SharedPrefix": {
- "Remove": true
- }
- }
- },
- "TransformEnums": {
- "AddNoneMemberToFlags": true,
- "RemoveMembers": [
- {
- "MemberName": "MaxEnum",
- "MemberValue": "0x7FFFFFFF"
- },
- {
- "MemberName": "Invalid",
- "MemberValue": "0x7FFFFFFF"
- }
- ],
- "CoerceBackingTypes": "PreferUnsigned",
- "RewriteMemberValues": true
- },
- "AddVTables": {
- "VTables": [
- {
- "Kind": "DllImport"
- },
- {
- "Kind": "StaticWrapper"
- },
- {
- "Kind": "ThisThread",
- "IsDefault": true,
- "GenerateFactoryPartial": true
- }
- ]
- },
- "StripAttributes": {
- "Remove": [
- "NativeTypeName",
- "NameAffix",
- "Transformed"
- ]
- }
- }
- }
-}
diff --git a/sources/OpenAL/OpenAL/al/AL.gen.cs b/sources/OpenAL/OpenAL/al/AL.gen.cs
index c11df0e5f9..33c4a52a79 100644
--- a/sources/OpenAL/OpenAL/al/AL.gen.cs
+++ b/sources/OpenAL/OpenAL/al/AL.gen.cs
@@ -5,8 +5,10 @@
// being header-derived only, implementations of the headers may have a less permissive license.
using System;
using System.Diagnostics;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using Silk.NET.Core.Loader;
namespace Silk.NET.OpenAL;
@@ -26131,7 +26133,7 @@ uint value_size
[NativeName("AL_EXT_FOLDBACK_NAME")]
[SupportedApiProfile("al", ["AL_EXT_FOLDBACK"])]
- public static ReadOnlySpan ExtFoldbackName => "AL_EXT_FOLDBACK"u8;
+ public static Utf8String ExtFoldbackName => "AL_EXT_FOLDBACK"u8;
[NativeName("alAuxiliaryEffectSlotf")]
[SupportedApiProfile("al", ["ALC_EXT_EFX"]), SupportedApiProfile("alc", ["ALC_EXT_EFX"])]
diff --git a/sources/OpenAL/OpenAL/al/ALContext.gen.cs b/sources/OpenAL/OpenAL/al/ALContext.gen.cs
index cbb083c22b..ce101fddf7 100644
--- a/sources/OpenAL/OpenAL/al/ALContext.gen.cs
+++ b/sources/OpenAL/OpenAL/al/ALContext.gen.cs
@@ -5,8 +5,10 @@
// being header-derived only, implementations of the headers may have a less permissive license.
using System;
using System.Diagnostics;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using Silk.NET.Core.Loader;
namespace Silk.NET.OpenAL;
@@ -1934,7 +1936,7 @@ public static void SuspendContext(ContextHandle context) =>
[NativeName("ALC_EXT_EFX_NAME")]
[SupportedApiProfile("al", ["ALC_EXT_EFX"]), SupportedApiProfile("alc", ["ALC_EXT_EFX"])]
- public static ReadOnlySpan ExtEfxName => "ALC_EXT_EFX"u8;
+ public static Utf8String ExtEfxName => "ALC_EXT_EFX"u8;
[NativeName("alcCaptureCloseDevice")]
[SupportedApiProfile("alc", ["ALC_VERSION_1_1"], MinVersion = "1.1")]
diff --git a/sources/OpenAL/OpenAL/al/IAL.gen.cs b/sources/OpenAL/OpenAL/al/IAL.gen.cs
index 8d198744cf..58541c8e07 100644
--- a/sources/OpenAL/OpenAL/al/IAL.gen.cs
+++ b/sources/OpenAL/OpenAL/al/IAL.gen.cs
@@ -5,8 +5,10 @@
// being header-derived only, implementations of the headers may have a less permissive license.
using System;
using System.Diagnostics;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using Silk.NET.Core.Loader;
namespace Silk.NET.OpenAL;
diff --git a/sources/OpenAL/OpenAL/al/IALContext.gen.cs b/sources/OpenAL/OpenAL/al/IALContext.gen.cs
index 6baac04f1c..6cc68ddb5a 100644
--- a/sources/OpenAL/OpenAL/al/IALContext.gen.cs
+++ b/sources/OpenAL/OpenAL/al/IALContext.gen.cs
@@ -5,8 +5,10 @@
// being header-derived only, implementations of the headers may have a less permissive license.
using System;
using System.Diagnostics;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using Silk.NET.Core.Loader;
namespace Silk.NET.OpenAL;
diff --git a/sources/OpenCL/OpenCL/OpenCL/BufferRegion.gen.cs b/sources/OpenCL/OpenCL/OpenCL/BufferRegion.gen.cs
index 952e888a79..97df851e8e 100644
--- a/sources/OpenCL/OpenCL/OpenCL/BufferRegion.gen.cs
+++ b/sources/OpenCL/OpenCL/OpenCL/BufferRegion.gen.cs
@@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenCL headers and corresponding dependencies.
// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license.
+using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
diff --git a/sources/OpenCL/OpenCL/OpenCL/Cl.gen.cs b/sources/OpenCL/OpenCL/OpenCL/Cl.gen.cs
index 324d4c61e3..844d317c06 100644
--- a/sources/OpenCL/OpenCL/OpenCL/Cl.gen.cs
+++ b/sources/OpenCL/OpenCL/OpenCL/Cl.gen.cs
@@ -4,8 +4,10 @@
// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license.
using System;
using System.Diagnostics.CodeAnalysis;
+using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
+using Silk.NET.Core.Loader;
namespace Silk.NET.OpenCL;
@@ -26875,7 +26877,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int LuidSize = 8;
[NativeName("CL_KHR_FP64_EXTENSION_NAME")]
- public static ReadOnlySpan KhrFp64ExtensionName => "cl_khr_fp64"u8;
+ public static Utf8String KhrFp64ExtensionName => "cl_khr_fp64"u8;
[NativeName("CL_KHR_FP64_EXTENSION_VERSION")]
public const int KhrFp64ExtensionVersion = (
@@ -26885,7 +26887,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_FP16_EXTENSION_NAME")]
- public static ReadOnlySpan KhrFp16ExtensionName => "cl_khr_fp16"u8;
+ public static Utf8String KhrFp16ExtensionName => "cl_khr_fp16"u8;
[NativeName("CL_KHR_FP16_EXTENSION_VERSION")]
public const int KhrFp16ExtensionVersion = (
@@ -26895,7 +26897,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_APPLE_SETMEMOBJECTDESTRUCTOR_EXTENSION_NAME")]
- public static ReadOnlySpan AppleSetmemobjectdestructorExtensionName =>
+ public static Utf8String AppleSetmemobjectdestructorExtensionName =>
"cl_APPLE_SetMemObjectDestructor"u8;
[NativeName("CL_APPLE_SETMEMOBJECTDESTRUCTOR_EXTENSION_VERSION")]
@@ -26906,7 +26908,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_APPLE_CONTEXTLOGGINGFUNCTIONS_EXTENSION_NAME")]
- public static ReadOnlySpan AppleContextloggingfunctionsExtensionName =>
+ public static Utf8String AppleContextloggingfunctionsExtensionName =>
"cl_APPLE_ContextLoggingFunctions"u8;
[NativeName("CL_APPLE_CONTEXTLOGGINGFUNCTIONS_EXTENSION_VERSION")]
@@ -26917,7 +26919,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_ICD_EXTENSION_NAME")]
- public static ReadOnlySpan KhrIcdExtensionName => "cl_khr_icd"u8;
+ public static Utf8String KhrIcdExtensionName => "cl_khr_icd"u8;
[NativeName("CL_KHR_ICD_EXTENSION_VERSION")]
public const int KhrIcdExtensionVersion = (
@@ -26931,7 +26933,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public static nint Icd2TagKHR => unchecked((nint)(0x4F50454E434C3331));
[NativeName("CL_KHR_ICD_UNLOADABLE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrIcdUnloadableExtensionName => "cl_khr_icd_unloadable"u8;
+ public static Utf8String KhrIcdUnloadableExtensionName => "cl_khr_icd_unloadable"u8;
[NativeName("CL_KHR_ICD_UNLOADABLE_EXTENSION_VERSION")]
public const int KhrIcdUnloadableExtensionVersion = (
@@ -26941,7 +26943,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_IL_PROGRAM_EXTENSION_NAME")]
- public static ReadOnlySpan KhrIlProgramExtensionName => "cl_khr_il_program"u8;
+ public static Utf8String KhrIlProgramExtensionName => "cl_khr_il_program"u8;
[NativeName("CL_KHR_IL_PROGRAM_EXTENSION_VERSION")]
public const int KhrIlProgramExtensionVersion = (
@@ -26951,8 +26953,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_IMAGE2D_FROM_BUFFER_EXTENSION_NAME")]
- public static ReadOnlySpan KhrImage2DFromBufferExtensionName =>
- "cl_khr_image2d_from_buffer"u8;
+ public static Utf8String KhrImage2DFromBufferExtensionName => "cl_khr_image2d_from_buffer"u8;
[NativeName("CL_KHR_IMAGE2D_FROM_BUFFER_EXTENSION_VERSION")]
public const int KhrImage2DFromBufferExtensionVersion = (
@@ -26962,8 +26963,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_INITIALIZE_MEMORY_EXTENSION_NAME")]
- public static ReadOnlySpan KhrInitializeMemoryExtensionName =>
- "cl_khr_initialize_memory"u8;
+ public static Utf8String KhrInitializeMemoryExtensionName => "cl_khr_initialize_memory"u8;
[NativeName("CL_KHR_INITIALIZE_MEMORY_EXTENSION_VERSION")]
public const int KhrInitializeMemoryExtensionVersion = (
@@ -26973,8 +26973,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_TERMINATE_CONTEXT_EXTENSION_NAME")]
- public static ReadOnlySpan KhrTerminateContextExtensionName =>
- "cl_khr_terminate_context"u8;
+ public static Utf8String KhrTerminateContextExtensionName => "cl_khr_terminate_context"u8;
[NativeName("CL_KHR_TERMINATE_CONTEXT_EXTENSION_VERSION")]
public const int KhrTerminateContextExtensionVersion = (
@@ -26984,7 +26983,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SPIR_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSpirExtensionName => "cl_khr_spir"u8;
+ public static Utf8String KhrSpirExtensionName => "cl_khr_spir"u8;
[NativeName("CL_KHR_SPIR_EXTENSION_VERSION")]
public const int KhrSpirExtensionVersion = (
@@ -26994,8 +26993,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_CREATE_COMMAND_QUEUE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrCreateCommandQueueExtensionName =>
- "cl_khr_create_command_queue"u8;
+ public static Utf8String KhrCreateCommandQueueExtensionName => "cl_khr_create_command_queue"u8;
[NativeName("CL_KHR_CREATE_COMMAND_QUEUE_EXTENSION_VERSION")]
public const int KhrCreateCommandQueueExtensionVersion = (
@@ -27005,7 +27003,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_NV_DEVICE_ATTRIBUTE_QUERY_EXTENSION_NAME")]
- public static ReadOnlySpan NvDeviceAttributeQueryExtensionName =>
+ public static Utf8String NvDeviceAttributeQueryExtensionName =>
"cl_nv_device_attribute_query"u8;
[NativeName("CL_NV_DEVICE_ATTRIBUTE_QUERY_EXTENSION_VERSION")]
@@ -27016,7 +27014,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_AMD_DEVICE_ATTRIBUTE_QUERY_EXTENSION_NAME")]
- public static ReadOnlySpan AmdDeviceAttributeQueryExtensionName =>
+ public static Utf8String AmdDeviceAttributeQueryExtensionName =>
"cl_amd_device_attribute_query"u8;
[NativeName("CL_AMD_DEVICE_ATTRIBUTE_QUERY_EXTENSION_VERSION")]
@@ -27027,7 +27025,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_ARM_PRINTF_EXTENSION_NAME")]
- public static ReadOnlySpan ArmPrintfExtensionName => "cl_arm_printf"u8;
+ public static Utf8String ArmPrintfExtensionName => "cl_arm_printf"u8;
[NativeName("CL_ARM_PRINTF_EXTENSION_VERSION")]
public const int ArmPrintfExtensionVersion = (
@@ -27037,7 +27035,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_DEVICE_FISSION_EXTENSION_NAME")]
- public static ReadOnlySpan ExtDeviceFissionExtensionName => "cl_ext_device_fission"u8;
+ public static Utf8String ExtDeviceFissionExtensionName => "cl_ext_device_fission"u8;
[NativeName("CL_EXT_DEVICE_FISSION_EXTENSION_VERSION")]
public const int ExtDeviceFissionExtensionVersion = (
@@ -27059,8 +27057,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const ulong PartitionByNamesListEndEXT = unchecked((ulong)(0) - 1);
[NativeName("CL_EXT_MIGRATE_MEMOBJECT_EXTENSION_NAME")]
- public static ReadOnlySpan ExtMigrateMemobjectExtensionName =>
- "cl_ext_migrate_memobject"u8;
+ public static Utf8String ExtMigrateMemobjectExtensionName => "cl_ext_migrate_memobject"u8;
[NativeName("CL_EXT_MIGRATE_MEMOBJECT_EXTENSION_VERSION")]
public const int ExtMigrateMemobjectExtensionVersion = (
@@ -27070,7 +27067,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_CXX_FOR_OPENCL_EXTENSION_NAME")]
- public static ReadOnlySpan ExtCxxForOpenclExtensionName => "cl_ext_cxx_for_opencl"u8;
+ public static Utf8String ExtCxxForOpenclExtensionName => "cl_ext_cxx_for_opencl"u8;
[NativeName("CL_EXT_CXX_FOR_OPENCL_EXTENSION_VERSION")]
public const int ExtCxxForOpenclExtensionVersion = (
@@ -27080,7 +27077,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_QCOM_EXT_HOST_PTR_EXTENSION_NAME")]
- public static ReadOnlySpan QcomExtHostPtrExtensionName => "cl_qcom_ext_host_ptr"u8;
+ public static Utf8String QcomExtHostPtrExtensionName => "cl_qcom_ext_host_ptr"u8;
[NativeName("CL_QCOM_EXT_HOST_PTR_EXTENSION_VERSION")]
public const int QcomExtHostPtrExtensionVersion = (
@@ -27090,7 +27087,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_QCOM_EXT_HOST_PTR_IOCOHERENT_EXTENSION_NAME")]
- public static ReadOnlySpan QcomExtHostPtrIocoherentExtensionName =>
+ public static Utf8String QcomExtHostPtrIocoherentExtensionName =>
"cl_qcom_ext_host_ptr_iocoherent"u8;
[NativeName("CL_QCOM_EXT_HOST_PTR_IOCOHERENT_EXTENSION_VERSION")]
@@ -27101,7 +27098,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_QCOM_ION_HOST_PTR_EXTENSION_NAME")]
- public static ReadOnlySpan QcomIonHostPtrExtensionName => "cl_qcom_ion_host_ptr"u8;
+ public static Utf8String QcomIonHostPtrExtensionName => "cl_qcom_ion_host_ptr"u8;
[NativeName("CL_QCOM_ION_HOST_PTR_EXTENSION_VERSION")]
public const int QcomIonHostPtrExtensionVersion = (
@@ -27111,7 +27108,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_QCOM_ANDROID_NATIVE_BUFFER_HOST_PTR_EXTENSION_NAME")]
- public static ReadOnlySpan QcomAndroidNativeBufferHostPtrExtensionName =>
+ public static Utf8String QcomAndroidNativeBufferHostPtrExtensionName =>
"cl_qcom_android_native_buffer_host_ptr"u8;
[NativeName("CL_QCOM_ANDROID_NATIVE_BUFFER_HOST_PTR_EXTENSION_VERSION")]
@@ -27122,7 +27119,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_IMG_YUV_IMAGE_EXTENSION_NAME")]
- public static ReadOnlySpan ImgYuvImageExtensionName => "cl_img_yuv_image"u8;
+ public static Utf8String ImgYuvImageExtensionName => "cl_img_yuv_image"u8;
[NativeName("CL_IMG_YUV_IMAGE_EXTENSION_VERSION")]
public const int ImgYuvImageExtensionVersion = (
@@ -27132,8 +27129,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_IMG_CACHED_ALLOCATIONS_EXTENSION_NAME")]
- public static ReadOnlySpan ImgCachedAllocationsExtensionName =>
- "cl_img_cached_allocations"u8;
+ public static Utf8String ImgCachedAllocationsExtensionName => "cl_img_cached_allocations"u8;
[NativeName("CL_IMG_CACHED_ALLOCATIONS_EXTENSION_VERSION")]
public const int ImgCachedAllocationsExtensionVersion = (
@@ -27143,7 +27139,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_IMG_USE_GRALLOC_PTR_EXTENSION_NAME")]
- public static ReadOnlySpan ImgUseGrallocPtrExtensionName => "cl_img_use_gralloc_ptr"u8;
+ public static Utf8String ImgUseGrallocPtrExtensionName => "cl_img_use_gralloc_ptr"u8;
[NativeName("CL_IMG_USE_GRALLOC_PTR_EXTENSION_VERSION")]
public const int ImgUseGrallocPtrExtensionVersion = (
@@ -27153,7 +27149,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_IMG_GENERATE_MIPMAP_EXTENSION_NAME")]
- public static ReadOnlySpan ImgGenerateMipmapExtensionName => "cl_img_generate_mipmap"u8;
+ public static Utf8String ImgGenerateMipmapExtensionName => "cl_img_generate_mipmap"u8;
[NativeName("CL_IMG_GENERATE_MIPMAP_EXTENSION_VERSION")]
public const int ImgGenerateMipmapExtensionVersion = (
@@ -27163,7 +27159,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_IMG_MEM_PROPERTIES_EXTENSION_NAME")]
- public static ReadOnlySpan ImgMemPropertiesExtensionName => "cl_img_mem_properties"u8;
+ public static Utf8String ImgMemPropertiesExtensionName => "cl_img_mem_properties"u8;
[NativeName("CL_IMG_MEM_PROPERTIES_EXTENSION_VERSION")]
public const int ImgMemPropertiesExtensionVersion = (
@@ -27173,7 +27169,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUPS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupsExtensionName => "cl_khr_subgroups"u8;
+ public static Utf8String KhrSubgroupsExtensionName => "cl_khr_subgroups"u8;
[NativeName("CL_KHR_SUBGROUPS_EXTENSION_VERSION")]
public const int KhrSubgroupsExtensionVersion = (
@@ -27183,7 +27179,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_MIPMAP_IMAGE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrMipmapImageExtensionName => "cl_khr_mipmap_image"u8;
+ public static Utf8String KhrMipmapImageExtensionName => "cl_khr_mipmap_image"u8;
[NativeName("CL_KHR_MIPMAP_IMAGE_EXTENSION_VERSION")]
public const int KhrMipmapImageExtensionVersion = (
@@ -27193,7 +27189,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_PRIORITY_HINTS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrPriorityHintsExtensionName => "cl_khr_priority_hints"u8;
+ public static Utf8String KhrPriorityHintsExtensionName => "cl_khr_priority_hints"u8;
[NativeName("CL_KHR_PRIORITY_HINTS_EXTENSION_VERSION")]
public const int KhrPriorityHintsExtensionVersion = (
@@ -27203,7 +27199,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_THROTTLE_HINTS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrThrottleHintsExtensionName => "cl_khr_throttle_hints"u8;
+ public static Utf8String KhrThrottleHintsExtensionName => "cl_khr_throttle_hints"u8;
[NativeName("CL_KHR_THROTTLE_HINTS_EXTENSION_VERSION")]
public const int KhrThrottleHintsExtensionVersion = (
@@ -27213,7 +27209,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_NAMED_BARRIER_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupNamedBarrierExtensionName =>
+ public static Utf8String KhrSubgroupNamedBarrierExtensionName =>
"cl_khr_subgroup_named_barrier"u8;
[NativeName("CL_KHR_SUBGROUP_NAMED_BARRIER_EXTENSION_VERSION")]
@@ -27224,8 +27220,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTENDED_VERSIONING_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExtendedVersioningExtensionName =>
- "cl_khr_extended_versioning"u8;
+ public static Utf8String KhrExtendedVersioningExtensionName => "cl_khr_extended_versioning"u8;
[NativeName("CL_KHR_EXTENDED_VERSIONING_EXTENSION_VERSION")]
public const int KhrExtendedVersioningExtensionVersion = (
@@ -27263,7 +27258,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int NameVersionMaxNameSizeKHR = 64;
[NativeName("CL_KHR_DEVICE_UUID_EXTENSION_NAME")]
- public static ReadOnlySpan KhrDeviceUuidExtensionName => "cl_khr_device_uuid"u8;
+ public static Utf8String KhrDeviceUuidExtensionName => "cl_khr_device_uuid"u8;
[NativeName("CL_KHR_DEVICE_UUID_EXTENSION_VERSION")]
public const int KhrDeviceUuidExtensionVersion = (
@@ -27281,7 +27276,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int LuidSizeKHR = 8;
[NativeName("CL_KHR_PCI_BUS_INFO_EXTENSION_NAME")]
- public static ReadOnlySpan KhrPciBusInfoExtensionName => "cl_khr_pci_bus_info"u8;
+ public static Utf8String KhrPciBusInfoExtensionName => "cl_khr_pci_bus_info"u8;
[NativeName("CL_KHR_PCI_BUS_INFO_EXTENSION_VERSION")]
public const int KhrPciBusInfoExtensionVersion = (
@@ -27291,7 +27286,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUGGESTED_LOCAL_WORK_SIZE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSuggestedLocalWorkSizeExtensionName =>
+ public static Utf8String KhrSuggestedLocalWorkSizeExtensionName =>
"cl_khr_suggested_local_work_size"u8;
[NativeName("CL_KHR_SUGGESTED_LOCAL_WORK_SIZE_EXTENSION_VERSION")]
@@ -27302,8 +27297,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_INTEGER_DOT_PRODUCT_EXTENSION_NAME")]
- public static ReadOnlySpan KhrIntegerDotProductExtensionName =>
- "cl_khr_integer_dot_product"u8;
+ public static Utf8String KhrIntegerDotProductExtensionName => "cl_khr_integer_dot_product"u8;
[NativeName("CL_KHR_INTEGER_DOT_PRODUCT_EXTENSION_VERSION")]
public const int KhrIntegerDotProductExtensionVersion = (
@@ -27313,7 +27307,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTERNAL_MEMORY_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExternalMemoryExtensionName => "cl_khr_external_memory"u8;
+ public static Utf8String KhrExternalMemoryExtensionName => "cl_khr_external_memory"u8;
[NativeName("CL_KHR_EXTERNAL_MEMORY_EXTENSION_VERSION")]
public const int KhrExternalMemoryExtensionVersion = (
@@ -27327,7 +27321,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int MemDeviceHandleListEndKHR = 0;
[NativeName("CL_KHR_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExternalMemoryDmaBufExtensionName =>
+ public static Utf8String KhrExternalMemoryDmaBufExtensionName =>
"cl_khr_external_memory_dma_buf"u8;
[NativeName("CL_KHR_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_VERSION")]
@@ -27338,7 +27332,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTERNAL_MEMORY_OPAQUE_FD_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExternalMemoryOpaqueFdExtensionName =>
+ public static Utf8String KhrExternalMemoryOpaqueFdExtensionName =>
"cl_khr_external_memory_opaque_fd"u8;
[NativeName("CL_KHR_EXTERNAL_MEMORY_OPAQUE_FD_EXTENSION_VERSION")]
@@ -27349,7 +27343,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExternalMemoryWin32ExtensionName =>
+ public static Utf8String KhrExternalMemoryWin32ExtensionName =>
"cl_khr_external_memory_win32"u8;
[NativeName("CL_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_VERSION")]
@@ -27360,8 +27354,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTERNAL_SEMAPHORE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExternalSemaphoreExtensionName =>
- "cl_khr_external_semaphore"u8;
+ public static Utf8String KhrExternalSemaphoreExtensionName => "cl_khr_external_semaphore"u8;
[NativeName("CL_KHR_EXTERNAL_SEMAPHORE_EXTENSION_VERSION")]
public const int KhrExternalSemaphoreExtensionVersion = (
@@ -27379,7 +27372,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int SemaphoreExportHandleTypesListEndKHR = 0;
[NativeName("CL_KHR_EXTERNAL_SEMAPHORE_OPAQUE_FD_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExternalSemaphoreOpaqueFdExtensionName =>
+ public static Utf8String KhrExternalSemaphoreOpaqueFdExtensionName =>
"cl_khr_external_semaphore_opaque_fd"u8;
[NativeName("CL_KHR_EXTERNAL_SEMAPHORE_OPAQUE_FD_EXTENSION_VERSION")]
@@ -27390,7 +27383,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTERNAL_SEMAPHORE_SYNC_FD_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExternalSemaphoreSyncFdExtensionName =>
+ public static Utf8String KhrExternalSemaphoreSyncFdExtensionName =>
"cl_khr_external_semaphore_sync_fd"u8;
[NativeName("CL_KHR_EXTERNAL_SEMAPHORE_SYNC_FD_EXTENSION_VERSION")]
@@ -27401,7 +27394,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SEMAPHORE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSemaphoreExtensionName => "cl_khr_semaphore"u8;
+ public static Utf8String KhrSemaphoreExtensionName => "cl_khr_semaphore"u8;
[NativeName("CL_KHR_SEMAPHORE_EXTENSION_VERSION")]
public const int KhrSemaphoreExtensionVersion = (
@@ -27415,7 +27408,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int SemaphoreDeviceHandleListEndKHR = 0;
[NativeName("CL_ARM_IMPORT_MEMORY_EXTENSION_NAME")]
- public static ReadOnlySpan ArmImportMemoryExtensionName => "cl_arm_import_memory"u8;
+ public static Utf8String ArmImportMemoryExtensionName => "cl_arm_import_memory"u8;
[NativeName("CL_ARM_IMPORT_MEMORY_EXTENSION_VERSION")]
public const int ArmImportMemoryExtensionVersion = (
@@ -27433,7 +27426,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const ulong ImportMemoryWholeAllocationARM = 0xffffffffffffffffUL;
[NativeName("CL_ARM_SHARED_VIRTUAL_MEMORY_EXTENSION_NAME")]
- public static ReadOnlySpan ArmSharedVirtualMemoryExtensionName =>
+ public static Utf8String ArmSharedVirtualMemoryExtensionName =>
"cl_arm_shared_virtual_memory"u8;
[NativeName("CL_ARM_SHARED_VIRTUAL_MEMORY_EXTENSION_VERSION")]
@@ -27447,7 +27440,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int ArmGetCoreId = 1;
[NativeName("CL_ARM_GET_CORE_ID_EXTENSION_NAME")]
- public static ReadOnlySpan ArmGetCoreIdExtensionName => "cl_arm_get_core_id"u8;
+ public static Utf8String ArmGetCoreIdExtensionName => "cl_arm_get_core_id"u8;
[NativeName("CL_ARM_GET_CORE_ID_EXTENSION_VERSION")]
public const int ArmGetCoreIdExtensionVersion = (
@@ -27457,8 +27450,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_ARM_JOB_SLOT_SELECTION_EXTENSION_NAME")]
- public static ReadOnlySpan ArmJobSlotSelectionExtensionName =>
- "cl_arm_job_slot_selection"u8;
+ public static Utf8String ArmJobSlotSelectionExtensionName => "cl_arm_job_slot_selection"u8;
[NativeName("CL_ARM_JOB_SLOT_SELECTION_EXTENSION_VERSION")]
public const int ArmJobSlotSelectionExtensionVersion = (
@@ -27468,8 +27460,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_ARM_SCHEDULING_CONTROLS_EXTENSION_NAME")]
- public static ReadOnlySpan ArmSchedulingControlsExtensionName =>
- "cl_arm_scheduling_controls"u8;
+ public static Utf8String ArmSchedulingControlsExtensionName => "cl_arm_scheduling_controls"u8;
[NativeName("CL_ARM_SCHEDULING_CONTROLS_EXTENSION_VERSION")]
public const int ArmSchedulingControlsExtensionVersion = (
@@ -27479,7 +27470,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_ARM_CONTROLLED_KERNEL_TERMINATION_EXTENSION_NAME")]
- public static ReadOnlySpan ArmControlledKernelTerminationExtensionName =>
+ public static Utf8String ArmControlledKernelTerminationExtensionName =>
"cl_arm_controlled_kernel_termination"u8;
[NativeName("CL_ARM_CONTROLLED_KERNEL_TERMINATION_EXTENSION_VERSION")]
@@ -27490,7 +27481,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_ARM_PROTECTED_MEMORY_ALLOCATION_EXTENSION_NAME")]
- public static ReadOnlySpan ArmProtectedMemoryAllocationExtensionName =>
+ public static Utf8String ArmProtectedMemoryAllocationExtensionName =>
"cl_arm_protected_memory_allocation"u8;
[NativeName("CL_ARM_PROTECTED_MEMORY_ALLOCATION_EXTENSION_VERSION")]
@@ -27501,7 +27492,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_EXEC_BY_LOCAL_THREAD_EXTENSION_NAME")]
- public static ReadOnlySpan IntelExecByLocalThreadExtensionName =>
+ public static Utf8String IntelExecByLocalThreadExtensionName =>
"cl_intel_exec_by_local_thread"u8;
[NativeName("CL_INTEL_EXEC_BY_LOCAL_THREAD_EXTENSION_VERSION")]
@@ -27512,7 +27503,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_DEVICE_ATTRIBUTE_QUERY_EXTENSION_NAME")]
- public static ReadOnlySpan IntelDeviceAttributeQueryExtensionName =>
+ public static Utf8String IntelDeviceAttributeQueryExtensionName =>
"cl_intel_device_attribute_query"u8;
[NativeName("CL_INTEL_DEVICE_ATTRIBUTE_QUERY_EXTENSION_VERSION")]
@@ -27523,7 +27514,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_DEVICE_PARTITION_BY_NAMES_EXTENSION_NAME")]
- public static ReadOnlySpan IntelDevicePartitionByNamesExtensionName =>
+ public static Utf8String IntelDevicePartitionByNamesExtensionName =>
"cl_intel_device_partition_by_names"u8;
[NativeName("CL_INTEL_DEVICE_PARTITION_BY_NAMES_EXTENSION_VERSION")]
@@ -27538,7 +27529,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int PartitionByNamesListEndINTEL = -1;
[NativeName("CL_INTEL_ACCELERATOR_EXTENSION_NAME")]
- public static ReadOnlySpan IntelAcceleratorExtensionName => "cl_intel_accelerator"u8;
+ public static Utf8String IntelAcceleratorExtensionName => "cl_intel_accelerator"u8;
[NativeName("CL_INTEL_ACCELERATOR_EXTENSION_VERSION")]
public const int IntelAcceleratorExtensionVersion = (
@@ -27548,8 +27539,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_MOTION_ESTIMATION_EXTENSION_NAME")]
- public static ReadOnlySpan IntelMotionEstimationExtensionName =>
- "cl_intel_motion_estimation"u8;
+ public static Utf8String IntelMotionEstimationExtensionName => "cl_intel_motion_estimation"u8;
[NativeName("CL_INTEL_MOTION_ESTIMATION_EXTENSION_VERSION")]
public const int IntelMotionEstimationExtensionVersion = (
@@ -27559,7 +27549,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_ADVANCED_MOTION_ESTIMATION_EXTENSION_NAME")]
- public static ReadOnlySpan IntelAdvancedMotionEstimationExtensionName =>
+ public static Utf8String IntelAdvancedMotionEstimationExtensionName =>
"cl_intel_advanced_motion_estimation"u8;
[NativeName("CL_INTEL_ADVANCED_MOTION_ESTIMATION_EXTENSION_VERSION")]
@@ -27570,7 +27560,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_SIMULTANEOUS_SHARING_EXTENSION_NAME")]
- public static ReadOnlySpan IntelSimultaneousSharingExtensionName =>
+ public static Utf8String IntelSimultaneousSharingExtensionName =>
"cl_intel_simultaneous_sharing"u8;
[NativeName("CL_INTEL_SIMULTANEOUS_SHARING_EXTENSION_VERSION")]
@@ -27581,7 +27571,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_EGL_IMAGE_YUV_EXTENSION_NAME")]
- public static ReadOnlySpan IntelEglImageYuvExtensionName => "cl_intel_egl_image_yuv"u8;
+ public static Utf8String IntelEglImageYuvExtensionName => "cl_intel_egl_image_yuv"u8;
[NativeName("CL_INTEL_EGL_IMAGE_YUV_EXTENSION_VERSION")]
public const int IntelEglImageYuvExtensionVersion = (
@@ -27591,7 +27581,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_PACKED_YUV_EXTENSION_NAME")]
- public static ReadOnlySpan IntelPackedYuvExtensionName => "cl_intel_packed_yuv"u8;
+ public static Utf8String IntelPackedYuvExtensionName => "cl_intel_packed_yuv"u8;
[NativeName("CL_INTEL_PACKED_YUV_EXTENSION_VERSION")]
public const int IntelPackedYuvExtensionVersion = (
@@ -27601,7 +27591,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_REQUIRED_SUBGROUP_SIZE_EXTENSION_NAME")]
- public static ReadOnlySpan IntelRequiredSubgroupSizeExtensionName =>
+ public static Utf8String IntelRequiredSubgroupSizeExtensionName =>
"cl_intel_required_subgroup_size"u8;
[NativeName("CL_INTEL_REQUIRED_SUBGROUP_SIZE_EXTENSION_VERSION")]
@@ -27612,8 +27602,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_DRIVER_DIAGNOSTICS_EXTENSION_NAME")]
- public static ReadOnlySpan IntelDriverDiagnosticsExtensionName =>
- "cl_intel_driver_diagnostics"u8;
+ public static Utf8String IntelDriverDiagnosticsExtensionName => "cl_intel_driver_diagnostics"u8;
[NativeName("CL_INTEL_DRIVER_DIAGNOSTICS_EXTENSION_VERSION")]
public const int IntelDriverDiagnosticsExtensionVersion = (
@@ -27623,7 +27612,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_PLANAR_YUV_EXTENSION_NAME")]
- public static ReadOnlySpan IntelPlanarYuvExtensionName => "cl_intel_planar_yuv"u8;
+ public static Utf8String IntelPlanarYuvExtensionName => "cl_intel_planar_yuv"u8;
[NativeName("CL_INTEL_PLANAR_YUV_EXTENSION_VERSION")]
public const int IntelPlanarYuvExtensionVersion = (
@@ -27633,7 +27622,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_DEVICE_SIDE_AVC_MOTION_ESTIMATION_EXTENSION_NAME")]
- public static ReadOnlySpan IntelDeviceSideAvcMotionEstimationExtensionName =>
+ public static Utf8String IntelDeviceSideAvcMotionEstimationExtensionName =>
"cl_intel_device_side_avc_motion_estimation"u8;
[NativeName("CL_INTEL_DEVICE_SIDE_AVC_MOTION_ESTIMATION_EXTENSION_VERSION")]
@@ -27644,7 +27633,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_UNIFIED_SHARED_MEMORY_EXTENSION_NAME")]
- public static ReadOnlySpan IntelUnifiedSharedMemoryExtensionName =>
+ public static Utf8String IntelUnifiedSharedMemoryExtensionName =>
"cl_intel_unified_shared_memory"u8;
[NativeName("CL_INTEL_UNIFIED_SHARED_MEMORY_EXTENSION_VERSION")]
@@ -27655,7 +27644,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_MEM_ALLOC_BUFFER_LOCATION_EXTENSION_NAME")]
- public static ReadOnlySpan IntelMemAllocBufferLocationExtensionName =>
+ public static Utf8String IntelMemAllocBufferLocationExtensionName =>
"cl_intel_mem_alloc_buffer_location"u8;
[NativeName("CL_INTEL_MEM_ALLOC_BUFFER_LOCATION_EXTENSION_VERSION")]
@@ -27666,7 +27655,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_CREATE_BUFFER_WITH_PROPERTIES_EXTENSION_NAME")]
- public static ReadOnlySpan IntelCreateBufferWithPropertiesExtensionName =>
+ public static Utf8String IntelCreateBufferWithPropertiesExtensionName =>
"cl_intel_create_buffer_with_properties"u8;
[NativeName("CL_INTEL_CREATE_BUFFER_WITH_PROPERTIES_EXTENSION_VERSION")]
@@ -27677,7 +27666,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_PROGRAM_SCOPE_HOST_PIPE_EXTENSION_NAME")]
- public static ReadOnlySpan IntelProgramScopeHostPipeExtensionName =>
+ public static Utf8String IntelProgramScopeHostPipeExtensionName =>
"cl_intel_program_scope_host_pipe"u8;
[NativeName("CL_INTEL_PROGRAM_SCOPE_HOST_PIPE_EXTENSION_VERSION")]
@@ -27688,7 +27677,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_MEM_CHANNEL_PROPERTY_EXTENSION_NAME")]
- public static ReadOnlySpan IntelMemChannelPropertyExtensionName =>
+ public static Utf8String IntelMemChannelPropertyExtensionName =>
"cl_intel_mem_channel_property"u8;
[NativeName("CL_INTEL_MEM_CHANNEL_PROPERTY_EXTENSION_VERSION")]
@@ -27699,7 +27688,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_MEM_FORCE_HOST_MEMORY_EXTENSION_NAME")]
- public static ReadOnlySpan IntelMemForceHostMemoryExtensionName =>
+ public static Utf8String IntelMemForceHostMemoryExtensionName =>
"cl_intel_mem_force_host_memory"u8;
[NativeName("CL_INTEL_MEM_FORCE_HOST_MEMORY_EXTENSION_VERSION")]
@@ -27710,7 +27699,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_COMMAND_QUEUE_FAMILIES_EXTENSION_NAME")]
- public static ReadOnlySpan IntelCommandQueueFamiliesExtensionName =>
+ public static Utf8String IntelCommandQueueFamiliesExtensionName =>
"cl_intel_command_queue_families"u8;
[NativeName("CL_INTEL_COMMAND_QUEUE_FAMILIES_EXTENSION_VERSION")]
@@ -27729,7 +27718,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
public const int QueueDefaultCapabilitiesINTEL = 0;
[NativeName("CL_INTEL_QUEUE_NO_SYNC_OPERATIONS_EXTENSION_NAME")]
- public static ReadOnlySpan IntelQueueNoSyncOperationsExtensionName =>
+ public static Utf8String IntelQueueNoSyncOperationsExtensionName =>
"cl_intel_queue_no_sync_operations"u8;
[NativeName("CL_INTEL_QUEUE_NO_SYNC_OPERATIONS_EXTENSION_VERSION")]
@@ -27740,7 +27729,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_SHARING_FORMAT_QUERY_EXTENSION_NAME")]
- public static ReadOnlySpan IntelSharingFormatQueryExtensionName =>
+ public static Utf8String IntelSharingFormatQueryExtensionName =>
"cl_intel_sharing_format_query"u8;
[NativeName("CL_INTEL_SHARING_FORMAT_QUERY_EXTENSION_VERSION")]
@@ -27751,7 +27740,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_IMAGE_REQUIREMENTS_INFO_EXTENSION_NAME")]
- public static ReadOnlySpan ExtImageRequirementsInfoExtensionName =>
+ public static Utf8String ExtImageRequirementsInfoExtensionName =>
"cl_ext_image_requirements_info"u8;
[NativeName("CL_EXT_IMAGE_REQUIREMENTS_INFO_EXTENSION_VERSION")]
@@ -27762,8 +27751,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_IMAGE_FROM_BUFFER_EXTENSION_NAME")]
- public static ReadOnlySpan ExtImageFromBufferExtensionName =>
- "cl_ext_image_from_buffer"u8;
+ public static Utf8String ExtImageFromBufferExtensionName => "cl_ext_image_from_buffer"u8;
[NativeName("CL_EXT_IMAGE_FROM_BUFFER_EXTENSION_VERSION")]
public const int ExtImageFromBufferExtensionVersion = (
@@ -27773,7 +27761,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_LOADER_INFO_EXTENSION_NAME")]
- public static ReadOnlySpan LoaderInfoExtensionName => "cl_loader_info"u8;
+ public static Utf8String LoaderInfoExtensionName => "cl_loader_info"u8;
[NativeName("CL_LOADER_INFO_EXTENSION_VERSION")]
public const int LoaderInfoExtensionVersion = (
@@ -27783,7 +27771,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_DEPTH_IMAGES_EXTENSION_NAME")]
- public static ReadOnlySpan KhrDepthImagesExtensionName => "cl_khr_depth_images"u8;
+ public static Utf8String KhrDepthImagesExtensionName => "cl_khr_depth_images"u8;
[NativeName("CL_KHR_DEPTH_IMAGES_EXTENSION_VERSION")]
public const int KhrDepthImagesExtensionVersion = (
@@ -27793,7 +27781,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_FLOAT_ATOMICS_EXTENSION_NAME")]
- public static ReadOnlySpan ExtFloatAtomicsExtensionName => "cl_ext_float_atomics"u8;
+ public static Utf8String ExtFloatAtomicsExtensionName => "cl_ext_float_atomics"u8;
[NativeName("CL_EXT_FLOAT_ATOMICS_EXTENSION_VERSION")]
public const int ExtFloatAtomicsExtensionVersion = (
@@ -27803,7 +27791,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_CREATE_MEM_OBJECT_PROPERTIES_EXTENSION_NAME")]
- public static ReadOnlySpan IntelCreateMemObjectPropertiesExtensionName =>
+ public static Utf8String IntelCreateMemObjectPropertiesExtensionName =>
"cl_intel_create_mem_object_properties"u8;
[NativeName("CL_INTEL_CREATE_MEM_OBJECT_PROPERTIES_EXTENSION_VERSION")]
@@ -27814,7 +27802,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_POCL_CONTENT_SIZE_EXTENSION_NAME")]
- public static ReadOnlySpan PoclContentSizeExtensionName => "cl_pocl_content_size"u8;
+ public static Utf8String PoclContentSizeExtensionName => "cl_pocl_content_size"u8;
[NativeName("CL_POCL_CONTENT_SIZE_EXTENSION_VERSION")]
public const int PoclContentSizeExtensionVersion = (
@@ -27824,8 +27812,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_IMAGE_RAW10_RAW12_EXTENSION_NAME")]
- public static ReadOnlySpan ExtImageRaw10Raw12ExtensionName =>
- "cl_ext_image_raw10_raw12"u8;
+ public static Utf8String ExtImageRaw10Raw12ExtensionName => "cl_ext_image_raw10_raw12"u8;
[NativeName("CL_EXT_IMAGE_RAW10_RAW12_EXTENSION_VERSION")]
public const int ExtImageRaw10Raw12ExtensionVersion = (
@@ -27835,7 +27822,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_3D_IMAGE_WRITES_EXTENSION_NAME")]
- public static ReadOnlySpan Khr3DImageWritesExtensionName => "cl_khr_3d_image_writes"u8;
+ public static Utf8String Khr3DImageWritesExtensionName => "cl_khr_3d_image_writes"u8;
[NativeName("CL_KHR_3D_IMAGE_WRITES_EXTENSION_VERSION")]
public const int Khr3DImageWritesExtensionVersion = (
@@ -27845,7 +27832,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_ASYNC_WORK_GROUP_COPY_FENCE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrAsyncWorkGroupCopyFenceExtensionName =>
+ public static Utf8String KhrAsyncWorkGroupCopyFenceExtensionName =>
"cl_khr_async_work_group_copy_fence"u8;
[NativeName("CL_KHR_ASYNC_WORK_GROUP_COPY_FENCE_EXTENSION_VERSION")]
@@ -27856,7 +27843,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_BYTE_ADDRESSABLE_STORE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrByteAddressableStoreExtensionName =>
+ public static Utf8String KhrByteAddressableStoreExtensionName =>
"cl_khr_byte_addressable_store"u8;
[NativeName("CL_KHR_BYTE_ADDRESSABLE_STORE_EXTENSION_VERSION")]
@@ -27867,7 +27854,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_DEVICE_ENQUEUE_LOCAL_ARG_TYPES_EXTENSION_NAME")]
- public static ReadOnlySpan KhrDeviceEnqueueLocalArgTypesExtensionName =>
+ public static Utf8String KhrDeviceEnqueueLocalArgTypesExtensionName =>
"cl_khr_device_enqueue_local_arg_types"u8;
[NativeName("CL_KHR_DEVICE_ENQUEUE_LOCAL_ARG_TYPES_EXTENSION_VERSION")]
@@ -27878,7 +27865,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXPECT_ASSUME_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExpectAssumeExtensionName => "cl_khr_expect_assume"u8;
+ public static Utf8String KhrExpectAssumeExtensionName => "cl_khr_expect_assume"u8;
[NativeName("CL_KHR_EXPECT_ASSUME_EXTENSION_VERSION")]
public const int KhrExpectAssumeExtensionVersion = (
@@ -27888,7 +27875,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTENDED_ASYNC_COPIES_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExtendedAsyncCopiesExtensionName =>
+ public static Utf8String KhrExtendedAsyncCopiesExtensionName =>
"cl_khr_extended_async_copies"u8;
[NativeName("CL_KHR_EXTENDED_ASYNC_COPIES_EXTENSION_VERSION")]
@@ -27899,7 +27886,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_EXTENDED_BIT_OPS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrExtendedBitOpsExtensionName => "cl_khr_extended_bit_ops"u8;
+ public static Utf8String KhrExtendedBitOpsExtensionName => "cl_khr_extended_bit_ops"u8;
[NativeName("CL_KHR_EXTENDED_BIT_OPS_EXTENSION_VERSION")]
public const int KhrExtendedBitOpsExtensionVersion = (
@@ -27909,7 +27896,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_GLOBAL_INT32_BASE_ATOMICS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrGlobalInt32BaseAtomicsExtensionName =>
+ public static Utf8String KhrGlobalInt32BaseAtomicsExtensionName =>
"cl_khr_global_int32_base_atomics"u8;
[NativeName("CL_KHR_GLOBAL_INT32_BASE_ATOMICS_EXTENSION_VERSION")]
@@ -27920,7 +27907,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_GLOBAL_INT32_EXTENDED_ATOMICS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrGlobalInt32ExtendedAtomicsExtensionName =>
+ public static Utf8String KhrGlobalInt32ExtendedAtomicsExtensionName =>
"cl_khr_global_int32_extended_atomics"u8;
[NativeName("CL_KHR_GLOBAL_INT32_EXTENDED_ATOMICS_EXTENSION_VERSION")]
@@ -27931,8 +27918,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_INT64_BASE_ATOMICS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrInt64BaseAtomicsExtensionName =>
- "cl_khr_int64_base_atomics"u8;
+ public static Utf8String KhrInt64BaseAtomicsExtensionName => "cl_khr_int64_base_atomics"u8;
[NativeName("CL_KHR_INT64_BASE_ATOMICS_EXTENSION_VERSION")]
public const int KhrInt64BaseAtomicsExtensionVersion = (
@@ -27942,7 +27928,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_INT64_EXTENDED_ATOMICS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrInt64ExtendedAtomicsExtensionName =>
+ public static Utf8String KhrInt64ExtendedAtomicsExtensionName =>
"cl_khr_int64_extended_atomics"u8;
[NativeName("CL_KHR_INT64_EXTENDED_ATOMICS_EXTENSION_VERSION")]
@@ -27953,7 +27939,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_KERNEL_CLOCK_EXTENSION_NAME")]
- public static ReadOnlySpan KhrKernelClockExtensionName => "cl_khr_kernel_clock"u8;
+ public static Utf8String KhrKernelClockExtensionName => "cl_khr_kernel_clock"u8;
[NativeName("CL_KHR_KERNEL_CLOCK_EXTENSION_VERSION")]
public const int KhrKernelClockExtensionVersion = (
@@ -27963,7 +27949,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_LOCAL_INT32_BASE_ATOMICS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrLocalInt32BaseAtomicsExtensionName =>
+ public static Utf8String KhrLocalInt32BaseAtomicsExtensionName =>
"cl_khr_local_int32_base_atomics"u8;
[NativeName("CL_KHR_LOCAL_INT32_BASE_ATOMICS_EXTENSION_VERSION")]
@@ -27974,7 +27960,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_LOCAL_INT32_EXTENDED_ATOMICS_EXTENSION_NAME")]
- public static ReadOnlySpan KhrLocalInt32ExtendedAtomicsExtensionName =>
+ public static Utf8String KhrLocalInt32ExtendedAtomicsExtensionName =>
"cl_khr_local_int32_extended_atomics"u8;
[NativeName("CL_KHR_LOCAL_INT32_EXTENDED_ATOMICS_EXTENSION_VERSION")]
@@ -27985,8 +27971,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_MIPMAP_IMAGE_WRITES_EXTENSION_NAME")]
- public static ReadOnlySpan KhrMipmapImageWritesExtensionName =>
- "cl_khr_mipmap_image_writes"u8;
+ public static Utf8String KhrMipmapImageWritesExtensionName => "cl_khr_mipmap_image_writes"u8;
[NativeName("CL_KHR_MIPMAP_IMAGE_WRITES_EXTENSION_VERSION")]
public const int KhrMipmapImageWritesExtensionVersion = (
@@ -27996,7 +27981,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SELECT_FPROUNDING_MODE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSelectFproundingModeExtensionName =>
+ public static Utf8String KhrSelectFproundingModeExtensionName =>
"cl_khr_select_fprounding_mode"u8;
[NativeName("CL_KHR_SELECT_FPROUNDING_MODE_EXTENSION_VERSION")]
@@ -28007,7 +27992,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SPIRV_EXTENDED_DEBUG_INFO_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSpirvExtendedDebugInfoExtensionName =>
+ public static Utf8String KhrSpirvExtendedDebugInfoExtensionName =>
"cl_khr_spirv_extended_debug_info"u8;
[NativeName("CL_KHR_SPIRV_EXTENDED_DEBUG_INFO_EXTENSION_VERSION")]
@@ -28018,8 +28003,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SPIRV_LINKONCE_ODR_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSpirvLinkonceOdrExtensionName =>
- "cl_khr_spirv_linkonce_odr"u8;
+ public static Utf8String KhrSpirvLinkonceOdrExtensionName => "cl_khr_spirv_linkonce_odr"u8;
[NativeName("CL_KHR_SPIRV_LINKONCE_ODR_EXTENSION_VERSION")]
public const int KhrSpirvLinkonceOdrExtensionVersion = (
@@ -28029,7 +28013,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SPIRV_NO_INTEGER_WRAP_DECORATION_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSpirvNoIntegerWrapDecorationExtensionName =>
+ public static Utf8String KhrSpirvNoIntegerWrapDecorationExtensionName =>
"cl_khr_spirv_no_integer_wrap_decoration"u8;
[NativeName("CL_KHR_SPIRV_NO_INTEGER_WRAP_DECORATION_EXTENSION_VERSION")]
@@ -28040,7 +28024,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SPIRV_QUERIES_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSpirvQueriesExtensionName => "cl_khr_spirv_queries"u8;
+ public static Utf8String KhrSpirvQueriesExtensionName => "cl_khr_spirv_queries"u8;
[NativeName("CL_KHR_SPIRV_QUERIES_EXTENSION_VERSION")]
public const int KhrSpirvQueriesExtensionVersion = (
@@ -28050,8 +28034,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SRGB_IMAGE_WRITES_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSrgbImageWritesExtensionName =>
- "cl_khr_srgb_image_writes"u8;
+ public static Utf8String KhrSrgbImageWritesExtensionName => "cl_khr_srgb_image_writes"u8;
[NativeName("CL_KHR_SRGB_IMAGE_WRITES_EXTENSION_VERSION")]
public const int KhrSrgbImageWritesExtensionVersion = (
@@ -28061,7 +28044,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_BALLOT_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupBallotExtensionName => "cl_khr_subgroup_ballot"u8;
+ public static Utf8String KhrSubgroupBallotExtensionName => "cl_khr_subgroup_ballot"u8;
[NativeName("CL_KHR_SUBGROUP_BALLOT_EXTENSION_VERSION")]
public const int KhrSubgroupBallotExtensionVersion = (
@@ -28071,7 +28054,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_CLUSTERED_REDUCE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupClusteredReduceExtensionName =>
+ public static Utf8String KhrSubgroupClusteredReduceExtensionName =>
"cl_khr_subgroup_clustered_reduce"u8;
[NativeName("CL_KHR_SUBGROUP_CLUSTERED_REDUCE_EXTENSION_VERSION")]
@@ -28082,7 +28065,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_EXTENDED_TYPES_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupExtendedTypesExtensionName =>
+ public static Utf8String KhrSubgroupExtendedTypesExtensionName =>
"cl_khr_subgroup_extended_types"u8;
[NativeName("CL_KHR_SUBGROUP_EXTENDED_TYPES_EXTENSION_VERSION")]
@@ -28093,7 +28076,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_ARITHMETIC_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupNonUniformArithmeticExtensionName =>
+ public static Utf8String KhrSubgroupNonUniformArithmeticExtensionName =>
"cl_khr_subgroup_non_uniform_arithmetic"u8;
[NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_ARITHMETIC_EXTENSION_VERSION")]
@@ -28104,7 +28087,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_VOTE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupNonUniformVoteExtensionName =>
+ public static Utf8String KhrSubgroupNonUniformVoteExtensionName =>
"cl_khr_subgroup_non_uniform_vote"u8;
[NativeName("CL_KHR_SUBGROUP_NON_UNIFORM_VOTE_EXTENSION_VERSION")]
@@ -28115,7 +28098,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_ROTATE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupRotateExtensionName => "cl_khr_subgroup_rotate"u8;
+ public static Utf8String KhrSubgroupRotateExtensionName => "cl_khr_subgroup_rotate"u8;
[NativeName("CL_KHR_SUBGROUP_ROTATE_EXTENSION_VERSION")]
public const int KhrSubgroupRotateExtensionVersion = (
@@ -28125,7 +28108,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_SHUFFLE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupShuffleExtensionName => "cl_khr_subgroup_shuffle"u8;
+ public static Utf8String KhrSubgroupShuffleExtensionName => "cl_khr_subgroup_shuffle"u8;
[NativeName("CL_KHR_SUBGROUP_SHUFFLE_EXTENSION_VERSION")]
public const int KhrSubgroupShuffleExtensionVersion = (
@@ -28135,7 +28118,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_SUBGROUP_SHUFFLE_RELATIVE_EXTENSION_NAME")]
- public static ReadOnlySpan KhrSubgroupShuffleRelativeExtensionName =>
+ public static Utf8String KhrSubgroupShuffleRelativeExtensionName =>
"cl_khr_subgroup_shuffle_relative"u8;
[NativeName("CL_KHR_SUBGROUP_SHUFFLE_RELATIVE_EXTENSION_VERSION")]
@@ -28146,7 +28129,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_KHR_WORK_GROUP_UNIFORM_ARITHMETIC_EXTENSION_NAME")]
- public static ReadOnlySpan KhrWorkGroupUniformArithmeticExtensionName =>
+ public static Utf8String KhrWorkGroupUniformArithmeticExtensionName =>
"cl_khr_work_group_uniform_arithmetic"u8;
[NativeName("CL_KHR_WORK_GROUP_UNIFORM_ARITHMETIC_EXTENSION_VERSION")]
@@ -28157,7 +28140,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME")]
- public static ReadOnlySpan ExtBufferDeviceAddressExtensionName =>
+ public static Utf8String ExtBufferDeviceAddressExtensionName =>
"cl_ext_buffer_device_address"u8;
[NativeName("CL_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_VERSION")]
@@ -28168,7 +28151,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_IMAGE_UNORM_INT_2_101010_EXTENSION_NAME")]
- public static ReadOnlySpan ExtImageUnormInt2x101010ExtensionName =>
+ public static Utf8String ExtImageUnormInt2x101010ExtensionName =>
"cl_ext_image_unorm_int_2_101010"u8;
[NativeName("CL_EXT_IMAGE_UNORM_INT_2_101010_EXTENSION_VERSION")]
@@ -28179,7 +28162,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_IMAGE_UNSIGNED_10X6_12X4_14X2_EXTENSION_NAME")]
- public static ReadOnlySpan ExtImageUnsigned10x6x12x4x14x2ExtensionName =>
+ public static Utf8String ExtImageUnsigned10x6x12x4x14x2ExtensionName =>
"cl_ext_image_unsigned_10x6_12x4_14x2"u8;
[NativeName("CL_EXT_IMAGE_UNSIGNED_10X6_12X4_14X2_EXTENSION_VERSION")]
@@ -28190,7 +28173,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_EXT_IMMUTABLE_MEMORY_OBJECTS_EXTENSION_NAME")]
- public static ReadOnlySpan ExtImmutableMemoryObjectsExtensionName =>
+ public static Utf8String ExtImmutableMemoryObjectsExtensionName =>
"cl_ext_immutable_memory_objects"u8;
[NativeName("CL_EXT_IMMUTABLE_MEMORY_OBJECTS_EXTENSION_VERSION")]
@@ -28201,7 +28184,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_IMG_CANCEL_COMMAND_EXTENSION_NAME")]
- public static ReadOnlySpan ImgCancelCommandExtensionName => "cl_img_cancel_command"u8;
+ public static Utf8String ImgCancelCommandExtensionName => "cl_img_cancel_command"u8;
[NativeName("CL_IMG_CANCEL_COMMAND_EXTENSION_VERSION")]
public const int ImgCancelCommandExtensionVersion = (
@@ -28211,8 +28194,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_IMG_SAFETY_MECHANISMS_EXTENSION_NAME")]
- public static ReadOnlySpan ImgSafetyMechanismsExtensionName =>
- "cl_img_safety_mechanisms"u8;
+ public static Utf8String ImgSafetyMechanismsExtensionName => "cl_img_safety_mechanisms"u8;
[NativeName("CL_IMG_SAFETY_MECHANISMS_EXTENSION_VERSION")]
public const int ImgSafetyMechanismsExtensionVersion = (
@@ -28222,7 +28204,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_INTEL_KERNEL_ALLOCATIONS_INFO_EXTENSION_NAME")]
- public static ReadOnlySpan IntelKernelAllocationsInfoExtensionName =>
+ public static Utf8String IntelKernelAllocationsInfoExtensionName =>
"cl_intel_kernel_allocations_info"u8;
[NativeName("CL_INTEL_KERNEL_ALLOCATIONS_INFO_EXTENSION_VERSION")]
@@ -28233,7 +28215,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_QCOM_PERF_HINT_EXTENSION_NAME")]
- public static ReadOnlySpan QcomPerfHintExtensionName => "cl_qcom_perf_hint"u8;
+ public static Utf8String QcomPerfHintExtensionName => "cl_qcom_perf_hint"u8;
[NativeName("CL_QCOM_PERF_HINT_EXTENSION_VERSION")]
public const int QcomPerfHintExtensionVersion = (
@@ -28243,7 +28225,7 @@ public static int WaitForEvents(uint num_events, Ref event_list)
);
[NativeName("CL_LOADER_LAYERS_EXTENSION_NAME")]
- public static ReadOnlySpan LoaderLayersExtensionName => "cl_loader_layers"u8;
+ public static Utf8String LoaderLayersExtensionName => "cl_loader_layers"u8;
[NativeName("CL_LOADER_LAYERS_EXTENSION_VERSION")]
public const int LoaderLayersExtensionVersion = (
diff --git a/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationProperties.gen.cs b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationProperties.gen.cs
index 32eb7661be..f49775bf10 100644
--- a/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationProperties.gen.cs
+++ b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationProperties.gen.cs
@@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenCL headers and corresponding dependencies.
// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license.
+using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -12,20 +13,20 @@ namespace Silk.NET.OpenCL;
public partial struct DeviceIntegerDotProductAccelerationProperties
{
[NativeName("signed_accelerated")]
- public uint SignedAccelerated;
+ public MaybeBool SignedAccelerated;
[NativeName("unsigned_accelerated")]
- public uint UnsignedAccelerated;
+ public MaybeBool UnsignedAccelerated;
[NativeName("mixed_signedness_accelerated")]
- public uint MixedSignednessAccelerated;
+ public MaybeBool MixedSignednessAccelerated;
[NativeName("accumulating_saturating_signed_accelerated")]
- public uint AccumulatingSaturatingSignedAccelerated;
+ public MaybeBool AccumulatingSaturatingSignedAccelerated;
[NativeName("accumulating_saturating_unsigned_accelerated")]
- public uint AccumulatingSaturatingUnsignedAccelerated;
+ public MaybeBool AccumulatingSaturatingUnsignedAccelerated;
[NativeName("accumulating_saturating_mixed_signedness_accelerated")]
- public uint AccumulatingSaturatingMixedSignednessAccelerated;
+ public MaybeBool AccumulatingSaturatingMixedSignednessAccelerated;
}
diff --git a/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationPropertiesKHR.gen.cs b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationPropertiesKHR.gen.cs
index bd5e02aae6..464525ff03 100644
--- a/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationPropertiesKHR.gen.cs
+++ b/sources/OpenCL/OpenCL/OpenCL/DeviceIntegerDotProductAccelerationPropertiesKHR.gen.cs
@@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenCL headers and corresponding dependencies.
// Original source is Copyright 2013-2026 The Khronos Group Inc. Licensed under the Apache 2.0 license.
+using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
@@ -12,20 +13,20 @@ namespace Silk.NET.OpenCL;
public partial struct DeviceIntegerDotProductAccelerationPropertiesKHR
{
[NativeName("signed_accelerated")]
- public uint SignedAccelerated;
+ public MaybeBool SignedAccelerated;
[NativeName("unsigned_accelerated")]
- public uint UnsignedAccelerated;
+ public MaybeBool UnsignedAccelerated;
[NativeName("mixed_signedness_accelerated")]
- public uint MixedSignednessAccelerated;
+ public MaybeBool MixedSignednessAccelerated;
[NativeName("accumulating_saturating_signed_accelerated")]
- public uint AccumulatingSaturatingSignedAccelerated;
+ public MaybeBool AccumulatingSaturatingSignedAccelerated;
[NativeName("accumulating_saturating_unsigned_accelerated")]
- public uint AccumulatingSaturatingUnsignedAccelerated;
+ public MaybeBool