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

shader-slang / slang-rhi / 18164321455

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.93
/src/device.cpp


Source Not Available

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