Sign in
dawn
/
dawn
/
205c0158db5b15a6a1b27eacb9c25a8862c90561
/
.
/
test
/
tint
/
statements
/
for
/
initializer
/
basic.wgsl.expected.msl
blob: 25e4731962c47a9c689e5873a5bfe6650bd3e016 [
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
()
{
for
(
int
i
=
0
;
false
;
)
{
TINT_ISOLATE_UB
(
tint_volatile_false
);
}
}