Sign in
dawn
/
dawn
/
2b4c9cba1d0316ab403aab190d5d0a31f947339f
/
.
/
test
/
tint
/
statements
/
for
/
condition
/
basic.wgsl.expected.msl
blob: 960d0321e82461c17df9792ba40362156a90e7bd [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
#define
TINT_ISOLATE_UB
(
VOLATILE_NAME
)
\
volatile
bool
VOLATILE_NAME
=
true
;
\
if
(
VOLATILE_NAME
)
void
f
()
{
int
i
=
0
;
TINT_ISOLATE_UB
(
tint_volatile_true
)
for
(;
(
i
<
4
);
)
{
}
}