Sign in
dawn
/
dawn
/
87eadbb3c589eac0ad07cefe81d2ae99894a6f33
/
.
/
test
/
tint
/
diagnostic_filtering
/
for_loop_attribute.wgsl
blob: e46c2c9700e99d0d33e8530e188da739b463879d [
file
] [
log
] [
blame
]
@fragment
fn main
(
@location
(
0
)
x
:
f32
)
{
var
v
=
vec4
<f32>
(
0
);
@diagnostic
(
warning
,
derivative_uniformity
)
for
(;
x
>
v
.
x
&&
dpdx
(
1.0
)
>
0.0
;
)
{
}
}