Sign in
dawn
/
dawn
/
refs/heads/chromium/5615
/
.
/
test
/
tint
/
diagnostic_filtering
/
if_body_attribute.wgsl
blob: 7f4ef9d7dae56cfa2947ed13114c88b8a1982837 [
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
)
{
if
(
x
>
0
)
@diagnostic
(
warning
,
derivative_uniformity
)
{
_
=
textureSample
(
t
,
s
,
vec2
(
0
,
0
));
}
}