22 lines
437 B
Plaintext
22 lines
437 B
Plaintext
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;
|
|
}
|
|
|