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