Add [GeneratedComputeShaderDescriptor] to all shaders

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

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

+4
ファイルの表示
@@ -32,6 +32,7 @@ public partial class ShaderMembersTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct StaticConstantsShader : IComputeShader
{
public readonly ReadWriteBuffer<float> buffer;
@@ -72,6 +73,7 @@ public partial class ShaderMembersTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct GlobalVariableShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -107,6 +109,7 @@ public partial class ShaderMembersTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct BoolInstanceFieldsShader : IComputeShader
{
public readonly ReadWriteBuffer<int> buffer;
@@ -171,6 +174,7 @@ public partial class ShaderMembersTests
[AutoConstructor]
[EmbeddedBytecode(DispatchAxis.X)]
[GeneratedComputeShaderDescriptor]
internal readonly partial struct BoolInstanceFieldInCustomStructShader : IComputeShader
{
public readonly ReadWriteBuffer<Int2AndBoolField> buffer;