nvpro-samples / vk_raytracing_tutorial_KHR

Ray tracing examples and tutorials using VK_KHR_ray_tracing
Apache License 2.0
1.34k stars 142 forks source link

Errata: NVIDIA Vulkan Ray Tracing Tutorial: 5 Acceleration Structure #31

Closed cpope9141 closed 3 years ago

cpope9141 commented 3 years ago

Thank you for this thorough tutorial. I have found the following errors in the introductory section to chapter 5:

nvvk::RaytracingBuilder m_rtBuilder; -> nvvk::RaytracingBuilderKHR m_rtBuilder;

m_rtBuilder.setup(m_device, m_alloc, m_graphicsQueueIndex); -> m_rtBuilder.setup(m_device, &m_alloc, m_graphicsQueueIndex);

mklefrancois commented 3 years ago

Thanks @cpope9141 for bringing up those errors. All fixed.