-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the new VK_KHR_ray_tracing extension #277
Comments
Relevant PR for reference: #278 |
SOLVED: .as_slice() works, sorry. So the docs are wrong it's not the same as cmd_build_acceleration_structure() Takes a slice of slice and it's kinda hard to build one of those! Unless I'm missing some rust foo. The goal here is to take high level types and add them to the command buffer so they aren't dropped until after the command buffer.
|
The type for pp_geometries is wrong... Can be either *[T] or *[*T]. |
Example: It builds, but I don't have the hardware to run it. |
Looks like VK_KHR_deferred_host_operations and VK_KHR_pipeline_library need to be added as well since they're dependencies of VK_KHR_ray_tracing, although one can use VK_KHR_ray_tracing without touching functions, structures and flags added by those extensions. Without them I get this message from the validation layer:
|
Perhaps there should be a sticky issue just to track missing extensions... because there won't exactly be a whole lot of them at any one time. |
I started working on adding support for the performance_query extension only to realize that my GPU did not support it. Edit: my comment is there in case the sticky issue gets created. performance_query should be added to the list of missing extensions. |
See https://www.khronos.org/blog/ray-tracing-in-vulkan
VK_KHR_ray_tracing
The text was updated successfully, but these errors were encountered: