dawn-cmake/test/intrinsics/gen/select/266aff.wgsl.expected.msl

28 lines
441 B
Plaintext

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