Sign in
dawn
/
dawn
/
refs/heads/chromium/5793
/
.
/
test
/
tint
/
diagnostic_filtering
/
default_case_body_attribute.wgsl
blob: 14942c6dde1b85fcf42ce8c8b1de4283c28a7366 [
file
] [
log
] [
blame
] [
edit
]
@group
(
0
)
@binding
(
1
)
var
t
:
texture_2d
<f32>
;
@group
(
0
)
@binding
(
2
)
var
s
:
sampler
;
@fragment
fn main
(
@location
(
0
)
x
:
f32
)
{
switch
(
i32
(
x
))
{
default
@diagnostic
(
warning
,
derivative_uniformity
)
{
_
=
textureSample
(
t
,
s
,
vec2
(
0
,
0
));
}
}
}