diff --git a/src/freedreno/registers/rules-ng.xsd b/src/freedreno/registers/rules-ng.xsd index a5a33412aed..e5f80efaee5 100644 --- a/src/freedreno/registers/rules-ng.xsd +++ b/src/freedreno/registers/rules-ng.xsd @@ -80,7 +80,7 @@ - + @@ -166,8 +166,8 @@ - - + + @@ -200,8 +200,8 @@ - - + + @@ -315,6 +315,17 @@ + + + + + + + + + + + Access diff --git a/src/freedreno/rnn/rnn.c b/src/freedreno/rnn/rnn.c index d6ba6fa5005..17abf79715c 100644 --- a/src/freedreno/rnn/rnn.c +++ b/src/freedreno/rnn/rnn.c @@ -124,9 +124,9 @@ static char *getattrib (struct rnndb *db, char *file, int line, xmlAttr *attr) { static int getboolattrib (struct rnndb *db, char *file, int line, xmlAttr *attr) { char *c = getattrib(db, file, line, attr); - if (!strcmp(c, "yes") || !strcmp(c, "1")) + if (!strcmp(c, "yes") || !strcmp(c, "1") || !strcmp(c, "true")) return 1; - if (!strcmp(c, "no") || !strcmp(c, "0")) + if (!strcmp(c, "no") || !strcmp(c, "0") || !strcmp(c, "false")) return 0; rnn_err(db, "%s:%d: invalid boolean value \"%s\" in attribute \"%s\"\n", file, line, c, attr->name); return 0;