Sign in
dawn
/
dawn
/
refs/heads/chromium/5995
/
.
/
test
/
tint
/
diagnostic_filtering
/
switch_body_attribute.wgsl
blob: a012a9b6d5197dfb6230dc8854fc58098193d127 [
file
] [
log
] [
blame
] [
edit
]
@fragment
fn main
(
@location
(
0
)
x
:
f32
)
{
switch
(
i32
(
x
))
@diagnostic
(
warning
,
derivative_uniformity
)
{
default
{
_
=
dpdx
(
1.0
);
}
}
}