dawn-cmake/test/tint/builtins/radians.spvasm.expected.glsl
Antonio Maiorano e14a27bc7f tint: remove LoopToForLoop and FoldTrivialSingleUseLets transforms for HLSL and GLSL
Change-Id: I18c807b2449dc2842cb9dbfaeba98dae640d2355
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/102621
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-19 14:05:21 +00:00

26 lines
368 B
GLSL

#version 310 es
float tint_radians(float param_0) {
return param_0 * 0.017453292519943295474f;
}
void main_1() {
float a = 0.0f;
float b = 0.0f;
a = 42.0f;
float x_11 = a;
b = tint_radians(x_11);
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;
}