Sign in
dawn
/
dawn
/
65727b78599c0054a2034aa933557acc7e6fb9ee
/
.
/
test
/
tint
/
statements
/
decrement
/
private.wgsl.expected.ir.msl
blob: 278198a07b692a5f0b87ce5c4dca86c8e0946f52 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
tint_module_vars_struct
{
thread
int
*
i
;
};
void
v
(
tint_module_vars_struct tint_module_vars
)
{
(*
tint_module_vars
.
i
)
=
as_type
<int>
((
as_type
<uint>
((*
tint_module_vars
.
i
))
-
as_type
<uint>
(
1
)));
}