Sign in
dawn
/
dawn.git
/
5133d0a12623ac5030bfe21a363dcbd5f7e7f2ba
/
.
/
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
;
}