Sign in
skia
/
skia
/
97be28c4cc05231fe6e70dc32662c24700e731cc
/
.
/
tests
/
sksl
/
shared
/
FragCoords.glsl
blob: f0f836924a004144c00f21147ea9afe0606a5a86 [
file
] [
log
] [
blame
]
uniform vec2 u_skRTFlip
;
out
vec4 sk_FragColor
;
void
main
()
{
vec4 sk_FragCoord
=
vec4
(
gl_FragCoord
.
x
,
u_skRTFlip
.
x
+
u_skRTFlip
.
y
*
gl_FragCoord
.
y
,
gl_FragCoord
.
z
,
gl_FragCoord
.
w
);
sk_FragColor
.
xy
=
sk_FragCoord
.
xy
;
}