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