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