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

shader-slang / slang-rhi / 26918387799
69%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 11:02PM UTC
Jobs 3
Files 253
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

pending completion
26918387799

push

github

web-flow
Fix shader-slang/slang-rhi#762: don't request STORAGE usage for SRGB swapchains (#765)

The Vulkan backend auto-added UnorderedAccess to the default swapchain usage
whenever the chosen format reported ShaderUavStore, which maps to
VK_IMAGE_USAGE_STORAGE_BIT. For SRGB swapchain formats that a driver does not
allow as storage images, vkCreateSwapchainKHR then fails with
VUID-VkSwapchainCreateInfoKHR-imageFormat-01778 (reported on AMD Radeon 9070XT).

- configure(): stop auto-adding UnorderedAccess to the default swapchain usage.
  Apps that need storage on the swapchain must request it explicitly, which the
  existing else-branch already validates against the format.
- createSwapchain(): clamp the requested imageUsage against
  VkSurfaceCapabilitiesKHR::supportedUsageFlags (the caps were queried then
  discarded), as defense-in-depth.
- init(): advertise UnorderedAccess in m_info.supportedUsage only when the
  preferred format reports ShaderUavStore, instead of unconditionally.

Co-authored-by: nv-slang-bot[bot] <274397474+nv-slang-bot[bot]@users.noreply.github.com>
Co-authored-by: Harsh Aggarwal <haaggarwal@nvidia.com>

12317 of 20892 branches covered (58.96%)

Branch coverage included in aggregate %.

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

3 existing lines in 1 file now uncovered.

36548 of 50044 relevant lines covered (73.03%)

272712.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
0.0
0.0% src/vulkan/vk-surface.cpp

Coverage Regressions

Lines Coverage ∆ File
3
77.72
0.54% src/cuda/cuda-backend.cpp
Jobs
ID Job ID Ran Files Coverage
1 macos-aarch64 - 26918387799.1 03 Jun 2026 11:39PM UTC 166
38.41
GitHub Action Run
2 windows-x86_64 - 26918387799.2 03 Jun 2026 11:06PM UTC 227
68.32
GitHub Action Run
3 linux-x86_64 - 26918387799.3 03 Jun 2026 11:03PM UTC 173
64.88
GitHub Action Run
Source Files on build 26918387799
  • Tree
  • List 253
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26918387799
  • 7d42e00e on github
  • Prev Build on main (#26828360686)
  • Next Build on main (#27015453687)
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