Add [GeneratedComputeShaderDescriptor] to all shaders

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

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

+9
ファイルの表示
@@ -58,6 +58,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XYZ)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct ThreadIdsShader : IComputeShader
{
public readonly ReadWriteTexture3D<int4> buffer;
@@ -113,6 +114,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XYZ)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct ThreadIdsNormalizedShader : IComputeShader
{
public readonly ReadWriteTexture3D<float4> buffer;
@@ -155,6 +157,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XYZ)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct GroupIdsShader : IComputeShader
{
public readonly ReadWriteTexture3D<int4> buffer;
@@ -186,6 +189,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(4, 15, 7)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct GroupSizeShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -219,6 +223,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(32, 1, 1)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct GridIdsShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -251,6 +256,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.XYZ)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct DispatchSizeShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -291,6 +297,7 @@ public partial class DispatchTests
}
[EmbeddedBytecode(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct DispatchPixelShader : IComputeShader<float4>
{
public float4 Execute()
@@ -321,6 +328,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct FixedGroupSharedPixelShader : IComputeShader
{
private readonly ReadWriteBuffer<int> buffer;
@@ -365,6 +373,7 @@ public partial class DispatchTests
[AutoConstructor]
[EmbeddedBytecode(32, 1, 1)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct DynamicGroupSharedPixelShader : IComputeShader
{
private readonly ReadWriteBuffer<int> buffer;