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

shader-slang / slang-rhi / 19232492817 / 2
20%
main: 20%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2025 04:59PM UTC
Files 156
Run time 33min
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

10 Nov 2025 01:00PM UTC coverage: 7.162%. Remained the same
19232492817.2

push

github

web-flow
Unify functions for loading test shaders (#569)

* Unify shader loading functions into single loadProgram API

Replaced loadComputeProgram, loadGraphicsProgram, and loadShaderPrograms
with a single loadProgram function that:
- Accepts multiple entry points
- Makes reflection optional (nullptr skips linking for ray tracing)
- Accepts optional slang::ISession for precompiled modules

NOTE: We use a std::vector instead of a span for the `entryPointNames`
parameter so we can use braced initializers when specifying shader names.

Updated all call sites to use cleaner syntax:
  loadProgram(device, program, "module", {"computeMain"}, &reflection);

* Refactor shader loading API to separate linking from loading

Split loadProgram into two distinct functions:
- loadProgram: loads shader programs without linking (no reflection)
- loadAndLinkProgram: loads and links programs with reflection support

Both functions now have overloads that omit the slangSession parameter,
defaulting to nullptr for simpler call sites. Parameter order updated
to place outShaderProgram last for consistency.

Updated all test files to:
- Use loadProgram for tests without reflection needs
- Use loadAndLinkProgram for tests requiring reflection data
- Remove unused slangReflection variables
- Use simpler overloads without explicit session parameter

* clang-format

* Delete ray-tracing-common.cpp and inline launchPipeline

launchPipeline was the only function in ray-tracing-common.cpp. Inline
the function into ray-tracing-common.h and delete the basically empty
cpp file.

* Add single entry point overloads and document new functions

* fix missed single entry point call

* fix a few more single entry point calls

---------

Co-authored-by: Simon Kallweit <64953474+skallweitNV@users.noreply.github.com>

607 of 10748 branches covered (5.65%)

Branch coverage included in aggregate %.

2143 of 27648 relevant lines covered (7.75%)

1.44 hits per line

Source Files on job macos-aarch64 - 19232492817.2
  • Tree
  • List 156
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19232492817
  • 8325d366 on github
  • Prev Job for on main (#19224031804.2)
  • Next Job for on main (#19237289100.)
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