dawn-cmake/test/intrinsics/gen/faceForward/b316e5.wgsl.expected.msl

28 lines
469 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_symbol {
float4 value [[position]];
};
void faceForward_b316e5() {
float4 res = faceforward(float4(), float4(), float4());
}
vertex tint_symbol vertex_main() {
faceForward_b316e5();
tint_symbol const tint_symbol_1 = {.value=float4()};
return tint_symbol_1;
}
fragment void fragment_main() {
faceForward_b316e5();
return;
}
kernel void compute_main() {
faceForward_b316e5();
return;
}