Add [GeneratedComputeShaderDescriptor] to all shaders
このコミットが含まれているのは:
1 親
ba20d0db76
コミット
c3ed6ead40
63ファイル変更
+176
-2
検索条件に一致するファイルはありません
@@ -82,6 +82,7 @@ internal static partial class BlasHelpers
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XYZ)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public readonly partial struct FullyConnectedForwardKernel : IComputeShader
|
||||
{
|
||||
private readonly int n;
|
||||
|
||||
@@ -110,6 +110,7 @@ public partial class DispatchingBenchmark : IDisposable
|
||||
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TestShader : IComputeShader
|
||||
{
|
||||
private readonly ReadWriteBuffer<float> buffer;
|
||||
|
||||
@@ -315,6 +315,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct VerticalConvolutionProcessor : IComputeShader
|
||||
{
|
||||
private readonly IReadWriteNormalizedTexture2D<float4> source;
|
||||
@@ -353,6 +354,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct HorizontalConvolutionAndAccumulatePartialsProcessor : IComputeShader
|
||||
{
|
||||
private readonly float z;
|
||||
@@ -393,6 +395,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct GammaHighlightProcessor : IComputeShader
|
||||
{
|
||||
private readonly IReadWriteNormalizedTexture2D<float4> source;
|
||||
@@ -418,6 +421,7 @@ public sealed partial class HlslBokehBlurProcessor
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct InverseGammaHighlightProcessor : IComputeShader
|
||||
{
|
||||
private readonly ReadWriteTexture2D<float4> source;
|
||||
|
||||
@@ -119,6 +119,7 @@ public sealed partial class HlslGaussianBlurProcessor
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct VerticalConvolutionProcessor : IComputeShader
|
||||
{
|
||||
private readonly IReadWriteNormalizedTexture2D<float4> source;
|
||||
@@ -152,6 +153,7 @@ public sealed partial class HlslGaussianBlurProcessor
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct HorizontalConvolutionProcessor : IComputeShader
|
||||
{
|
||||
private readonly IReadWriteNormalizedTexture2D<float4> source;
|
||||
|
||||
@@ -5,6 +5,7 @@ namespace ComputeSharp.Sample.FSharp.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
public readonly partial struct MultiplyByTwo : IComputeShader
|
||||
{
|
||||
private readonly ReadWriteBuffer<float> buffer;
|
||||
|
||||
@@ -25,6 +25,7 @@ Formatting.PrintMatrix(array, 10, 10, "AFTER");
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.X)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct MultiplyByTwo : IComputeShader
|
||||
{
|
||||
private readonly ReadWriteBuffer<float> buffer;
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ColorfulInfinity : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ContouredLayers : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ExtrudedTruchetPattern : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct FourColorGradient : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct FractalTiling : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct HelloWorld : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct MengerJourney : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct Octagrams : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct ProteanClouds : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct PyramidPattern : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TerracedHills : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TriangleGridContouring : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ namespace ComputeSharp.SwapChain.Shaders;
|
||||
/// </summary>
|
||||
[AutoConstructor]
|
||||
[EmbeddedBytecode(DispatchAxis.XY)]
|
||||
[GeneratedComputeShaderDescriptor]
|
||||
internal readonly partial struct TwoTiledTruchet : IComputeShader<float4>
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする