Sign in
skia
/
skia
/
ed92d84ffd3aeb34c92e25ecb082f089703fc0ec
/
.
/
tests
/
sksl
/
intrinsics
/
SampleGrad.glsl
blob: a1accc55d4665158a81f804cafdcf2ec8a8dbc08 [
file
] [
log
] [
blame
]
uniform vec2 u_skRTFlip
;
out
vec4 sk_FragColor
;
layout
(
binding
=
0
)
uniform sampler2D t
;
vec4 main
()
{
return
textureGrad
(
t
,
coords
,
dFdx
(
coords
),
(
u_skRTFlip
.
y
*
dFdy
(
coords
)));
}