mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
fix shadow pass trace (#12977)
# Objective - shadow pass trace does not work correctly ## Solution - enable it.
This commit is contained in:
parent
e7ab65675d
commit
09a1f94d14
2 changed files with 2 additions and 2 deletions
|
@ -15,6 +15,7 @@ trace = [
|
|||
"bevy_core_pipeline?/trace",
|
||||
"bevy_ecs/trace",
|
||||
"bevy_log/trace",
|
||||
"bevy_pbr?/trace",
|
||||
"bevy_render?/trace",
|
||||
"bevy_hierarchy/trace",
|
||||
"bevy_winit?/trace",
|
||||
|
|
|
@ -1849,8 +1849,7 @@ impl Node for ShadowPassNode {
|
|||
let diagnostics = render_context.diagnostic_recorder();
|
||||
render_context.add_command_buffer_generation_task(move |render_device| {
|
||||
#[cfg(feature = "trace")]
|
||||
let _shadow_pass_span = info_span!("shadow_pass").entered();
|
||||
|
||||
let _shadow_pass_span = info_span!("", "{}", view_light.pass_name).entered();
|
||||
let mut command_encoder =
|
||||
render_device.create_command_encoder(&CommandEncoderDescriptor {
|
||||
label: Some("shadow_pass_command_encoder"),
|
||||
|
|
Loading…
Reference in a new issue