dawn-cmake/test/tint/ptr_ref/load/global/struct_field.spvasm.expecte...

21 lines
296 B
Plaintext
Raw Normal View History

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