wgpu/naga/tests/out/msl/empty-global-name.msl
2023-10-25 14:25:04 -04:00

24 lines
336 B
Plaintext

// language: metal1.0
#include <metal_stdlib>
#include <simd/simd.h>
using metal::uint;
struct type_1 {
int member;
};
void function(
device type_1& unnamed
) {
int _e3 = unnamed.member;
unnamed.member = _e3 + 1;
return;
}
kernel void main_(
device type_1& unnamed [[user(fake0)]]
) {
function(unnamed);
}