diff --git a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj index 7c23d229..4c5b22ce 100644 --- a/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj +++ b/src/ComputeSharp.Dynamic/ComputeSharp.Dynamic.csproj @@ -4,6 +4,7 @@ bin\Release ComputeSharp.Dynamic.xml AnyCPU;x64;ARM64 + $(NoWarn);CA1416 diff --git a/src/ComputeSharp/ComputeSharp.csproj b/src/ComputeSharp/ComputeSharp.csproj index 24ba3aef..36bb73d1 100644 --- a/src/ComputeSharp/ComputeSharp.csproj +++ b/src/ComputeSharp/ComputeSharp.csproj @@ -3,6 +3,7 @@ netstandard2.0;net6.0 bin\Release ComputeSharp.xml + $(NoWarn);CA1416 @@ -21,7 +22,7 @@ - + diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs index 73abf797..8246cc6f 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -330,7 +330,7 @@ internal static unsafe class ID3D12DeviceExtensions // an issue, as the initial state doesn't matter anyway and the readback buffer // is still correctly transitioned when needed, so it can be safely ignored. #if NET6_0_OR_GREATER - // Temporary constant due to the value not being available in the D3D12MA TerraFX version + // This value is defined in the 22000 SDK, which is not currently referenced by D3D12MA (D3D12_MESSAGE_ID)1328 #else D3D12_MESSAGE_ID_CREATERESOURCE_STATE_IGNORED diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.STGM.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.STGM.cs deleted file mode 100644 index 74c6c521..00000000 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.STGM.cs +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. - -// Ported from um/coml2api.h in the Windows SDK for Windows 10.0.20348.0 -// Original source is Copyright © Microsoft. All rights reserved. - -#if NET6_0_OR_GREATER - -namespace TerraFX.Interop.Windows; - -// TODO: remove this once TerraFX.Interop.Windows is updated -internal static partial class STGM -{ - public const int STGM_READ = 0x00000000; - - public const int STGM_WRITE = 0x00000001; - - public const int STGM_READWRITE = 0x00000002; -} - -#endif \ No newline at end of file diff --git a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj index 0b020108..6b746778 100644 --- a/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj +++ b/tests/ComputeSharp.Tests.DeviceLost/ComputeSharp.Tests.DeviceLost.csproj @@ -4,6 +4,7 @@ net472;netcoreapp3.1;net6.0 false AnyCPU;x64;ARM64 + $(NoWarn);CA1416 diff --git a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj index f7707509..89e85fdd 100644 --- a/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj +++ b/tests/ComputeSharp.Tests.Internals/ComputeSharp.Tests.Internals.csproj @@ -4,6 +4,7 @@ net472;netcoreapp3.1;net6.0 false AnyCPU;x64;ARM64 + $(NoWarn);CA1416 diff --git a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj index 4c7117bd..afa1f9b8 100644 --- a/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj +++ b/tests/ComputeSharp.Tests/ComputeSharp.Tests.csproj @@ -4,6 +4,7 @@ net472;netcoreapp3.1;net6.0 false AnyCPU;x64;ARM64 + $(NoWarn);CA1416