photocraft/crates/gpu
Brandon Thomas f8f48db78a
Never crash: the GPU compositor is panic-free (Rule 9) (#55)
- A failed readback mapping (e.g. device lost) now returns Unsupported,
  so the caller falls back to the CPU compositor, instead of
  expect("mapped readback buffer").
- Pipeline creation skips kernels without an entry point instead of
  expect; resident/effect entries are looked up with let-else after the
  insert; effect-program targets are Option instead of indexing +
  expect; copies without a source are skipped; the planner returns
  Unsupported instead of unreachable! for an adjustment layer.
- gpu denies unwrap/expect/panic/unimplemented/todo/unreachable.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 13:39:48 -04:00
..
src Never crash: the GPU compositor is panic-free (Rule 9) (#55) 2026-10-04 13:39:48 -04:00
tests GPU: adapters without float render targets keep the GPU path for effect-free documents 2026-10-04 11:55:25 -04:00
Cargo.toml GPU: fall back to Rgba16Float when Rgba32Float isn't renderable (#7, #4) (#22) 2026-10-04 02:27:54 -04:00