Sign in
dawn
/
tint
/
refs/heads/chromium/4796
/
.
/
test
/
intrinsics
/
textureGather
/
f32
/
blue.wgsl
blob: b8251ee16ac0ee9e72d148c378a299d8e2b8c429 [
file
] [
log
] [
blame
] [
edit
]
[[
group
(
1
),
binding
(
0
)]]
var
t
:
texture_2d
<f32>
;
[[
group
(
1
),
binding
(
1
)]]
var
s
:
sampler
;
[[
stage
(
fragment
)]]
fn main
()
{
var
res
:
vec4
<f32>
=
textureGather
(
2
,
t
,
s
,
vec2
<f32>
());
}