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