dawn-cmake/test/layout/storage/mat2x2/f32.wgsl.expected.msl

14 lines
229 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct SSBO {
/* 0x0000 */ float2x2 m;
};
kernel void f(device SSBO* tint_symbol [[buffer(0)]]) {
float2x2 const v = (*(tint_symbol)).m;
(*(tint_symbol)).m = v;
return;
}