Sign in
dawn
/
dawn
/
refs/heads/chromium/5690
/
.
/
test
/
tint
/
bug
/
tint
/
1369.wgsl.expected.fxc.hlsl
blob: dde30f92cc81b923f6dd21dd7415fe260f7844e6 [
file
] [
log
] [
blame
] [
edit
]
static
bool
tint_discarded
=
false
;
bool
call_discard
()
{
tint_discarded
=
true
;
return
true
;
}
void
f
()
{
bool
v
=
call_discard
();
bool
also_unreachable
=
false
;
if
(
tint_discarded
)
{
discard
;
}
return
;
}