Add [GeneratedComputeShaderDescriptor] to all shaders

このコミットが含まれているのは:
Sergio Pedri committed 2023-10-16 11:20:24 +02:00
1 親 ba20d0db76
コミット c3ed6ead40
63ファイル変更
+176 -2

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

+4
ファイルの表示
@@ -29,6 +29,7 @@ public partial class ThreadGroupSizeTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct DispatchXShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -41,6 +42,7 @@ public partial class ThreadGroupSizeTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct DispatchXYShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -53,6 +55,7 @@ public partial class ThreadGroupSizeTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XYZ)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct DispatchXYZShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -65,6 +68,7 @@ public partial class ThreadGroupSizeTests
[AutoConstructor]
[EmbeddedBytecode(11, 14, 6)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct DispatchCustomShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;