diff --git a/global.json b/global.json index 2ebec1b98..a14813522 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.202", + "version": "9.0.301", "rollForward": "latestFeature", "allowPrerelease": false } diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs index 31f394a14..4d2aa9034 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs @@ -18,7 +18,9 @@ partial class DeviceHelper #if DEBUG DXGI.DXGI_CREATE_FACTORY_DEBUG; #else +#pragma warning disable IDE0004 // See: https://github.com/dotnet/roslyn/issues/79180 Configuration.IsDebugOutputEnabled ? (uint)DXGI.DXGI_CREATE_FACTORY_DEBUG : 0; +#pragma warning restore IDE0004 #endif /// diff --git a/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs b/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs index 9b8727e58..957774a48 100644 --- a/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs +++ b/tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs @@ -481,7 +481,7 @@ internal sealed partial class VerticalConvolution /// /// The for the shader. /// - public static D2D1DrawTransformMapper Transform { get; } = D2D1DrawTransformMapper.Inflate(static (in Shader shader) => (0, shader.kernelLength, 0, shader.kernelLength)); + public static D2D1DrawTransformMapper Transform { get; } = D2D1DrawTransformMapper.Inflate(static (in shader) => (0, shader.kernelLength, 0, shader.kernelLength)); /// /// Kernel for the vertical convolution pass for real or imaginary components. @@ -528,7 +528,7 @@ internal sealed partial class HorizontalConvolutionAndAccumulatePartials /// /// The for the shader. /// - public static D2D1DrawTransformMapper Transform { get; } = D2D1DrawTransformMapper.Inflate(static (in Shader shader) => (shader.kernelLength, 0, shader.kernelLength, 0)); + public static D2D1DrawTransformMapper Transform { get; } = D2D1DrawTransformMapper.Inflate(static (in shader) => (shader.kernelLength, 0, shader.kernelLength, 0)); /// /// Kernel for the horizontal convolution pass.