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