Sign in
dawn
/
dawn
/
93c2d559a12bf72c7eb96b6a2a5a5bb77ecdc4b4
/
.
/
test
/
tint
/
statements
/
for
/
continuing
/
struct_ctor.wgsl.expected.msl
blob: cf7b55f00c4f57a11f06283ecbec2e8e2f49295f [
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
=
S
{.
i
=
1
};
i
=
as_type
<int>
((
as_type
<uint>
(
i
)
+
as_type
<uint>
(
tint_symbol
.
i
)));
}
}
}
}