Sign in
skia
/
skia
/
be82005209c06840f0d5b13156d160a3e0efe702
/
.
/
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
);
}