Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
workarounds
/
FragCoordsStandaloneSettings.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
;
}