Extract preview mix-pass material planning

This commit is contained in:
2026-06-13 11:00:41 +02:00
parent 6cdf8c13a7
commit fae108d520
5 changed files with 218 additions and 28 deletions

View File

@@ -292,6 +292,13 @@ agent or engineer to remove them without reconstructing context from chat.
`kShader::CompDraw` binding and composite/pattern/dual uniform writes.
Mixer framebuffer, scissor/capability state, texture binding, and draw/copy
ordering remain retained legacy execution.
- 2026-06-13: DEBT-0036 was narrowed again. `NodeStrokePreview::stroke_draw_mix`
now routes retained mix-pass material planning, pattern scale/offset
derivation, and composite/pattern/dual uniform payload assembly through
`plan_legacy_node_stroke_preview_mix_pass(...)`, with semantic adapter
coverage in `pp_paint_renderer_compositor_tests`. Mixer framebuffer
ownership, retained shader execution, texture binding, and final draw/copy
ordering remain local legacy preview execution.
- 2026-06-13: DEBT-0036 was narrowed again. `NodeStrokePreview` final preview
background capture, composite input binding/draw, and preview texture copy now
route through `legacy_canvas_stroke_preview_services.h`, with semantic preview

View File

@@ -550,6 +550,15 @@ Progress Notes:
uniform setup remain local to the preview node. Next slice should target the
remaining mix-pass material/setup orchestration without reopening the landed
preview live-pass, binding, sample, or final composite helpers.
- 2026-06-13: `NodeStrokePreview::stroke_draw_mix()` now routes retained
mix-pass material planning plus composite/pattern/dual uniform payload
assembly through `plan_legacy_node_stroke_preview_mix_pass(...)`, with
compositor coverage locking the retained preview mix adapter semantics for
composite-pass patterning and dual state. Mixer framebuffer ownership,
retained shader execution, texture binding, and final draw/copy ordering
remain local to the preview node. Next slice should target the remaining
mix-pass execution ownership without reopening the landed preview live-pass,
binding, sample, or final composite helpers.
- 2026-06-13: `pp_paint_renderer_stroke_execution_tests` now also covers
retained texture-dispatch activation order and sampler-dispatch routing
across brush tip, destination, pattern, and mixer helper inputs. Next test