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

Add acceleration structure overrides #1759

Conversation

fabian-lunarg
Copy link
Contributor

@fabian-lunarg fabian-lunarg commented Sep 25, 2024

  • Add code-overrides for vulkan's acceleration-structure API
  • Extend address-tracking to cover acceleration-structures
  • Start with device-address replacement for binding-tables and acceleration-structure buffers
  • Addition to capture device-address state-tracking
  • Add tracking for physical-device raytracing-properties
  • Leave TODOs

belongs to portable raytracing initiative

- required codegen adjustments
- only pass-through
- contains fields for capture/replay-time device-addresses
- populate those fields in OverrideGetAccelerationStructureDeviceAddressKHR
- Add hook to stop tracking on destroy
- use DeviceAddressTracker to rewrite addresses in-place
- required codegen adjustments
- only pass-through
- contains fields for capture/replay-time device-addresses
- populate those fields in OverrideGetAccelerationStructureDeviceAddressKHR
- Add hook to stop tracking on destroy
- use DeviceAddressTracker to rewrite addresses in-place
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 263907.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4895 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4895 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 263941.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4896 running.

@fabian-lunarg fabian-lunarg self-assigned this Sep 25, 2024
@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4896 passed.

@fabian-lunarg fabian-lunarg marked this pull request as ready for review September 25, 2024 12:11
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 265244.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4906 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4906 failed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 267593.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4925 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4925 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 267636.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 267654.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4929 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4929 passed.

Copy link
Contributor

@MarkY-LunarG MarkY-LunarG left a comment

Choose a reason for hiding this comment

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

Looks good in general. I'm a little concerned that you're using core and extension entrypoints without checking to make sure they were enabled or that the version of Vulkan supports it (in several locations I pointed out). Please look those over.

framework/encode/vulkan_capture_manager.cpp Show resolved Hide resolved
framework/encode/vulkan_state_writer.cpp Show resolved Hide resolved
framework/decode/vulkan_replay_consumer_base.cpp Outdated Show resolved Hide resolved
…ion_structure_overrides

- for good measure: merge upstream here after vulkan-header-update.
- not relevant now, but more cases might be added in the future
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 268581.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4936 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4936 passed.

- remove override on replay-side
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 268639.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4937 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4937 passed.

@fabian-lunarg fabian-lunarg merged commit 3b7960c into LunarG:dev Oct 7, 2024
8 checks passed
@fabian-lunarg fabian-lunarg deleted the fabian_add_acceleration_structure_overrides branch October 7, 2024 07:09
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.

3 participants