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

shader-slang / slang-rhi / 25002654262
69%

Build:
DEFAULT BRANCH: main
Ran 27 Apr 2026 03:05PM UTC
Jobs 3
Files 250
Run time 2min
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

27 Apr 2026 03:00PM UTC coverage: 63.456% (-4.7%) from 68.13%
25002654262

push

github

web-flow
Metal: add GPU pointer support via untracked hazard mode and residency sets (#713)

Switch all Metal resources to MTLHazardTrackingModeUntracked and MTLStorageModeShared (replacing Managed), synchronize encoder transitions with MTLFence wait/update pairs, and track allocations in an MTLResidencySet committed before each submit. This enables GPU virtual addresses (gpuAddress) to be used as shader-visible pointers in argument buffers, which is required for Slang's pointer parameter support on Metal.

Requires Apple Silicon (GPU Family 6+) and macOS 15+ / iOS 18+. Bumps Metal C++ headers from macOS 14.2 to macOS 15.2 for the MTLResidencySet API. Adds Metal to the bind-pointers test suite with new test cases for ParameterBlock and struct-copy patterns.

Part of implementing shader-slang/slang#10841

11052 of 20106 branches covered (54.97%)

Branch coverage included in aggregate %.

10 of 187 new or added lines in 7 files covered. (5.35%)

2338 existing lines in 22 files now uncovered.

32404 of 48376 relevant lines covered (66.98%)

272459.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
64
0.0
-66.85% src/metal/metal-command.cpp
40
0.0
-83.62% src/metal/metal-buffer.cpp
38
7.56
-61.71% src/metal/metal-device.cpp
16
0.0
-79.56% src/metal/metal-texture.cpp
14
0.0
-75.68% src/metal/metal-shader-object.cpp
4
17.65
-82.35% src/metal/metal-utils.h
1
0.0
-94.4% src/metal/metal-shader-object-layout.cpp

Coverage Regressions

Lines Coverage ∆ File
635
0.0
-66.85% src/metal/metal-command.cpp
322
0.0
-75.68% src/metal/metal-shader-object.cpp
232
0.0
-54.25% src/metal/metal-utils.cpp
212
7.56
-61.71% src/metal/metal-device.cpp
198
0.0
-94.4% src/metal/metal-shader-object-layout.cpp
153
0.0
-79.56% src/metal/metal-texture.cpp
127
0.0
-56.88% src/metal/metal-pipeline.cpp
85
10.45
-77.61% src/metal/metal-clear-engine.cpp
67
0.0
-74.26% src/metal/metal-surface.cpp
65
0.0
-82.0% src/metal/metal-fence.cpp
57
0.0
-84.42% src/metal/metal-sampler.cpp
51
0.0
-84.13% src/metal/metal-shader-object-layout.h
47
0.0
-83.62% src/metal/metal-buffer.cpp
39
0.0
-91.07% src/metal/metal-input-layout.cpp
25
0.0
-81.25% src/metal/metal-shader-program.cpp
8
17.65
-82.35% src/metal/metal-utils.h
4
59.06
-0.6% src/shader-object.cpp
4
51.02
-6.12% src/shader-object.h
3
0.0
-100.0% src/metal/metal-texture.h
2
67.95
-2.56% src/metal/metal-backend.cpp
1
75.23
-0.9% src/format-conversion.h
1
0.0
-100.0% src/metal/metal-shader-object.h
Jobs
ID Job ID Ran Files Coverage
1 linux-x86_64 - 25002654262.1 27 Apr 2026 03:05PM UTC 173
64.25
GitHub Action Run
2 macos-aarch64 - 25002654262.2 27 Apr 2026 03:09PM UTC 165
29.95
GitHub Action Run
3 windows-x86_64 - 25002654262.3 27 Apr 2026 03:09PM UTC 225
67.3
GitHub Action Run
Source Files on build 25002654262
  • Tree
  • List 250
  • Changed 44
  • Source Changed 8
  • Coverage Changed 43
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25002654262
  • a7e218ee on github
  • Prev Build on main (#24981754460)
  • Next Build on main (#25016565667)
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