Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
  •  
  •  
  •  
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/shaderc.json.gz
Binary file not shown.
Binary file modified build/cache/spirv-cross.json.gz
Binary file not shown.
Binary file modified build/cache/spirv-reflect.json.gz
Binary file not shown.
Binary file modified build/cache/spirv.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.
3 changes: 2 additions & 1 deletion build/csharp_typemap.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,5 +162,6 @@
"cl_properties": "ulong",
"IStream": "Silk.NET.Core.Win32Extras.IStream",
"FILETIME": "Silk.NET.Core.Win32Extras.Filetime",
"SC_HANDLE__*": "Silk.NET.Core.Native.ScHandle"
"SC_HANDLE__*": "Silk.NET.Core.Native.ScHandle",
"AIBinder": "void"
}
2 changes: 1 addition & 1 deletion src/Core/Silk.NET.BuildTools/Bind/ProjectWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static void WriteProjectFile(this Project project, string folder, Profile
csproj.WriteLine
(" <TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>");
csproj.WriteLine(" <AllowUnsafeBlocks>true</AllowUnsafeBlocks>");
csproj.WriteLine(" <LangVersion>10</LangVersion>");
csproj.WriteLine(" <LangVersion>preview</LangVersion>");
csproj.WriteLine(" </PropertyGroup>");
csproj.WriteLine();
csproj.WriteLine(" <ItemGroup>");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ public object Load(Stream stream)
{
Console.WriteLine("Loading raw Vulkan/OpenXR specification...");
var spec = VulkanSpecification.LoadFromXmlStream(stream);
File.WriteAllText("build/cache/pre-unspecialised.json", JsonConvert.SerializeObject(spec, Formatting.Indented));
Console.WriteLine("Specialising specification...");
spec.Specialise();
File.WriteAllText("build/cache/pre-specialised.json", JsonConvert.SerializeObject(spec, Formatting.Indented));
return spec;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,44 +103,20 @@ public static int UnregisterDriverUpdateListener(this ComPtr<ID3DShaderCacheInst
}

/// <summary>To be documented.</summary>
public static unsafe int RegisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, SC_HANDLE__* hServiceHandle)
public static int RegisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, Silk.NET.Core.Native.ScHandle hServiceHandle)
{
var @this = thisVtbl.Handle;
int ret = default;
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[5])(@this, hServiceHandle);
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, Silk.NET.Core.Native.ScHandle, int>)@this->LpVtbl[5])(@this, hServiceHandle);
return ret;
}

/// <summary>To be documented.</summary>
public static int RegisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, ref SC_HANDLE__ hServiceHandle)
public static int UnregisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, Silk.NET.Core.Native.ScHandle hServiceHandle)
{
var @this = thisVtbl.Handle;
int ret = default;
fixed (SC_HANDLE__* hServiceHandlePtr = &hServiceHandle)
{
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[5])(@this, hServiceHandlePtr);
}
return ret;
}

/// <summary>To be documented.</summary>
public static unsafe int UnregisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, SC_HANDLE__* hServiceHandle)
{
var @this = thisVtbl.Handle;
int ret = default;
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[6])(@this, hServiceHandle);
return ret;
}

/// <summary>To be documented.</summary>
public static int UnregisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, ref SC_HANDLE__ hServiceHandle)
{
var @this = thisVtbl.Handle;
int ret = default;
fixed (SC_HANDLE__* hServiceHandlePtr = &hServiceHandle)
{
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[6])(@this, hServiceHandlePtr);
}
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, Silk.NET.Core.Native.ScHandle, int>)@this->LpVtbl[6])(@this, hServiceHandle);
return ret;
}

Expand Down Expand Up @@ -737,22 +713,6 @@ public static unsafe int QueryInterface(this ComPtr<ID3DShaderCacheInstaller> th
return @this->QueryInterface(ref riid.GetPinnableReference(), ref ppvObject);
}

/// <summary>To be documented.</summary>
public static int RegisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, Span<SC_HANDLE__> hServiceHandle)
{
var @this = thisVtbl.Handle;
// SpanOverloader
return @this->RegisterServiceDriverUpdateTrigger(ref hServiceHandle.GetPinnableReference());
}

/// <summary>To be documented.</summary>
public static int UnregisterServiceDriverUpdateTrigger(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, Span<SC_HANDLE__> hServiceHandle)
{
var @this = thisVtbl.Handle;
// SpanOverloader
return @this->UnregisterServiceDriverUpdateTrigger(ref hServiceHandle.GetPinnableReference());
}

