Sign in
dawn
/
dawn
/
8917c648bdd68007c96b8ca9995533cc3ee995c2
/
.
/
test
/
tint
/
statements
/
discard
/
nested_return.wgsl.expected.fxc.hlsl
blob: c6954ad35d9dc5c55fcd32d2417c21b299071dfc [
file
] [
log
] [
blame
]
static
bool
tint_discarded
=
false
;
RWByteAddressBuffer
non_uniform_global
:
register
(
u0
);
void
main
()
{
if
((
asint
(
non_uniform_global
.
Load
(
0u
))
<
0
))
{
tint_discarded
=
true
;
}
{
{
if
(
tint_discarded
)
{
discard
;
}
return
;
}
}
return
;
}