GraphicsProgramming / RVPT

Realtime Vulkan path tracer from scratch kind of thing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program fails when I switch rendering modes to AO or binary

tigrazone opened this issue · comments

Thank you for feature but sometimes when I switched rendering modes to AO or binary program fails with
Fatal : VkResult is ERROR_DEVICE_LOST in C:/msys64/home/thr/RVPT/src/rvpt/vk_util.cpp at line 167
Assertion failed: res > VK_SUCCESS, file C:/msys64/home/thr/RVPT/src/rvpt/vk_util.cpp, line 167
164 void Queue::submit(VkSubmitInfo const& submitInfo, Fence const& fence)
165 {
166 std::lock_guard lock(submit_mutex);
167 VK_CHECK_RESULT(vkQueueSubmit(queue, 1, &submitInfo, fence.get()));
168 }
tested on windows 10 and ubuntu 21.10 with geforce gtx 1050ti.
same result - program aborted.
How to fix it?

I fixed it with commit in my forked repo
tigrazone@3bc9c00