intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic | |
ignore(s.arr); | |
^^^^^^ | |
#include <metal_stdlib> | |
using namespace metal; | |
struct S { | |
/* 0x0000 */ int arr[1]; | |
}; | |
kernel void tint_symbol(device S* tint_symbol_1 [[buffer(0)]]) { | |
(void) (*(tint_symbol_1)).arr; | |
return; | |
} | |