Skipped Allocator creation for UMA devices
このコミットが含まれているのは:
1 親
57c4d816c1
コミット
c6991cdf0e
1ファイル変更
+5
-2
@@ -115,9 +115,12 @@ namespace ComputeSharp
|
||||
allocatorDesc.pDevice = d3D12Device;
|
||||
allocatorDesc.pAdapter = dxgiAdapter;
|
||||
|
||||
fixed (Allocator** allocator = this.allocator)
|
||||
if (!IsCacheCoherentUMA)
|
||||
{
|
||||
D3D12MemoryAllocator.CreateAllocator(&allocatorDesc, allocator).Assert();
|
||||
fixed (Allocator** allocator = this.allocator)
|
||||
{
|
||||
D3D12MemoryAllocator.CreateAllocator(&allocatorDesc, allocator).Assert();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする