Run dotnet format whitespace

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 228d7d8b7a
コミット e94636b80c
896ファイル変更
+1511 -1511

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

+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A shader creating an abstract and colorful animation.
@@ -68,4 +68,4 @@ internal readonly partial struct ColorfulInfinity : IPixelShader<float4>
return new(col.X, col.Y, col.Z, 1.0f);
}
}
}
+4 -4
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// Constructing some concise contoured layers, then applying various edge and shading effects to produce some faux depth.
@@ -68,7 +68,7 @@ internal readonly partial struct ContouredLayers : IPixelShader<float4>
private float Noise2D3G(float2 p)
{
float2 i = Hlsl.Floor(p);
p -= i;
float4 v = default;
@@ -112,7 +112,7 @@ internal readonly partial struct ContouredLayers : IPixelShader<float4>
private float3 GetColor(float2 p, float sh, float fi)
{
float3 tx = texture.Sample(p + Hash21(new float2(sh, fi))).XYZ;
tx *= tx;
float3 col;
@@ -196,4 +196,4 @@ internal readonly partial struct ContouredLayers : IPixelShader<float4>
return new float4(Hlsl.Sqrt(Hlsl.Max(col, 0.0f)), 1);
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A basic extruded square grid-based blobby Truchet pattern.
@@ -295,4 +295,4 @@ internal readonly partial struct ExtrudedTruchetPattern : IPixelShader<float4>
return c;
}
}
}
+4 -4
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A shader which interpolates four different colors into a rotating gradient pattern.
@@ -65,8 +65,8 @@ internal readonly partial struct FourColorGradient : IPixelShader<float4>
u.X),
Hlsl.Lerp(
Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(0.0f, 1.0f)), f - new float2(0.0f, 1.0f)),
Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(1.0f, 1.0f)), f - new float2(1.0f, 1.0f)),
u.X),
Hlsl.Dot(-1.0f + 2.0f * Hash(i + new float2(1.0f, 1.0f)), f - new float2(1.0f, 1.0f)),
u.X),
u.Y);
return 0.5f + 0.5f * n;
@@ -105,4 +105,4 @@ internal readonly partial struct FourColorGradient : IPixelShader<float4>
return new(col, 1.0f);
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A shader creating a fractal tiling animation.
@@ -45,4 +45,4 @@ internal readonly partial struct FractalTiling : IPixelShader<float4>
return color;
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A simple shader to get started with based on shadertoy new shader template.
@@ -27,4 +27,4 @@ internal readonly partial struct HelloWorld : IPixelShader<float4>
// Output to screen
return new(col, 1f);
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A shader creating a flythrough in a Menger system.
@@ -169,4 +169,4 @@ internal readonly partial struct MengerJourney : IPixelShader<float4>
return RayMarch(camPos, rayDir, ThreadIds.XY);
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A shader creating an octagram animation, inspired by arabesque.
@@ -123,4 +123,4 @@ internal readonly partial struct Octagrams : IPixelShader<float4>
return color;
}
}
}
+3 -3
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// Fully procedural 3D animated volume with three evaluations per step (for shading).
@@ -23,7 +23,7 @@ internal readonly partial struct ProteanClouds : IPixelShader<float4>
{
float c = Hlsl.Cos(a);
float s = Hlsl.Sin(a);
return new(c, s, -s, c);
}
@@ -168,4 +168,4 @@ internal readonly partial struct ProteanClouds : IPixelShader<float4>
return new(col, 1.0f);
}
}
}
+3 -3
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// An offset grid of square-based pyramids whose tips have been offset according to an underlying directional noise field.
@@ -44,7 +44,7 @@ internal readonly partial struct PyramidPattern : IPixelShader<float4>
private static float N2D3G(float2 p)
{
float2 i = Hlsl.Floor(p);
p -= i;
float4 v = default;
@@ -175,4 +175,4 @@ internal readonly partial struct PyramidPattern : IPixelShader<float4>
return new(Hlsl.Sqrt(Hlsl.Max(col, 0.0f)), 1);
}
}
}
+5 -5
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// Utilizing a 2D simplex grid to construct the isolines of a noise function.
@@ -45,7 +45,7 @@ internal readonly partial struct TriangleGridContouring : IPixelShader<float4>
private float N2D3G(float2 p)
{
float2 i = Hlsl.Floor(p);
p -= i;
float4 v = default;
@@ -130,7 +130,7 @@ internal readonly partial struct TriangleGridContouring : IPixelShader<float4>
if (iTh >= 4 && iTh <= 6)
{
float2 tmp = p0;
p0 = p1;
p1 = tmp;
}
@@ -138,7 +138,7 @@ internal readonly partial struct TriangleGridContouring : IPixelShader<float4>
if (i == 0.0f)
{
float2 tmp = p0;
p0 = p1;
p1 = tmp;
}
@@ -277,4 +277,4 @@ internal readonly partial struct TriangleGridContouring : IPixelShader<float4>
return new(Hlsl.Sqrt(Hlsl.Max(col, 0.0f)), 1);
}
}
}
+2 -2
ファイルの表示
@@ -1,4 +1,4 @@
namespace ComputeSharp.SwapChain.Shaders;
namespace ComputeSharp.SwapChain.Shaders;
/// <summary>
/// A shader creating an animated two-tiles Truchet arrangement.
@@ -143,4 +143,4 @@ internal readonly partial struct TwoTiledTruchet : IPixelShader<float4>
return color;
}
}
}