Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
resources
/
sksl
/
glsl
/
IncompleteShortIntPrecision.sksl
blob: 9e93df15c71edf6ae145d653fa935f3019513f44 [
file
] [
log
] [
blame
]
/*#pragma settings IncompleteShortIntPrecision*/
uniform sampler2D tex
;
in
float2 texcoord
;
in
short2 offset
;
void
main
()
{
short
scalar
=
offset
.
y
;
sk_FragColor
=
sample
(
tex
,
texcoord
+
float2
(
offset
*
scalar
));
}