Trim preview main pass setup glue
This commit is contained in:
@@ -18,6 +18,10 @@ agent or engineer to remove them without reconstructing context from chat.
|
||||
|
||||
## Recent Reductions
|
||||
|
||||
- 2026-06-13: DEBT-0036 was narrowed again. `NodeStrokePreview::draw_stroke_immediate()`
|
||||
no longer duplicates main-pass setup in the outer `prepare_main_pass` block;
|
||||
the retained main-live-pass helper now owns blend-uniform and texture binding
|
||||
setup, while the sequence wrapper keeps only structural pass ordering.
|
||||
- 2026-06-13: DEBT-0036 was narrowed again. `NodeStrokePreview::draw_stroke_immediate()`
|
||||
now routes the main live-pass setup, frame execution, and preview copy-back
|
||||
through `execute_legacy_node_stroke_preview_main_live_pass(...)`; the
|
||||
|
||||
@@ -763,21 +763,7 @@ void NodeStrokePreview::draw_stroke_immediate()
|
||||
m_plane.draw_fill();
|
||||
});
|
||||
},
|
||||
.prepare_main_pass = [&] {
|
||||
pp::panopainter::use_legacy_stroke_shader();
|
||||
pp::panopainter::apply_legacy_stroke_blend_uniforms(
|
||||
material.stroke_pass.uses_pattern,
|
||||
b->m_tip_mix,
|
||||
b->m_tip_wet,
|
||||
b->m_tip_noise);
|
||||
|
||||
bind_stroke_preview_main_pass_textures(
|
||||
*b,
|
||||
m_tex,
|
||||
m_rtt_mixer,
|
||||
copy_stroke_destination,
|
||||
pass_orchestration.composite.uses_mixer);
|
||||
},
|
||||
.prepare_main_pass = [&] {},
|
||||
.execute_main_pass = [&] {
|
||||
[[maybe_unused]] const bool main_live_ok =
|
||||
pp::panopainter::execute_legacy_node_stroke_preview_main_live_pass(
|
||||
|
||||
Reference in New Issue
Block a user