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

13 lines
192 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct S {
/* 0x0000 */ int a;
};
kernel void tint_symbol(device S* tint_symbol_1 [[buffer(0)]]) {
(*(tint_symbol_1)).a = 12;
return;
}