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

shader-slang / slang-rhi / 15692517370
23%

Build:
DEFAULT BRANCH: main
Ran 16 Jun 2025 09:39PM UTC
Jobs 3
Files 233
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Jun 2025 09:36PM UTC coverage: 66.921% (+0.2%) from 66.676%
15692517370

push

github

web-flow
Add sphere tests (#402)

* Add simple sphere intersection test

There wasn't a way to enable spheres in OptiX pipelines, so add a new
flag named EnableSpheres to RayTracingPipelineFlags. When set, make
OptiX's sphere intersector available via the name
"__builtin_intersection__sphere" and enable spheres in the pipeline's
compile options.

* Add ray tracing sphere tests

The new tests check that we can intersect with sphere primitives, and
that both the plain and hit object sphere intrinsics return valid
results.

To use spheres, OptiX requires the application to set
OPTIX_PRIMITIVE_TYPE_FLAGS_SPHERE in its pipeline compile options and
link in the builtin sphere intersection module. To allow this, we add a
new flag named `EnableSpheres` to `RayTracingPipelineFlags`. This flag
instructs slang-rhi to set the necessary pipeline compile option and
make the builtin sphere intersection module available via the entry
point name `__builtin_intersection__sphere`.

* run commit hooks

* Update SLANG_RHI_FETCH_SLANG_VERSION

Update to version that includes fix for LSS intrinsic capabilities.

* fix file name for sphere test shaders

8367 of 14808 branches covered (56.5%)

Branch coverage included in aggregate %.

29 of 29 new or added lines in 1 file covered. (100.0%)

27622 of 38970 relevant lines covered (70.88%)

115803.85 hits per line

Jobs
ID Job ID Ran Files Coverage
2 linux-x86_64 - 15692517370.2 16 Jun 2025 09:39PM UTC 156
63.06
GitHub Action Run
3 macos-aarch64 - 15692517370.3 16 Jun 2025 09:41PM UTC 155
40.1
GitHub Action Run
2 windows-x86_64 - 15633812151.2 13 Jun 2025 11:52AM UTC 209
66.25
GitHub Action Run
Source Files on build 15692517370
  • Tree
  • List 233
  • Changed 10
  • Source Changed 4
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15692517370
  • 3b8229f7 on github
  • Prev Build on main (#15690825018)
  • Next Build on main (#15692561732)
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