dawn-cmake/test/tint/ptr_ref/store/local/struct_field.spvasm.expecte...

19 lines
177 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
void main_1() {
S V = {};
V.i = 5;
return;
}
kernel void tint_symbol() {
main_1();
return;
}