Commit 7f641916 authored by Brian Paul's avatar Brian Paul
Browse files

freedreno: s/Elements/ARRAY_SIZE/


Signed-off-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
Reviewed-by: Rob Clark's avatarRob Clark <robdclark@gmail.com>
parent b9197571
......@@ -234,7 +234,7 @@ int main(int argc, char **argv)
if (fd_mesa_debug & FD_DBG_OPTMSGS)
debug_printf("%s\n", (char *)ptr);
if (!tgsi_text_translate(ptr, toks, Elements(toks)))
if (!tgsi_text_translate(ptr, toks, ARRAY_SIZE(toks)))
errx(1, "could not parse `%s'", filename);
if (fd_mesa_debug & FD_DBG_OPTMSGS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment