aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2013-08-13 10:13:12 +1000
committerDave Airlie <[email protected]>2013-08-27 10:41:27 +1000
commit4763a032a0a483702d651c539ecf4566ce3fd68b (patch)
treefa2e4598a920c89b7f5d0dcc266cd86ab1935697 /src
parent81204d0e9cb52d05352df1b416e4e661701296e6 (diff)
tgsi_build: fix order of arguments for ind register build
This was broken when arrayid was added. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_build.c2
1 files changed, 1 insertions, 1 deletions
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 )
{