• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

shader-slang / slang-rhi / 20817863274

08 Jan 2026 01:07PM UTC coverage: 22.648% (-0.03%) from 22.678%
20817863274

push

github

web-flow
Fix getting device-address of acceleration structure (#612)

* Fix getting device-address of acceleration structure + test + missing test-infrastructure

Problem that is being addressed:
`vkGetBufferDeviceAddress` is being used to get the device address of `AccelerationStructure`'s. This is not the correct way to get the device-address of a `AccelerationStructure`. This is seen through GPU-AV hitting a validation error.

Notable changes/additions:
1. For `AccelerationStructure` use the correct function `vkGetAccelerationStructureDeviceAddressKHR` instead of `vkGetBufferDeviceAddress`. This is needed as seen by vulkan-validation-layers (GPU-AV) hitting an error.
2. Added `ValidationMessageSeverity` to control logging information emitted. This is needed to reduce the amount of junk validation emits.
3. Added the flag `forceValidation` so that validation layers can be progmatically enabled with the testing API.
4. Added the flag `enableGPUAssistedValidation` so that GPU-AV can be enabled for validation purposes.

* pre-commit format

* Remove validation changes & test

Validation chages are removed since more thought needs to be put into
the change as per skallweitNV's request.

The test was removed since it does nothing now that the validation
changes were removed.

2342 of 13976 branches covered (16.76%)

Branch coverage included in aggregate %.

1 of 7 new or added lines in 2 files covered. (14.29%)

8091 of 32090 relevant lines covered (25.21%)

39.32 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/vulkan/vk-acceleration-structure.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc