Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
statements
/
discard
/
nested_return.wgsl.expected.ir.dxc.hlsl
blob: 4d9e9f71e67d698b44962b63ae003d8676bd0497 [
file
] [
log
] [
blame
]
RWByteAddressBuffer
non_uniform_global
:
register
(
u0
);
static
bool
continue_execution
=
true
;
void
main
()
{
if
((
asint
(
non_uniform_global
.
Load
(
0u
))
<
0
))
{
continue_execution
=
false
;
}
if
(!(
continue_execution
))
{
discard
;
}
}