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