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