22 lines
393 B
Plaintext
22 lines
393 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& s [[buffer(0)]]) {
|
|
(void) s;
|
|
(void) s.i;
|
|
return;
|
|
}
|
|
|