Sign in
dawn
/
dawn
/
87eadbb3c589eac0ad07cefe81d2ae99894a6f33
/
.
/
test
/
tint
/
diagnostic_filtering
/
loop_body_attribute.wgsl
blob: a3fc20f5bb18ed1f99d2e825bfdbd9f761dbd2a9 [
file
] [
log
] [
blame
]
@fragment
fn main
(
@location
(
0
)
x
:
f32
)
{
loop
@diagnostic
(
warning
,
derivative_uniformity
)
{
_
=
dpdx
(
1.0
);
continuing
{
break
if
x
>
0.0
;
}
}
}