(options: &Options)
| 4 | use wgpu::util::DeviceExt; |
| 5 | |
| 6 | pub fn start(options: &Options) { |
| 7 | env_logger::init(); |
| 8 | |
| 9 | let compiled_shader_modules = maybe_watch(options, None); |
| 10 | |
| 11 | futures::executor::block_on(start_internal(options, compiled_shader_modules)); |
| 12 | } |
| 13 | |
| 14 | async fn start_internal(options: &Options, compiled_shader_modules: CompiledShaderModules) { |
| 15 | let backends = wgpu::util::backend_bits_from_env().unwrap_or(wgpu::Backends::PRIMARY); |
no test coverage detected