yuphin / Lumen

A Vulkan Raytracing framework for various bidirectional path tracing techniques
MIT License
449 stars 29 forks source link

doesnt start #39

Closed tigrazone closed 1 month ago

tigrazone commented 1 month ago

Hello. I built with Visual Studio 2022 and exes show me image

When I run under debugger I see this image

When I press "Skip" and look at call stack I see image

I.e. where is no elements with seted index. I change https://github.com/yuphin/Lumen/blob/0fbc12756a3118bce1dae47991635727eec6cf8d/src/Framework/VulkanBase.cpp#L22 to std::vector<VkFence> _in_flight_fences(MAX_FRAMES_IN_FLIGHT + MAX_FRAMES_IN_FLIGHT);

and restart I have image and call stack is image

yuphin commented 1 month ago

~What does the validation message say?~

Edit: Thanks for pointing it out. The issue was a missing initialization after recent refactors. Should be fixed now.

tigrazone commented 1 month ago

now works ok