Skip to content

Commit 6f72904

Browse files
authored
Merge pull request #910 from Sergio0694/dev/update-net-sdk
Update .NET SDK
2 parents 9a7c9e0 + a6a697a commit 6f72904

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.202",
3+
"version": "9.0.301",
44
"rollForward": "latestFeature",
55
"allowPrerelease": false
66
}

src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ partial class DeviceHelper
1818
#if DEBUG
1919
DXGI.DXGI_CREATE_FACTORY_DEBUG;
2020
#else
21+
#pragma warning disable IDE0004 // See: https://github.com/dotnet/roslyn/issues/79180
2122
Configuration.IsDebugOutputEnabled ? (uint)DXGI.DXGI_CREATE_FACTORY_DEBUG : 0;
23+
#pragma warning restore IDE0004
2224
#endif
2325

2426
/// <summary>

tests/ComputeSharp.D2D1.Tests/Effects/BokehBlurEffect.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ internal sealed partial class VerticalConvolution
481481
/// <summary>
482482
/// The <see cref="D2D1DrawTransformMapper{T}"/> for the shader.
483483
/// </summary>
484-
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in Shader shader) => (0, shader.kernelLength, 0, shader.kernelLength));
484+
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in shader) => (0, shader.kernelLength, 0, shader.kernelLength));
485485

486486
/// <summary>
487487
/// Kernel for the vertical convolution pass for real or imaginary components.
@@ -528,7 +528,7 @@ internal sealed partial class HorizontalConvolutionAndAccumulatePartials
528528
/// <summary>
529529
/// The <see cref="D2D1DrawTransformMapper{T}"/> for the shader.
530530
/// </summary>
531-
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in Shader shader) => (shader.kernelLength, 0, shader.kernelLength, 0));
531+
public static D2D1DrawTransformMapper<Shader> Transform { get; } = D2D1DrawTransformMapper<Shader>.Inflate(static (in shader) => (shader.kernelLength, 0, shader.kernelLength, 0));
532532

533533
/// <summary>
534534
/// Kernel for the horizontal convolution pass.

0 commit comments

Comments
 (0)