Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
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
);
}
}