21 lines
406 B
Plaintext
21 lines
406 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct tint_private_vars_struct {
|
|
int I;
|
|
};
|
|
|
|
void main_1(thread tint_private_vars_struct* const tint_private_vars) {
|
|
(*(tint_private_vars)).I = 123;
|
|
(*(tint_private_vars)).I = 123;
|
|
return;
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
thread tint_private_vars_struct tint_private_vars = {};
|
|
tint_private_vars.I = 0;
|
|
main_1(&(tint_private_vars));
|
|
return;
|
|
}
|
|
|