Rename DispatchAxis to DefaultThreadGroupSizes
このコミットが含まれているのは:
1 親
cecc16a52e
コミット
be0f0cf593
66ファイル変更
+216
-213
検索条件に一致するファイルはありません
@@ -81,7 +81,7 @@ internal static partial class BlasHelpers
|
||||
/// Kernel for <see cref="FullyConnectedForwardGpu"/>.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XYZ)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XYZ)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public readonly partial struct FullyConnectedForwardKernel : IComputeShader
|
||||
{
|
||||
|
||||
@@ -109,7 +109,7 @@ public partial class DispatchingBenchmark : IDisposable
|
||||
}
|
||||
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.X)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TestShader : IComputeShader
|
||||
{
|
||||
|
||||
+4
-4
@@ -308,7 +308,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// Kernel for the vertical convolution pass.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct VerticalConvolutionProcessor : IComputeShader
|
||||
{
|
||||
@@ -347,7 +347,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// Kernel for the horizontal convolution pass.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct HorizontalConvolutionAndAccumulatePartialsProcessor : IComputeShader
|
||||
{
|
||||
@@ -388,7 +388,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// Kernel for the gamma highlight pass.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.X)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct GammaHighlightProcessor : IComputeShader
|
||||
{
|
||||
@@ -414,7 +414,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// Kernel for the inverse gamma highlight pass.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.X)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct InverseGammaHighlightProcessor : IComputeShader
|
||||
{
|
||||
|
||||
+2
-2
@@ -118,7 +118,7 @@ public sealed partial class HlslGaussianBlurProcessor
|
||||
/// Kernel for the vertical convolution pass.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct VerticalConvolutionProcessor : IComputeShader
|
||||
{
|
||||
@@ -152,7 +152,7 @@ public sealed partial class HlslGaussianBlurProcessor
|
||||
/// Kernel for the horizontal convolution pass.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct HorizontalConvolutionProcessor : IComputeShader
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace ComputeSharp.Sample.FSharp.Shaders;
|
||||
/// A sample shader thaat just multiplies items in a buffer by two.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.X)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public readonly partial struct MultiplyByTwo : IComputeShader
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@ Formatting.PrintMatrix(array, 10, 10, "AFTER");
|
||||
/// The sample kernel that multiples all items by two.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.X)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct MultiplyByTwo : IComputeShader
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ColorfulInfinity : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by Shane.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ContouredLayers : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by Shane.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ExtrudedTruchetPattern : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct FourColorGradient : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct FractalTiling : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// Ported from <see href="https://www.shadertoy.com/new"/>.
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct HelloWorld : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by Syntopia.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct MengerJourney : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by whisky_shusuky.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct Octagrams : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ProteanClouds : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by Shane.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct PyramidPattern : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by Shane.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TerracedHills : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by Shane.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TriangleGridContouring : IComputeShader<float4>
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// <para>Created by Shane.</para>
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[ThreadGroupSize(DispatchAxis.XY)]
|
||||
[ThreadGroupSize(DefaultThreadGroupSizes.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TwoTiledTruchet : IComputeShader<float4>
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする