Open Tomloyo opened 1 month ago
Hard to know what is causing the error without more information.
Did you accidentally destroy the swapchain before? You can use the API dump layer to print out all of the commands called.
Is there an implicit layer on the system causing the issue? You can open up vkconfig and set all of the implicit layers to be "off" to check. Alternatively, you can set VK_LOADER_LAYERS_DISABLE=~all~
as well to achieve the same result.
i enabled validation layers (i forgot to do that) updated the log, i just copied the repo from github and it still doesn't work
Can you set the environment variable VK_LOADER_LAYERS_DISABLE=~implicit~
to rule out the cause being from a bad implicit layer?
The validation errors shown here indicate that various vulkan objects are not being destroyed before shutdown, or possibly that they are being shutdown in the wrong order. If you destroy a VkDevice then destroy a VkSwapchainKHR, the crash would be due to the device being "destroyed" but you are still trying to use it, which is invalid Vulkan code and thus undefined behavior (hence the crash).
newbie here as i am just doing it by a tutorial vkguide , that exactly same code worked yestreday