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