@@ -730,7 +730,7 @@ impl<'a, A: HalApi> RenderPassInfo<'a, A> {
730
730
let mut depth_stencil = None ;
731
731
732
732
if let Some ( at) = depth_stencil_attachment {
733
- let view = cmd_buf
733
+ let view: & TextureView < A > = cmd_buf
734
734
. trackers
735
735
. views
736
736
. add_single ( & * view_guard, at. view )
@@ -840,7 +840,7 @@ impl<'a, A: HalApi> RenderPassInfo<'a, A> {
840
840
}
841
841
842
842
for at in color_attachments {
843
- let color_view = cmd_buf
843
+ let color_view: & TextureView < A > = cmd_buf
844
844
. trackers
845
845
. views
846
846
. add_single ( & * view_guard, at. view )
@@ -870,7 +870,7 @@ impl<'a, A: HalApi> RenderPassInfo<'a, A> {
870
870
871
871
let mut hal_resolve_target = None ;
872
872
if let Some ( resolve_target) = at. resolve_target {
873
- let resolve_view = cmd_buf
873
+ let resolve_view: & TextureView < A > = cmd_buf
874
874
. trackers
875
875
. views
876
876
. add_single ( & * view_guard, resolve_target)
@@ -1191,7 +1191,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
1191
1191
) ;
1192
1192
dynamic_offset_count += num_dynamic_offsets as usize ;
1193
1193
1194
- let bind_group = cmd_buf
1194
+ let bind_group: & crate :: binding_model :: BindGroup < A > = cmd_buf
1195
1195
. trackers
1196
1196
. bind_groups
1197
1197
. add_single ( & * bind_group_guard, bind_group_id)
@@ -1255,7 +1255,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
1255
1255
let scope = PassErrorScope :: SetPipelineRender ( pipeline_id) ;
1256
1256
state. pipeline = Some ( pipeline_id) ;
1257
1257
1258
- let pipeline = cmd_buf
1258
+ let pipeline: & pipeline :: RenderPipeline < A > = cmd_buf
1259
1259
. trackers
1260
1260
. render_pipelines
1261
1261
. add_single ( & * render_pipeline_guard, pipeline_id)
0 commit comments