2021-10-22 06:23:12 +00:00
|
|
|
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);
|
|
|
|
^^^^^^
|
|
|
|
|
2021-07-30 15:13:58 +00:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|