Sign in
dawn
/
dawn
/
a561b989290824819e6fa9fbea0728a31fd45361
/
.
/
test
/
tint
/
bug
/
chromium
/
1403752.wgsl.expected.msl
blob: 4b4bc84616cd9fd14110553abbdfd8c756049688 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
#define
TINT_ISOLATE_UB
(
VOLATILE_NAME
)
\
volatile
bool
VOLATILE_NAME
=
true
;
\
if
(
VOLATILE_NAME
)
void
d
()
{
int
j
=
0
;
TINT_ISOLATE_UB
(
tint_volatile_true
)
for
(;
false
;
)
{
}
}