Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
resources
/
sksl
/
shared
/
Texture1D.sksl
blob: 12ff3219482ddc7fc2860b9b5948d233cdd0da76 [
file
] [
log
] [
blame
]
layout
(
binding
=
0
)
uniform sampler1D tex
;
void
main
()
{
float4 a
=
sample
(
tex
,
0
);
float4 b
=
sample
(
tex
,
float2
(
0
));
sk_FragColor
=
half4
(
float2
(
a
.
xy
),
float2
(
b
.
zw
));
}