031a76756e
This prevents OOMing when given a pathological input, but is large enough that almost all inputs should continue to compile as-is. Change-Id: If5c46711b886ee08495bfd09af537e9dc7ea5649 Bug: skia:10945, oss-fuzz:27442 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/334838 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
551 lines
5.3 KiB
GLSL
551 lines
5.3 KiB
GLSL
|
|
out vec4 sk_FragColor;
|
|
void fn3() {
|
|
{
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
{
|
|
sk_FragColor.x = 0.0;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
void fn6() {
|
|
{
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
{
|
|
fn3();
|
|
fn3();
|
|
fn3();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
void fn9() {
|
|
{
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
{
|
|
fn6();
|
|
fn6();
|
|
fn6();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
void fnC() {
|
|
{
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
{
|
|
fn9();
|
|
fn9();
|
|
fn9();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
void fnF() {
|
|
{
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
{
|
|
fnC();
|
|
fnC();
|
|
fnC();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
void fnI() {
|
|
{
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
{
|
|
fnF();
|
|
fnF();
|
|
fnF();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
void fnL() {
|
|
{
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
{
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
{
|
|
fnI();
|
|
fnI();
|
|
fnI();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
void main() {
|
|
{
|
|
{
|
|
fnL();
|
|
fnL();
|
|
fnL();
|
|
}
|
|
|
|
|
|
{
|
|
fnL();
|
|
fnL();
|
|
fnL();
|
|
}
|
|
|
|
|
|
{
|
|
fnL();
|
|
fnL();
|
|
fnL();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|