Files
craft-libs/crates/gpu
dotCooCoo c18e5240d1 craft-gpu-device: read capabilities from DeviceCaps, open from async code
- craft-gpu's DeviceCaps gains `vendor_id` and `software` (serde
  default 0 and false) and `has_feature`. craft-gpu-wgpu fills both.
- `Capabilities` holds a DeviceCaps and reads NV12, P010, 16-bit norm,
  f16 and timestamps from its feature names and the vendor from its
  vendor id. It derefs to DeviceCaps and converts both ways.
- `list_async` and `open_async` are `list` and `open` as futures, for a
  wasm32 web worker. In a browser they request the adapter for the
  preference's power; wgpu 30 does not pass the fallback-adapter option
  to the browser, so `Software` there opens the browser's adapter.
- The README lists what a caller rebuilds after a device loss.
2026-11-20 10:13:54 -08:00
..