nvpro-samples / vk_raytracing_tutorial_KHR

Ray tracing examples and tutorials using VK_KHR_ray_tracing
Apache License 2.0
1.36k stars 143 forks source link

Are these methods only functional on nvidia graphics cards? #15

Closed dzyphr closed 3 years ago

dzyphr commented 3 years ago

I am wondering If I can follow these tutorials using a 6000 series GPU from AMD or if they are NVIDIA specific.

baryluk commented 3 years ago

You can use them and run them on AMD with proper Vulkan driver. They will work on future Intel GPUs with proper drivers too.

dzyphr commented 3 years ago

Thank you! I was just worried because of the Nvidia header

baryluk commented 3 years ago

@dzyphr Well, they are authored by Nvidia, and there are various shared libraries, and helpers, including various math, vulkan related stuff, and allocator, but it should work on non-Nvidia hardware. I am pretty sure some people used it to release Vulkan games that work in general, and they work on Nvidia, AMD, Intel, and software renderers, etc.

I didn't have yet time to build it or test on 6000 series, (and my my vulkan headers are at 1.2.154 on my system, so it will probably not build for me at the moment ). But if something doesn't work report :)

PS. I am not affiliated to this repo or nvidia or other gpu makers.