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