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

15 lines
300 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_private_vars_struct {
int I;
};
kernel void tint_symbol() {
thread tint_private_vars_struct tint_private_vars = {};
int const i = tint_private_vars.I;
int const u = as_type<int>((as_type<uint>(i) + as_type<uint>(1)));
return;
}