Sign in
dawn
/
dawn
/
3a6d8b64169c3bb2fc42f87c7ec04324ee9db3d3
/
.
/
test
/
tint
/
statements
/
for
/
condition
/
basic.wgsl.expected.msl
blob: 5cb6019bc5421963273fc38ae101a0b1b04b3f2e [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
#define
TINT_ISOLATE_UB
(
VOLATILE_NAME
)
\
{
volatile
bool
VOLATILE_NAME
=
false
;
if
(
VOLATILE_NAME
)
break
;}
void
f
()
{
int
i
=
0
;
for
(;
(
i
<
4
);
)
{
TINT_ISOLATE_UB
(
tint_volatile_false
);
}
}