From: Dave Airlie Date: Tue, 13 Aug 2013 00:13:12 +0000 (+1000) Subject: tgsi_build: fix order of arguments for ind register build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4763a032a0a483702d651c539ecf4566ce3fd68b;p=mesa.git tgsi_build: fix order of arguments for ind register build This was broken when arrayid was added. Reviewed-by: Brian Paul Signed-off-by: Dave Airlie --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index fa18462bed4..f4add02bef7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_build.c +++ b/src/gallium/auxiliary/tgsi/tgsi_build.c @@ -876,8 +876,8 @@ static struct tgsi_ind_register tgsi_build_ind_register( unsigned file, unsigned swizzle, - unsigned arrayid, int index, + unsigned arrayid, struct tgsi_instruction *instruction, struct tgsi_header *header ) {