Skip to main content

Module reference

Module reference 

Source
Expand description

Scalar models of the GPU kernels’ addressing, written to mirror the WGSL line by line. They let the bit-level semantics be tested on machines without a GPU (against flashraw_codecs::packed::unpack_row_scalar), and serve as executable documentation of the shader behaviour.

Structs§

PackedRaster
Description of a packed raster as the unpack kernel sees it.

Functions§

packed_sample
Sample i of row y exactly as packed_sample in common.wgsl computes it.
unpack
Whole-raster unpack (what the unpack kernel produces for a full frame).