Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
41a8c53
This adds the tracking issue and updates the targeted .NET version
ShalokShalom Aug 8, 2025
50d48af
Update documentation/proposals/Proposal - 3.0 & 3.X Software Developm…
ShalokShalom Aug 8, 2025
c914613
Update documentation/proposals/Proposal - 3.0 & 3.X Software Developm…
ShalokShalom Aug 8, 2025
985a186
Merge branch 'main' into add-issue-tracker
Perksey Aug 14, 2025
d58d0c2
Update submodules and dependencies
Perksey Sep 14, 2025
0cd5bdf
Update submodules and dependencies
Perksey Sep 14, 2025
93cf5aa
Update SDK version to 9.0.305
Perksey Sep 17, 2025
a02bfcb
Add setup for .NET 9.0 in build workflow
Perksey Sep 17, 2025
321faaa
Change LangVersion from '10' to 'preview'
Perksey Sep 17, 2025
3d005ca
Workflow edits
Perksey Sep 17, 2025
934a9f5
Regenerated bindings as of 21/09/2025 (21:06:12)
dotnet-bot Sep 21, 2025
a0ee8ab
Update submodules and dependencies
Perksey Sep 14, 2025
d43aeec
Update native builds, use DX Agility SDK
Perksey Dec 13, 2025
48d6187
Merge branch 'feature/release-2.23' of https://github.com/dotnet/Silk…
Perksey Dec 13, 2025
20163a6
Remove ass, workaround GitHub deprecations
Perksey Dec 13, 2025
ad56fa5
dont forget my friend!!
Perksey Dec 13, 2025
20dc475
Fix submodule cruft
Perksey Dec 13, 2025
49042aa
Trigger all the jobs
Perksey Dec 13, 2025
066bde8
Revert Roslyn upgrade
Perksey Dec 13, 2025
f9c6af6
Rebuild following Roslyn downgrade
Perksey Dec 13, 2025
3fa2de1
Update generator.json - agility SDK generation errors
Perksey Dec 13, 2025
f550aa3
Regenerated bindings as of 13/12/2025 (21:48:17)
dotnet-bot Dec 13, 2025
fd8ca7b
Merge branch 'feature/release-2.23' into ci/feature/release-2.23/bind…
dotnet-bot Dec 13, 2025
7f84012
Move to .NET 8, remove .NET 6 Android/iOS as it's not possible to bui…
Perksey Dec 13, 2025
69c5378
Update Vulkan Headers submodule
Perksey Dec 13, 2025
0e6ef3c
Add missing files to src/Vulkan/vk_video.h
Perksey Dec 13, 2025
1983c78
Regenerated bindings as of 13/12/2025 (23:37:40)
dotnet-bot Dec 13, 2025
3f7de0a
Fix bad includes
Perksey Dec 14, 2025
459fad0
Regenerated bindings as of 14/12/2025 (15:47:32)
dotnet-bot Dec 14, 2025
cd70281
Merge branch 'feature/release-2.23' into ci/feature/release-2.23/bind…
dotnet-bot Dec 14, 2025
6516adb
Merge branch 'ci/feature/release-2.23/bindings_regen' into feature/re…
Perksey Dec 14, 2025
4eb60a8
Exclude WebGPU, SDL; fix Vulkan missing APIs.
Perksey Dec 15, 2025
6facb71
Regenerated bindings as of 15/12/2025 (19:25:29)
dotnet-bot Dec 15, 2025
6176dfb
Merge branch 'feature/release-2.23' into ci/feature/release-2.23/bind…
dotnet-bot Dec 15, 2025
54e0d8b
Revert WebGPU/SDL updates
Perksey Dec 15, 2025
b941217
Use ref readonly in SDL and WebGPU
Perksey Dec 15, 2025
9b3dd1d
Fix build?
Perksey Dec 15, 2025
226bfb0
Fix build harder
Perksey Dec 16, 2025
e2f098e
Updates after merge, patch notes
Perksey Dec 16, 2025
c2a96d7
Update Assimp binaries (#2517)
silkdotnet Dec 16, 2025
c23380e
Update MoltenVK binaries (#2516)
silkdotnet Dec 16, 2025
6a1f921
Update SDL2 binaries (#2514)
silkdotnet Dec 16, 2025
24e0f31
Update OpenALSoft binaries (#2513)
silkdotnet Dec 16, 2025
3fb6c05
Update ANGLE binaries (#2515)
silkdotnet Dec 16, 2025
d64b19e
Add missing usings
Perksey Dec 17, 2025
7827822
Merge branch 'feature/release-2.23' of https://github.com/dotnet/Silk…
Perksey Dec 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dotnet_diagnostic.RS0017.severity = error

# we should care more about this one day
dotnet_diagnostic.RS0041.severity = warning
dotnet_diagnostic.RS1042.severity = none

# public api warnings silk.net doesn't care about
dotnet_diagnostic.RS0026.severity = none # Don't add multiple public overloads with optional parameters
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/angle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ jobs:
fail-fast: false
matrix:
env:
- os: macos-13-xlarge
- os: macos-latest-xlarge
name: Darwin
nuke_invoke: ./build.sh
name: ${{ matrix.env.name }} Build
runs-on: ${{ matrix.env.os }}
steps:
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.102
- uses: actions/checkout@v2
with:
token: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
packages: write
jobs:
Build:
runs-on: macos-13-xlarge
runs-on: macos-latest-xlarge
steps:
- uses: actions/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dxvk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
echo running extras
${{ matrix.env.extras }}
- name: Cache .tmp, ~/.nuget/packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
.tmp
Expand All @@ -54,4 +54,4 @@ jobs:

${{ matrix.env.nuke_invoke }} Dxvk
env:
PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion .github/workflows/moltenvk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ jobs:
fail-fast: false
matrix:
env:
- os: macos-13-xlarge
- os: macos-latest-xlarge
name: Darwin
nuke_invoke: ./build.sh
extras: ""
name: ${{ matrix.env.name }} Build
runs-on: ${{ matrix.env.os }}
steps:
- name: Setup .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.102
- uses: actions/checkout@v2
with:
token: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/sdl2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,11 @@ jobs:
git config --local user.name "The Silk.NET Automaton"
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
if: runner.os == 'Windows'
with:
dotnet-version: |
6.0.201
7.0.*
8.0.*
env:
DOTNET_INSTALL_DIR: ~/.dotnet
- name: Setup PowerShell Core
continue-on-error: true
if: runner.os == 'Windows'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swiftshader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
echo running extras
${{ matrix.env.extras }}
- name: Cache .tmp, ~/.nuget/packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
.tmp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vulkan-loader.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
echo running extras
${{ matrix.env.extras }}
- name: Cache .tmp, ~/.nuget/packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
.tmp
Expand Down
75 changes: 75 additions & 0 deletions Silk.NET.sln
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,16 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Assimp.Tests", "sr
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Core.Tests", "src\Core\Silk.NET.Core.Tests\Silk.NET.Core.Tests.csproj", "{4D871493-0B88-477A-99A1-3E05561CFAD9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenGLES.Extensions.HUAWEI", "src\OpenGL\Extensions\Silk.NET.OpenGLES.Extensions.HUAWEI\Silk.NET.OpenGLES.Extensions.HUAWEI.csproj", "{B238F919-7020-4BF0-B315-D00DD45E05D6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenXR.Extensions.EXTX1", "src\OpenXR\Extensions\Silk.NET.OpenXR.Extensions.EXTX1\Silk.NET.OpenXR.Extensions.EXTX1.csproj", "{B3B1884B-78BA-4654-AD19-4F5EA269CA99}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.OpenXR.Extensions.SONY", "src\OpenXR\Extensions\Silk.NET.OpenXR.Extensions.SONY\Silk.NET.OpenXR.Extensions.SONY.csproj", "{9338EAE3-2ADA-4E34-9965-43521D24FFA0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Vulkan.Extensions.MTK", "src\Vulkan\Extensions\Silk.NET.Vulkan.Extensions.MTK\Silk.NET.Vulkan.Extensions.MTK.csproj", "{B8D369E0-424C-4C99-9A81-7E8552B0C225}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Silk.NET.Vulkan.Extensions.OHOS", "src\Vulkan\Extensions\Silk.NET.Vulkan.Extensions.OHOS\Silk.NET.Vulkan.Extensions.OHOS.csproj", "{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -3755,6 +3765,66 @@ Global
{4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x64.Build.0 = Release|Any CPU
{4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x86.ActiveCfg = Release|Any CPU
{4D871493-0B88-477A-99A1-3E05561CFAD9}.Release|x86.Build.0 = Release|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Debug|x64.ActiveCfg = Debug|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Debug|x64.Build.0 = Debug|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Debug|x86.ActiveCfg = Debug|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Debug|x86.Build.0 = Debug|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Release|Any CPU.Build.0 = Release|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Release|x64.ActiveCfg = Release|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Release|x64.Build.0 = Release|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Release|x86.ActiveCfg = Release|Any CPU
{B238F919-7020-4BF0-B315-D00DD45E05D6}.Release|x86.Build.0 = Release|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Debug|x64.ActiveCfg = Debug|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Debug|x64.Build.0 = Debug|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Debug|x86.ActiveCfg = Debug|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Debug|x86.Build.0 = Debug|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Release|Any CPU.Build.0 = Release|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Release|x64.ActiveCfg = Release|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Release|x64.Build.0 = Release|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Release|x86.ActiveCfg = Release|Any CPU
{B3B1884B-78BA-4654-AD19-4F5EA269CA99}.Release|x86.Build.0 = Release|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Debug|x64.ActiveCfg = Debug|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Debug|x64.Build.0 = Debug|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Debug|x86.ActiveCfg = Debug|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Debug|x86.Build.0 = Debug|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Release|Any CPU.Build.0 = Release|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Release|x64.ActiveCfg = Release|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Release|x64.Build.0 = Release|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Release|x86.ActiveCfg = Release|Any CPU
{9338EAE3-2ADA-4E34-9965-43521D24FFA0}.Release|x86.Build.0 = Release|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Debug|x64.ActiveCfg = Debug|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Debug|x64.Build.0 = Debug|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Debug|x86.ActiveCfg = Debug|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Debug|x86.Build.0 = Debug|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Release|Any CPU.Build.0 = Release|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Release|x64.ActiveCfg = Release|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Release|x64.Build.0 = Release|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Release|x86.ActiveCfg = Release|Any CPU
{B8D369E0-424C-4C99-9A81-7E8552B0C225}.Release|x86.Build.0 = Release|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Debug|x64.ActiveCfg = Debug|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Debug|x64.Build.0 = Debug|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Debug|x86.ActiveCfg = Debug|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Debug|x86.Build.0 = Debug|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Release|Any CPU.Build.0 = Release|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Release|x64.ActiveCfg = Release|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Release|x64.Build.0 = Release|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Release|x86.ActiveCfg = Release|Any CPU
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -4054,6 +4124,11 @@ Global
{01B6FFA0-5B37-44EA-ABDF-7BABD05874C5} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
{12D0A556-7DDF-4902-8911-1DA3F6331149} = {6EADA376-E83F-40B7-9539-71DD17AEF7A4}
{4D871493-0B88-477A-99A1-3E05561CFAD9} = {0651C5EF-50AA-4598-8D9C-8F210ADD8490}
{B238F919-7020-4BF0-B315-D00DD45E05D6} = {CF69D5C3-4ACE-4458-BA5A-0E9A3B294CDC}
{B3B1884B-78BA-4654-AD19-4F5EA269CA99} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
{9338EAE3-2ADA-4E34-9965-43521D24FFA0} = {90471225-AC23-424E-B62E-F6EC4C6ECAC0}
{B8D369E0-424C-4C99-9A81-7E8552B0C225} = {49BC383A-D7E6-4013-93C7-371479B984CC}
{4F35A32B-3EF0-4B0F-8784-01B9CCA5BC4D} = {49BC383A-D7E6-4013-93C7-371479B984CC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F5273D7F-3334-48DF-94E3-41AE6816CD4D}
Expand Down
Binary file modified build/cache/assimp.json.gz
Binary file not shown.
Binary file modified build/cache/cl.json.gz
Binary file not shown.
Binary file modified build/cache/core.json.gz
Binary file not shown.
Binary file modified build/cache/d2d.json.gz
Binary file not shown.
Binary file modified build/cache/d3d11.json.gz
Binary file not shown.
Binary file modified build/cache/d3d12.json.gz
Binary file not shown.
Binary file modified build/cache/d3d9.json.gz
Binary file not shown.
Binary file modified build/cache/d3dcompiler.json.gz
Binary file not shown.
Binary file modified build/cache/dcomp.json.gz
Binary file not shown.
Binary file modified build/cache/dstorage.json.gz
Binary file not shown.
Binary file modified build/cache/dwrite.json.gz
Binary file not shown.
Binary file modified build/cache/dxc.json.gz
Binary file not shown.
Binary file modified build/cache/dxgi.json.gz
Binary file not shown.
Binary file modified build/cache/dxva.json.gz
Binary file not shown.
Binary file modified build/cache/gl.json.gz
Binary file not shown.
Binary file modified build/cache/glcore.json.gz
Binary file not shown.
Binary file modified build/cache/gles2.json.gz
Binary file not shown.
Binary file modified build/cache/openxr.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan_video.json.gz
Binary file not shown.
Binary file modified build/cache/wgl.json.gz
Binary file not shown.
Binary file modified build/cache/wic.json.gz
Binary file not shown.
Binary file modified build/cache/win32extras.json.gz
Binary file not shown.
Binary file modified build/cache/xaudio.json.gz
Binary file not shown.
Binary file modified build/cache/xinput.json.gz
Binary file not shown.
24 changes: 13 additions & 11 deletions build/csharp_typemap.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
"GgpStreamDescriptor": "nint",
"VkFlags": "uint",
"unsignedchar": "byte",
"IDirectFB*": "nint",
"IDirectFBSurface*": "nint",
"IDirectFB*": "nint",
"IDirectFBSurface*": "nint",
"VASurfaceID*": "nint",
"EGLint": "int",
"khronos_utime_nanoseconds_t": "ulong",
Expand All @@ -136,8 +136,8 @@
"HMONITOR__*": "nint",
"HDC__**": "nint*",
"HMONITOR__**": "nint*",
"HBITMAP__*": "nint*",
"HENHMETAFILE__*": "nint*",
"HBITMAP__*": "nint*",
"HENHMETAFILE__*": "nint*",
"_LUID": "Luid",
"_LARGE_INTEGER": "long",
"_ULARGE_INTEGER": "ulong",
Expand All @@ -149,17 +149,19 @@
"tagPALETTEENTRY": "Silk.NET.Maths.Vector4D<byte>",
"_SECURITY_ATTRIBUTES": "Silk.NET.Core.Native.SecurityAttributes",
"INT_PTR": "nint",
"POINTER_32": "int",
"POINTER_32": "int",
"POINTER_64": "long",
"POINTER_SIGNED": "nint",
"POINTER_SIGNED": "nint",
"POINTER_UNSIGNED": "nuint",
"SIZE_T": "nuint",
"SIZE_T": "nuint",
"ULONG_PTR": "nuint",
"ULONGLONG": "ulong",
"ULONGLONG": "ulong",
"LONG_PTR": "nint",
"_screen_window": "void",
"_screen_context": "void",
"cl_properties": "ulong",
"IStream": "Silk.NET.Core.Win32Extras.IStream",
"FILETIME": "Silk.NET.Core.Win32Extras.Filetime"
}
"IStream": "Silk.NET.Core.Win32Extras.IStream",
"FILETIME": "Silk.NET.Core.Win32Extras.Filetime",
"SC_HANDLE__*": "Silk.NET.Core.Native.ScHandle",
"AIBinder": "void"
}
2 changes: 2 additions & 0 deletions build/include/silk.net.core.d3dcommon.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include <d3dcommon.h>
#include <d3dshadercacheregistration.h>
5 changes: 5 additions & 0 deletions build/include/silk.net.direct3d12.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <d3d12.h>
#include <d3d12compiler.h>
#include <d3d12sdklayers.h>
#include <d3d12shader.h>
#include <d3d12video.h>
8 changes: 4 additions & 4 deletions build/nuke/Native/Assimp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ partial class Build {
InheritedShell($"{prepare} {GetCMakeToolchainFlag(triple)}", buildDir).AssertZeroExitCode();
InheritedShell(build, buildDir).AssertZeroExitCode();

InheritedShell($"{triple}-strip --strip-unneeded bin/libassimp.so.5", buildDir).AssertZeroExitCode();
InheritedShell($"{triple}-strip --strip-unneeded bin/libassimp.so.6", buildDir).AssertZeroExitCode();

CopyAll((buildDir / "bin").GlobFiles("libassimp.so.5"), runtimes / rid / "native");
CopyAll((buildDir / "bin").GlobFiles("libassimp.so.6"), runtimes / rid / "native");
}
}
else if (OperatingSystem.IsMacOS())
Expand All @@ -91,9 +91,9 @@ partial class Build {
InheritedShell($"{prepare} -DCMAKE_OSX_ARCHITECTURES={arch}", buildDir).AssertZeroExitCode();
InheritedShell(build, buildDir).AssertZeroExitCode();

InheritedShell($"strip -Sx bin/libassimp.5.dylib", buildDir).AssertZeroExitCode();
InheritedShell($"strip -Sx bin/libassimp.6.dylib", buildDir).AssertZeroExitCode();

CopyAll((buildDir / "bin").GlobFiles("libassimp.5.dylib"), runtimes / rid / "native");
CopyAll((buildDir / "bin").GlobFiles("libassimp.6.dylib"), runtimes / rid / "native");
}
}

Expand Down
1 change: 1 addition & 0 deletions build/nuke/Native/SilkDroid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ string AndroidHome

// Not expecting this to succeed, but we need to do this so we generate the bindings to go in the public API.
InheritedShell($"dotnet build \"{SourceDirectory / "Windowing" / "Silk.NET.Windowing.Sdl" / "Silk.NET.Windowing.Sdl.csproj"}\"").AssertWaitForExit();


// Update the public API.
InheritedShell(string.Format(FormatDeclCmd, SourceDirectory / "Windowing" / "Silk.NET.Windowing.Sdl" / "Silk.NET.Windowing.Sdl.csproj")).AssertZeroExitCode();
Expand Down
Loading
Loading