Sign in
dawn
/
dawn
/
cd07b9f4050952300ee34b15d84c30a70523e80c
/
.
/
test
/
tint
/
statements
/
for
/
condition
/
array_ctor.wgsl.expected.msl
blob: 1ff0ed4c16561b9f88c389337789aeb00b304f05 [
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
<
1
);
)
{
}
}