Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
TextureSharpen.glsl
blob: 2087fdd4942e0152f2c6664e7278c4fdf3cd994b [
file
] [
log
] [
blame
]
out
vec4 sk_FragColor
;
layout
(
binding
=
0
)
uniform sampler2D s
;
void
main
()
{
vec4 a
=
texture
(
s
,
vec2
(
0.0
),
-
0.475
);
vec4 b
=
textureProj
(
s
,
vec3
(
0.0
),
-
0.475
);
sk_FragColor
=
vec4
(
a
.
xy
,
b
.
xy
);
}