Rename [EmbeddedBytecode] to [ThreadGroupSize]

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-21 18:02:51 +01:00
1 親 2a7ddf0016
コミット cecc16a52e
69ファイル変更
+235 -251

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

+1 -1
ファイルの表示
@@ -81,7 +81,7 @@ internal static partial class BlasHelpers
/// Kernel for <see cref="FullyConnectedForwardGpu"/>.
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XYZ)]
[ThreadGroupSize(DispatchAxis.XYZ)]
[GeneratedComputeShaderDescriptor]
public readonly partial struct FullyConnectedForwardKernel : IComputeShader
{
+1 -1
ファイルの表示
@@ -109,7 +109,7 @@ public partial class DispatchingBenchmark : IDisposable
}
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[ThreadGroupSize(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct TestShader : IComputeShader
{
@@ -308,7 +308,7 @@ public sealed partial class HlslBokehBlurProcessor
/// Kernel for the vertical convolution pass.
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.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]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.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]
[EmbeddedBytecode(DispatchAxis.X)]
[ThreadGroupSize(DispatchAxis.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]
[EmbeddedBytecode(DispatchAxis.X)]
[ThreadGroupSize(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct InverseGammaHighlightProcessor : IComputeShader
{
@@ -118,7 +118,7 @@ public sealed partial class HlslGaussianBlurProcessor
/// Kernel for the vertical convolution pass.
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.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]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct HorizontalConvolutionProcessor : IComputeShader
{
+1 -1
ファイルの表示
@@ -4,7 +4,7 @@ namespace ComputeSharp.Sample.FSharp.Shaders;
/// A sample shader thaat just multiplies items in a buffer by two.
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[ThreadGroupSize(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
public readonly partial struct MultiplyByTwo : IComputeShader
{
+1 -1
ファイルの表示
@@ -24,7 +24,7 @@ Formatting.PrintMatrix(array, 10, 10, "AFTER");
/// The sample kernel that multiples all items by two.
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[ThreadGroupSize(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct MultiplyByTwo : IComputeShader
{
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct ColorfulInfinity : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by Shane.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct ContouredLayers : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by Shane.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct ExtrudedTruchetPattern : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct FourColorGradient : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct FractalTiling : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -5,7 +5,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// Ported from <see href="https://www.shadertoy.com/new"/>.
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct HelloWorld : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by Syntopia.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct MengerJourney : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by whisky_shusuky.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct Octagrams : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct ProteanClouds : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by Shane.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct PyramidPattern : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by Shane.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct TerracedHills : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by Shane.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct TriangleGridContouring : IComputeShader<float4>
{
+1 -1
ファイルの表示
@@ -6,7 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
/// <para>Created by Shane.</para>
/// </summary>
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[ThreadGroupSize(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct TwoTiledTruchet : IComputeShader<float4>
{