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

28 lines
431 B
Plaintext
Raw Normal View History

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