Skip to content
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

Dispatch acceleration structure builds in batches #410

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

pixelcluster
Copy link
Contributor

It is inefficient to record multiple vkCmdBuildAccelerationStructuresKHR back-to-back - for example, RADV will implicitly barrier between each build. To fix this, record AS build parameters into a temporary batch struct and call vkCmdBuildAccelerationStructuresKHR once for the entire batch.

It is inefficient to record multiple vkCmdBuildAccelerationStructuresKHR
back-to-back - for example, RADV will implicitly barrier between each build.
To fix this, record AS build parameters into a temporary batch struct and
call vkCmdBuildAccelerationStructuresKHR once for the entire batch.
@apanteleev apanteleev merged commit dd352e7 into NVIDIA:master Oct 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants