Sign in
dawn
/
tint
/
afb02e8ec7cd8214034136b1290ebe800f217d72
/
.
/
test
/
statements
/
for
/
continuing
/
struct_ctor.wgsl.expected.msl
blob: 08603f7ca463764a0b0969d1be52553531a05ed8 [
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
)));
}
}
}
}