mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
test: Generate expected output for all tests
The expected output is far from perfect, and the generated HLSL and MSL isn't even validated yet, so may be incorrect. However, by committing the generated output, we get clear examples of the currently generated output of each backend. As we land fixes and improvements to each backend, the presubmits will require us to update the expected test output, and so code reviews will include diffs of each backend's generated output. Change-Id: I5c2a9e5b796d0ab75b3ec4c7f8ad00a0a2ab166f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51224 Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
5858dcc313
commit
d1232670ae
7
test/samples/function.wgsl.expected.wgsl
Normal file
7
test/samples/function.wgsl.expected.wgsl
Normal file
@@ -0,0 +1,7 @@
|
||||
fn main() -> f32 {
|
||||
return (((2.0 * 3.0) - 4.0) / 5.0);
|
||||
}
|
||||
|
||||
[[stage(compute), workgroup_size(2, 1, 1)]]
|
||||
fn ep() {
|
||||
}
|
||||
Reference in New Issue
Block a user