mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
- 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.