Sign in
dawn
/
dawn
/
ab00bd8b2d24dc28964642478fe773bd8635497c
/
.
/
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
;
}
}
}