dawn-cmake/test/intrinsics/gen/refract/cbc1d2.wgsl.expected.msl

28 lines
443 B
Plaintext

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