Add [GeneratedComputeShaderDescriptor] to all shaders

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

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

+2
ファイルの表示
@@ -144,6 +144,7 @@ public partial class DeviceDisposalTests
}
[EmbeddedBytecode(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
[AutoConstructor]
private readonly partial struct InitializeShader : IComputeShader
{
@@ -177,6 +178,7 @@ public partial class DeviceDisposalTests
}
[EmbeddedBytecode(DispatchAxis.XY)]
[GeneratedComputeShaderDescriptor]
private partial struct HelloWorldShader : IComputeShader<float4>
{
public float4 Execute()