| 807 | occlusion_query_set: None, |
| 808 | multiview_mask: None, |
| 809 | }); |
| 810 | pass.set_pipeline(&self.scene_color_blit.pipeline); |
| 811 | pass.set_bind_group(0, &bind_group, &[]); |
| 812 | pass.draw(0..3, 0..1); |
| 813 | return; |
| 814 | } |
| 815 | // MSAA: a resolve target must match the attachment dimensions, so the |
| 816 | // copy target stays full-res here and capture remains a resolve pass. |
| 817 | let _resolve_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { |
| 818 | label: Some("perro_water_scene_color_resolve"), |
| 819 | color_attachments: &[Some(wgpu::RenderPassColorAttachment { |
| 820 | view: source_view, |
| 821 | resolve_target: Some(&self.scene_color_view), |
| 822 | ops: wgpu::Operations { |
| 823 | load: wgpu::LoadOp::Load, |
| 824 | store: wgpu::StoreOp::Store, |
| 825 | }, |
| 826 | depth_slice: None, |
| 827 | })], |
| 828 | depth_stencil_attachment: None, |