Sign in
dawn
/
tint
/
4e6e1138160a7a003c5d09e6d6e9ba45dcb50347
/
.
/
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>
());
}