show previews for effects

This commit is contained in:
Skyler Lehmkuhl
2025-12-08 13:32:11 -05:00
parent c8a5cbfc89
commit efca9da2c9
16 changed files with 1511 additions and 289 deletions
@@ -621,7 +621,7 @@ pub fn render_frame_to_rgba(
sender.send(result).ok();
});
device.poll(wgpu::Maintain::Wait);
let _ = device.poll(wgpu::PollType::wait_indefinitely());
receiver
.recv()
@@ -926,6 +926,7 @@ pub fn render_frame_to_rgba_hdr(
load: wgpu::LoadOp::Clear(wgpu::Color::BLACK),
store: wgpu::StoreOp::Store,
},
depth_slice: None,
})],
depth_stencil_attachment: None,
occlusion_query_set: None,
@@ -990,7 +991,7 @@ pub fn render_frame_to_rgba_hdr(
sender.send(result).ok();
});
device.poll(wgpu::Maintain::Wait);
let _ = device.poll(wgpu::PollType::wait_indefinitely());
receiver
.recv()