Update namespaces in ComputeSharp
このコミットが含まれているのは:
1 親
c7722305ca
コミット
d5439fc3ec
124ファイル変更
+181
-263
検索条件に一致するファイルはありません
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Versioning;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
-1
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
|
||||
namespace ComputeSharp.Win32;
|
||||
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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")]
|
||||
|
||||
-2
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using TerraFX.Interop.DirectX;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
namespace ComputeSharp.Graphics.Commands.Interop;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using TerraFX.Interop.DirectX;
|
||||
using TerraFX.Interop.Windows;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
namespace ComputeSharp;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
namespace ComputeSharp.Core.Extensions;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System;
|
||||
using TerraFX.Interop.DirectX;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
namespace ComputeSharp.Graphics.Extensions;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
#pragma warning disable IDE0011
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using static TerraFX.Interop.DirectX.D3D12_DESCRIPTOR_RANGE_TYPE;
|
||||
using static ComputeSharp.Win32.D3D12_DESCRIPTOR_RANGE_TYPE;
|
||||
|
||||
namespace ComputeSharp.Interop;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using TerraFX.Interop.Windows;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
#pragma warning disable CS0649
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -8,35 +8,35 @@ internal enum ResourceType
|
||||
/// <summary>
|
||||
/// 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 <see langword="cbuffer"/>.
|
||||
/// Resources of this type are located in <see cref="TerraFX.Interop.DirectX.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_UPLOAD"/>.
|
||||
/// Resources of this type are located in <see cref="Win32.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_UPLOAD"/>.
|
||||
/// </summary>
|
||||
Constant,
|
||||
|
||||
/// <summary>
|
||||
/// A readonly resource, that can store arbitrary arrays of values and can only be read from by the GPU.
|
||||
/// This is mapped to either <see langword="StructuredBuffer<T>"/> or <see langword="TextureND<T>"/>.
|
||||
/// Resources of this type are located in <see cref="TerraFX.Interop.DirectX.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_DEFAULT"/>.
|
||||
/// Resources of this type are located in <see cref="Win32.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_DEFAULT"/>.
|
||||
/// </summary>
|
||||
ReadOnly,
|
||||
|
||||
/// <summary>
|
||||
/// A read write resource, that can store arbitrary arrays with both read and write access for the GPU.
|
||||
/// This is mapped to either <see langword="RWStructuredBuffer<T>"/> or <see langword="RWTextureND<T>"/>.
|
||||
/// Resources of this type are located in <see cref="TerraFX.Interop.DirectX.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_DEFAULT"/>.
|
||||
/// Resources of this type are located in <see cref="Win32.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_DEFAULT"/>.
|
||||
/// </summary>
|
||||
ReadWrite,
|
||||
|
||||
/// <summary>
|
||||
/// A readback resource, used temporarily to read data back from <see cref="ReadOnly"/> and <see cref="ReadWrite"/> 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 <see cref="TerraFX.Interop.DirectX.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_READBACK"/>.
|
||||
/// Resources of this type are located in <see cref="Win32.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_READBACK"/>.
|
||||
/// </summary>
|
||||
ReadBack,
|
||||
|
||||
/// <summary>
|
||||
/// A transfer resource, used temporarily to set data to <see cref="ReadOnly"/> and <see cref="ReadWrite"/> resources.
|
||||
/// This has no direct mapping to a type in HLSL, as it's only used for copy operations (like <see cref="ReadBack"/>).
|
||||
/// Resources of this type are located in <see cref="TerraFX.Interop.DirectX.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_UPLOAD"/>.
|
||||
/// Resources of this type are located in <see cref="Win32.D3D12_HEAP_TYPE.D3D12_HEAP_TYPE_UPLOAD"/>.
|
||||
/// </summary>
|
||||
Upload
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using ComputeSharp.Interop;
|
||||
using TerraFX.Interop.DirectX;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
namespace ComputeSharp.Resources.Interop;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using ComputeSharp.Interop;
|
||||
using TerraFX.Interop.DirectX;
|
||||
using ComputeSharp.Win32;
|
||||
|
||||
namespace ComputeSharp.Resources.Interop;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
124ファイル中100ファイルを読み込みました。 変更されたファイルが多すぎるため、それ以降のファイルは表示していません。
さらに表示
新しいイシューから参照
ユーザーをブロックする