diff --git a/src/ComputeSharp.Graphics/Buffers/Abstract/Buffer{T}.cs b/src/ComputeSharp.Graphics/Buffers/Abstract/Buffer{T}.cs index ea0c3099..5fd050b4 100644 --- a/src/ComputeSharp.Graphics/Buffers/Abstract/Buffer{T}.cs +++ b/src/ComputeSharp.Graphics/Buffers/Abstract/Buffer{T}.cs @@ -1,10 +1,10 @@ using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using ComputeSharp.Core.Interop; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Buffers.Enums; using ComputeSharp.Graphics.Extensions; +using ComputeSharp.Graphics.Interop; using Microsoft.Toolkit.Diagnostics; using TerraFX.Interop; using FX = TerraFX.Interop.Windows; diff --git a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs index b9ead6eb..ee3323b0 100644 --- a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs +++ b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture2D{T}.cs @@ -1,11 +1,11 @@ using System.Runtime.CompilerServices; -using ComputeSharp.Core.Interop; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Buffers.Enums; using ComputeSharp.Graphics.Buffers.Interop; using ComputeSharp.Graphics.Commands; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; +using ComputeSharp.Graphics.Interop; using Microsoft.Toolkit.Diagnostics; using TerraFX.Interop; using static TerraFX.Interop.D3D12_COMMAND_LIST_TYPE; diff --git a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs index 6fd52950..218c5878 100644 --- a/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs +++ b/src/ComputeSharp.Graphics/Buffers/Abstract/Texture3D{T}.cs @@ -1,11 +1,11 @@ using System.Runtime.CompilerServices; -using ComputeSharp.Core.Interop; using ComputeSharp.Exceptions; using ComputeSharp.Graphics.Buffers.Enums; using ComputeSharp.Graphics.Buffers.Interop; using ComputeSharp.Graphics.Commands; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; +using ComputeSharp.Graphics.Interop; using Microsoft.Toolkit.Diagnostics; using TerraFX.Interop; using static TerraFX.Interop.D3D12_COMMAND_LIST_TYPE; diff --git a/src/ComputeSharp.Graphics/Commands/Interop/ID3D12CommandAllocatorPool.cs b/src/ComputeSharp.Graphics/Commands/Interop/ID3D12CommandAllocatorPool.cs index d4d29e6d..85461480 100644 --- a/src/ComputeSharp.Graphics/Commands/Interop/ID3D12CommandAllocatorPool.cs +++ b/src/ComputeSharp.Graphics/Commands/Interop/ID3D12CommandAllocatorPool.cs @@ -4,7 +4,7 @@ using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; using TerraFX.Interop; -namespace ComputeSharp.Graphics.Commands +namespace ComputeSharp.Graphics.Commands.Interop { /// /// A type that acts as a pool to get new instances wheen needed. diff --git a/src/ComputeSharp.Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs b/src/ComputeSharp.Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs index f2df9cc7..fc8e03f4 100644 --- a/src/ComputeSharp.Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs +++ b/src/ComputeSharp.Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs @@ -4,7 +4,7 @@ using System; using TerraFX.Interop; using static TerraFX.Interop.D3D12_DESCRIPTOR_HEAP_TYPE; -namespace ComputeSharp.Graphics +namespace ComputeSharp.Graphics.Commands.Interop { /// /// A type that provides logic to create resource descriptors for a instance. diff --git a/src/ComputeSharp.Graphics/Commands/PipelineData.cs b/src/ComputeSharp.Graphics/Commands/PipelineData.cs index d5c397e0..cfa68aeb 100644 --- a/src/ComputeSharp.Graphics/Commands/PipelineData.cs +++ b/src/ComputeSharp.Graphics/Commands/PipelineData.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Core.Interop; +using ComputeSharp.Graphics.Interop; using TerraFX.Interop; namespace ComputeSharp.Graphics.Commands diff --git a/src/ComputeSharp.Graphics/Exceptions/GraphicsDeviceMismatchException.cs b/src/ComputeSharp.Graphics/Exceptions/GraphicsDeviceMismatchException.cs index 4abb6981..ef4e927d 100644 --- a/src/ComputeSharp.Graphics/Exceptions/GraphicsDeviceMismatchException.cs +++ b/src/ComputeSharp.Graphics/Exceptions/GraphicsDeviceMismatchException.cs @@ -1,9 +1,9 @@ using System; using System.Diagnostics.Contracts; using System.Text; -using ComputeSharp.Core.Interop; using ComputeSharp.Graphics; using ComputeSharp.Graphics.Buffers.Abstract; +using ComputeSharp.Graphics.Interop; namespace ComputeSharp.Exceptions { diff --git a/src/ComputeSharp.Graphics/GraphicsDevice.cs b/src/ComputeSharp.Graphics/GraphicsDevice.cs index a6cc52f9..e0cbc585 100644 --- a/src/ComputeSharp.Graphics/GraphicsDevice.cs +++ b/src/ComputeSharp.Graphics/GraphicsDevice.cs @@ -1,10 +1,11 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; -using ComputeSharp.Core.Interop; using ComputeSharp.Graphics.Commands; +using ComputeSharp.Graphics.Commands.Interop; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; +using ComputeSharp.Graphics.Interop; using Microsoft.Toolkit.Diagnostics; using TerraFX.Interop; using static TerraFX.Interop.D3D12_COMMAND_LIST_TYPE; diff --git a/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs b/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs index fa4bead4..ffcb7958 100644 --- a/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs +++ b/src/ComputeSharp.Graphics/Helpers/DeviceHelper.Enumerator.cs @@ -1,8 +1,8 @@ -using ComputeSharp.Core.Interop; -using System; +using System; using System.Collections; using System.Collections.Generic; using ComputeSharp.Core.Extensions; +using ComputeSharp.Graphics.Interop; using TerraFX.Interop; using FX = TerraFX.Interop.Windows; using HRESULT = System.Int32; diff --git a/src/ComputeSharp.Graphics/Interop/NativeObject.cs b/src/ComputeSharp.Graphics/Interop/NativeObject.cs index 7c22b77b..c82228ab 100644 --- a/src/ComputeSharp.Graphics/Interop/NativeObject.cs +++ b/src/ComputeSharp.Graphics/Interop/NativeObject.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -namespace ComputeSharp.Core.Interop +namespace ComputeSharp.Graphics.Interop { /// /// Base class for a class. diff --git a/src/ComputeSharp.Shaders/Translation/Interop/IDxcBlobObject.cs b/src/ComputeSharp.Shaders/Translation/Interop/IDxcBlobObject.cs index 73c2415f..a328ddf9 100644 --- a/src/ComputeSharp.Shaders/Translation/Interop/IDxcBlobObject.cs +++ b/src/ComputeSharp.Shaders/Translation/Interop/IDxcBlobObject.cs @@ -1,4 +1,4 @@ -using ComputeSharp.Core.Interop; +using ComputeSharp.Graphics.Interop; using TerraFX.Interop; namespace ComputeSharp.Shaders.Translation.Interop diff --git a/src/ComputeSharp.Shaders/Translation/ShaderLoader{T}.IL.cs b/src/ComputeSharp.Shaders/Translation/ShaderLoader{T}.IL.cs index 33fa3804..89ce2f73 100644 --- a/src/ComputeSharp.Shaders/Translation/ShaderLoader{T}.IL.cs +++ b/src/ComputeSharp.Shaders/Translation/ShaderLoader{T}.IL.cs @@ -5,9 +5,9 @@ using System.Reflection; using System.Reflection.Emit; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using ComputeSharp.Core.Interop; using ComputeSharp.Graphics; using ComputeSharp.Graphics.Buffers.Abstract; +using ComputeSharp.Graphics.Interop; using ComputeSharp.Shaders.Extensions; using ComputeSharp.Shaders.Mappings; using ComputeSharp.Shaders.Translation.Models;