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

28 lines
425 B
Plaintext
Raw Normal View History

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