Resolve remaining build warnings

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 b9a133b74c
コミット 5c4479a0e1
26ファイル変更
+106 -103

検索条件に一致するファイルはありません

+12 -12
ファイルの表示
@@ -314,12 +314,12 @@ public sealed partial class HlslBokehBlurProcessor
/// Kernel for the vertical convolution pass.
/// </summary>
[AutoConstructor]
internal partial struct VerticalConvolutionProcessor : IComputeShader
internal readonly partial struct VerticalConvolutionProcessor : IComputeShader
{
private IReadWriteNormalizedTexture2D<float4> source;
private ReadWriteTexture2D<float4> reals;
private ReadWriteTexture2D<float4> imaginaries;
private ReadOnlyBuffer<Complex64> kernel;
private readonly IReadWriteNormalizedTexture2D<float4> source;
private readonly ReadWriteTexture2D<float4> reals;
private readonly ReadWriteTexture2D<float4> imaginaries;
private readonly ReadOnlyBuffer<Complex64> kernel;
/// <inheritdoc/>
public void Execute()
@@ -351,15 +351,15 @@ public sealed partial class HlslBokehBlurProcessor
/// Kernel for the horizontal convolution pass.
/// </summary>
[AutoConstructor]
internal partial struct HorizontalConvolutionAndAccumulatePartialsProcessor : IComputeShader
internal readonly partial struct HorizontalConvolutionAndAccumulatePartialsProcessor : IComputeShader
{
private float z;
private float w;
private readonly float z;
private readonly float w;
private ReadWriteTexture2D<float4> reals;
private ReadWriteTexture2D<float4> imaginaries;
private ReadWriteTexture2D<float4> target;
private ReadOnlyBuffer<Complex64> kernel;
private readonly ReadWriteTexture2D<float4> reals;
private readonly ReadWriteTexture2D<float4> imaginaries;
private readonly ReadWriteTexture2D<float4> target;
private readonly ReadOnlyBuffer<Complex64> kernel;
/// <inheritdoc/>
public void Execute()
+1
ファイルの表示
@@ -19,6 +19,7 @@
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<AppxBundlePlatforms>x64;ARM64</AppxBundlePlatforms>
<NoWarn>$(NoWarn);IDE0240</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|ARM64'">
<DebugSymbols>true</DebugSymbols>
+1 -1
ファイルの表示
@@ -3,7 +3,7 @@ using System.Threading;
using ComputeSharp.SwapChain.WinUI.Views;
using Microsoft.UI.Xaml;
#pragma warning disable CA1001
#pragma warning disable CA1001, IDE0052
namespace ComputeSharp.SwapChain.WinUI;
+2 -1
ファイルの表示
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
@@ -11,6 +11,7 @@
<UseWinUI>true</UseWinUI>
<EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
<DefineConstants>$(DefineConstants);SAMPLE_APP</DefineConstants>
<NoWarn>$(NoWarn);IDE0240</NoWarn>
</PropertyGroup>
<ItemGroup>
+1 -1
ファイルの表示
@@ -230,7 +230,7 @@ internal static unsafe class Win32ApplicationRunner
// Size update
case WM.WM_SIZE:
{
if (!isResizing && wParam != (byte)Windows.SIZE_MINIMIZED)
if (!isResizing && wParam != Windows.SIZE_MINIMIZED)
{
application.OnResize();
}