mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 03:11:29 +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>
25 lines
344 B
GLSL
25 lines
344 B
GLSL
#version 310 es
|
|
|
|
float tint_degrees(float param_0) {
|
|
return param_0 * 57.295779513082322865;
|
|
}
|
|
|
|
|
|
void main_1() {
|
|
float a = 0.0f;
|
|
float b = 0.0f;
|
|
a = 42.0f;
|
|
b = tint_degrees(a);
|
|
return;
|
|
}
|
|
|
|
void tint_symbol() {
|
|
main_1();
|
|
}
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void main() {
|
|
tint_symbol();
|
|
return;
|
|
}
|