Documentation
¶
Overview ¶
Command corpussync maintains the Rust naga test corpus vendored under snapshot/testdata (ADR-006).
Usage:
go run ./internal/cmd/corpussync sync -wgpu <gfx-rs/wgpu checkout> -out snapshot/testdata/rust go run ./internal/cmd/corpussync manifest -dir <tree> -kind vendored|derived -repo <url> [flags]
sync replaces the vendored tree with the WGSL inputs, their TOML parameters, the SPIR-V/MSL/HLSL/GLSL/IR outputs and the license files of the checkout's HEAD commit, read from git objects, and writes MANIFEST.json. The checkout must be clean.
manifest (re)writes MANIFEST.json for an existing tree from explicit source flags. Use it for derived trees after regenerating them; a vendored tree is written by sync.
Click to show internal directories.
Click to hide internal directories.