Commit 496a00d
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 496a00d
File tree
326 files changed
+3391
-80
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
+3391
-80
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 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments