28 lines
470 B
Plaintext
28 lines
470 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct tint_symbol {
|
|
float4 value [[position]];
|
|
};
|
|
|
|
void unpack2x16float_32a5cf() {
|
|
float2 res = float2(as_type<half2>(1u));
|
|
}
|
|
|
|
vertex tint_symbol vertex_main() {
|
|
unpack2x16float_32a5cf();
|
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
|
return tint_symbol_1;
|
|
}
|
|
|
|
fragment void fragment_main() {
|
|
unpack2x16float_32a5cf();
|
|
return;
|
|
}
|
|
|
|
kernel void compute_main() {
|
|
unpack2x16float_32a5cf();
|
|
return;
|
|
}
|
|
|