2021-12-09 15:45:03 +00:00
|
|
|
intrinsics/ignore/runtime_array.wgsl:9:5 warning: use of deprecated intrinsic
|
2021-10-22 06:23:12 +00:00
|
|
|
ignore(s.arr);
|
|
|
|
^^^^^^
|
|
|
|
|
2021-07-30 15:13:58 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
struct S {
|
|
|
|
/* 0x0000 */ int arr[1];
|
|
|
|
};
|
|
|
|
|
2021-10-28 15:00:39 +00:00
|
|
|
kernel void tint_symbol(device S* tint_symbol_1 [[buffer(0)]]) {
|
|
|
|
(void) (*(tint_symbol_1)).arr;
|
2021-07-30 15:13:58 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|