dawn-cmake/test/tint/ptr_ref/load/local/ptr_private.wgsl.expected.msl

15 lines
310 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 = {};
tint_private_vars.i = 123;
int const u = as_type<int>((as_type<uint>(tint_private_vars.i) + as_type<uint>(1)));
return;
}