mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 11:15:46 +00:00
docs/ -> docs/tint/ fuzzers/ -> src/tint/fuzzers/ samples/ -> src/tint/cmd/ src/ -> src/tint/ test/ -> test/tint/ BUG=tint:1418,tint:1433 Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
20 lines
287 B
Plaintext
20 lines
287 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
float x_200(thread float2* const x_201) {
|
|
float const x_212 = (*(x_201))[0];
|
|
return x_212;
|
|
}
|
|
|
|
void main_1() {
|
|
float2 x_11 = 0.0f;
|
|
float const x_12 = x_200(&(x_11));
|
|
return;
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
main_1();
|
|
return;
|
|
}
|
|
|