dawn-cmake/test/intrinsics/ignore/storage_buffer.wgsl.expecte...

22 lines
437 B
Plaintext
Raw Normal View History

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* tint_symbol_1 [[buffer(0)]]) {
(void) *(tint_symbol_1);
(void) (*(tint_symbol_1)).i;
return;
}