22 lines
395 B
Plaintext
22 lines
395 B
Plaintext
intrinsics/ignore/uniform_buffer.wgsl:10:5 warning: use of deprecated intrinsic
|
|
ignore(u);
|
|
^^^^^^
|
|
|
|
intrinsics/ignore/uniform_buffer.wgsl:11:5 warning: use of deprecated intrinsic
|
|
ignore(u.i);
|
|
^^^^^^
|
|
|
|
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct S {
|
|
/* 0x0000 */ int i;
|
|
};
|
|
|
|
kernel void tint_symbol(constant S& u [[buffer(0)]]) {
|
|
(void) u;
|
|
(void) u.i;
|
|
return;
|
|
}
|
|
|