mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 19:01:24 +00:00
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>
12 lines
147 B
Plaintext
12 lines
147 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
float tint_symbol() {
|
|
return (((2.0f * 3.0f) - 4.0f) / 5.0f);
|
|
}
|
|
|
|
kernel void ep() {
|
|
return;
|
|
}
|
|
|