mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-14 17:16:01 +00:00
Fixed: tint:1329 Change-Id: I5fb927268fc9cb8047a2b365d26e813a8546605a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75423 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
23 lines
313 B
Plaintext
23 lines
313 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
|
|
float tint_radians(float param_0) {
|
|
return param_0 * 0.017453292519943295474;
|
|
}
|
|
|
|
void main_1() {
|
|
float a = 0.0f;
|
|
float b = 0.0f;
|
|
a = 42.0f;
|
|
float const x_11 = a;
|
|
b = tint_radians(x_11);
|
|
return;
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
main_1();
|
|
return;
|
|
}
|
|
|