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

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

Build:
DEFAULT BRANCH: main
Ran 01 May 2026 07:41AM UTC
Files 166
Run time 5s
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

01 May 2026 07:33AM UTC coverage: 38.344% (+8.4%) from 29.922%
25206682119.3

push

github

web-flow
Metal: add useResource fallback for devices without MTLResidencySet (#727)

Replace the hard GPUFamilyApple6 gate with ArgumentBuffersTier2 and add
a runtime fallback for devices that lack MTLResidencySet (e.g. Apple
Paravirtual on CI macOS VMs).

ResidencySet path (default on capable hardware): resources are registered
in MTLResidencySet as before — no per-binding overhead.

Fallback path (!m_hasResidencySet): per-encoder useResources calls declare
resource residency before dispatches/draws. A BufferAddressMap provides
O(1) exact and O(log N) range-based GPU address → BufferImpl lookups so
that pointer fields in uniform data are automatically resolved for
residency. Pointer field offsets are collected from type layout reflection
at shader object layout init time, skipped entirely on the ResidencySet
path.

Also adds:
- Acceleration structure residency tracking (fixes pre-existing omission)
- Silent all-skip detection in the test harness: fails the run when a
  device probes as available but zero GPU tests execute
- bind-pointers-offset-address test exercising range-based address lookup
- SLANG_RHI_METAL_NO_RESIDENCY_SET env var to force the fallback path
- Feature::ResidencySet capability flag

Fixes #725
Part of shader-slang/slang#10841

4392 of 13234 branches covered (33.19%)

Branch coverage included in aggregate %.

13411 of 33196 relevant lines covered (40.4%)

94520.82 hits per line

Source Files on job macos-aarch64 - 25206682119.3
  • Tree
  • List 166
  • Changed 44
  • Source Changed 11
  • Coverage Changed 44
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25206682119
  • 1ff05440 on github
  • Prev Job for on main (#25172326390.2)
  • Next Job for on main (#25320415611.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