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

28 lines
434 B
Plaintext
Raw Normal View History

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