2021-06-09 14:32:14 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
struct tint_symbol {
|
|
|
|
float4 value [[position]];
|
|
|
|
};
|
|
|
|
|
|
|
|
void transpose_31e37e() {
|
2021-06-28 15:30:57 +00:00
|
|
|
float2x4 res = transpose(float4x2());
|
2021-06-09 14:32:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
vertex tint_symbol vertex_main() {
|
|
|
|
transpose_31e37e();
|
|
|
|
tint_symbol const tint_symbol_1 = {.value=float4()};
|
|
|
|
return tint_symbol_1;
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment void fragment_main() {
|
|
|
|
transpose_31e37e();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel void compute_main() {
|
|
|
|
transpose_31e37e();
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|