Sign in
dawn
/
dawn
/
6d67dad7fea5f2b1edd09900199f989c010e592e
/
.
/
test
/
intrinsics
/
textureGather
/
i32
/
red.wgsl
blob: 1516eea16875a4a2db3c5b9c2e33baffbf2c7df5 [
file
] [
log
] [
blame
]
[[
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
(
0
,
t
,
s
,
vec2
<f32>
());
}