/// <summary>To be documented.</summary>
public static unsafe int RegisterApplication<TI0>(this ComPtr<ID3DShaderCacheInstaller> thisVtbl, [Flow(Silk.NET.Core.Native.FlowDirection.In)] char* pExePath, [Flow(Silk.NET.Core.Native.FlowDirection.In)] D3DShaderCacheApplicationDesc* pApplicationDesc, out ComPtr<TI0> ppvApp) where TI0 : unmanaged, IComVtbl<TI0>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,44 +129,20 @@ public readonly int UnregisterDriverUpdateListener()
}

/// <summary>To be documented.</summary>
public readonly unsafe int RegisterServiceDriverUpdateTrigger(SC_HANDLE__* hServiceHandle)
public readonly int RegisterServiceDriverUpdateTrigger(Silk.NET.Core.Native.ScHandle hServiceHandle)
{
var @this = (ID3DShaderCacheInstaller*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
int ret = default;
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[5])(@this, hServiceHandle);
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, Silk.NET.Core.Native.ScHandle, int>)@this->LpVtbl[5])(@this, hServiceHandle);
return ret;
}

/// <summary>To be documented.</summary>
public readonly int RegisterServiceDriverUpdateTrigger(ref SC_HANDLE__ hServiceHandle)
public readonly int UnregisterServiceDriverUpdateTrigger(Silk.NET.Core.Native.ScHandle hServiceHandle)
{
var @this = (ID3DShaderCacheInstaller*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
int ret = default;
fixed (SC_HANDLE__* hServiceHandlePtr = &hServiceHandle)
{
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[5])(@this, hServiceHandlePtr);
}
return ret;
}

/// <summary>To be documented.</summary>
public readonly unsafe int UnregisterServiceDriverUpdateTrigger(SC_HANDLE__* hServiceHandle)
{
var @this = (ID3DShaderCacheInstaller*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
int ret = default;
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[6])(@this, hServiceHandle);
return ret;
}

/// <summary>To be documented.</summary>
public readonly int UnregisterServiceDriverUpdateTrigger(ref SC_HANDLE__ hServiceHandle)
{
var @this = (ID3DShaderCacheInstaller*) Unsafe.AsPointer(ref Unsafe.AsRef(in this));
int ret = default;
fixed (SC_HANDLE__* hServiceHandlePtr = &hServiceHandle)
{
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, SC_HANDLE__*, int>)@this->LpVtbl[6])(@this, hServiceHandlePtr);
}
ret = ((delegate* unmanaged[Stdcall]<ID3DShaderCacheInstaller*, Silk.NET.Core.Native.ScHandle, int>)@this->LpVtbl[6])(@this, hServiceHandle);
return ret;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Input/Silk.NET.Input.Glfw/Silk.NET.Input.Glfw.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>8.0</LangVersion>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/Input/Silk.NET.Input/Silk.NET.Input.csproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net6.0;net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net6.0;net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks>
<SilkMetapackage>true</SilkMetapackage>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Silk.NET.Input.Common\Silk.NET.Input.Common.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' != 'net8.0-android' And '$(TargetFramework)' != 'net8.0-ios' And '$(TargetFramework)' != 'net8.0-maccatalyst' And '$(TargetFramework)' != 'net6.0'">
<ItemGroup Condition="'$(TargetFramework)' != 'net7.0-android' And '$(TargetFramework)' != 'net7.0-ios' And '$(TargetFramework)' != 'net7.0-maccatalyst' And '$(TargetFramework)' != 'net6.0'">
<ProjectReference Include="..\Silk.NET.Input.Glfw\Silk.NET.Input.Glfw.csproj" />
<ProjectReference Include="..\Silk.NET.Input.Sdl\Silk.NET.Input.Sdl.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android' Or '$(TargetFramework)' == 'net8.0-ios' Or '$(TargetFramework)' == 'net8.0-maccatalyst'">
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0-android' Or '$(TargetFramework)' == 'net7.0-ios' Or '$(TargetFramework)' == 'net7.0-maccatalyst'">
<ProjectReference Include="..\Silk.NET.Input.Sdl\Silk.NET.Input.Sdl.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>9</LangVersion>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>9</LangVersion>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<LangVersion>10</LangVersion>
<LangVersion>preview</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>Silk.NET.Vulkan</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
Expand All @@ -17,9 +15,7 @@
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.1.2" />
<PackageReference Include="System.Numerics.Vectors" Version="4.6.1" />
</ItemGroup>

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

