Sign in
dawn
/
dawn
/
refs/heads/chromium/5292
/
.
/
test
/
tint
/
builtins
/
textureGather
/
i32
/
blue.wgsl
blob: 43406d3edc13e694892f2601655d8909ebe46653 [
file
] [
log
] [
blame
] [
edit
]
@group
(
1
)
@binding
(
0
)
var
t
:
texture_2d
<i32>
;
@group
(
1
)
@binding
(
1
)
var
s
:
sampler
;
@fragment
fn main
()
{
var
res
:
vec4
<i32>
=
textureGather
(
2
,
t
,
s
,
vec2
<f32>
());
}