Sign in
skia
/
skia
/
b3aadd56d187b0f037ca99f981024feda7bdab69
/
.
/
resources
/
sksl
/
workarounds
/
PowWithConstantExponent.sksl
blob: 2115bff1b219a8be9921de47fd4e411045861f1b [
file
] [
log
] [
blame
]
/*#pragma settings RemovePowWithConstantExponent*/
uniform
float
x
;
uniform
float
y
;
void
main
()
{
float
z
=
pow
(
x
+
1.0
,
y
+
2.0
);
sk_FragColor
=
half4
(
half
(
z
));
}