Hi,
I was not able to clone the submodules, so I got the HSR source code by Download ZIP, and also those listed directly in .gitmodules (not including every recursive gitmodules) by Download ZIP.
I'm able to build HSRSample_DX12.exe, however, it crashes in Hybrid-Stochastic-Reflections-master\sample\libs\cauldron\src\DX12\base\ResourceViewHeaps.h
D3D12_GPU_DESCRIPTOR_HANDLE GPUView = m_pHeap->GetGPUDescriptorHandleForHeapStart();
The callstack:
KernelBase.dll!00007ff852c1441c() Unknown
DXGIDebug.dll!00007ff82dea3866() Unknown
d3d12SDKLayers.dll!00007fffe20e2ee8() Unknown
d3d12SDKLayers.dll!00007fffe2014712() Unknown
d3d12SDKLayers.dll!00007fffe20145cb() Unknown
d3d12SDKLayers.dll!00007fffe2058324() Unknown
HSRSample_DX12.exe!CAULDRON_DX12::StaticResourceViewHeap::AllocDescriptor(unsigned int size, CAULDRON_DX12::ResourceView * pRV) Line 110 C++
HSRSample_DX12.exe!CAULDRON_DX12::ResourceViewHeaps::AllocDSVDescriptor(unsigned int size, CAULDRON_DX12::DSV * pRV) Line 157 C++
HSRSample_DX12.exe!CAULDRON_DX12::GBuffer::OnCreate(CAULDRON_DX12::Device * pDevice, CAULDRON_DX12::ResourceViewHeaps * pHeaps, const std::map<unsigned int,enum DXGI_FORMAT,std::less,std::allocator<std::pair<unsigned int const ,enum DXGI_FORMAT>>> & formats, unsigned int sampleCount) Line 174 C++
HSRSample_DX12.exe!SampleRenderer::OnCreate(CAULDRON_DX12::Device * pDevice, CAULDRON_DX12::SwapChain * pSwapChain) Line 118 C++
HSRSample_DX12.exe!HSRSample::OnCreate() Line 150 C++
HSRSample_DX12.exe!RunFramework(HINSTANCE__ * hInstance, char * lpCmdLine, int nCmdShow, CAULDRON_DX12::FrameworkWindows * pFramework) Line 117 C++
HSRSample_DX12.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 1144 C++
[External Code]
If I launch the Release build from VS, the memory can go as high as 1.9 GiB without showing the window.
Thanks.
Hi,
I was not able to clone the submodules, so I got the HSR source code by Download ZIP, and also those listed directly in .gitmodules (not including every recursive gitmodules) by Download ZIP.
I'm able to build HSRSample_DX12.exe, however, it crashes in Hybrid-Stochastic-Reflections-master\sample\libs\cauldron\src\DX12\base\ResourceViewHeaps.h
D3D12_GPU_DESCRIPTOR_HANDLE GPUView = m_pHeap->GetGPUDescriptorHandleForHeapStart();
The callstack:
KernelBase.dll!00007ff852c1441c() Unknown
DXGIDebug.dll!00007ff82dea3866() Unknown
d3d12SDKLayers.dll!00007fffe20e2ee8() Unknown
d3d12SDKLayers.dll!00007fffe2014712() Unknown
d3d12SDKLayers.dll!00007fffe20145cb() Unknown
d3d12SDKLayers.dll!00007fffe2058324() Unknown
HSRSample_DX12.exe!CAULDRON_DX12::StaticResourceViewHeap::AllocDescriptor(unsigned int size, CAULDRON_DX12::ResourceView * pRV) Line 110 C++
HSRSample_DX12.exe!CAULDRON_DX12::ResourceViewHeaps::AllocDSVDescriptor(unsigned int size, CAULDRON_DX12::DSV * pRV) Line 157 C++
HSRSample_DX12.exe!CAULDRON_DX12::GBuffer::OnCreate(CAULDRON_DX12::Device * pDevice, CAULDRON_DX12::ResourceViewHeaps * pHeaps, const std::map<unsigned int,enum DXGI_FORMAT,std::less,std::allocator<std::pair<unsigned int const ,enum DXGI_FORMAT>>> & formats, unsigned int sampleCount) Line 174 C++
HSRSample_DX12.exe!SampleRenderer::OnCreate(CAULDRON_DX12::Device * pDevice, CAULDRON_DX12::SwapChain * pSwapChain) Line 118 C++
HSRSample_DX12.exe!HSRSample::OnCreate() Line 150 C++
HSRSample_DX12.exe!RunFramework(HINSTANCE__ * hInstance, char * lpCmdLine, int nCmdShow, CAULDRON_DX12::FrameworkWindows * pFramework) Line 117 C++
HSRSample_DX12.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Line 1144 C++
[External Code]
If I launch the Release build from VS, the memory can go as high as 1.9 GiB without showing the window.
Thanks.