From 23c55e5c233927fee2a866d9aa842c975024933f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 25 Apr 2016 15:59:07 -0600 Subject: tgsi: s/Elements/ARRAY_SIZE/ Reviewed-by: Jose Fonseca --- src/gallium/auxiliary/tgsi/tgsi_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/tgsi/tgsi_info.c') diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_info.c index 292d70f..847d420 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_info.c +++ b/src/gallium/auxiliary/tgsi/tgsi_info.c @@ -272,7 +272,7 @@ tgsi_get_opcode_info( uint opcode ) if (firsttime) { unsigned i; firsttime = 0; - for (i = 0; i < Elements(opcode_info); i++) + for (i = 0; i < ARRAY_SIZE(opcode_info); i++) assert(opcode_info[i].opcode == i); } -- cgit v1.1