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;
|
|
|
|
};
|
|
|
|
|
2021-10-28 15:00:39 +00:00
|
|
|
kernel void tint_symbol(const constant S* tint_symbol_1 [[buffer(0)]]) {
|
|
|
|
(void) *(tint_symbol_1);
|
|
|
|
(void) (*(tint_symbol_1)).i;
|
2021-07-30 15:13:58 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|