Skip to content

Commit ff8a917

Browse files
committed
rename recursion
1 parent 87d2982 commit ff8a917

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/tests/wgpu-gpu/ray_tracing/pipelines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ fn pipeline_create_use(ctx: TestingContext) {
138138
compilation_options: Default::default(),
139139
}),
140140
}],
141-
max_recersion_depth: 1,
141+
max_recursion_depth: 1,
142142
cache: None,
143143
});
144144

wgpu/src/api/ray_tracing_pipeline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pub struct RayTracingPipelineDescriptor<'a> {
107107
/// The list of intersection descriptors
108108
pub intersection_descs: &'a [RayTracingIntersectionDescriptor<'a>],
109109
/// The maximum depth of entry points able to be recursed into, discounting the ray generation stage.
110-
pub max_recersion_depth: u32,
110+
pub max_recursion_depth: u32,
111111
/// The pipeline cache to use when creating this pipeline.
112112
pub cache: Option<&'a PipelineCache>,
113113
}

wgpu/src/backend/wgpu_core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1406,7 +1406,7 @@ impl dispatch::DeviceInterface for CoreDevice {
14061406
},
14071407
})
14081408
.collect::<Vec<_>>(),
1409-
max_recursion_depth: desc.max_recersion_depth,
1409+
max_recursion_depth: desc.max_recursion_depth,
14101410
cache: desc
14111411
.cache
14121412
.map(|cache| cache.inner.as_core().wgpu_pipeline_cache.clone()),

0 commit comments

Comments
 (0)