Closed Compiler closed 3 years ago
Hi, first you need the latest Vulkan SDK. As mentioned in the setup, the SDK version must be 1.2.161 and up and the log show that only 1.2.141 is available. As for the missing layer, in debug, the sample uses the validation layer, and I don’t see it mentioned in the list of available layers. Could you please check your installation of Vulkan SDK?
I have installed 1.2.162.1 and the output is exactly the same: it says Vulkan Version:
I know it is linking to the right sdk because this is the input section of the linker
Maybe I am missing something?
Hi Luke! Is it possible that https://github.com/nvpro-samples/vk_mini_path_tracer/issues/8 might be what you're running into? It's not quite the same thing (your system shows 1.2.141 while theirs showed 1.2.162), but you can see if the fix at https://github.com/nvpro-samples/vk_mini_path_tracer/issues/8#issuecomment-754170995 fixes it - what's going on is that sometimes old Vulkan SDK installations don't remove their old registry keys (which Vulkan looks at when deciding which layers to load).
Wow, this is exactly what was happening. I was so convinced the code was faulty but this makes perfect sense. Thank you so much for your answer.
After following this link https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/ I get these errors: