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