Sign in
dawn
/
dawn
/
c19d3fcc08b9889c4e767e3d3b7f5a0b2bae64d3
/
.
/
test
/
tint
/
extensions
/
resource_table
/
access_as_constant_sampler.wgsl
blob: cdd3bedbdfce0bb9fd4a60b0e80b97f5cf37e227 [
file
]
enable chromium_experimental_resource_table
;
@fragment
fn fs
()
->
@location
(
0
)
vec4f
{
let
t
=
getResource
<
texture_2d
<
f32
,
filterable
>>(
0
);
let
s
=
getResource
<
sampler
<filtering>
>(
1
);
return
textureSample
(
t
,
s
,
vec2f
(
0
));
}