wgpu/naga/tests/out/msl/array-in-ctor.msl
2023-10-25 14:25:04 -04:00

19 lines
246 B
Plaintext

// language: metal1.0
#include <metal_stdlib>
#include <simd/simd.h>
using metal::uint;
struct type_1 {
float inner[2];
};
struct Ah {
type_1 inner;
};
kernel void cs_main(
device Ah const& ah [[user(fake0)]]
) {
Ah ah_1 = ah;
}