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

shader-slang / slang-rhi / 19445294570 / 2
23%
main: 23%

Build:
DEFAULT BRANCH: main
Ran 17 Nov 2025 09:41PM UTC
Files 157
Run time 8s
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

17 Nov 2025 09:33PM UTC coverage: 7.108%. Remained the same
19445294570.2

push

github

web-flow
Feature/example triangle (#578)

* Add files via upload

Update Example-Triangle

* Add example for triangle rendering

Add example-triangle to render a simple triangle

Modified files:
- `CMakeLists.txt`: Added `example-triangle` target to build system.
- `example-triangle.cpp`:  Introduced new source file for the triangle example.

Summary:
- Added a new example, `example-triangle`, to demonstrate rendering a simple triangle using Slang and the RHI framework.
- Updated `CMakeLists.txt` to include the new example in the build process when `SLANG_RHI_BUILD_EXAMPLES` is enabled.
- Implemented `ExampleTriangle` class:
  - Defined vertex structure and data for a triangle with RGB colors.
  - Set up a rendering pipeline with vertex and fragment shaders.
  - Created dynamic rendering logic with a cycling background color.
- Included inline shader source code for vertex and fragment processing.
- Ensured proper lifecycle management with `init`, `draw`, `update`, and `shutdown` methods.

* Update example-triangle.cpp

* fix Clang-Format in example-triangle.cpp (solving pre-commit issue format)

---------

Co-authored-by: Simon Kallweit <64953474+skallweitNV@users.noreply.github.com>

607 of 10828 branches covered (5.61%)

Branch coverage included in aggregate %.

2143 of 27863 relevant lines covered (7.69%)

1.43 hits per line

Source Files on job macos-aarch64 - 19445294570.2
  • Tree
  • List 157
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19445294570
  • d9ff98bc on github
  • Prev Job for on main (#19423610479.2)
  • Next Job for on main (#19463473812.3)
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