Run dotnet format whitespace
このコミットが含まれているのは:
1 親
228d7d8b7a
コミット
e94636b80c
896ファイル変更
+1511
-1511
検索条件に一致するファイルはありません
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -12,4 +12,4 @@ namespace ComputeSharp;
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
|
||||
public sealed class ShaderMethodAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ComputeSharp.__Internals;
|
||||
@@ -90,4 +90,4 @@ partial class ShaderMethodSourceAttribute : Attribute
|
||||
{
|
||||
builder.Append(this.invokeMethod.Replace(InvokeMethodIdentifier, name));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
@@ -108,4 +108,4 @@ public sealed partial class ShaderMethodSourceAttribute : Attribute
|
||||
{
|
||||
throw new ArgumentException($"The captured delegate \"{name}\" was wrapping a method without the [ShaderMethod] attribute applied to it.", name);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace ComputeSharp.Exceptions;
|
||||
@@ -31,8 +31,8 @@ public sealed class DxcCompilationException : Exception
|
||||
builder.AppendLine(error.Trim());
|
||||
builder.AppendLine();
|
||||
builder.AppendLine("Make sure to only be using supported features by checking the README file in the ComputeSharp repository: https://github.com/Sergio0694/ComputeSharp.");
|
||||
builder.Append("If you're sure that your C# shader code is valid, please open an issue an include a working repro and this error message.");
|
||||
builder.Append("If you're sure that your C# shader code is valid, please open an issue an include a working repro and this error message.");
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using ComputeSharp.__Internals;
|
||||
using ComputeSharp.Core.Extensions;
|
||||
@@ -159,4 +159,4 @@ public static class ReflectionServices
|
||||
InterfaceSlotCount: d3D12ShaderReflection.Get()->GetNumInterfaceSlots(),
|
||||
RequiresDoublePrecisionSupport: (d3D12ShaderReflection.Get()->GetRequiresFlags() & (D3D.D3D_SHADER_REQUIRES_DOUBLES | D3D.D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS)) != 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace ComputeSharp.Interop;
|
||||
namespace ComputeSharp.Interop;
|
||||
|
||||
/// <summary>
|
||||
/// A model representing reflection info for a given compute shader.
|
||||
@@ -53,4 +53,4 @@ public sealed record ShaderInfo(
|
||||
uint MovcInstructionCount,
|
||||
uint MovInstructionCount,
|
||||
uint InterfaceSlotCount,
|
||||
bool RequiresDoublePrecisionSupport);
|
||||
bool RequiresDoublePrecisionSupport);
|
||||
@@ -1,4 +1,4 @@
|
||||
#if NET6_0_OR_GREATER
|
||||
#if NET6_0_OR_GREATER
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
@@ -70,4 +70,4 @@ unsafe partial class ShaderCompiler
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text.RegularExpressions;
|
||||
using ComputeSharp.Core.Extensions;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
using TerraFX.Interop.DirectX;
|
||||
@@ -35,4 +35,4 @@ public static class ShaderCompiler
|
||||
|
||||
loader.LoadDynamicBytecode((IntPtr)dxcBlobBytecode.Get());
|
||||
}
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする