KhronosGroup / Vulkan-ValidationLayers

Vulkan Validation Layers (VVL)
https://vulkan.lunarg.com/doc/sdk/latest/linux/khronos_validation_layer.html
Other
757 stars 403 forks source link

high performance overhead from vk_ray_tracing_anyhit_KHR example #8329

Open jeremyg-lunarg opened 2 months ago

jeremyg-lunarg commented 2 months ago

https://github.com/nvpro-samples/vk_raytracing_tutorial_KHR/tree/master/ray_tracing__advance

The overhead is caused by descriptor indexing validation. On my laptop RTX4060 without validation this runs at hundreds of FPS. With descriptor indexing validation it runs at 5fps. Other GPU-AV options run at 50 fps or so which is usable.

jeremyg-lunarg commented 2 months ago

There are several other slow demos in the same project: