Sign in
dawn
/
tint
/
4d245d9a36a8aae5e22405dc76f920dca9ef4631
/
.
/
test
/
intrinsics
/
textureGather
/
u32
/
red.wgsl
blob: e3ca7f8ab220d9ae1df84b6449e8463ae1257cd1 [
file
] [
log
] [
blame
]
[[
group
(
1
),
binding
(
0
)]]
var
t
:
texture_2d
<u32>
;
[[
group
(
1
),
binding
(
1
)]]
var
s
:
sampler
;
[[
stage
(
fragment
)]]
fn main
()
{
var
res
:
vec4
<u32>
=
textureGather
(
0
,
t
,
s
,
vec2
<f32>
());
}