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

shader-slang / slang-rhi / 16124279524

07 Jul 2025 05:56PM UTC coverage: 67.651% (+0.1%) from 67.532%
16124279524

push

github

web-flow
Add linear swept sphere tests (#436)

* Add LSS tests and plumbing

Add tests exercising LSS intersection. The tests currently don't
exercise endcaps or test the hit object primitives.

Also add the plumbing necessary to run the tests.

* Add handling for encapsMode

* add LSS intrinsics tests

* run commit hooks

* Fix and improve LSS argument validation

OptiX's indexing corresponds to successive and not list indexing. Update
validation to account for that.

Also update validation to check OptiX-specific settings first, then
check more general options later. This avoids duplicate checking (e.g.
the OptiX specific checks can impose successive indexing and an index
buffer, then the later section can perform checks specific to that
indexing mode for all APIs).

* remove extra include

* Correct LSS index count validation

Switch checks to reflect the VK and OptiX documentation, which state
that LIST mode should have a pair of indices for each primitive (meaning
indexCount should be >= 2 * primitiveCount) and SUCCESSIVE mode has a
a single index that specifies two vertices at (k, k+1) in the vertex
buffer (so indexCount should be >= primitiveCount).

* Forgot to update error messages

8848 of 15796 branches covered (56.01%)

Branch coverage included in aggregate %.

91 of 101 new or added lines in 4 files covered. (90.1%)

9 existing lines in 2 files now uncovered.

29049 of 40222 relevant lines covered (72.22%)

108621.24 hits per line

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

86.35
/src/cuda/cuda-device.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