Sign in
skia
/
skia
/
67c3ee616fb5014d483c5314900eea663f10f1e3
/
.
/
tests
/
sksl
/
workarounds
/
PowWithConstantExponent.glsl
blob: ada25aca9bdbe15f2f13fc425ad804ae28dd0658 [
file
] [
log
] [
blame
]
#version 400
out
vec4 sk_FragColor
;
uniform
float
x
;
uniform
float
y
;
void
main
()
{
float
z
=
exp2
((
y
+
2.0
)
*
log2
(
x
+
1.0
));
sk_FragColor
=
vec4
(
z
);
}