diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-12-15 19:56:02 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-12-15 19:56:02 +0000 |
| commit | db12b1722fefd611a0d4dbb81a3705dbc0462e31 (patch) | |
| tree | c0bd225fcd8fa8f5bc42e354aa8741d7e10f81e4 /Graphics/GraphicsEngineD3D12 | |
| parent | Merge branch 'azhirnov-ray_tracing_2' (diff) | |
| download | DiligentCore-db12b1722fefd611a0d4dbb81a3705dbc0462e31.tar.gz DiligentCore-db12b1722fefd611a0d4dbb81a3705dbc0462e31.zip | |
Minor fix after merge
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
| -rw-r--r-- | Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp index 9a833fe1..78320cc1 100644 --- a/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp +++ b/Graphics/GraphicsEngineD3D12/src/DeviceContextD3D12Impl.cpp @@ -2454,7 +2454,7 @@ void DeviceContextD3D12Impl::BuildTLAS(const BuildTLASAttribs& Attribs) // copy instance data into instance buffer { size_t Size = Attribs.InstanceCount * sizeof(D3D12_RAYTRACING_INSTANCE_DESC); - auto TmpSpace = m_DynamicHeap.Allocate(Size, 16, m_ContextFrameNumber); + auto TmpSpace = m_DynamicHeap.Allocate(Size, 16, m_FrameNumber); for (Uint32 i = 0; i < Attribs.InstanceCount; ++i) { |
