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

12 lines
280 B
Plaintext

#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)));
}