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

shader-slang / slang-rhi / 25387161575
69%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 03:59PM UTC
Jobs 3
Files 253
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

05 May 2026 03:54PM UTC coverage: 68.73% (+0.01%) from 68.717%
25387161575

push

github

web-flow
Fix varLayout assertion failure when importing module with global ConstantBuffer (#701)

* Fix varLayout assertion when importing module with global ConstantBuffer

ShaderProgram::init() creates a composite component type from module and entry points but never calls link() on it. When the Slang compiler later performs layout reflection or code generation on this unlinked composite, it hits an internal assertion because variable layout information has not been resolved.

- Call link() after createCompositeComponentType in SingleProgram path
- Add defensive null checks for getElementVarLayout/getContainerVarLayout in Vulkan, WGPU, and D3D12 backend layout code
- Add test for imported module with global ConstantBuffer

* Refactor ShaderProgram initialization logic and simplify test case for imported constant buffer

* Remove fastpath for non-entry shader in shader.cpp and omit CPU from imported constant buffer testing

* Fix loadProgram API contract and re-enable shader fast-path

12021 of 20330 branches covered (59.13%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 2 files covered. (100.0%)

16 existing lines in 1 file now uncovered.

35485 of 48790 relevant lines covered (72.73%)

235936.08 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
65.18
-0.84% src/cuda/optix-api-impl.cpp
Jobs
ID Job ID Ran Files Coverage
1 macos-aarch64 - 25387161575.1 05 May 2026 04:55PM UTC 166
38.45
GitHub Action Run
2 windows-x86_64 - 25387161575.2 05 May 2026 04:01PM UTC 227
68.03
GitHub Action Run
3 linux-x86_64 - 25387161575.3 05 May 2026 03:59PM UTC 173
64.23
GitHub Action Run
Source Files on build 25387161575
  • Tree
  • List 253
  • Changed 16
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25387161575
  • f69fe661 on github
  • Prev Build on main (#25329139426)
  • Next Build on main (#25418654129)
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