Sign in
dawn
/
dawn
/
81850b7c94de7d14e9c58323b1840d658714a139
/
.
/
test
/
tint
/
extensions
/
resource_table
/
has_resource_sampler.wgsl
blob: 8cbca515892128c33b607727900e9bb5dadec5ac [
file
]
enable chromium_experimental_resource_table
;
@group
(
0
)
@binding
(
0
)
var
<
storage
,
read_write
>
o
:
u32
;
@fragment
fn fs
()
{
if
(
hasResource
<sampler>
(
0
))
{
o
+=
1
;
}
if
(
hasResource
<sampler_comparison>
(
1
))
{
o
+=
1
;
}
}