projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b919757
)
freedreno: s/Elements/ARRAY_SIZE/
author
Brian Paul
<brianp@vmware.com>
Thu, 28 Apr 2016 17:41:39 +0000
(11:41 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 3 May 2016 21:40:48 +0000
(15:40 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
index b8b9e4a05186a3901cbf0780e156a40fc4f843d4..7007d20d221a2390790993a1a258a564d35ccf64 100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
@@
-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)