freedreno/rnn: Return success when parsing addvariant
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 28 Jul 2020 09:33:57 +0000 (11:33 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jul 2020 09:45:08 +0000 (09:45 +0000)
This was missed when I initially added addvariant.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6070>

src/freedreno/rnn/rnn.c

index 411611104ab4ecd68f6f51b9a20931928645b4f9..d28f7a02ddcf0379ad2cd628e068a7d408ce5b7b 100644 (file)
@@ -203,6 +203,7 @@ static int trytypeattr (struct rnndb *db, char *file, xmlNode *node, xmlAttr *at
                return 1;
        } else if (!strcmp(attr->name, "addvariant")) {
                ti->addvariant = getboolattrib(db, file, node->line, attr);
+               return 1;
        }
        return 0;
 }