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

28 lines
438 B
Plaintext

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