Skip to content

Commit

Permalink
[3.0] Refactor SilkTouch to Use Roslyn Workspaces + more (#2288)
Browse files Browse the repository at this point in the history
* Initial group codegen

* Fix some trimming oddities

* Fix HintTargetPGI and others similarly situated

* Base typing and namespacing

* Cast enum members, fix stray semicolons, Silk.NET.OpenGL builds again

* Group and bool transformations

* Fix erroneous cast order

* Add Delete(singular) overloads (ArrayParameterOverloader)

* Add SAL object model & Khronos length metadata parsing

* ArrayParameterTransformer w/ tests

* Integrate ArrayParameterTransformer

* Support SupportedApiProfileAttribute generation with metadata

* PrettifyNames conflict resolution now actually works

* Fix casting transformation ambiguity bugs

* Fix metadata retrieval for reserved identifiers

* Fix unit tests

* Fixup for all caps names

* Fix naive trimming bug

* More self-review comments

* SDL bindings

* Fix naming regression

* Prettify & extract the nested _e__{Union,Struct,FixedBuffer} structs

* Function pointer generation

* Add a second pass to name delegates based on usage!

* Fixes from self-review

* Rejig the repo structure

* Save progress, as I am deleting the progress

* Create a Roslyn compilation & workspace

* Bugfixes, generation runs with renaming but is slow and outputs wrong

* Some more bugfixes

* Fix mods not saving outputs, unnecessary subdirs, filenames, and other renamer issues

* Add IResponseFileMod, fix EntryPoint not in DllImport, and other fixes & improvements

* Delete some stray files

* Minor nits

* Initial commit of the SymbolFinder rename experiment

* This is the new renamer

* Fix ctors and dtors, stop using `using static`s

* Regenerate bindings

* Use public Roslyn APIs and parallelise
  • Loading branch information
Perksey authored Oct 10, 2024
1 parent 424f0ed commit de89670
Show file tree
Hide file tree
Showing 668 changed files with 31,048 additions and 31,784 deletions.
Binary file removed .silktouch/1ce66f3f47b7ebfb.stout
Binary file not shown.
Binary file added .silktouch/c8c046b328b09d23.stout
Binary file not shown.
Binary file added .silktouch/f634eee0bf239a81.stout
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\sources\Maths\Silk.NET.Maths.csproj" />
<ProjectReference Include="..\..\..\sources\Maths\Maths\Silk.NET.Maths.csproj" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions eng/silktouch/common.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ multi-file
trimmable-vtbls
preview-codegen
generate-file-scoped-namespaces
exclude-using-statics-for-enums
5 changes: 0 additions & 5 deletions eng/silktouch/opengl/glcore/header.txt

This file was deleted.

5 changes: 0 additions & 5 deletions eng/silktouch/opengl/gles1/header.txt

This file was deleted.

5 changes: 0 additions & 5 deletions eng/silktouch/opengl/gles2/header.txt

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion eng/silktouch/opengl/settings.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--define-macro
TODO_DEFINE_MACROS=HERE
--headerFile
header.txt
../header.txt
--include-directory
../../../submodules/opengl/api
../../../submodules/egl/api
Expand Down
64 changes: 36 additions & 28 deletions generator.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
{
"Jobs": {
"Microsoft": {
"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"
},
"InputSourceRoot": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows",
"InputTestRoot": "eng/submodules/terrafx.interop.windows/tests/Interop/Windows",
"OutputSourceRoot": "sources/Windows",
"OutputTestRoot": "tests/Windows",
"DefaultLicenseHeader": "eng/silktouch/header.txt",
"Solution": "Silk.NET.sln",
"SourceProject": "TODO.csproj",
"TestProject": "tests/TODO.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"
},
"InputSourceRoot": "eng/submodules/terrafx.interop.windows/sources/Interop/Windows",
"InputTestRoot": "eng/submodules/terrafx.interop.windows/tests/Interop/Windows"
},
"ChangeNamespace": {
"Mappings": {
"TerraFX.Interop.(.*)": "Silk.NET.$1"
Expand All @@ -30,23 +33,26 @@
]
},
"SDL": {
"ClangSharpResponseFiles": [
"eng/silktouch/sdl/**/generate.rsp"
],
"InputSourceRoot": "sources/SDL",
"InputTestRoot": "tests/SDL",
"OutputSourceRoot": "sources/SDL",
"OutputTestRoot": "tests/SDL",
"SourceProject": "sources/SDL/SDL/Silk.NET.SDL.csproj",
"TestProject": "tests/SDL/SDL/Silk.NET.SDL.UnitTests.csproj",
"Solution": "Silk.NET.sln",
"DefaultLicenseHeader": "eng/silktouch/header.txt",
"Mods": [
"AddIncludes",
"ClangScraper",
"ExtractNestedTyping",
"TransformHandles",
"TransformFunctions",
"PrettifyNames",
"AddVTables"
],
"ClangScraper": {
"ClangSharpResponseFiles": [
"eng/silktouch/sdl/**/generate.rsp"
],
"InputSourceRoot": "sources/SDL",
"InputTestRoot": "tests/SDL"
},
"TransformHandles": {
"AssumeMissingTypesOpaque": true,
"UseDSL": true
Expand All @@ -58,24 +64,26 @@
}
},
"OpenGL": {
"ClangSharpResponseFiles": [
"eng/silktouch/opengl/**/generate.rsp"
],
"InputSourceRoot": "sources/OpenGL",
"InputTestRoot": "tests/OpenGL",
"OutputSourceRoot": "sources/OpenGL",
"OutputTestRoot": "tests/OpenGL",
"SourceProject": "sources/OpenGL/OpenGL/Silk.NET.OpenGL.csproj",
"Solution": "Silk.NET.sln",
"DefaultLicenseHeader": "eng/silktouch/header.txt",
"Mods": [
"AddIncludes",
"ClangScraper",
"AddApiProfiles",
"MixKhronosData",
"AddOpaqueStructs",
"TransformFunctions",
"PrettifyNames",
"AddVTables"
],
"ClangScraper": {
"ClangSharpResponseFiles": [
"eng/silktouch/opengl/**/generate.rsp"
],
"InputSourceRoot": "sources/OpenGL",
"InputTestRoot": "tests/OpenGL"
},
"AddApiProfiles": {
"Profiles": [
{
Expand Down
2 changes: 1 addition & 1 deletion sources/Core/Core/Silk.NET.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PackageReference Include="Fody" Version="6.8.1" PrivateAssets="all" />
<PackageReference Include="InlineIL.Fody" Version="1.8.0" PrivateAssets="all" />
</ItemGroup>

<!-- Dogfooding -->
<Import Project="Silk.NET.Core.targets" />

Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/AccumOp.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/AlphaFunction.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/ArrayObjectPNameATI.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/ArrayObjectUsageATI.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
5 changes: 5 additions & 0 deletions sources/OpenGL/OpenGL/Enums/AttribMask.gen.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Silk.NET.OpenGL;

[Transformed]
Expand Down
6 changes: 3 additions & 3 deletions sources/OpenGL/OpenGL/Enums/AttributeType.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down Expand Up @@ -127,8 +127,6 @@ public enum AttributeType : uint
UnsignedInt64Vec2ARB = unchecked((uint)0x8FF5),
UnsignedInt64Vec3ARB = unchecked((uint)0x8FF6),
UnsignedInt64Vec4ARB = unchecked((uint)0x8FF7),
Int64NV = unchecked((uint)0x140E),
UnsignedInt64NV = unchecked((uint)0x140F),
FloatVec2ARB = unchecked((uint)0x8B50),
FloatVec3ARB = unchecked((uint)0x8B51),
FloatVec4ARB = unchecked((uint)0x8B52),
Expand All @@ -150,6 +148,8 @@ public enum AttributeType : uint
Sampler2DShadowARB = unchecked((uint)0x8B62),
Sampler2DRectARB = unchecked((uint)0x8B63),
Sampler2DRectShadowARB = unchecked((uint)0x8B64),
Int64NV = unchecked((uint)0x140E),
UnsignedInt64NV = unchecked((uint)0x140F),
Sampler3DOES = unchecked((uint)0x8B5F),
Sampler2DShadowEXT = unchecked((uint)0x8B62),
FloatMAT2X3NV = unchecked((uint)0x8B65),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BinormalPointerType.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BlendEquationMode.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BlendingFactor.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BlitFramebufferFilter.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/Boolean.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/Buffer.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BufferAccess.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BufferBitQCOM.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BufferPName.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BufferPointerName.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
8 changes: 4 additions & 4 deletions sources/OpenGL/OpenGL/Enums/BufferStorageMask.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand All @@ -19,10 +19,10 @@ public enum BufferStorageMask : uint
SparseStorageBitARB = unchecked((uint)0x0400),
LgpuSeparateStorageBitNVX = unchecked((uint)0x0800),
PerGpuStorageBitNV = unchecked((uint)0x0800),
MapReadBitEXT = unchecked((uint)0x0001),
MapWriteBitEXT = unchecked((uint)0x0002),
MapPersistentBitEXT = unchecked((uint)0x0040),
MapCoherentBitEXT = unchecked((uint)0x0080),
DynamicStorageBitEXT = unchecked((uint)0x0100),
ClientStorageBitEXT = unchecked((uint)0x0200)
ClientStorageBitEXT = unchecked((uint)0x0200),
MapReadBitEXT = unchecked((uint)0x0001),
MapWriteBitEXT = unchecked((uint)0x0002)
}
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BufferStorageTarget.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BufferTarget.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/BufferUsage.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/ClampColorMode.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
2 changes: 1 addition & 1 deletion sources/OpenGL/OpenGL/Enums/ClampColorTarget.gen.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL Core Profile headers and corresponding dependencies.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
Expand Down
5 changes: 5 additions & 0 deletions sources/OpenGL/OpenGL/Enums/ClearBufferMask.gen.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Ported from the OpenGL headers and corresponding dependencies.
// Original source is Copyright 2013-2020 The Khronos Group Inc. Licensed under the MIT license.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Silk.NET.OpenGL;

[Transformed]
Expand Down
Loading

0 comments on commit de89670

Please sign in to comment.