dawn-cmake/test/bug/tint/825.wgsl.expected.msl

11 lines
180 B
Plaintext

#include <metal_stdlib>
using namespace metal;
void f() {
int i = 0;
int j = 0;
float2x2 m = float2x2(float2(1.0f, 2.0f), float2(3.0f, 4.0f));
float const f = m[i][j];
}