dawn-cmake/test/expressions/binary/mul/mat2x4-mat4x2/f32.wgsl.expected.msl

11 lines
323 B
Plaintext

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