11 lines
323 B
Plaintext
11 lines
323 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
kernel void f() {
|
||
|
float4x2 const a = float4x2(float2(-1.0f, -2.0f), float2(-3.0f, -4.0f), float2(-5.0f, -6.0f), float2(-7.0f, -8.0f));
|
||
|
float2x4 const b = float2x4(float4(1.0f, 2.0f, 3.0f, 4.0f), float4(5.0f, 6.0f, 7.0f, 8.0f));
|
||
|
float2x2 const r = (a * b);
|
||
|
return;
|
||
|
}
|
||
|
|