Skip to content

bump ruis/ruis-render-vulkan: context::current() non-const (ruis#196, ruis-render-vulkan#5) - #13

Merged
igagis merged 6 commits into
cppfw:mainfrom
igagis-bot:bump/ruis-current-nonconst
Nov 24, 2026
Merged

igagis merged 6 commits into
cppfw:mainfrom
igagis-bot:bump/ruis-current-nonconst

Conversation

@igagis-bot

Copy link
Copy Markdown
Contributor

Summary

Integration PR — pins the two PR heads so CI validates them together:

pin PR change
repos/ruis → 71729da1 cppfw/ruis#196 render::context::current() returns a non-const context& (the context stack holds non-const pointers). Rendering mutates the active context, so renderers need a usable reference; the context is owned by its creator.
repos/ruis-render-vulkan → ae03c9c cppfw/ruis-render-vulkan#5 drops the const_cast at both shader call sites; the downcast is guarded by a debug-only utki::assert(dynamic_cast(...)) (existing codebase idiom)

Merge order

  1. render: context::current() returns a non-const context& ruis#196 (self-contained).
  2. shaders: use the non-const context from context::current() ruis-render-vulkan#5 (needs the new ruis API to compile — its standalone CI builds against the published ruis package, so it goes green only after ruis#196 is published).
  3. This PR: bump both pins to the squash-merged SHAs (I'll do that automatically once both merge), then merge when CI is green.

Test plan (local, pre-PR)

  • Full monorepo rebuild: OK
  • Full test suite (utki 557, ruis 353, tml 337, r4 59, rasterimage 1, ...): all pass
  • check-format-ruis / check-format-ruis-render-vulkan: pass

- vcpkg manifest: vulkan is no longer excluded on linux; add
  vulkan-loader[xlib,wayland] for linux so the loader built from source
  provides X11/Wayland WSI (mirrors ruisapp#32)
- CI: drop system libvulkan-dev from the linux job (vcpkg now provides
  vulkan on linux as well)
@igagis
igagis merged commit 8d568d2 into cppfw:main Nov 24, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants