Updated NuGet packages
このコミットが含まれているのは:
1 親
ef8d18ece6
コミット
fa34296360
8ファイル変更
+21
-16
検索条件に一致するファイルはありません
@@ -21,7 +21,7 @@ namespace ComputeSharp.Graphics.Commands
|
||||
CommandListType.Direct => GraphicsDevice.DirectAllocatorPool.GetCommandAllocator(),
|
||||
_ => throw new NotSupportedException($"Unsupported command list type with value {CommandListType}")
|
||||
};
|
||||
NativeCommandList = GraphicsDevice.NativeDevice.CreateCommandList(CommandListType, CommandAllocator, null);
|
||||
NativeCommandList = GraphicsDevice.NativeDevice.CreateCommandList(0, CommandListType, CommandAllocator, null);
|
||||
|
||||
// Set the heap descriptor if the command list is not for copy operations
|
||||
if (CommandListType != CommandListType.Copy)
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace ComputeSharp.Graphics.Commands
|
||||
RootSignature = rootSignature;
|
||||
ComputeShader = computeShader;
|
||||
|
||||
NativePipelineState = device.NativeDevice.CreateComputePipelineState(this);
|
||||
NativePipelineState = device.NativeDevice.CreateComputePipelineState<ID3D12PipelineState>(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.7.1" />
|
||||
<PackageReference Include="Vortice.Direct3D12" Version="1.6.0" />
|
||||
<PackageReference Include="Vortice.Direct3D12" Version="1.7.37" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -143,7 +143,7 @@ namespace ComputeSharp.Graphics
|
||||
/// <returns>A new <see cref="ID3D12RootSignature"/> instance to use in a compute shader</returns>
|
||||
internal ID3D12RootSignature CreateRootSignature(VersionedRootSignatureDescription rootSignatureDescription)
|
||||
{
|
||||
return NativeDevice.CreateRootSignature(rootSignatureDescription);
|
||||
return NativeDevice.CreateRootSignature(0, rootSignatureDescription);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -23,11 +23,16 @@ namespace ComputeSharp.Graphics.Helpers
|
||||
{
|
||||
List<(ID3D12Device, AdapterDescription)> devices = new List<(ID3D12Device, AdapterDescription)>();
|
||||
|
||||
foreach (IDXGIAdapter1 adapter in factory.Adapters1)
|
||||
int i = 0;
|
||||
|
||||
while (factory.EnumAdapters1(i++, out IDXGIAdapter1? adapter).Success && !(adapter is null))
|
||||
{
|
||||
if (adapter.Description.DedicatedVideoMemory == 0) continue;
|
||||
|
||||
if (D3D12.D3D12CreateDevice(adapter, FeatureLevel.Level_12_0, out ID3D12Device device).Success)
|
||||
{
|
||||
devices.Add((device, adapter.Description));
|
||||
}
|
||||
}
|
||||
|
||||
return devices;
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ICSharpCode.Decompiler" Version="5.0.2.5153" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.5.0" />
|
||||
<PackageReference Include="ICSharpCode.Decompiler" Version="6.1.0.5902" />
|
||||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.7.0" />
|
||||
<PackageReference Include="Microsoft.Experimental.Collections" Version="1.0.6-e190117-3" />
|
||||
<PackageReference Include="Stubble.Core" Version="1.7.2" />
|
||||
<PackageReference Include="Vortice.Dxc" Version="1.6.0" />
|
||||
<PackageReference Include="Stubble.Core" Version="1.9.3" />
|
||||
<PackageReference Include="Vortice.Dxc" Version="1.7.37" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.18362.2005" />
|
||||
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
<tags>dotnet net netcore netstandard csharp library graphics shader hlsl compute gpu</tags>
|
||||
<repository type="git" url="https://github.com/Sergio0694/ComputeSharp.git" branch="master" />
|
||||
<dependencies>
|
||||
<dependency id="Microsoft.Windows.SDK.Contracts" version="10.0.18362.2005" />
|
||||
<dependency id="Microsoft.Windows.SDK.Contracts" version="10.0.19041.1" />
|
||||
<dependency id="System.Runtime.CompilerServices.Unsafe" version="4.7.1" />
|
||||
<dependency id="Vortice.Direct3D12" version="1.6.0" />
|
||||
<dependency id="ICSharpCode.Decompiler" version="5.0.2.5153" />
|
||||
<dependency id="Microsoft.CodeAnalysis.CSharp" version="3.5.0" />
|
||||
<dependency id="Vortice.Direct3D12" version="1.7.37" />
|
||||
<dependency id="ICSharpCode.Decompiler" version="6.1.0.5902" />
|
||||
<dependency id="Microsoft.CodeAnalysis.CSharp" version="3.7.0" />
|
||||
<dependency id="Microsoft.Experimental.Collections" version="1.0.6-e190117-3" />
|
||||
<dependency id="Stubble.Core" version="1.7.2" />
|
||||
<dependency id="Vortice.Dxc" version="1.6.0" />
|
||||
<dependency id="Stubble.Core" version="1.9.3" />
|
||||
<dependency id="Vortice.Dxc" version="1.7.37" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
</package>
|
||||
新しいイシューから参照
ユーザーをブロックする