Sign in
dawn
/
dawn
/
refs/heads/chromium/5562
/
.
/
test
/
tint
/
statements
/
discard
/
nested_return.wgsl.expected.dxc.hlsl
blob: c8e4eda9c24c8ece276749cdc0e175458e0e6814 [
file
] [
log
] [
blame
] [
edit
]
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
;
}