Sign in
dawn
/
tint
/
be2362b18c792364c6bf5744db6d3837fbc655a0
/
.
/
test
/
intrinsics
/
textureGather
/
u32
/
blue.wgsl
blob: 9751b7c5372fa3f2c2a0eeb251ad67a2c275ee51 [
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
(
2
,
t
,
s
,
vec2
<f32>
());
}