dawn-cmake/test/ptr_ref/load/global/struct_field.wgsl.expected.msl

14 lines
177 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
kernel void tint_symbol() {
thread S tint_symbol_1 = {};
int const i = tint_symbol_1.i;
return;
}