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

shader-slang / slang-rhi / 19514389739

19 Nov 2025 07:49PM UTC coverage: 31.713% (+0.4%) from 31.318%
19514389739

push

github

web-flow
Cluster Acceleration Structure builds in slang-rhi (#575)

* Add cluster accel feature flag and compile-only API

  * Add Feature::ClusterAccelerationStructure in RHI and mirror in sgl
  * Add getClusterAccelerationStructureSizes / buildClusterAcceleration
  * Default NotAvailable / no-op stubs
  * Wire debug-layer forwarding methods

* starting cluster build backend work

* set feature flag for optix cluster accels

* plumb triangle and cluster limits

* pack CLAS handles; bugfix GET_SIZES misusage

* add basic tests for cluster accel build

* Add cluster pipeline flag to OptiX backend

* expose explicit cluster build mode

* move output and temp buffers into build descriptions

* bugfix failing slang-rhi test

* more plumbing for buffers in build desc

* add cluster validation in debug command encoder

* add ray shooting to cluster test

* expose cluster accel abi headers in common dir

* export shader include dir in interface

* make cluster abi more readable

* refactor cluster tests

* cleanup, mostly comments and whitespace

* refactor per-op limits to be discriminated union

* plumb templates builds in optix backend

* use cluster templates in test

* cleanup: remove older optix data type mirror

* var names

* remove unnecessary search path logic for shaders

* comments

* add cluster accel build stubs for d3d11

* reorder stub functions

* clean up test-ray-tracing-clusters per review

* remove redundant arg checks in cluster builds

* really check for cluster support via optix caps

* clean up misleading comments

* run pre-commit hooks

* simplify cluster accel ABI headers

* run pre commit

* stop exporting include path, rename file

4297 of 19222 branches covered (22.35%)

Branch coverage included in aggregate %.

121 of 333 new or added lines in 16 files covered. (36.34%)

387 existing lines in 4 files now uncovered.

14952 of 41475 relevant lines covered (36.05%)

86.71 hits per line

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

46.19
/src/cuda/cuda-command.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

© 2025 Coveralls, Inc