blob: 8fd6daab6778e3a329e1b038068d5d24cfbf55a1 [file] [log] [blame] [edit]
intrinsics/ignore/storage_buffer.wgsl:10:5 warning: use of deprecated intrinsic
ignore(s);
^^^^^^
intrinsics/ignore/storage_buffer.wgsl:11:5 warning: use of deprecated intrinsic
ignore(s.i);
^^^^^^
#include <metal_stdlib>
using namespace metal;
struct S {
/* 0x0000 */ int i;
};
kernel void tint_symbol(device S* tint_symbol_1 [[buffer(0)]]) {
(void) *(tint_symbol_1);
(void) (*(tint_symbol_1)).i;
return;
}