dawn-cmake/test/intrinsics/ignore/storage_buffer.wgsl.expecte...

14 lines
177 B
Plaintext

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