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

shader-slang / slang-rhi / 24529412042

16 Apr 2026 07:21PM UTC coverage: 68.68% (-0.03%) from 68.706%
24529412042

push

github

web-flow
Cleanup static initialization (part 2) (#710)

* Fix statis in getDawnTogglesDescriptor()

* Make optix API table constexpr

* Refactor reverseMap to not rely on static constructors

* Don't use static constructor for global task pool

* Do not use static constructors for DXGI module and factory

* Remove recursive_mutex from CUDA driver API

* Shutdown CUDA driver API

* Remove g_formatInfoMap static constructor

* Make using non-trivial static variables a compile error in slang-rhi

* Do not rely on static constructor/destructor for BlockAllocator

* Add SLANG_RHI_STATIC_MUTEX_BEGIN to handle pre clang16 warnings

* Fix NO_THREAD_ID

* Remove NO_THREAD_ID

* Address review

* Enable SLANG_RHI_STATIC_MUTEX_BEGIN for apple clang

* Disable constructor/destructor warnings on apple clang

* Protect getDXGIFactory

11850 of 20052 branches covered (59.1%)

Branch coverage included in aggregate %.

85 of 133 new or added lines in 11 files covered. (63.91%)

12 existing lines in 3 files now uncovered.

35017 of 48188 relevant lines covered (72.67%)

281997.27 hits per line

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

64.99
/src/wgpu/wgpu-utils.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

© 2026 Coveralls, Inc