2021-06-03 11:26:17 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2021-06-04 17:31:48 +00:00
|
|
|
struct tint_symbol {
|
|
|
|
float4 value [[position]];
|
|
|
|
};
|
|
|
|
|
2021-06-03 11:26:17 +00:00
|
|
|
void unpack2x16unorm_7699c0() {
|
|
|
|
float2 res = unpack_unorm2x16_to_float(1u);
|
|
|
|
}
|
|
|
|
|
2021-06-04 17:31:48 +00:00
|
|
|
vertex tint_symbol vertex_main() {
|
2021-06-03 11:26:17 +00:00
|
|
|
unpack2x16unorm_7699c0();
|
2021-06-04 17:31:48 +00:00
|
|
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
|
|
|
return tint_symbol_1;
|
2021-06-03 11:26:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
fragment void fragment_main() {
|
|
|
|
unpack2x16unorm_7699c0();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel void compute_main() {
|
|
|
|
unpack2x16unorm_7699c0();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|