skip to content
[readonly]

programs/pathtrace's digests: FNV-1a 64 over words, a tile's fold of 32 column digests, a payload's digest

sh
$ sexc add @ajax/pathtrace-digest
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 01:59v/# 1 version
  • drwxr-xr-x-Oct 27 01:59files/# the files of 0.1.0
latest
0.1.0, published Oct 27 01:59 by ajax
owners
ajax
license
MIT
dependencies
@ajax/pathtrace-scene ^0.1.0
dependents
@ajax/mesh-assemble, @ajax/mesh-prog-pathtrace, @ajax/mesh-ref-pathtrace, @ajax/pathtrace-tile
keywords
alphaos mesh pathtrace fnv digest
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/pathtrace-digest
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/pathtrace-digest
2
3The digests of programs/pathtrace: FNV-1a 64 over u32 words (`pt_fnv`, `pt_fnv_words`), a tile's digest
4folded from its 32 column digests (`pt_fold`), and a pass-sum payload's digest (`pt_payload_digest`, what
5meshd's assembler checks a fleet job item against). Freestanding.
6
7**Ported from** `crates/pathtrace-core/src/lib.rs` (`fnv`, `fold`, `payload_digest`, `FNV_*`) and
8`crates/mesh-ref/src/pathtrace.rs` (`fnv_words`). **Tested** in the renderer golden tests, including the
9Rust's check that a payload's digest equals its tile pass digest.