diff --git a/src/ComputeSharp.Core/Primitives/Int/Int3.cs b/src/ComputeSharp.Core/Primitives/Int/Int3.cs index 52d2f12b..d8011590 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int3.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int3.cs @@ -1,5 +1,4 @@ using System.Diagnostics; -using System.Runtime.InteropServices; using ComputeSharp.Exceptions; namespace ComputeSharp @@ -8,7 +7,6 @@ namespace ComputeSharp /// A that maps the HLSL type. /// [DebuggerDisplay("({X}, {Y}, {Z})")] - [StructLayout(LayoutKind.Sequential, Size = sizeof(int) * 3)] public partial struct Int3 { /// diff --git a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj index b968ac10..34a203b9 100644 --- a/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj +++ b/src/ComputeSharp.SourceGenerators/ComputeSharp.SourceGenerators.csproj @@ -32,18 +32,33 @@ + + + + + + + + + + + + + + +