()
| 268 | } |
| 269 | |
| 270 | fn r8_half() -> TransientDesc { |
| 271 | TransientDesc::new( |
| 272 | wgpu::TextureFormat::R8Unorm, |
| 273 | wgpu::TextureUsages::RENDER_ATTACHMENT | wgpu::TextureUsages::TEXTURE_BINDING, |
| 274 | SizePolicy::HalfSwapchain, |
| 275 | ) |
| 276 | } |
| 277 | |
| 278 | /// Headless wgpu device for tests. Uses the default noop/fallback |
| 279 | /// backend if available so tests run in CI without a GPU. Returns |
no outgoing calls