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