Closed discosultan closed 7 years ago
In InstancingAndCulilngApp.cpp, string 816 autor pass render items count, not the instance count and it cause to device removal. Should be
for (int i = 0; i < FrameResource::NumFrameResources; i++) { _frameResources.push_back(std::make_unique<FrameResource>(_device.Get(), 1, _numInstances, (UINT)_materials.size())); }
or something like that
Fixed by e0cbac0a01173aac6d79df137e309f5b617fdcaa
The sample crashes usually when around ~25 skulls become visible in the camera frustum.
D3D12 debug layer doesn't provide anything useful except for