Sign in
dawn
/
dawn
/
refs/heads/chromium/5793
/
.
/
test
/
tint
/
diagnostic_filtering
/
while_loop_attribute.wgsl
blob: 0c3458aad63a5f497254bb8fa47985b2a6631045 [
file
] [
log
] [
blame
] [
edit
]
@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
)
{
}
}