The view of programs/pathtrace: offsets, job records, tile meta, payload ring and ops that the program, kcheck, mesh-top and http agree on
$ sexc add @ajax/pathtrace-view- 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-blobd, @ajax/mesh-prog-http, @ajax/mesh-prog-pathtrace, @ajax/mesh-prog-pathtrace-wasm, @ajax/mesh-top-app, @ajax/mesh-top-ui-render, @ajax/pathtrace-job-scene
- keywords
- alphaos mesh pathtrace view abi
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/pathtrace-view
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/pathtrace-view 2 3The view of programs/pathtrace: the byte offsets the program, kcheck, mesh-top and the http program agree 4on — the header words, job records, the request and response windows, the scene, per-tile meta, the 5payload ring, the tile-major pixels and accumulators — plus the executors and the ops (`OP_RESTART`, 6`OP_TONEMAP`, `OP_DEFAULT`, `OP_PASS`, `OP_SET`). Header only, freestanding, with the Rust's 7compile-time layout checks as static asserts. 8 9**Ported from** `crates/pathtrace-core/src/lib.rs`, module `view`. **Tested**: the derived offsets are 10pinned to values printed from the Rust.