dawn-cmake/test/tint/ptr_ref/load/global/i32.spvasm.expected.msl

21 lines
456 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) {
int const x_9 = (*(tint_private_vars)).I;
int const x_11 = as_type<int>((as_type<uint>(x_9) + as_type<uint>(1)));
return;
}
kernel void tint_symbol() {
thread tint_private_vars_struct tint_private_vars = {};
tint_private_vars.I = 0;
main_1(&(tint_private_vars));
return;
}