dawn-cmake/test/intrinsics/gen/unpack2x16snorm/b4aea6.wgsl.expected.msl

28 lines
473 B
Plaintext

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