Commit fe29d54
committed
Add differential testing harness
This runs wgsl shaders and rust shaders and compares the output.
If the output differs, the test fails. Differential testing is better
than snapshot testing or golden file testing as there are no reference
files to get outdated.1 parent 3b60bf9 commit fe29d54
File tree
326 files changed
+3792
-330
lines changed- .cargo
- .github/workflows
- docs/src
- tests
- compiletests
- deps-helper
- src
- src
- ui
- arch
- subgroup
- byte_addressable_buffer
- dis
- glam
- image
- query
- sample_depth_reference_with_project_coordinate
- sample_depth_reference
- sample_with_project_coordinate
- lang
- asm
- consts
- control_flow
- core
- intrinsics
- mem
- ops
- ptr
- ref
- f32
- panic
- spirv-attr
- storage_class
- difftests
- bin
- src
- lib
- src
- scaffold
- compute
- tests
- simple-compute
- simple-compute-rust
- src
- simple-compute-wgsl
- src
- ui/arch
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
326 files changed
+3792
-330
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
64 | 71 | | |
65 | 72 | | |
66 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
| |||
145 | 156 | | |
146 | 157 | | |
147 | 158 | | |
148 | | - | |
149 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
150 | 163 | | |
151 | 164 | | |
152 | 165 | | |
| |||
0 commit comments