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

Implement creating acceleration structures on a Heap #316

Merged
merged 3 commits into from
May 23, 2024

Conversation

FlannyH
Copy link
Contributor

@FlannyH FlannyH commented May 1, 2024

Implements allocating acceleration structures from a heap using the newAccelerationStructureWithDescriptor and newAccelerationStructureWithSize functions, as well as heapAccelerationStructureSizeAndAlignWithSize on Device. Additionally implements two missing functions setHazardTrackingMode and setType.

src/heap.rs Outdated Show resolved Hide resolved
src/heap.rs Show resolved Hide resolved
@robclu
Copy link

robclu commented May 10, 2024

Hi, is there any reason this isn't merged? I would also like to be able to set the hazard tracking mode and heap type (for placement heaps).

Copy link
Collaborator

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@grovesNL grovesNL merged commit 411c4d3 into gfx-rs:master May 23, 2024
2 checks passed
@MarijnS95 MarijnS95 deleted the heap-acceleration-structure branch May 23, 2024 17:04
@grovesNL grovesNL mentioned this pull request May 30, 2024
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.

None yet

4 participants