tree: 63eb0f75bc3b6a1c96989a203e6548881c5d3224 [search]
  1. tests/
  2. build.rs
  3. Cargo.toml
  4. README.md
  5. run.sh
vello_tests/feature_tests/README.md

GPU shader feature combinations

Compares the supported elements of the common probe scene against PNG references on WGPU and WebGL, with depth buffering enabled.

run.sh tests five combinations: no optional shader features, each feature alone, and all features together.

bash vello_tests/feature_tests/run.sh --features wgpu
bash vello_tests/feature_tests/run.sh --headless --chrome --features webgl

References live in vello_tests/snapshots; native diffs go to vello_tests/diffs. Generate references on a native target before compiling browser tests:

cargo test -p vello_gpu_feature_tests --no-default-features \
    --features gradient_sweep --test features feature_tests_probe_reference

Use REPLACE=1 to update references. Creating or replacing a reference intentionally fails that run for review.