Sign in
dawn
/
tint
/
ebdfa5d3036c4d757bb279f4f6ad80f5343b578f
/
.
/
test
/
intrinsics
/
textureGather
/
u32
/
alpha.wgsl
blob: 9aeef80e5042749af84c7ee9713028f36ddfa696 [
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
(
3
,
t
,
s
,
vec2
<f32>
());
}