File tree Expand file tree Collapse file tree
crates/bevy_anti_alias/src/dlss Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,12 +77,13 @@ impl ViewNode for DlssNode<DlssSuperResolutionFeature> {
7777 command_encoder. push_debug_group ( "dlss_super_resolution" ) ;
7878 let time_span = diagnostics. time_span ( command_encoder, "dlss_super_resolution" ) ;
7979
80- dlss_context
80+ let dlss_command_buffer = dlss_context
8181 . render ( render_parameters, command_encoder, & adapter)
8282 . expect ( "Failed to render DLSS Super Resolution" ) ;
8383
8484 time_span. end ( command_encoder) ;
8585 command_encoder. pop_debug_group ( ) ;
86+ render_context. add_command_buffer ( dlss_command_buffer) ;
8687
8788 Ok ( ( ) )
8889 }
@@ -153,13 +154,15 @@ impl ViewNode for DlssNode<DlssRayReconstructionFeature> {
153154 command_encoder. push_debug_group ( "dlss_ray_reconstruction" ) ;
154155 let time_span = diagnostics. time_span ( command_encoder, "dlss_ray_reconstruction" ) ;
155156
156- dlss_context
157+ let dlss_command_buffer = dlss_context
157158 . render ( render_parameters, command_encoder, & adapter)
158159 . expect ( "Failed to render DLSS Ray Reconstruction" ) ;
159160
160161 time_span. end ( command_encoder) ;
161162 command_encoder. pop_debug_group ( ) ;
162163
164+ render_context. add_command_buffer ( dlss_command_buffer) ;
165+
163166 Ok ( ( ) )
164167 }
165168}
You can’t perform that action at this time.
0 commit comments