Trim preview main pass setup glue
This commit is contained in:
@@ -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