diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs index 87a72985..02ee78a1 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_BARRIER.Manual.cs @@ -3,9 +3,9 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_BARRIER_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_BARRIER_TYPE; +using static ComputeSharp.Win32.D3D12; +using static ComputeSharp.Win32.D3D12_RESOURCE_BARRIER_FLAGS; +using static ComputeSharp.Win32.D3D12_RESOURCE_BARRIER_TYPE; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs index 0985950b..4223ccb2 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_RESOURCE_DESC.Manual.cs @@ -4,10 +4,10 @@ // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). using System; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_LAYOUT; -using static TerraFX.Interop.DirectX.DXGI_FORMAT; +using static ComputeSharp.Win32.D3D12_RESOURCE_DIMENSION; +using static ComputeSharp.Win32.D3D12_RESOURCE_FLAGS; +using static ComputeSharp.Win32.D3D12_TEXTURE_LAYOUT; +using static ComputeSharp.Win32.DXGI_FORMAT; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs index ed0b0aeb..2339b419 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_DESCRIPTOR1.Manual.cs @@ -3,7 +3,7 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12_ROOT_DESCRIPTOR_FLAGS; +using static ComputeSharp.Win32.D3D12_ROOT_DESCRIPTOR_FLAGS; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs index cb276958..e0d89e69 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_ROOT_PARAMETER1.Manual.cs @@ -3,8 +3,8 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12_ROOT_PARAMETER_TYPE; -using static TerraFX.Interop.DirectX.D3D12_SHADER_VISIBILITY; +using static ComputeSharp.Win32.D3D12_ROOT_PARAMETER_TYPE; +using static ComputeSharp.Win32.D3D12_SHADER_VISIBILITY; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs index ef69191c..2cb08027 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_STATIC_SAMPLER_DESC.Manual.cs @@ -3,12 +3,12 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D12; -using static TerraFX.Interop.DirectX.D3D12_COMPARISON_FUNC; -using static TerraFX.Interop.DirectX.D3D12_FILTER; -using static TerraFX.Interop.DirectX.D3D12_SHADER_VISIBILITY; -using static TerraFX.Interop.DirectX.D3D12_STATIC_BORDER_COLOR; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_ADDRESS_MODE; +using static ComputeSharp.Win32.D3D12; +using static ComputeSharp.Win32.D3D12_COMPARISON_FUNC; +using static ComputeSharp.Win32.D3D12_FILTER; +using static ComputeSharp.Win32.D3D12_SHADER_VISIBILITY; +using static ComputeSharp.Win32.D3D12_STATIC_BORDER_COLOR; +using static ComputeSharp.Win32.D3D12_TEXTURE_ADDRESS_MODE; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs index 4365fa5c..a1b6d45a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_TEXTURE_COPY_LOCATION.Manual.cs @@ -4,7 +4,7 @@ // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). using System.Runtime.CompilerServices; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_COPY_TYPE; +using static ComputeSharp.Win32.D3D12_TEXTURE_COPY_TYPE; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs index d3676492..5f6885fe 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/other/d3dx12/D3D12_VERSIONED_ROOT_SIGNATURE_DESC.Manual.cs @@ -3,8 +3,8 @@ // Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f10920518021d91ae641033fb // Original source is Copyright © Microsoft. All rights reserved. Licensed under the MIT License (MIT). -using static TerraFX.Interop.DirectX.D3D_ROOT_SIGNATURE_VERSION; -using static TerraFX.Interop.DirectX.D3D12_ROOT_SIGNATURE_FLAGS; +using static ComputeSharp.Win32.D3D_ROOT_SIGNATURE_VERSION; +using static ComputeSharp.Win32.D3D12_ROOT_SIGNATURE_FLAGS; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs index da739d36..689e1b29 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal unsafe partial struct DXGI_ADAPTER_DESC diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs index bfa77122..126b94eb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/DXGI_ADAPTER_DESC1.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal unsafe partial struct DXGI_ADAPTER_DESC1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs index f3448436..e4017ac6 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs index 2d3646a1..2c1fcc3c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIAdapter1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs index 6b2b7f03..abcb139e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIFactory.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs index 13920f6e..a91f3d65 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGIOutput.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs index 73cf51bc..953f1e38 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi/IDXGISwapChain.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs index 7f02fdd5..0dd44e7c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGIOutput1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs index 1a5b5107..e0fed470 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_MODE_DESC1.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.22000.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct DXGI_MODE_DESC1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs index 0ab99c1c..fc15a50a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/DXGI_SWAP_CHAIN_DESC1.cs @@ -3,8 +3,6 @@ // Ported from shared/dxgi1_2.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct DXGI_SWAP_CHAIN_DESC1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs index a81b1f32..76a9eae5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGIFactory2.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs index bfb4aed1..a76fb906 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_2/IDXGISwapChain1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs index f09a4cdb..1a797fea 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_3/DirectX.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs index d5964d7d..5d0ef5a8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGIFactory4.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs index 7a108332..4084deb8 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_4/IDXGISwapChain3.cs @@ -7,7 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs index 6fc241d9..a38db8df 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/shared/dxgi1_6/IDXGIFactory6.cs @@ -7,7 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs index fd23304d..b9b433ed 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d2d1/D2D1_FEATURE_LEVEL.cs @@ -3,7 +3,7 @@ // Ported from um/d2d1.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; +using static ComputeSharp.Win32.D3D_FEATURE_LEVEL; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs index 2f468516..c46ea17c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_ARCHITECTURE diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs index 11e6dc2e..8f2f6807 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_ARCHITECTURE1.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_ARCHITECTURE1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs index afc1bbc9..e6cf904a 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_D3D12_OPTIONS diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs index 175c6e6c..2664ed58 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/D3D12_FEATURE_DATA_D3D12_OPTIONS1.cs @@ -3,8 +3,6 @@ // Ported from um/d3d12.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. -using TerraFX.Interop.Windows; - namespace ComputeSharp.Win32; internal partial struct D3D12_FEATURE_DATA_D3D12_OPTIONS1 diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs index 7534d97a..a5172113 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/DirectX.cs @@ -5,7 +5,6 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs index f5ed910f..18d51aff 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandAllocator.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs index 7fb29595..560e4b06 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandList.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs index c1038198..7be75094 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12CommandQueue.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs index 8dda3273..632a9e4e 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DescriptorHeap.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs index 2e91f41b..76bf8e55 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Device.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs index c6c3d657..4948f45c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedData1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs index 3d4aaff8..34db62bb 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12DeviceRemovedExtendedDataSettings1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs index 78df37ff..ccac1cc3 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Fence.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs index 84316d99..bbfe072c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12GraphicsCommandList.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs index 659eeb77..d3d3d541 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Heap.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs index c0a49152..b7befbc5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12PipelineState.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs index 8bac7f85..459b0ae4 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12Resource.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs index 22a6096c..efdda716 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12/ID3D12RootSignature.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs index 74f5a97d..f47b361b 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs index 57337de0..547e396c 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12Debug1.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs index 5399bad7..7073b416 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12sdklayers/ID3D12InfoQueue.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs index dcd58f38..8bad32c5 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/d3d12shader/ID3D12ShaderReflection.cs @@ -6,7 +6,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs index 56a14f6f..326cda20 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/CLSID.cs @@ -8,7 +8,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace TerraFX.Interop.Windows; +namespace ComputeSharp.Win32; internal static partial class CLSID { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs index 7da23460..adca97f0 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DirectX.cs @@ -5,9 +5,8 @@ using System; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal static unsafe partial class DirectX { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs index 6cd7b2b5..6a24ccab 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/DxcBuffer.cs @@ -3,7 +3,7 @@ // Ported from um/dxcapi.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. Licensed under the University of Illinois Open Source License. -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; internal unsafe partial struct DxcBuffer { diff --git a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs index 097df146..158ccffa 100644 --- a/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs +++ b/src/ComputeSharp.Win32.D3D12/DirectX/um/dxcapi/IDxcUtils.cs @@ -6,9 +6,8 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.Windows; -namespace TerraFX.Interop.DirectX; +namespace ComputeSharp.Win32; [Guid("4605C4CB-2019-492A-ADA4-65F20BB7D67F")] [NativeTypeName("struct IDxcUtils : IUnknown")] diff --git a/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs b/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs index 6803a721..2a933de3 100644 --- a/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs +++ b/src/ComputeSharp.Win32.D3D12/WinRT/um/windows.ui.xaml.media.dxinterop/ISwapChainPanelNative.cs @@ -7,8 +7,6 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; namespace ComputeSharp.Win32; diff --git a/src/ComputeSharp/Graphics/Commands/CommandList.cs b/src/ComputeSharp/Graphics/Commands/CommandList.cs index c7d3c6d7..2bc48f77 100644 --- a/src/ComputeSharp/Graphics/Commands/CommandList.cs +++ b/src/ComputeSharp/Graphics/Commands/CommandList.cs @@ -3,9 +3,8 @@ using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading.Tasks; using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; namespace ComputeSharp.Graphics.Commands; diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs index b373af48..8a78d6d6 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12CommandListPool.cs @@ -3,8 +3,7 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Commands.Interop; diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs index 9406ae92..3afef990 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12DescriptorHandleAllocator.cs @@ -1,8 +1,7 @@ using System; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_HEAP_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_HEAP_TYPE; namespace ComputeSharp.Graphics.Commands.Interop; diff --git a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs index c8d43081..dcbaa12c 100644 --- a/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs +++ b/src/ComputeSharp/Graphics/Commands/Interop/ID3D12ResourceDescriptorHandles.cs @@ -1,4 +1,4 @@ -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Commands.Interop; diff --git a/src/ComputeSharp/Graphics/DeviceLostReason.cs b/src/ComputeSharp/Graphics/DeviceLostReason.cs index 6eed0e47..c7926c04 100644 --- a/src/ComputeSharp/Graphics/DeviceLostReason.cs +++ b/src/ComputeSharp/Graphics/DeviceLostReason.cs @@ -1,5 +1,4 @@ -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs index bbfd6b5c..cc1dd87e 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ComPtrExtensions.cs @@ -1,5 +1,5 @@ using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Core.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs index 9dce4803..b01ee8f9 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/HRESULTExtensions.cs @@ -2,8 +2,7 @@ using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; using ComputeSharp.Graphics.Helpers; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Core.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs index ff1a050b..7209cc00 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12AllocationExtensions.cs @@ -1,7 +1,6 @@ using ComputeSharp.Core.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs index cb9a7742..c9676d16 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -1,23 +1,22 @@ using System; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Resources.Enums; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_QUEUE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_QUEUE_PRIORITY; -using static TerraFX.Interop.DirectX.D3D12_CPU_PAGE_PROPERTY; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_HEAP_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_HEAP_TYPE; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; -using static TerraFX.Interop.DirectX.D3D12_FENCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_HEAP_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_MEMORY_POOL; -using static TerraFX.Interop.DirectX.D3D12_MESSAGE_ID; -using static TerraFX.Interop.DirectX.D3D12_HEAP_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_QUEUE_FLAGS; +using static ComputeSharp.Win32.D3D12_COMMAND_QUEUE_PRIORITY; +using static ComputeSharp.Win32.D3D12_CPU_PAGE_PROPERTY; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_HEAP_FLAGS; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_HEAP_TYPE; +using static ComputeSharp.Win32.D3D12_FEATURE; +using static ComputeSharp.Win32.D3D12_FENCE_FLAGS; +using static ComputeSharp.Win32.D3D12_HEAP_FLAGS; +using static ComputeSharp.Win32.D3D12_MEMORY_POOL; +using static ComputeSharp.Win32.D3D12_MESSAGE_ID; +using static ComputeSharp.Win32.D3D12_HEAP_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_FLAGS; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs index b403881d..b6952bb1 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12GraphicsCommandListExtensions.cs @@ -1,5 +1,5 @@ using System; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs index 58e6f2e9..b1832860 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12MemoryAllocatorExtensions.cs @@ -1,11 +1,10 @@ using System; using ComputeSharp.Core.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_HEAP_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_HEAP_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_FLAGS; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs index 41a395fc..8c36606e 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/ID3D12ResourceExtensions.cs @@ -3,7 +3,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Resources.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs index 0e006a02..fc4e69e7 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.IBufferWriter.cs @@ -3,14 +3,14 @@ using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.Windows.E; -using static TerraFX.Interop.Windows.IID; -using static TerraFX.Interop.Windows.S; -using static TerraFX.Interop.Windows.STATFLAG; -using static TerraFX.Interop.Windows.STG; -using static TerraFX.Interop.Windows.STGM; -using static TerraFX.Interop.Windows.STGTY; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.E; +using static ComputeSharp.Win32.IID; +using static ComputeSharp.Win32.S; +using static ComputeSharp.Win32.STATFLAG; +using static ComputeSharp.Win32.STG; +using static ComputeSharp.Win32.STGM; +using static ComputeSharp.Win32.STGTY; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs index b5c633c1..33669a79 100644 --- a/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs +++ b/src/ComputeSharp/Graphics/Extensions/Interop/IWICStreamExtensions.Stream.cs @@ -3,14 +3,14 @@ using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Threading; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.Windows.E; -using static TerraFX.Interop.Windows.IID; -using static TerraFX.Interop.Windows.S; -using static TerraFX.Interop.Windows.STATFLAG; -using static TerraFX.Interop.Windows.STG; -using static TerraFX.Interop.Windows.STGM; -using static TerraFX.Interop.Windows.STGTY; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.E; +using static ComputeSharp.Win32.IID; +using static ComputeSharp.Win32.S; +using static ComputeSharp.Win32.STATFLAG; +using static ComputeSharp.Win32.STG; +using static ComputeSharp.Win32.STGM; +using static ComputeSharp.Win32.STGTY; namespace ComputeSharp.Graphics.Extensions; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs b/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs index 15f9f470..ae9f9c21 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.DeviceLost.cs @@ -4,8 +4,7 @@ using System.Runtime.InteropServices; using System.Threading; using ComputeSharp.Core.Extensions; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs b/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs index e51e42c6..a402805f 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.Execute.cs @@ -9,9 +9,8 @@ using System.Threading.Tasks.Sources; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Commands; using ComputeSharp.Graphics.Commands.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs b/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs index 3a0f89a7..616adab4 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.Resources.cs @@ -1,7 +1,6 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDevice.cs b/src/ComputeSharp/Graphics/GraphicsDevice.cs index bb0f6d3f..0b9c4dd4 100644 --- a/src/ComputeSharp/Graphics/GraphicsDevice.cs +++ b/src/ComputeSharp/Graphics/GraphicsDevice.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Shaders.Loading; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; -using static TerraFX.Interop.DirectX.DXGI_ADAPTER_FLAG; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_FEATURE; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.DXGI_ADAPTER_FLAG; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs b/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs index 67556760..0c5f166e 100644 --- a/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs +++ b/src/ComputeSharp/Graphics/GraphicsDeviceInfo.cs @@ -1,5 +1,5 @@ -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.DXGI_ADAPTER_FLAG; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.DXGI_ADAPTER_FLAG; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs b/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs index d0bb296d..cdda88ac 100644 --- a/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/DXGIFormatHelper.cs @@ -1,8 +1,8 @@ using System; using System.Numerics; using System.Runtime.CompilerServices; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.DXGI_FORMAT; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.DXGI_FORMAT; #pragma warning disable IDE0011 diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs index 06974338..e18a1dd0 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Enumerator.cs @@ -4,11 +4,10 @@ using System.Collections.Generic; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; -using static TerraFX.Interop.DirectX.D3D_SHADER_MODEL; -using static TerraFX.Interop.DirectX.DXGI_GPU_PREFERENCE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D_FEATURE_LEVEL; +using static ComputeSharp.Win32.D3D_SHADER_MODEL; +using static ComputeSharp.Win32.DXGI_GPU_PREFERENCE; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs index 4cef9487..1bfc44d7 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.Factory.cs @@ -4,8 +4,7 @@ using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Helpers; diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs index 376a190d..b9a7bd68 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.ID3D12InfoQueue.cs @@ -4,10 +4,9 @@ using System.ComponentModel; using System.Diagnostics; using System.Runtime.InteropServices; using System.Text; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_MESSAGE_ID; -using static TerraFX.Interop.DirectX.D3D12_MESSAGE_SEVERITY; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_MESSAGE_ID; +using static ComputeSharp.Win32.D3D12_MESSAGE_SEVERITY; namespace ComputeSharp.Graphics.Helpers; diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs index befcc3c7..23cf33cf 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.IDXGIFactory6.cs @@ -2,8 +2,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs index c97e1b76..f9ba71a7 100644 --- a/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/DeviceHelper.cs @@ -1,11 +1,10 @@ using System; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D_FEATURE_LEVEL; -using static TerraFX.Interop.DirectX.D3D_SHADER_MODEL; -using static TerraFX.Interop.DirectX.DXGI_GPU_PREFERENCE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D_FEATURE_LEVEL; +using static ComputeSharp.Win32.D3D_SHADER_MODEL; +using static ComputeSharp.Win32.DXGI_GPU_PREFERENCE; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs b/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs index 8b038533..7f258428 100644 --- a/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/WICFormatHelper.cs @@ -1,7 +1,7 @@ using System; using System.IO; using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable IDE0011 diff --git a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs index 56357049..e7c63cd4 100644 --- a/src/ComputeSharp/Graphics/Helpers/WICHelper.cs +++ b/src/ComputeSharp/Graphics/Helpers/WICHelper.cs @@ -4,7 +4,7 @@ using System.IO; using System.Runtime.CompilerServices; using ComputeSharp.Core.Extensions; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CA1416 diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs index e6771698..22031a8f 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12Allocation.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs index a4b22f26..61ed95ac 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocator.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs index 94da20fa..f87b6424 100644 --- a/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs +++ b/src/ComputeSharp/Graphics/Interop/Allocation/ID3D12MemoryAllocatorFactory.cs @@ -1,8 +1,7 @@ using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Interop/AllocationServices.cs b/src/ComputeSharp/Graphics/Interop/AllocationServices.cs index a926644c..340aabf1 100644 --- a/src/ComputeSharp/Graphics/Interop/AllocationServices.cs +++ b/src/ComputeSharp/Graphics/Interop/AllocationServices.cs @@ -2,7 +2,7 @@ using System; using System.Runtime.InteropServices; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Interop; diff --git a/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs b/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs index 9e6640bc..023106eb 100644 --- a/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs +++ b/src/ComputeSharp/Graphics/Interop/ResourceDescriptorRangeType.cs @@ -1,4 +1,4 @@ -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_RANGE_TYPE; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_RANGE_TYPE; namespace ComputeSharp.Interop; diff --git a/src/ComputeSharp/Graphics/Luid.cs b/src/ComputeSharp/Graphics/Luid.cs index 995738af..54290da3 100644 --- a/src/ComputeSharp/Graphics/Luid.cs +++ b/src/ComputeSharp/Graphics/Luid.cs @@ -1,6 +1,6 @@ using System; using System.Runtime.CompilerServices; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; #pragma warning disable CS0649 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs index 51a6e390..d3b30619 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Buffer{T}.cs @@ -10,10 +10,9 @@ using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; -using static TerraFX.Interop.DirectX.DXGI_FORMAT; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FEATURE; +using static ComputeSharp.Win32.DXGI_FORMAT; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs index a76d6154..1b8556d2 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/StructuredBuffer{T}.cs @@ -6,9 +6,8 @@ using ComputeSharp.Graphics.Helpers; using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp.Resources; diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs index bbe0e983..c105296e 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture1D{T}.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs index f191f21a..6d969a48 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture2D{T}.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs index 268f1563..1f017140 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/Texture3D{T}.cs @@ -9,12 +9,11 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMMAND_LIST_TYPE; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; -using static TerraFX.Interop.DirectX.D3D12_UAV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMMAND_LIST_TYPE; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; +using static ComputeSharp.Win32.D3D12_UAV_DIMENSION; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs index bfe72475..59a8e7ed 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferBuffer{T}.cs @@ -6,9 +6,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FEATURE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FEATURE; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs index f2195d9c..7db61087 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture1D{T}.cs @@ -5,9 +5,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs index f0c2d780..e6f23d3f 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture2D{T}.cs @@ -4,9 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs index e1df8a3d..6502ee60 100644 --- a/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/Abstract/TransferTexture3D{T}.cs @@ -4,9 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Interop.Allocation; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; #pragma warning disable CA1063 diff --git a/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs b/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs index 2adfdd24..75f4ae58 100644 --- a/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ConstantBuffer{T}.cs @@ -9,7 +9,7 @@ using ComputeSharp.Graphics.Resources.Interop; using ComputeSharp.Interop; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; using ResourceType = ComputeSharp.Graphics.Resources.Enums.ResourceType; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs b/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs index 81dc7c8a..d22ccaaf 100644 --- a/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs +++ b/src/ComputeSharp/Graphics/Resources/Enums/ResourceType.cs @@ -8,35 +8,35 @@ internal enum ResourceType /// /// A constant resource, with items aligned to 16 bytes, used for individual values or very small arrays. /// This is only supported for buffers and is mapped to a . - /// Resources of this type are located in . + /// Resources of this type are located in . /// Constant, /// /// A readonly resource, that can store arbitrary arrays of values and can only be read from by the GPU. /// This is mapped to either or . - /// Resources of this type are located in . + /// Resources of this type are located in . /// ReadOnly, /// /// A read write resource, that can store arbitrary arrays with both read and write access for the GPU. /// This is mapped to either or . - /// Resources of this type are located in . + /// Resources of this type are located in . /// ReadWrite, /// /// A readback resource, used temporarily to read data back from and resources. /// This has no direct mapping to a type in HLSL, as it's only used for copy operations. - /// Resources of this type are located in . + /// Resources of this type are located in . /// ReadBack, /// /// A transfer resource, used temporarily to set data to and resources. /// This has no direct mapping to a type in HLSL, as it's only used for copy operations (like ). - /// Resources of this type are located in . + /// Resources of this type are located in . /// Upload } \ No newline at end of file diff --git a/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs b/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs index 42b8aa4d..b3fd5b4a 100644 --- a/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs +++ b/src/ComputeSharp/Graphics/Resources/Helpers/ResourceStateHelper.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_RESOURCE_STATES; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_RESOURCE_STATES; namespace ComputeSharp.Graphics.Resources.Helpers; diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs index 0424857a..30bdb496 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadOnlyResource.cs @@ -1,5 +1,5 @@ using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Resources.Interop; diff --git a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs index 6ca55e18..02c30dc2 100644 --- a/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs +++ b/src/ComputeSharp/Graphics/Resources/Interfaces/Interop/ID3D12ReadWriteResource.cs @@ -1,5 +1,5 @@ using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Resources.Interop; diff --git a/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs b/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs index 4838fd9e..afc3b8f2 100644 --- a/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs +++ b/src/ComputeSharp/Graphics/Resources/Interop/ID3D12ResourceMap.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Graphics.Resources.Interop; diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs index 92c52de6..0b405822 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs index ff28ccd3..ccfd2bcf 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture1D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs index 2d53d7c7..0f045316 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs index 0baa2264..de843f0b 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture2D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs index c56195c5..9a0a871d 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs index c89ff20b..90fa6fcc 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadOnlyTexture3D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs index 8487497a..7db6799d 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs index 75df64bc..f604d6c3 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs index d670d741..134aca63 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs index 113df905..2ee0f6eb 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture1D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs index efa46b81..1b7fd5ed 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs index 6a6f67e0..d33f0da0 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs index 92b41d1f..f7ad6aff 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs index 6f785d4b..75054776 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture2D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs index b91de2a9..c74a2496 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs index 7a207adc..2dd42358 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T,TPixel}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs index 3c28e717..7b2cd331 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.ReadOnly.cs @@ -4,8 +4,8 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; -using static TerraFX.Interop.DirectX.D3D12_SRV_DIMENSION; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_SRV_DIMENSION; #pragma warning disable IDE0022 diff --git a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs index 88d07421..041bf4c2 100644 --- a/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs +++ b/src/ComputeSharp/Graphics/Resources/ReadWriteTexture3D{T}.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using ComputeSharp.Graphics.Resources.Enums; using ComputeSharp.Resources; using ComputeSharp.Resources.Debug; -using static TerraFX.Interop.DirectX.D3D12_FORMAT_SUPPORT1; +using static ComputeSharp.Win32.D3D12_FORMAT_SUPPORT1; namespace ComputeSharp; diff --git a/src/ComputeSharp/Shaders/ComputeContext.cs b/src/ComputeSharp/Shaders/ComputeContext.cs index abcc71f8..eb431f10 100644 --- a/src/ComputeSharp/Shaders/ComputeContext.cs +++ b/src/ComputeSharp/Shaders/ComputeContext.cs @@ -8,7 +8,7 @@ using ComputeSharp.Graphics.Extensions; using ComputeSharp.Resources.Interop; using ComputeSharp.Shaders.Dispatching; using ComputeSharp.Shaders.Loading; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs index 5984feb7..6e145bcc 100644 --- a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListConstantBufferLoader.cs @@ -2,7 +2,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.Descriptors; using ComputeSharp.Graphics.Extensions; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Shaders.Dispatching; diff --git a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs index 80391e0f..df646f23 100644 --- a/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs +++ b/src/ComputeSharp/Shaders/Dispatching/D3D12GraphicsCommandListGraphicsResourceLoader.cs @@ -2,7 +2,7 @@ using System; using System.Runtime.CompilerServices; using ComputeSharp.Resources.Interop; using ComputeSharp.Descriptors; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp.Shaders.Dispatching; diff --git a/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs b/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs index dcf2ad53..cc33081e 100644 --- a/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs +++ b/src/ComputeSharp/Shaders/Extensions/ComputeContextExtensions.cs @@ -4,7 +4,7 @@ using ComputeSharp.Descriptors; using ComputeSharp.Graphics.Helpers; using ComputeSharp.Interop; using ComputeSharp.Resources.Interop; -using TerraFX.Interop.DirectX; +using ComputeSharp.Win32; namespace ComputeSharp; diff --git a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs index d08b7c97..4b2aa3ee 100644 --- a/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs +++ b/src/ComputeSharp/Shaders/Extensions/Interop/ID3D12DeviceExtensions.cs @@ -1,11 +1,10 @@ using System; using ComputeSharp.Core.Extensions; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_COMPARISON_FUNC; -using static TerraFX.Interop.DirectX.D3D12_FILTER; -using static TerraFX.Interop.DirectX.D3D12_PIPELINE_STATE_FLAGS; -using static TerraFX.Interop.DirectX.D3D12_TEXTURE_ADDRESS_MODE; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_COMPARISON_FUNC; +using static ComputeSharp.Win32.D3D12_FILTER; +using static ComputeSharp.Win32.D3D12_PIPELINE_STATE_FLAGS; +using static ComputeSharp.Win32.D3D12_TEXTURE_ADDRESS_MODE; namespace ComputeSharp.Shaders.Extensions; diff --git a/src/ComputeSharp/Shaders/Loading/PipelineData.cs b/src/ComputeSharp/Shaders/Loading/PipelineData.cs index 4faf0429..057904d8 100644 --- a/src/ComputeSharp/Shaders/Loading/PipelineData.cs +++ b/src/ComputeSharp/Shaders/Loading/PipelineData.cs @@ -1,6 +1,5 @@ using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; +using ComputeSharp.Win32; namespace ComputeSharp.Shaders.Loading; diff --git a/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs b/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs index a133ae71..0a2d8c94 100644 --- a/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs +++ b/src/ComputeSharp/Shaders/Loading/PipelineDataLoader{T}.cs @@ -4,9 +4,8 @@ using System.Runtime.CompilerServices; using ComputeSharp.Shaders.Extensions; using ComputeSharp.Descriptors; using ComputeSharp.Interop; -using TerraFX.Interop.DirectX; -using TerraFX.Interop.Windows; -using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_RANGE_FLAGS; +using ComputeSharp.Win32; +using static ComputeSharp.Win32.D3D12_DESCRIPTOR_RANGE_FLAGS; namespace ComputeSharp.Shaders.Loading;