</Project>
2 changes: 1 addition & 1 deletion src/Lab/Experiments/VulkanTriangle/VulkanTriangle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>9</LangVersion>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Lab/Experiments/WebGPUTest/WebGPUTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
29 changes: 12 additions & 17 deletions src/Lab/Experiments/WebGPUTexturedQuad/WebGPUTexturedQuad.csproj
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>10</LangVersion>
<LangVersion>preview</LangVersion>
<AssemblyName>WebGPUTexturedQuad</AssemblyName>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\..\..\src\WebGPU\Silk.NET.WebGPU\Silk.NET.WebGPU.csproj" />
<ProjectReference Include="..\..\..\..\src\Windowing\Silk.NET.GLFW\Silk.NET.GLFW.csproj" />
<ProjectReference Include="..\..\..\..\src\Windowing\Silk.NET.Windowing.Common\Silk.NET.Windowing.Common.csproj" />
<ProjectReference Include="..\..\..\..\src\Windowing\Silk.NET.Windowing.Glfw\Silk.NET.Windowing.Glfw.csproj" />
<ProjectReference Include="..\..\..\..\src\WebGPU\Silk.NET.WebGPU\Silk.NET.WebGPU.csproj" />
<ProjectReference Include="..\..\..\..\src\Windowing\Silk.NET.GLFW\Silk.NET.GLFW.csproj" />
<ProjectReference Include="..\..\..\..\src\Windowing\Silk.NET.Windowing.Common\Silk.NET.Windowing.Common.csproj" />
<ProjectReference Include="..\..\..\..\src\Windowing\Silk.NET.Windowing.Glfw\Silk.NET.Windowing.Glfw.csproj" />
</ItemGroup>

<ItemGroup>
<None Include="silk.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="shader.wgsl">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="silk.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="shader.wgsl">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.11" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.11" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions src/Lab/Experiments/WebGPUTriangle/WebGPUTriangle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net5.0;netcoreapp3.1;netframework4.8</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<LangVersion>preview</LangVersion>
<DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0'">$(DefineConstants);MATHF</DefineConstants>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Maths/Silk.NET.Maths.Tests/Silk.NET.Maths.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<LangVersion>preview</LangVersion>
<IsPackable>false</IsPackable>

<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
12 changes: 6 additions & 6 deletions src/Maths/Silk.NET.Maths/Silk.NET.Maths.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net8.0-android</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOsPlatform('Linux'))">$(TargetFrameworks);net8.0-ios</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net7.0-android</TargetFrameworks>
<TargetFrameworks Condition="!$([MSBuild]::IsOsPlatform('Linux'))">$(TargetFrameworks);net7.0-ios</TargetFrameworks>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<WarningsAsErrors>true</WarningsAsErrors>
<LangVersion>9.0</LangVersion>
<LangVersion>preview</LangVersion>

<DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'net8.0-android' Or '$(TargetFramework)' == 'net8.0-ios'">$(DefineConstants);SSE</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'net8.0-android' Or '$(TargetFramework)' == 'net8.0-ios' Or '$(TargetFramework)' == 'netstandard2.1'">$(DefineConstants);BTEC_INTRINSICS;MATHF</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'net8.0-android' Or '$(TargetFramework)' == 'net8.0-ios'">$(DefineConstants);POH;AdvSIMD</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'net7.0-android' Or '$(TargetFramework)' == 'net7.0-ios'">$(DefineConstants);SSE</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1' Or '$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'net7.0-android' Or '$(TargetFramework)' == 'net7.0-ios' Or '$(TargetFramework)' == 'netstandard2.1'">$(DefineConstants);BTEC_INTRINSICS;MATHF</DefineConstants>
<DefineConstants Condition="'$(TargetFramework)' == 'net5.0' Or '$(TargetFramework)' == 'net7.0-android' Or '$(TargetFramework)' == 'net7.0-ios'">$(DefineConstants);POH;AdvSIMD</DefineConstants>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>10</LangVersion>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\Silk.NET.Direct3D11\Silk.NET.Direct3D11.csproj" />
<ProjectReference Include="..\..\Silk.NET.Direct3D12\Silk.NET.Direct3D12.csproj" />
</ItemGroup>

<Import Project="..\..\..\..\build\props\bindings.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Silk.NET.Direct3D11\Silk.NET.Direct3D11.csproj" />
<ProjectReference Include="..\..\Silk.NET.Direct3D12\Silk.NET.Direct3D12.csproj" />
</ItemGroup>
<Import Project="..\..\..\..\build\props\bindings.props" />
</Project>
Loading
Loading