Sign in
dawn
/
dawn
/
refs/heads/tint-merge
/
.
/
test
/
tint
/
builtins
/
textureGather
/
f32
/
green.wgsl
blob: c0574ca628b0b6f02a1ec230fb0ef2560c0c11ee [
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
(
1
,
t
,
s
,
vec2
<f32>
());
}