Sign in
dawn
/
tint
/
6cadbb2712cc398b1b4ead2057f7b7ccf87646a3
/
.
/
test
/
statements
/
for
/
continuing
/
struct_ctor.wgsl.expected.msl
blob: a022488354601571de92cbd4aba3df5ee33759cd [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
struct
S
{
int
i
;
};
void
f
()
{
{
int
i
=
0
;
while
(
true
)
{
if
(!(
false
))
{
break
;
}
{
S
const
tint_symbol
=
{.
i
=
1
};
i
=
as_type
<int>
((
as_type
<uint>
(
i
)
+
as_type
<uint>
(
tint_symbol
.
i
)));
}
}
}
}