From 4763a032a0a483702d651c539ecf4566ce3fd68b Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 13 Aug 2013 10:13:12 +1000 Subject: [PATCH] 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 --- src/gallium/auxiliary/tgsi/tgsi_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.30.2