diff options
Diffstat (limited to 'src/nodes.rs')
-rw-r--r-- | src/nodes.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nodes.rs b/src/nodes.rs index 22ca8d3..1c750c7 100644 --- a/src/nodes.rs +++ b/src/nodes.rs @@ -57,6 +57,11 @@ impl ViewNode for OutlineRenderNode { return Ok(()); }; + let Some(deferred_buffer_view) = view_prepass_textures.deferred_view() else { + error!("Failed to get deferred buffer view"); + return Ok(()); + }; + let post_process = view_target.post_process_write(); let bind_group = render_context.render_device().create_bind_group( @@ -67,6 +72,7 @@ impl ViewNode for OutlineRenderNode { &render_pipeline.screen_sampler, normal_buffer_view, &render_pipeline.normal_sampler, + deferred_buffer_view, uniform_binding, )), ); |