mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-06 20:25:44 +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>
39 lines
640 B
Plaintext
39 lines
640 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
|
|
float3 tint_radians(float3 param_0) {
|
|
return param_0 * 0.017453292519943295474;
|
|
}
|
|
|
|
struct tint_symbol {
|
|
float4 value [[position]];
|
|
};
|
|
|
|
void radians_f96258() {
|
|
float3 res = tint_radians(float3());
|
|
}
|
|
|
|
float4 vertex_main_inner() {
|
|
radians_f96258();
|
|
return float4();
|
|
}
|
|
|
|
vertex tint_symbol vertex_main() {
|
|
float4 const inner_result = vertex_main_inner();
|
|
tint_symbol wrapper_result = {};
|
|
wrapper_result.value = inner_result;
|
|
return wrapper_result;
|
|
}
|
|
|
|
fragment void fragment_main() {
|
|
radians_f96258();
|
|
return;
|
|
}
|
|
|
|
kernel void compute_main() {
|
|
radians_f96258();
|
|
return;
|
|
}
|
|
|