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