Run dotnet format whitespace
このコミットが含まれているのは:
1 親
228d7d8b7a
コミット
e94636b80c
896ファイル変更
+1511
-1511
検索条件に一致するファイルはありません
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -8,4 +8,4 @@ namespace ComputeSharp;
|
||||
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
|
||||
public sealed class AutoConstructorAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace ComputeSharp;
|
||||
namespace ComputeSharp;
|
||||
|
||||
/// <summary>
|
||||
/// Indicates the behavior of fields annotated with <see cref="AutoConstructorBehaviorAttribute"/>.
|
||||
@@ -9,4 +9,4 @@ internal enum AutoConstructorBehavior
|
||||
/// Causes <see cref="AutoConstructorAttribute"/> to ignore fields and set their values to <see langword="default"/>.
|
||||
/// </summary>
|
||||
IgnoreAndSetToDefault
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace ComputeSharp.Exceptions;
|
||||
|
||||
@@ -15,4 +15,4 @@ public sealed class InvalidExecutionContextException : InvalidOperationException
|
||||
: base($"The API {name} can only be used from within an HLSL shader.")
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Buffers;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace ComputeSharp.Core.Intrinsics.Attributes;
|
||||
@@ -28,4 +28,4 @@ internal sealed class HlslIntrinsicNameAttribute : Attribute
|
||||
/// Gets whether or not matching parameters is also required to extract the name of this intrinsic.
|
||||
/// </summary>
|
||||
public bool RequiresParametersMatching { get; init; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using ComputeSharp.Core.Intrinsics.Attributes;
|
||||
using ComputeSharp.Core.Intrinsics.Attributes;
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp;
|
||||
@@ -88,4 +88,4 @@ public static partial class Hlsl
|
||||
/// </remarks>
|
||||
[HlslIntrinsicName("lit")]
|
||||
public static float Lit(float nDotL, float nDotH, float m) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace ComputeSharp;
|
||||
@@ -114,4 +114,4 @@ public readonly struct Bool
|
||||
/// </summary>
|
||||
/// <param name="x">The input <see cref="bool"/> value.</param>
|
||||
public static implicit operator Bool(bool x) => new(x);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -23,4 +23,4 @@ public partial struct Bool2
|
||||
/// </summary>
|
||||
/// <param name="x">The value to use for the components of the new <see cref="Bool2"/> instance.</param>
|
||||
public static implicit operator Bool2(bool x) => new(x, x);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -49,4 +49,4 @@ public partial struct Bool3
|
||||
/// </summary>
|
||||
/// <param name="x">The value to use for the components of the new <see cref="Bool3"/> instance.</param>
|
||||
public static implicit operator Bool3(bool x) => new(x, x, x);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -94,4 +94,4 @@ public partial struct Bool4
|
||||
/// </summary>
|
||||
/// <param name="x">The value to use for the components of the new <see cref="Bool4"/> instance.</param>
|
||||
public static implicit operator Bool4(bool x) => new(x, x, x, x);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -44,4 +44,4 @@ public partial struct Double2
|
||||
/// <param name="xy">The input <see cref="Double2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Float2(Double2 xy) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -70,4 +70,4 @@ public partial struct Double3
|
||||
/// <param name="xyz">The input <see cref="Double3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Float3(Double3 xyz) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -115,4 +115,4 @@ public partial struct Double4
|
||||
/// <param name="xyzw">The input <see cref="Double4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator Float4(Double4 xyzw) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Numerics;
|
||||
using System.Numerics;
|
||||
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
@@ -58,4 +58,4 @@ public partial struct Float2
|
||||
/// <param name="xy">The input <see cref="Float2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator UInt2(Float2 xy) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Numerics;
|
||||
using System.Numerics;
|
||||
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
@@ -84,4 +84,4 @@ public partial struct Float3
|
||||
/// <param name="xyz">The input <see cref="Float3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator UInt3(Float3 xyz) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
using System.Numerics;
|
||||
using System.Numerics;
|
||||
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
@@ -129,4 +129,4 @@ public partial struct Float4
|
||||
/// <param name="xyzw">The input <see cref="Float4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static explicit operator UInt4(Float4 xyzw) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -44,4 +44,4 @@ public partial struct Int2
|
||||
/// <param name="xy">The input <see cref="Int2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double2(Int2 xy) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -70,4 +70,4 @@ public partial struct Int3
|
||||
/// <param name="xyz">The input <see cref="Int3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double3(Int3 xyz) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -115,4 +115,4 @@ public partial struct Int4
|
||||
/// <param name="xyzw">The input <see cref="Int4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double4(Int4 xyzw) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace ComputeSharp;
|
||||
namespace ComputeSharp;
|
||||
|
||||
/// <summary>
|
||||
/// A type indicating a base-1 index into a matrix type. This can be used to extract references to swizzled vectors within a given matrix value.
|
||||
@@ -93,4 +93,4 @@ public enum MatrixIndex
|
||||
/// The fourth item in the fourth row.
|
||||
/// </summary>
|
||||
M44
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -44,4 +44,4 @@ public partial struct UInt2
|
||||
/// <param name="xy">The input <see cref="UInt2"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double2(UInt2 xy) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -70,4 +70,4 @@ public partial struct UInt3
|
||||
/// <param name="xyz">The input <see cref="UInt3"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double3(UInt3 xyz) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#pragma warning disable CS0660, CS0661
|
||||
#pragma warning disable CS0660, CS0661
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
@@ -115,4 +115,4 @@ public partial struct UInt4
|
||||
/// <param name="xyzw">The input <see cref="UInt4"/> value to cast.</param>
|
||||
/// <remarks>This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior.</remarks>
|
||||
public static implicit operator Double4(UInt4 xyzw) => default;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
namespace System.Diagnostics.CodeAnalysis;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする