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

shader-slang / slang-rhi / 23336160341
68%

Build:
DEFAULT BRANCH: main
Ran 20 Mar 2026 09:12AM UTC
Jobs 3
Files 242
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

20 Mar 2026 09:08AM UTC coverage: 69.225% (+0.6%) from 68.603%
23336160341

push

github

web-flow
Add AccelerationStructureKind to AccelerationStructureDesc (#694)

* Add AccelerationStructureKind to AccelerationStructureDesc and fix Vulkan AS creation type

Vulkan GPU-assisted validation enforces VUID-vkCmdBuildAccelerationStructuresKHR-pInfos-12281,
which requires that acceleration structures referenced as BLAS instances must have been created
with VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_KHR, not VK_ACCELERATION_STRUCTURE_TYPE_GENERIC_KHR.

The Vulkan backend was previously always creating acceleration structures with GENERIC_KHR,
which was caught by the new GPU-AV test added in PR #622.

Fix by adding AccelerationStructureKind enum (Unknown/BottomLevel/TopLevel) and a kind field
to AccelerationStructureDesc. The Vulkan backend now maps kind to the correct
VkAccelerationStructureTypeKHR at creation time (defaulting to GENERIC_KHR for Unknown,
preserving backward compatibility). All tests are updated to set the correct kind.

* Add enumToString for AccelerationStructureKind

* Check for valid AccelerationStructureKind

* Add IAccelerationStructure::getDesc()

* Add kind to default acceleration structure label

* Cleanup

* Additional validation

* Remove vulkan comment

* Cleanup

---------

Co-authored-by: Simon Kallweit <skallweit@nvidia.com>

11947 of 20302 branches covered (58.85%)

Branch coverage included in aggregate %.

52 of 62 new or added lines in 10 files covered. (83.87%)

18 existing lines in 5 files now uncovered.

35259 of 47890 relevant lines covered (73.62%)

281811.2 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
60.23
4.38% src/enum-strings.cpp
1
69.56
2.67% src/vulkan/vk-utils.cpp
4
56.6
7.99% src/debug-layer/debug-device.cpp
4
56.11
8.77% src/rhi-shared.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
53.85
6.66% src/strings.h
1
80.34
13.8% include/slang-rhi.h
2
60.23
4.38% src/enum-strings.cpp
3
69.56
2.67% src/vulkan/vk-utils.cpp
11
74.77
-2.1% src/wgpu/wgpu-device.cpp
Jobs
ID Job ID Ran Files Coverage
2 macos-aarch64 - 23336160341.2 20 Mar 2026 09:16AM UTC 160
38.57
GitHub Action Run
3 linux-x86_64 - 23336160341.3 20 Mar 2026 09:12AM UTC 168
64.24
GitHub Action Run
3 windows-x86_64 - 23306895226.3 19 Mar 2026 05:10PM UTC 218
67.93
GitHub Action Run
Source Files on build 23336160341
  • Tree
  • List 242
  • Changed 42
  • Source Changed 19
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23336160341
  • db9ba70a on github
  • Prev Build on main (#23306895226)
  • Next Build on main (#23338346545)
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