Route draw merge blend setup through helper

This commit is contained in:
2026-06-13 05:12:06 +02:00
parent ea1557f7ea
commit 14a6fc2e57
3 changed files with 20 additions and 6 deletions

View File

@@ -2992,6 +2992,11 @@ Results:
checkerboard backgrounds and the final merged texture redraw over the grid;
layer traversal, blend destination copies, sampler/texture binding, and draw
ordering remain in the legacy Canvas path.
- `Canvas::draw_merge` non-stroke layer blending now shares the retained
draw-merge shader setup helper for `TextureBlend` uniforms, preserving the
optional `TexBG` uniform when copy-based blend destination feedback is active.
Layer traversal, framebuffer copies, sampler/texture binding, and draw
ordering remain in the legacy Canvas path.
- `Canvas::stroke_draw_mix` now shares the retained stroke composite shader
helper for mixer-pass `CompDraw` setup, while preserving its caller-specific
texture slot uniforms. Mixer framebuffer/scissor state, sampler and texture