Sign in
dawn
/
dawn
/
ec448b1ca35aa798201feae2bb2e3f37b5380274
/
.
/
test
/
tint
/
builtins
/
textureGather
/
i32
/
alpha.wgsl
blob: 88813ac8b7a3a8b165bb39b48cda5023e36ecde3 [
file
] [
log
] [
blame
]
@group
(
1
)
@binding
(
0
)
var
t
:
texture_2d
<i32>
;
@group
(
1
)
@binding
(
1
)
var
s
:
sampler
;
@fragment
fn main
()
{
var
res
:
vec4
<i32>
=
textureGather
(
3
,
t
,
s
,
vec2
<f32>
());
}