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