Sign in
dawn
/
dawn
/
267f1748c8287ee6ef27ed0bf65a7ede9f8afc31
/
.
/
test
/
tint
/
builtins
/
textureGather
/
f32
/
red.wgsl
blob: abcb93a72b931859772a67f2cf5250e71784743a [
file
] [
log
] [
blame
]
@group
(
1
)
@binding
(
0
)
var
t
:
texture_2d
<f32>
;
@group
(
1
)
@binding
(
1
)
var
s
:
sampler
;
@fragment
fn main
()
{
var
res
:
vec4
<f32>
=
textureGather
(
0
,
t
,
s
,
vec2
<f32>
());
}