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

shader-slang / slang-rhi / 20819876139 / 3
21%
main: 21%

Build:
DEFAULT BRANCH: main
Ran 08 Jan 2026 03:32PM UTC
Files 166
Run time 7s
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

08 Jan 2026 02:17PM UTC coverage: 23.437% (+0.008%) from 23.429%
20819876139.3

push

github

web-flow
Add final ray tracing tests (#614)

* Add tests for AcceptHitAndEndSearch and IgnoreHit

* Add tests for querying ray attributes in closesthit

Add tests for these intrinsics:

- HitKind
- RayTMin
- RayTCurrent
- RayFlags
- GeometryIndex
- HitTriangleVertexPosition
- RayCurrentTime
- InstanceID
- InstanceIndex

* Add HitObject.GetRayDesc/GetInstanceID tests

* Add test for HitObject.GetClusterID

* Add test for HitObject.SetShaderTableIndex

* Add tests for HitObject SBT access intrinsics and backend support

Add tests for HitObject.LoadLocalRootTableConstant (HLSL/CUDA) and
HitObject.GetShaderRecordBufferHandle (Vulkan/SPIRV).

Changes:
- Added two new ray tracing tests that validate SBT data access
- Updated OptiX backend to apply ShaderRecordOverwrite for miss, hit
  group, and callable shaders
- Updated Vulkan backend to apply ShaderRecordOverwrite and use strides
  when dispatching rays

* Add test for CallShader

* Skip SetShaderTableIndex test when OptiX is older than 9.0

* Fix issue where ray-tracing-hitobject-get-shader-record-buffer-handle only read bottom bits of handle

* Forgot to run pre-commit

* fix(d3d12): Calculate shader table record sizes from overwrites

The D3D12 shader table implementation was using fixed record sizes
(D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES) for all shader types, which
caused buffer overruns when ShaderRecordOverwrite data extended beyond
the shader identifier.

Changes:
- Added per-shader-type stride members to ShaderTableImpl
- Calculate record sizes by examining overwrites for each shader type
- Use explicit base index calculation for different shader sections
- Update dispatch ray descriptions to use calculated strides
- Align all record sizes to D3D12_RAYTRACING_SHADER_TABLE_BYTE_ALIGNMENT

This fixes a segfault in ray-tracing-hitobject-query-invoke-hit-ch.d3d12
where hit group shader records with local root arguments (SBT overwrites)
were overflowing the allocated buffer.

* Fix Vulkan raygen shader bindin... (continued)

2165 of 12076 branches covered (17.93%)

Branch coverage included in aggregate %.

7451 of 28954 relevant lines covered (25.73%)

51.24 hits per line

Source Files on job linux-x86_64 - 20819876139.3
  • Tree
  • List 166
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 20819876139
  • 4ba2d4b9 on github
  • Prev Job for on main (#20819187860.3)
  • Next Job for on main (#20824083746.)
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