Sign in
dawn
/
tint
/
170a50353c08673ca0ebec556dbbbb3a074cdce1
/
.
/
test
/
intrinsics
/
textureGather
/
i32
/
blue.wgsl
blob: 13275afeb0d792f262be8f09b89d08b002f1eaea [
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
(
2
,
t
,
s
,
vec2
<f32>
());
}