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

shader-slang / slang-rhi / 18164321455
23%

Build:
DEFAULT BRANCH: main
Ran 01 Oct 2025 01:48PM UTC
Jobs 3
Files 237
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

01 Oct 2025 01:48PM UTC coverage: 65.558% (-2.5%) from 68.098%
18164321455

push

github

web-flow
Refactor adapter handling (#518)

* Minor naming cleanup

* Add IAdapter and getAdapter API, deprecate AdapterList and getAdapters

* enableAftermath option

* Use SLANG_FAILED instead of !SLANG_SUCCEEDED

* Implement shared code

* Implement adapter selection in slang-rhi-tests

* Ensure tests use selected adapter

* CPU implementation

* CUDA implementation

* Common D3D utils

* D3D11 implementation

* D3D12 implementation

* WGPU implementation

* Fix shared texture/buffer tests

* Remove flag combiner

* Fix Device::hasCapability

* Skip NVAPI tests if NVAPI is not supported

* Skip tests currently failing on WARP adapter

* Vulkan implementation

* Metal implementation

* Add missing <algorithm> include

* Make selectAdapter not depend on <algorithm>

* Use copy_safe

* Fix shadowing

---------

Co-authored-by: tdavidovicNV <tdavidovic@nvidia.com>

9072 of 18446 branches covered (49.18%)

Branch coverage included in aggregate %.

332 of 485 new or added lines in 20 files covered. (68.45%)

748 existing lines in 15 files now uncovered.

29996 of 41147 relevant lines covered (72.9%)

85870.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% src/d3d12/d3d12-surface.cpp
1
73.93
-2.56% src/device.cpp
1
33.86
-27.57% src/device.h
2
75.85
1.85% include/slang-rhi.h
2
66.14
0.0% src/d3d12/d3d12-pipeline.cpp
6
79.11
-10.01% src/wgpu/wgpu-device.cpp
8
66.93
-13.69% src/cuda/cuda-device.cpp
10
61.76
-7.72% src/rhi.cpp
12
67.2
0.0% src/d3d/d3d-utils.cpp
16
49.98
-24.48% src/vulkan/vk-device.cpp
20
78.39
0.0% src/d3d11/d3d11-device.cpp
23
53.14
0.0% src/metal/metal-device.cpp
51
71.57
0.0% src/d3d12/d3d12-device.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
2
33.86
-27.57% src/device.h
6
75.85
1.85% include/slang-rhi.h
6
73.93
-2.56% src/device.cpp
10
79.11
-10.01% src/wgpu/wgpu-device.cpp
11
66.14
0.0% src/d3d12/d3d12-pipeline.cpp
13
61.76
-7.72% src/rhi.cpp
18
77.63
0.0% src/d3d12/d3d12-command.cpp
18
36.07
-24.7% src/vulkan/vk-api.cpp
29
67.2
0.0% src/d3d/d3d-utils.cpp
49
66.93
-13.69% src/cuda/cuda-device.cpp
61
78.39
0.0% src/d3d11/d3d11-device.cpp
96
49.98
-24.48% src/vulkan/vk-device.cpp
97
55.29
-9.52% src/vulkan/vk-utils.cpp
100
53.14
0.0% src/metal/metal-device.cpp
232
71.57
0.0% src/d3d12/d3d12-device.cpp
Jobs
ID Job ID Ran Files Coverage
3 linux-x86_64 - 18164321455.3 01 Oct 2025 01:48PM UTC 161
4.34
GitHub Action Run
3 windows-x86_64 - 17461296158.3 04 Sep 2025 10:47AM UTC 214
66.8
GitHub Action Run
3 macos-aarch64 - 17777674413.3 16 Sep 2025 08:13PM UTC 156
39.16
GitHub Action Run
Source Files on build 18164321455
  • Tree
  • List 237
  • Changed 161
  • Source Changed 161
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #18164321455
  • a61f6b15 on github
  • Prev Build on main (#17777674413)
  • Next Build on main (#18166730069)
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

© 2025 Coveralls, Inc