Sign in
skia
/
skia
/
eb8a53033e88618cd56bfa3ed1c5a381180d5296
/
.
/
resources
/
sksl
/
wgsl
/
Sample.sksl
blob: de1383680ee79bca99366ad610e922097c5c84da [
file
] [
log
] [
blame
]
layout
(
webgpu
,
set
=
1
,
texture
=
2
,
sampler
=
3
)
sampler2D tex
;
void
main
()
{
half4 a
=
sample
(
tex
,
half2
(
1
));
half4 b
=
sample
(
tex
,
half3
(
1
));
half4 c
=
sample
(
tex
,
half3
(
1
),
-
0.75
);
sk_FragColor
=
a
*
b
*
c
;
}