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

shader-slang / slang-rhi / 23764299835

30 Mar 2026 07:46PM UTC coverage: 68.602% (+0.3%) from 68.342%
23764299835

push

github

web-flow
Handle the rest of ScalarType for wgpu as Undefined (#698)

We are trying to add more types to ScalarType: IntPtr, UIntPtr and
BFloat16; in https://github.com/shader-slang/slang/pull/10643
And slang-rhi build prints a warning that the new types are not handled
in a switch-statement for WGPU.

Because WGPU cannot represent those types, this PR converts the new
types as Undefined and avoid the compilation warnings, which is treated
an errors on CI machines.

11709 of 19884 branches covered (58.89%)

Branch coverage included in aggregate %.

0 of 4 new or added lines in 1 file covered. (0.0%)

34773 of 47872 relevant lines covered (72.64%)

277299.09 hits per line

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

82.91
/src/wgpu/wgpu-shader-object-layout.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