Minor code style tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-15 13:21:57 +01:00
1 親 3b6f2e117e
コミット 73fb9f9ca8
3ファイル変更
+11 -7

検索条件に一致するファイルはありません

+2 -1
ファイルの表示
@@ -1,6 +1,7 @@
using ComputeSharp.Graphics.Extensions;
using System;
using TerraFX.Interop;
using static TerraFX.Interop.D3D12_DESCRIPTOR_HEAP_TYPE;
namespace ComputeSharp.Graphics
{
@@ -53,7 +54,7 @@ namespace ComputeSharp.Graphics
D3D12DescriptorHeap = device->CreateDescriptorHeap(DescriptorsPerHeap);
this.allocationLock = new object();
this.descriptorSize = device->GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE.D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV);
this.descriptorSize = device->GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV);
this.d3d12CpuDescriptorHandle = D3D12DescriptorHeap->GetCPUDescriptorHandleForHeapStart();
this.d3d12GpuDescriptorHandle = D3D12DescriptorHeap->GetGPUDescriptorHandleForHeapStart();
this.remainingHandles = D3D12DescriptorHeap->GetDesc().NumDescriptors;