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