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

shader-slang / slang-rhi / 25387161575 / 1
69%
main: 69%

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 05:09PM UTC
Files 166
Run time 8s
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: 38.451% (+0.04%) from 38.414%
25387161575.1

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

4427 of 13270 branches covered (33.36%)

Branch coverage included in aggregate %.

13485 of 33314 relevant lines covered (40.48%)

30341.96 hits per line

Source Files on job macos-aarch64 - 25387161575.1
  • Tree
  • List 166
  • Changed 6
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25387161575
  • f69fe661 on github
  • Prev Job for on main (#25329139426.1)
  • Next Job for on main (#25418654129.2)
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