Skip to content

Acceleration Structure Asset Conversion #872

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

devshgraphicsprogramming
Copy link
Member

@devshgraphicsprogramming devshgraphicsprogramming commented May 7, 2025

TODOs:

  • abstract away the staging cache insert/overwrite
  • insert the ASes into staging cache
  • collect the BLASes to use during TLAS builds

Description

Testing

TODO list:

devsh added 13 commits May 7, 2025 14:02
TODOs:
- abstract away the staging cache insert/overwrite
- check dependants of TLAS after creation of BLAS
- insert the ASes into staging cache
- collect the BLASes to use during TLAS builds
Finish getting build sizes for BLAS and TLAS

Also ask for minimum allocation size constraint of the allocator
…cause that's supposed to be the "expensive" call

Also prevent attempting to map the same memory multiple times (relevant in APIs that only allow a single mapping and we suballocate from same `IDeviceMemoryAllocation`)

So now for a ReBAR upload to succeed, the memory allocation given out needs to be on the correct heap AND start off mapped (Asset Converter won't attempt to map by itself).
…Vulkan debug names on the created GPU objects right away.

Push conversion requests to right after successful `assign` beause that makes more sense.

Prep for host_image_copy support.

Also make should-be-private structs private.
…ssetConverter::reserve`

TODO: make the staging cache refcounted with heterogenous (non-refcounted) lookup
…t, makes life a lot easier.

add `IGPUTopLevelAccelerationStructure::getPendingBuildVer()` to detect if TLAS built yet

also make sure the maxInstanceCount gets hashed properly
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.

1 participant