dawn-cmake/test/tint/statements/increment/private.wgsl.expected.msl

12 lines
280 B
Plaintext
Raw Normal View History

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