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

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

Build:
DEFAULT BRANCH: main
Ran 05 May 2026 05:09PM UTC
Files 173
Run time 12s
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: 64.228% (-0.4%) from 64.66%
25387161575.3

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

7725 of 13968 branches covered (55.3%)

Branch coverage included in aggregate %.

22560 of 33184 relevant lines covered (67.98%)

137925.98 hits per line

Source Files on job linux-x86_64 - 25387161575.3
  • Tree
  • List 173
  • Changed 12
  • Source Changed 2
  • Coverage Changed 11
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.3)
  • 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