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